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
[ 78, 12, 14, 94 ]
91
[ "12+14=26", "78/26=3", "94-3=91" ]
Current State: 91:[78, 12, 14, 94], Operations: [] Exploring Operation: 12+14=26, Resulting Numbers: [78, 94, 26] Generated Node #2: [78, 94, 26] from Operation: 12+14=26 Current State: 91:[78, 94, 26], Operations: ['12+14=26'] Exploring Operation: 78/26=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 78/26=3 Current State: 91:[94, 3], Operations: ['12+14=26', '78/26=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[78, 12, 14, 94], Operations: [] Exploring Operation: 78+12=90, Resulting Numbers: [14, 94, 90] Generated Node #0,0: 91:[14, 94, 90] Operation: 78+12=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[14, 94, 90], Operations: ['78+12=90'] Exploring Operation: 94-90=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 91:[14, 4] Operation: 94-90=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[14, 4], Operations: ['78+12=90', '94-90=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 55, 72, 30 ]
65
[ "72-55=17", "30-17=13", "5*13=65" ]
Current State: 65:[5, 55, 72, 30], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [5, 30, 17] Generated Node #2: [5, 30, 17] from Operation: 72-55=17 Current State: 65:[5, 30, 17], Operations: ['72-55=17'] Exploring Operation: 30-17=13, Resulting Numbers: [5, 13] Generated Node #3: [5, 13] from Operation: 30-17=13 Current State: 65:[5, 13], Operations: ['72-55=17', '30-17=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[5, 55, 72, 30], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [5, 72, 25] Generated Node #0,0: 65:[5, 72, 25] Operation: 55-30=25 Exploring Operation: 30/5=6, Resulting Numbers: [55, 72, 6] Generated Node #0,1: 65:[55, 72, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[55, 72, 6], Operations: ['30/5=6'] Exploring Operation: 72-55=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 65:[6, 17] Operation: 72-55=17 Exploring Operation: 55+6=61, Resulting Numbers: [72, 61] Generated Node #0,1,1: 65:[72, 61] Operation: 55+6=61 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[6, 17], Operations: ['30/5=6', '72-55=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,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,1 Current State: 65:[72, 61], Operations: ['30/5=6', '55+6=61'] Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 72+61=133, Resulting Numbers: [133] 133,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,0 Current State: 65:[5, 72, 25], Operations: ['55-30=25'] Exploring Operation: 25/5=5, Resulting Numbers: [72, 5] Generated Node #0,0,0: 65:[72, 5] Operation: 25/5=5 Exploring Operation: 72-5=67, Resulting Numbers: [25, 67] Generated Node #0,0,1: 65:[25, 67] Operation: 72-5=67 Moving to Node #0,0,0 Current State: 65:[72, 5], Operations: ['55-30=25', '25/5=5'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[25, 67], Operations: ['55-30=25', '72-5=67'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,65 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
[ 5, 97, 7, 5 ]
97
[ "5-5=0", "7*0=0", "97+0=97" ]
Current State: 97:[5, 97, 7, 5], Operations: [] Exploring Operation: 5-5=0, Resulting Numbers: [97, 7, 0] Generated Node #2: [97, 7, 0] from Operation: 5-5=0 Current State: 97:[97, 7, 0], Operations: ['5-5=0'] Exploring Operation: 7*0=0, Resulting Numbers: [97, 0] Generated Node #3: [97, 0] from Operation: 7*0=0 Current State: 97:[97, 0], Operations: ['5-5=0', '7*0=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[5, 97, 7, 5], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [97, 5, 35] Generated Node #0,0: 97:[97, 5, 35] Operation: 5*7=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[97, 5, 35], Operations: ['5*7=35'] Exploring Operation: 5+35=40, Resulting Numbers: [97, 40] Generated Node #0,0,0: 97:[97, 40] Operation: 5+35=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[97, 40], Operations: ['5*7=35', '5+35=40'] Exploring Operation: 97+40=137, Resulting Numbers: [137] 137,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 No solution found.
0
hs_1
sum_heuristic
[ 78, 33, 34, 42 ]
36
[ "78-42=36", "34-33=1", "36*1=36" ]
Current State: 36:[78, 33, 34, 42], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [33, 34, 36] Generated Node #2: [33, 34, 36] from Operation: 78-42=36 Current State: 36:[33, 34, 36], Operations: ['78-42=36'] Exploring Operation: 34-33=1, Resulting Numbers: [36, 1] Generated Node #3: [36, 1] from Operation: 34-33=1 Current State: 36:[36, 1], Operations: ['78-42=36', '34-33=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[78, 33, 34, 42], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [33, 42, 44] Generated Node #0,0: 36:[33, 42, 44] Operation: 78-34=44 Exploring Operation: 78-33=45, Resulting Numbers: [34, 42, 45] Generated Node #0,1: 36:[34, 42, 45] Operation: 78-33=45 Exploring Operation: 78-42=36, Resulting Numbers: [33, 34, 36] Generated Node #0,2: 36:[33, 34, 36] Operation: 78-42=36 Moving to Node #0,2 Current State: 36:[33, 34, 36], Operations: ['78-42=36'] Exploring Operation: 34-33=1, Resulting Numbers: [36, 1] Generated Node #0,2,0: 36:[36, 1] Operation: 34-33=1 Exploring Operation: 36-34=2, Resulting Numbers: [33, 2] Generated Node #0,2,1: 36:[33, 2] Operation: 36-34=2 Exploring Operation: 36-33=3, Resulting Numbers: [34, 3] Generated Node #0,2,2: 36:[34, 3] Operation: 36-33=3 Moving to Node #0,0 Current State: 36:[33, 42, 44], Operations: ['78-34=44'] Exploring Operation: 44-33=11, Resulting Numbers: [42, 11] Generated Node #0,0,0: 36:[42, 11] Operation: 44-33=11 Exploring Operation: 44-42=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 36:[33, 2] Operation: 44-42=2 Exploring Operation: 42-33=9, Resulting Numbers: [44, 9] Generated Node #0,0,2: 36:[44, 9] Operation: 42-33=9 Moving to Node #0,1 Current State: 36:[34, 42, 45], Operations: ['78-33=45'] Exploring Operation: 45-34=11, Resulting Numbers: [42, 11] Generated Node #0,1,0: 36:[42, 11] Operation: 45-34=11 Exploring Operation: 45-42=3, Resulting Numbers: [34, 3] Generated Node #0,1,1: 36:[34, 3] Operation: 45-42=3 Exploring Operation: 42-34=8, Resulting Numbers: [45, 8] Generated Node #0,1,2: 36:[45, 8] Operation: 42-34=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[34, 3], Operations: ['78-33=45', '45-42=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[42, 11], Operations: ['78-33=45', '45-34=11'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,36 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[45, 8], Operations: ['78-33=45', '42-34=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,36 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,36 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: 36:[36, 1], Operations: ['78-42=36', '34-33=1'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[78, 33, 34, 42], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [33, 34, 36] Generated Node #0,2: 36:[33, 34, 36] Operation: 78-42=36 Moving to Node #0,2 Current State: 36:[33, 34, 36], Operations: ['78-42=36'] Exploring Operation: 34-33=1, Resulting Numbers: [36, 1] Generated Node #0,2,0: 36:[36, 1] Operation: 34-33=1 Moving to Node #0,2,0 Current State: 36:[36, 1], Operations: ['78-42=36', '34-33=1'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 60, 95, 56, 31 ]
29
[ "60-56=4", "31*4=124", "124-95=29" ]
Current State: 29:[60, 95, 56, 31], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [95, 31, 4] Generated Node #2: [95, 31, 4] from Operation: 60-56=4 Current State: 29:[95, 31, 4], Operations: ['60-56=4'] Exploring Operation: 31*4=124, Resulting Numbers: [95, 124] Generated Node #3: [95, 124] from Operation: 31*4=124 Current State: 29:[95, 124], Operations: ['60-56=4', '31*4=124'] Exploring Operation: 124-95=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[60, 95, 56, 31], Operations: [] Exploring Operation: 95-56=39, Resulting Numbers: [60, 31, 39] Generated Node #0,0: 29:[60, 31, 39] Operation: 95-56=39 Exploring Operation: 95-31=64, Resulting Numbers: [60, 56, 64] Generated Node #0,1: 29:[60, 56, 64] Operation: 95-31=64 Exploring Operation: 60-31=29, Resulting Numbers: [95, 56, 29] Generated Node #0,2: 29:[95, 56, 29] Operation: 60-31=29 Exploring Operation: 60-56=4, Resulting Numbers: [95, 31, 4] Generated Node #0,3: 29:[95, 31, 4] Operation: 60-56=4 Exploring Operation: 95-60=35, Resulting Numbers: [56, 31, 35] Generated Node #0,4: 29:[56, 31, 35] Operation: 95-60=35 Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[56, 31, 35], Operations: ['95-60=35'] Exploring Operation: 56-35=21, Resulting Numbers: [31, 21] Generated Node #0,4,0: 29:[31, 21] Operation: 56-35=21 Exploring Operation: 35-31=4, Resulting Numbers: [56, 4] Generated Node #0,4,1: 29:[56, 4] Operation: 35-31=4 Exploring Operation: 56+31=87, Resulting Numbers: [35, 87] Generated Node #0,4,2: 29:[35, 87] Operation: 56+31=87 Exploring Operation: 56+35=91, Resulting Numbers: [31, 91] Generated Node #0,4,3: 29:[31, 91] Operation: 56+35=91 Exploring Operation: 56-31=25, Resulting Numbers: [35, 25] Generated Node #0,4,4: 29:[35, 25] Operation: 56-31=25 Moving to Node #0,4,0 Current State: 29:[31, 21], Operations: ['95-60=35', '56-35=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[35, 25], Operations: ['95-60=35', '56-31=25'] Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,29 unequal: No Solution Moving to Node #0,4,1 Current State: 29:[56, 4], Operations: ['95-60=35', '35-31=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,29 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,29 unequal: No Solution Moving to Node #0,4,2 Current State: 29:[35, 87], Operations: ['95-60=35', '56+31=87'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 35*87=3045, Resulting Numbers: [3045] 3045,29 unequal: No Solution Exploring Operation: 35+87=122, Resulting Numbers: [122] 122,29 unequal: No Solution Moving to Node #0,4,3 Current State: 29:[31, 91], Operations: ['95-60=35', '56+35=91'] Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,29 unequal: No Solution No 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: 29:[60, 31, 39], Operations: ['95-56=39'] Exploring Operation: 60-39=21, Resulting Numbers: [31, 21] Generated Node #0,0,0: 29:[31, 21] Operation: 60-39=21 Exploring Operation: 60+39=99, Resulting Numbers: [31, 99] Generated Node #0,0,1: 29:[31, 99] Operation: 60+39=99 Exploring Operation: 60-31=29, Resulting Numbers: [39, 29] Generated Node #0,0,2: 29:[39, 29] Operation: 60-31=29 Exploring Operation: 60+31=91, Resulting Numbers: [39, 91] Generated Node #0,0,3: 29:[39, 91] Operation: 60+31=91 Exploring Operation: 39-31=8, Resulting Numbers: [60, 8] Generated Node #0,0,4: 29:[60, 8] Operation: 39-31=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[31, 21], Operations: ['95-56=39', '60-39=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,29 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[39, 29], Operations: ['95-56=39', '60-31=29'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 29:[60, 8], Operations: ['95-56=39', '39-31=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[31, 99], Operations: ['95-56=39', '60+39=99'] Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 31+99=130, Resulting Numbers: [130] 130,29 unequal: No Solution Exploring Operation: 31*99=3069, Resulting Numbers: [3069] 3069,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 29:[39, 91], Operations: ['95-56=39', '60+31=91'] Exploring Operation: 39*91=3549, Resulting Numbers: [3549] 3549,29 unequal: No Solution Exploring Operation: 39+91=130, Resulting Numbers: [130] 130,29 unequal: No Solution Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,29 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: 29:[60, 56, 64], Operations: ['95-31=64'] Exploring Operation: 60+64=124, Resulting Numbers: [56, 124] Generated Node #0,1,0: 29:[56, 124] Operation: 60+64=124 Exploring Operation: 64-60=4, Resulting Numbers: [56, 4] Generated Node #0,1,1: 29:[56, 4] Operation: 64-60=4 Exploring Operation: 60-56=4, Resulting Numbers: [64, 4] Generated Node #0,1,2: 29:[64, 4] Operation: 60-56=4 Exploring Operation: 60+56=116, Resulting Numbers: [64, 116] Generated Node #0,1,3: 29:[64, 116] Operation: 60+56=116 Exploring Operation: 64-56=8, Resulting Numbers: [60, 8] Generated Node #0,1,4: 29:[60, 8] Operation: 64-56=8 Moving to Node #0,1,1 Current State: 29:[56, 4], Operations: ['95-31=64', '64-60=4'] Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,29 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[60, 8], Operations: ['95-31=64', '64-56=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[64, 4], Operations: ['95-31=64', '60-56=4'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,29 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[56, 124], Operations: ['95-31=64', '60+64=124'] Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 56*124=6944, Resulting Numbers: [6944] 6944,29 unequal: No Solution Exploring Operation: 56+124=180, Resulting Numbers: [180] 180,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[64, 116], Operations: ['95-31=64', '60+56=116'] Exploring Operation: 64+116=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 64*116=7424, Resulting Numbers: [7424] 7424,29 unequal: No Solution Exploring Operation: 116-64=52, Resulting Numbers: [52] 52,29 unequal: No Solution No 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: 29:[95, 56, 29], Operations: ['60-31=29'] Exploring Operation: 95+29=124, Resulting Numbers: [56, 124] Generated Node #0,2,0: 29:[56, 124] Operation: 95+29=124 Exploring Operation: 95-29=66, Resulting Numbers: [56, 66] Generated Node #0,2,1: 29:[56, 66] Operation: 95-29=66 Exploring Operation: 56-29=27, Resulting Numbers: [95, 27] Generated Node #0,2,2: 29:[95, 27] Operation: 56-29=27 Exploring Operation: 95-56=39, Resulting Numbers: [29, 39] Generated Node #0,2,3: 29:[29, 39] Operation: 95-56=39 Exploring Operation: 95+56=151, Resulting Numbers: [29, 151] Generated Node #0,2,4: 29:[29, 151] Operation: 95+56=151 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[29, 39], Operations: ['60-31=29', '95-56=39'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[56, 66], Operations: ['60-31=29', '95-29=66'] Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,29 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[95, 27], Operations: ['60-31=29', '56-29=27'] Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[56, 124], Operations: ['60-31=29', '95+29=124'] Exploring Operation: 56+124=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 56*124=6944, Resulting Numbers: [6944] 6944,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 29:[29, 151], Operations: ['60-31=29', '95+56=151'] Exploring Operation: 29*151=4379, Resulting Numbers: [4379] 4379,29 unequal: No Solution Exploring Operation: 151-29=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 29+151=180, Resulting Numbers: [180] 180,29 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: 29:[95, 31, 4], Operations: ['60-56=4'] Exploring Operation: 95-4=91, Resulting Numbers: [31, 91] Generated Node #0,3,0: 29:[31, 91] Operation: 95-4=91 Exploring Operation: 31-4=27, Resulting Numbers: [95, 27] Generated Node #0,3,1: 29:[95, 27] Operation: 31-4=27 Exploring Operation: 95-31=64, Resulting Numbers: [4, 64] Generated Node #0,3,2: 29:[4, 64] Operation: 95-31=64 Exploring Operation: 31+4=35, Resulting Numbers: [95, 35] Generated Node #0,3,3: 29:[95, 35] Operation: 31+4=35 Exploring Operation: 95+4=99, Resulting Numbers: [31, 99] Generated Node #0,3,4: 29:[31, 99] Operation: 95+4=99 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[4, 64], Operations: ['60-56=4', '95-31=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[31, 91], Operations: ['60-56=4', '95-4=91'] Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,29 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[95, 27], Operations: ['60-56=4', '31-4=27'] Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,29 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 29:[95, 35], Operations: ['60-56=4', '31+4=35'] Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,29 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 29:[31, 99], Operations: ['60-56=4', '95+4=99'] Exploring Operation: 31+99=130, Resulting Numbers: [130] 130,29 unequal: No Solution Exploring Operation: 31*99=3069, Resulting Numbers: [3069] 3069,29 unequal: No Solution Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 7, 18, 21, 64 ]
54
[ "18-7=11", "64-21=43", "11+43=54" ]
Current State: 54:[7, 18, 21, 64], Operations: [] Exploring Operation: 18-7=11, Resulting Numbers: [21, 64, 11] Generated Node #2: [21, 64, 11] from Operation: 18-7=11 Current State: 54:[21, 64, 11], Operations: ['18-7=11'] Exploring Operation: 64-21=43, Resulting Numbers: [11, 43] Generated Node #3: [11, 43] from Operation: 64-21=43 Current State: 54:[11, 43], Operations: ['18-7=11', '64-21=43'] Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[7, 18, 21, 64], Operations: [] Exploring Operation: 64-7=57, Resulting Numbers: [18, 21, 57] Generated Node #0,0: 54:[18, 21, 57] Operation: 64-7=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[18, 21, 57], Operations: ['64-7=57'] Exploring Operation: 21-18=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 54:[57, 3] Operation: 21-18=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[57, 3], Operations: ['64-7=57', '21-18=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[7, 18, 21, 64], Operations: [] Exploring Operation: 64-7=57, Resulting Numbers: [18, 21, 57] Generated Node #0,0: 54:[18, 21, 57] Operation: 64-7=57 Moving to Node #0,0 Current State: 54:[18, 21, 57], Operations: ['64-7=57'] Exploring Operation: 21-18=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 54:[57, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 54:[57, 3], Operations: ['64-7=57', '21-18=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 16, 94, 55, 2 ]
94
[ "94-16=78", "78/2=39", "55+39=94" ]
Current State: 94:[16, 94, 55, 2], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [55, 2, 78] Generated Node #2: [55, 2, 78] from Operation: 94-16=78 Current State: 94:[55, 2, 78], Operations: ['94-16=78'] Exploring Operation: 78/2=39, Resulting Numbers: [55, 39] Generated Node #3: [55, 39] from Operation: 78/2=39 Current State: 94:[55, 39], Operations: ['94-16=78', '78/2=39'] Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[16, 94, 55, 2], Operations: [] Exploring Operation: 16-2=14, Resulting Numbers: [94, 55, 14] Generated Node #0,0: 94:[94, 55, 14] Operation: 16-2=14 Exploring Operation: 55-2=53, Resulting Numbers: [16, 94, 53] Generated Node #0,1: 94:[16, 94, 53] Operation: 55-2=53 Exploring Operation: 55-16=39, Resulting Numbers: [94, 2, 39] Generated Node #0,2: 94:[94, 2, 39] Operation: 55-16=39 Exploring Operation: 16/2=8, Resulting Numbers: [94, 55, 8] Generated Node #0,3: 94:[94, 55, 8] Operation: 16/2=8 Moving to Node #0,2 Current State: 94:[94, 2, 39], Operations: ['55-16=39'] Exploring Operation: 94-39=55, Resulting Numbers: [2, 55] Generated Node #0,2,0: 94:[2, 55] Operation: 94-39=55 Exploring Operation: 94+2=96, Resulting Numbers: [39, 96] Generated Node #0,2,1: 94:[39, 96] Operation: 94+2=96 Exploring Operation: 94/2=47, Resulting Numbers: [39, 47] Generated Node #0,2,2: 94:[39, 47] Operation: 94/2=47 Exploring Operation: 2+39=41, Resulting Numbers: [94, 41] Generated Node #0,2,3: 94:[94, 41] Operation: 2+39=41 Moving to Node #0,3 Current State: 94:[94, 55, 8], Operations: ['16/2=8'] Exploring Operation: 55-8=47, Resulting Numbers: [94, 47] Generated Node #0,3,0: 94:[94, 47] Operation: 55-8=47 Exploring Operation: 94-8=86, Resulting Numbers: [55, 86] Generated Node #0,3,1: 94:[55, 86] Operation: 94-8=86 Exploring Operation: 94-55=39, Resulting Numbers: [8, 39] Generated Node #0,3,2: 94:[8, 39] Operation: 94-55=39 Exploring Operation: 94+8=102, Resulting Numbers: [55, 102] Generated Node #0,3,3: 94:[55, 102] Operation: 94+8=102 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[94, 47], Operations: ['16/2=8', '55-8=47'] Exploring Operation: 94+47=141, Resulting Numbers: [141] 141,94 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 94*47=4418, Resulting Numbers: [4418] 4418,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[8, 39], Operations: ['16/2=8', '94-55=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,94 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[55, 86], Operations: ['16/2=8', '94-8=86'] Exploring Operation: 55+86=141, Resulting Numbers: [141] 141,94 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 55*86=4730, Resulting Numbers: [4730] 4730,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[55, 102], Operations: ['16/2=8', '94+8=102'] Exploring Operation: 55+102=157, Resulting Numbers: [157] 157,94 unequal: No Solution Exploring Operation: 55*102=5610, Resulting Numbers: [5610] 5610,94 unequal: No Solution Exploring Operation: 102-55=47, Resulting Numbers: [47] 47,94 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: 94:[16, 94, 53], Operations: ['55-2=53'] Exploring Operation: 53-16=37, Resulting Numbers: [94, 37] Generated Node #0,1,0: 94:[94, 37] Operation: 53-16=37 Exploring Operation: 94-16=78, Resulting Numbers: [53, 78] Generated Node #0,1,1: 94:[53, 78] Operation: 94-16=78 Exploring Operation: 16+94=110, Resulting Numbers: [53, 110] Generated Node #0,1,2: 94:[53, 110] Operation: 16+94=110 Exploring Operation: 94-53=41, Resulting Numbers: [16, 41] Generated Node #0,1,3: 94:[16, 41] Operation: 94-53=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[94, 37], Operations: ['55-2=53', '53-16=37'] Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,94 unequal: No Solution Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[16, 41], Operations: ['55-2=53', '94-53=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[53, 78], Operations: ['55-2=53', '94-16=78'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 53+78=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 53*78=4134, Resulting Numbers: [4134] 4134,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[53, 110], Operations: ['55-2=53', '16+94=110'] Exploring Operation: 53*110=5830, Resulting Numbers: [5830] 5830,94 unequal: No Solution Exploring Operation: 110-53=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 53+110=163, Resulting Numbers: [163] 163,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[94, 55, 14], Operations: ['16-2=14'] Exploring Operation: 94-14=80, Resulting Numbers: [55, 80] Generated Node #0,0,0: 94:[55, 80] Operation: 94-14=80 Exploring Operation: 94-55=39, Resulting Numbers: [14, 39] Generated Node #0,0,1: 94:[14, 39] Operation: 94-55=39 Exploring Operation: 55-14=41, Resulting Numbers: [94, 41] Generated Node #0,0,2: 94:[94, 41] Operation: 55-14=41 Exploring Operation: 94+14=108, Resulting Numbers: [55, 108] Generated Node #0,0,3: 94:[55, 108] Operation: 94+14=108 Moving to Node #0,2,3 Current State: 94:[94, 41], Operations: ['55-16=39', '2+39=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,94 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[94, 41], Operations: ['16-2=14', '55-14=41'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,94 unequal: No Solution Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[39, 47], Operations: ['55-16=39', '94/2=47'] Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[2, 55], Operations: ['55-16=39', '94-39=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[39, 96], Operations: ['55-16=39', '94+2=96'] Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 39*96=3744, Resulting Numbers: [3744] 3744,94 unequal: No Solution Exploring Operation: 39+96=135, Resulting Numbers: [135] 135,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[14, 39], Operations: ['16-2=14', '94-55=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[55, 80], Operations: ['16-2=14', '94-14=80'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,94 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[55, 108], Operations: ['16-2=14', '94+14=108'] Exploring Operation: 55+108=163, Resulting Numbers: [163] 163,94 unequal: No Solution Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 55*108=5940, Resulting Numbers: [5940] 5940,94 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 49, 54, 50, 32 ]
87
[ "54-49=5", "50+32=82", "5+82=87" ]
Current State: 87:[49, 54, 50, 32], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [50, 32, 5] Generated Node #2: [50, 32, 5] from Operation: 54-49=5 Current State: 87:[50, 32, 5], Operations: ['54-49=5'] Exploring Operation: 50+32=82, Resulting Numbers: [5, 82] Generated Node #3: [5, 82] from Operation: 50+32=82 Current State: 87:[5, 82], Operations: ['54-49=5', '50+32=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[49, 54, 50, 32], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [50, 32, 5] Generated Node #0,0: 87:[50, 32, 5] Operation: 54-49=5 Exploring Operation: 54-50=4, Resulting Numbers: [49, 32, 4] Generated Node #0,1: 87:[49, 32, 4] Operation: 54-50=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[49, 32, 4], Operations: ['54-50=4'] Exploring Operation: 49-32=17, Resulting Numbers: [4, 17] Generated Node #0,1,0: 87:[4, 17] Operation: 49-32=17 Exploring Operation: 49+32=81, Resulting Numbers: [4, 81] Generated Node #0,1,1: 87:[4, 81] Operation: 49+32=81 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[4, 81], Operations: ['54-50=4', '49+32=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[4, 17], Operations: ['54-50=4', '49-32=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,87 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[50, 32, 5], Operations: ['54-49=5'] Exploring Operation: 50/5=10, Resulting Numbers: [32, 10] Generated Node #0,0,0: 87:[32, 10] Operation: 50/5=10 Exploring Operation: 50+32=82, Resulting Numbers: [5, 82] Generated Node #0,0,1: 87:[5, 82] Operation: 50+32=82 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[5, 82], Operations: ['54-49=5', '50+32=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[49, 54, 50, 32], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [50, 32, 5] Generated Node #0,0: 87:[50, 32, 5] Operation: 54-49=5 Moving to Node #0,0 Current State: 87:[50, 32, 5], Operations: ['54-49=5'] Exploring Operation: 50+32=82, Resulting Numbers: [5, 82] Generated Node #0,0,1: 87:[5, 82] Operation: 50+32=82 Moving to Node #0,0,1 Current State: 87:[5, 82], Operations: ['54-49=5', '50+32=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 45, 29, 30, 13 ]
58
[ "45-30=15", "15-13=2", "29*2=58" ]
Current State: 58:[45, 29, 30, 13], Operations: [] Exploring Operation: 45-30=15, Resulting Numbers: [29, 13, 15] Generated Node #2: [29, 13, 15] from Operation: 45-30=15 Current State: 58:[29, 13, 15], Operations: ['45-30=15'] Exploring Operation: 15-13=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 15-13=2 Current State: 58:[29, 2], Operations: ['45-30=15', '15-13=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[45, 29, 30, 13], Operations: [] Exploring Operation: 45+13=58, Resulting Numbers: [29, 30, 58] Generated Node #0,0: 58:[29, 30, 58] Operation: 45+13=58 Exploring Operation: 45-13=32, Resulting Numbers: [29, 30, 32] Generated Node #0,1: 58:[29, 30, 32] Operation: 45-13=32 Moving to Node #0,0 Current State: 58:[29, 30, 58], Operations: ['45+13=58'] Exploring Operation: 29+30=59, Resulting Numbers: [58, 59] Generated Node #0,0,0: 58:[58, 59] Operation: 29+30=59 Exploring Operation: 30-29=1, Resulting Numbers: [58, 1] Generated Node #0,0,1: 58:[58, 1] Operation: 30-29=1 Moving to Node #0,1 Current State: 58:[29, 30, 32], Operations: ['45-13=32'] Exploring Operation: 32-30=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 58:[29, 2] Operation: 32-30=2 Exploring Operation: 32-29=3, Resulting Numbers: [30, 3] Generated Node #0,1,1: 58:[30, 3] Operation: 32-29=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[29, 2], Operations: ['45-13=32', '32-30=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[45, 29, 30, 13], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [29, 30, 32] Generated Node #0,1: 58:[29, 30, 32] Operation: 45-13=32 Moving to Node #0,1 Current State: 58:[29, 30, 32], Operations: ['45-13=32'] Exploring Operation: 32-30=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 58:[29, 2] Operation: 32-30=2 Moving to Node #0,1,0 Current State: 58:[29, 2], Operations: ['45-13=32', '32-30=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 50, 42, 82, 41 ]
31
[ "50+42=92", "82+41=123", "123-92=31" ]
Current State: 31:[50, 42, 82, 41], Operations: [] Exploring Operation: 50+42=92, Resulting Numbers: [82, 41, 92] Generated Node #2: [82, 41, 92] from Operation: 50+42=92 Current State: 31:[82, 41, 92], Operations: ['50+42=92'] Exploring Operation: 82+41=123, Resulting Numbers: [92, 123] Generated Node #3: [92, 123] from Operation: 82+41=123 Current State: 31:[92, 123], Operations: ['50+42=92', '82+41=123'] Exploring Operation: 123-92=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[50, 42, 82, 41], Operations: [] Exploring Operation: 82-41=41, Resulting Numbers: [50, 42, 41] Generated Node #0,0: 31:[50, 42, 41] Operation: 82-41=41 Exploring Operation: 82-42=40, Resulting Numbers: [50, 41, 40] Generated Node #0,1: 31:[50, 41, 40] Operation: 82-42=40 Exploring Operation: 82-50=32, Resulting Numbers: [42, 41, 32] Generated Node #0,2: 31:[42, 41, 32] Operation: 82-50=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[42, 41, 32], Operations: ['82-50=32'] Exploring Operation: 41-32=9, Resulting Numbers: [42, 9] Generated Node #0,2,0: 31:[42, 9] Operation: 41-32=9 Exploring Operation: 42-41=1, Resulting Numbers: [32, 1] Generated Node #0,2,1: 31:[32, 1] Operation: 42-41=1 Exploring Operation: 42-32=10, Resulting Numbers: [41, 10] Generated Node #0,2,2: 31:[41, 10] Operation: 42-32=10 Moving to Node #0,2,1 Current State: 31:[32, 1], Operations: ['82-50=32', '42-41=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[50, 42, 82, 41], Operations: [] Exploring Operation: 82-50=32, Resulting Numbers: [42, 41, 32] Generated Node #0,2: 31:[42, 41, 32] Operation: 82-50=32 Moving to Node #0,2 Current State: 31:[42, 41, 32], Operations: ['82-50=32'] Exploring Operation: 42-41=1, Resulting Numbers: [32, 1] Generated Node #0,2,1: 31:[32, 1] Operation: 42-41=1 Moving to Node #0,2,1 Current State: 31:[32, 1], Operations: ['82-50=32', '42-41=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 27, 27, 3, 31 ]
23
[ "27*3=81", "27+31=58", "81-58=23" ]
Current State: 23:[27, 27, 3, 31], Operations: [] Exploring Operation: 27*3=81, Resulting Numbers: [31, 81] Generated Node #2: [31, 81] from Operation: 27*3=81 Current State: 23:[31, 81], Operations: ['27*3=81'] Exploring Operation: 27+31=58, Resulting Numbers: [81, 58] Generated Node #3: [81, 58] from Operation: 27+31=58 Current State: 23:[81, 58], Operations: ['27*3=81', '27+31=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[27, 27, 3, 31], Operations: [] Exploring Operation: 27-3=24, Resulting Numbers: [27, 31, 24] Generated Node #0,0: 23:[27, 31, 24] Operation: 27-3=24 Exploring Operation: 31-3=28, Resulting Numbers: [27, 27, 28] Generated Node #0,1: 23:[27, 27, 28] Operation: 31-3=28 Exploring Operation: 27-3=24, Resulting Numbers: [27, 31, 24] Generated Node #0,2: 23:[27, 31, 24] Operation: 27-3=24 Moving to Node #0,0 Current State: 23:[27, 31, 24], Operations: ['27-3=24'] Exploring Operation: 31-27=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 23:[24, 4] Operation: 31-27=4 Exploring Operation: 31-24=7, Resulting Numbers: [27, 7] Generated Node #0,0,1: 23:[27, 7] Operation: 31-24=7 Exploring Operation: 27-24=3, Resulting Numbers: [31, 3] Generated Node #0,0,2: 23:[31, 3] Operation: 27-24=3 Moving to Node #0,1 Current State: 23:[27, 27, 28], Operations: ['31-3=28'] Exploring Operation: 28-27=1, Resulting Numbers: [27, 1] Generated Node #0,1,0: 23:[27, 1] Operation: 28-27=1 Exploring Operation: 27/27=1, Resulting Numbers: [28, 1] Generated Node #0,1,1: 23:[28, 1] Operation: 27/27=1 Exploring Operation: 28-27=1, Resulting Numbers: [27, 1] Generated Node #0,1,2: 23:[27, 1] Operation: 28-27=1 Moving to Node #0,2 Current State: 23:[27, 31, 24], Operations: ['27-3=24'] Exploring Operation: 31-24=7, Resulting Numbers: [27, 7] Generated Node #0,2,0: 23:[27, 7] Operation: 31-24=7 Exploring Operation: 31-27=4, Resulting Numbers: [24, 4] Generated Node #0,2,1: 23:[24, 4] Operation: 31-27=4 Exploring Operation: 27-24=3, Resulting Numbers: [31, 3] Generated Node #0,2,2: 23:[31, 3] Operation: 27-24=3 Moving to Node #0,0,0 Current State: 23:[24, 4], Operations: ['27-3=24', '31-27=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[27, 7], Operations: ['27-3=24', '31-24=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[27, 7], Operations: ['27-3=24', '31-24=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[24, 4], Operations: ['27-3=24', '31-27=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[27, 1], Operations: ['31-3=28', '28-27=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[27, 1], Operations: ['31-3=28', '28-27=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[28, 1], Operations: ['31-3=28', '27/27=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[31, 3], Operations: ['27-3=24', '27-24=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[31, 3], Operations: ['27-3=24', '27-24=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,23 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,23 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 31, 34, 97, 78 ]
84
[ "31+34=65", "97-78=19", "65+19=84" ]
Current State: 84:[31, 34, 97, 78], Operations: [] Exploring Operation: 31+34=65, Resulting Numbers: [97, 78, 65] Generated Node #2: [97, 78, 65] from Operation: 31+34=65 Current State: 84:[97, 78, 65], Operations: ['31+34=65'] Exploring Operation: 97-78=19, Resulting Numbers: [65, 19] Generated Node #3: [65, 19] from Operation: 97-78=19 Current State: 84:[65, 19], Operations: ['31+34=65', '97-78=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[31, 34, 97, 78], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [31, 97, 44] Generated Node #0,0: 84:[31, 97, 44] Operation: 78-34=44 Exploring Operation: 97-78=19, Resulting Numbers: [31, 34, 19] Generated Node #0,1: 84:[31, 34, 19] Operation: 97-78=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[31, 34, 19], Operations: ['97-78=19'] Exploring Operation: 34-31=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 84:[19, 3] Operation: 34-31=3 Exploring Operation: 34-19=15, Resulting Numbers: [31, 15] Generated Node #0,1,1: 84:[31, 15] Operation: 34-19=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[19, 3], Operations: ['97-78=19', '34-31=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[31, 15], Operations: ['97-78=19', '34-19=15'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[31, 97, 44], Operations: ['78-34=44'] Exploring Operation: 44-31=13, Resulting Numbers: [97, 13] Generated Node #0,0,0: 84:[97, 13] Operation: 44-31=13 Exploring Operation: 97-44=53, Resulting Numbers: [31, 53] Generated Node #0,0,1: 84:[31, 53] Operation: 97-44=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[97, 13], Operations: ['78-34=44', '44-31=13'] Exploring Operation: 97+13=110, Resulting Numbers: [110] 110,84 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[31, 34, 97, 78], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [31, 97, 44] Generated Node #0,0: 84:[31, 97, 44] Operation: 78-34=44 Moving to Node #0,0 Current State: 84:[31, 97, 44], Operations: ['78-34=44'] Exploring Operation: 44-31=13, Resulting Numbers: [97, 13] Generated Node #0,0,0: 84:[97, 13] Operation: 44-31=13 Moving to Node #0,0,0 Current State: 84:[97, 13], Operations: ['78-34=44', '44-31=13'] Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 23, 73, 18, 71 ]
31
[ "73+71=144", "144/18=8", "23+8=31" ]
Current State: 31:[23, 73, 18, 71], Operations: [] Exploring Operation: 73+71=144, Resulting Numbers: [23, 18, 144] Generated Node #2: [23, 18, 144] from Operation: 73+71=144 Current State: 31:[23, 18, 144], Operations: ['73+71=144'] Exploring Operation: 144/18=8, Resulting Numbers: [23, 8] Generated Node #3: [23, 8] from Operation: 144/18=8 Current State: 31:[23, 8], Operations: ['73+71=144', '144/18=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[23, 73, 18, 71], Operations: [] Exploring Operation: 71-18=53, Resulting Numbers: [23, 73, 53] Generated Node #0,0: 31:[23, 73, 53] Operation: 71-18=53 Exploring Operation: 73-23=50, Resulting Numbers: [18, 71, 50] Generated Node #0,1: 31:[18, 71, 50] Operation: 73-23=50 Exploring Operation: 73-71=2, Resulting Numbers: [23, 18, 2] Generated Node #0,2: 31:[23, 18, 2] Operation: 73-71=2 Exploring Operation: 73-18=55, Resulting Numbers: [23, 71, 55] Generated Node #0,3: 31:[23, 71, 55] Operation: 73-18=55 Exploring Operation: 71-23=48, Resulting Numbers: [73, 18, 48] Generated Node #0,4: 31:[73, 18, 48] Operation: 71-23=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[23, 18, 2], Operations: ['73-71=2'] Exploring Operation: 23-2=21, Resulting Numbers: [18, 21] Generated Node #0,2,0: 31:[18, 21] Operation: 23-2=21 Exploring Operation: 18-2=16, Resulting Numbers: [23, 16] Generated Node #0,2,1: 31:[23, 16] Operation: 18-2=16 Exploring Operation: 18+2=20, Resulting Numbers: [23, 20] Generated Node #0,2,2: 31:[23, 20] Operation: 18+2=20 Exploring Operation: 23+2=25, Resulting Numbers: [18, 25] Generated Node #0,2,3: 31:[18, 25] Operation: 23+2=25 Exploring Operation: 18*2=36, Resulting Numbers: [23, 36] Generated Node #0,2,4: 31:[23, 36] Operation: 18*2=36 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 31:[23, 36], Operations: ['73-71=2', '18*2=36'] Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,31 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[23, 20], Operations: ['73-71=2', '18+2=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,31 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[18, 25], Operations: ['73-71=2', '23+2=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[18, 21], Operations: ['73-71=2', '23-2=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,31 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[23, 16], Operations: ['73-71=2', '18-2=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,31 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[23, 73, 53], Operations: ['71-18=53'] Exploring Operation: 53-23=30, Resulting Numbers: [73, 30] Generated Node #0,0,0: 31:[73, 30] Operation: 53-23=30 Exploring Operation: 23+53=76, Resulting Numbers: [73, 76] Generated Node #0,0,1: 31:[73, 76] Operation: 23+53=76 Exploring Operation: 23+73=96, Resulting Numbers: [53, 96] Generated Node #0,0,2: 31:[53, 96] Operation: 23+73=96 Exploring Operation: 73-53=20, Resulting Numbers: [23, 20] Generated Node #0,0,3: 31:[23, 20] Operation: 73-53=20 Exploring Operation: 73-23=50, Resulting Numbers: [53, 50] Generated Node #0,0,4: 31:[53, 50] Operation: 73-23=50 Moving to Node #0,0,3 Current State: 31:[23, 20], Operations: ['71-18=53', '73-53=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[53, 50], Operations: ['71-18=53', '73-23=50'] Exploring Operation: 53+50=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 53*50=2650, Resulting Numbers: [2650] 2650,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[73, 30], Operations: ['71-18=53', '53-23=30'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[73, 76], Operations: ['71-18=53', '23+53=76'] Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,31 unequal: No Solution Exploring Operation: 73*76=5548, Resulting Numbers: [5548] 5548,31 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[53, 96], Operations: ['71-18=53', '23+73=96'] Exploring Operation: 53*96=5088, Resulting Numbers: [5088] 5088,31 unequal: No Solution Exploring Operation: 96-53=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 53+96=149, Resulting Numbers: [149] 149,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[18, 71, 50], Operations: ['73-23=50'] Exploring Operation: 18+50=68, Resulting Numbers: [71, 68] Generated Node #0,1,0: 31:[71, 68] Operation: 18+50=68 Exploring Operation: 71-50=21, Resulting Numbers: [18, 21] Generated Node #0,1,1: 31:[18, 21] Operation: 71-50=21 Exploring Operation: 18+71=89, Resulting Numbers: [50, 89] Generated Node #0,1,2: 31:[50, 89] Operation: 18+71=89 Exploring Operation: 71-18=53, Resulting Numbers: [50, 53] Generated Node #0,1,3: 31:[50, 53] Operation: 71-18=53 Exploring Operation: 50-18=32, Resulting Numbers: [71, 32] Generated Node #0,1,4: 31:[71, 32] Operation: 50-18=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[18, 21], Operations: ['73-23=50', '71-50=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,31 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 31:[50, 53], Operations: ['73-23=50', '71-18=53'] Exploring Operation: 50+53=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 50*53=2650, Resulting Numbers: [2650] 2650,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 31:[71, 32], Operations: ['73-23=50', '50-18=32'] Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,31 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[71, 68], Operations: ['73-23=50', '18+50=68'] Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,31 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[50, 89], Operations: ['73-23=50', '18+71=89'] Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,31 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[23, 71, 55], Operations: ['73-18=55'] Exploring Operation: 71-23=48, Resulting Numbers: [55, 48] Generated Node #0,3,0: 31:[55, 48] Operation: 71-23=48 Exploring Operation: 23+71=94, Resulting Numbers: [55, 94] Generated Node #0,3,1: 31:[55, 94] Operation: 23+71=94 Exploring Operation: 71-55=16, Resulting Numbers: [23, 16] Generated Node #0,3,2: 31:[23, 16] Operation: 71-55=16 Exploring Operation: 55-23=32, Resulting Numbers: [71, 32] Generated Node #0,3,3: 31:[71, 32] Operation: 55-23=32 Exploring Operation: 23+55=78, Resulting Numbers: [71, 78] Generated Node #0,3,4: 31:[71, 78] Operation: 23+55=78 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[23, 16], Operations: ['73-18=55', '71-55=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[55, 48], Operations: ['73-18=55', '71-23=48'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,31 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[71, 32], Operations: ['73-18=55', '55-23=32'] Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,31 unequal: No Solution Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[55, 94], Operations: ['73-18=55', '23+71=94'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 55*94=5170, Resulting Numbers: [5170] 5170,31 unequal: No Solution Exploring Operation: 55+94=149, Resulting Numbers: [149] 149,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 31:[71, 78], Operations: ['73-18=55', '23+55=78'] Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,31 unequal: No Solution Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[73, 18, 48], Operations: ['71-23=48'] Exploring Operation: 48-18=30, Resulting Numbers: [73, 30] Generated Node #0,4,0: 31:[73, 30] Operation: 48-18=30 Exploring Operation: 18+48=66, Resulting Numbers: [73, 66] Generated Node #0,4,1: 31:[73, 66] Operation: 18+48=66 Exploring Operation: 73+18=91, Resulting Numbers: [48, 91] Generated Node #0,4,2: 31:[48, 91] Operation: 73+18=91 Exploring Operation: 73-48=25, Resulting Numbers: [18, 25] Generated Node #0,4,3: 31:[18, 25] Operation: 73-48=25 Exploring Operation: 73-18=55, Resulting Numbers: [48, 55] Generated Node #0,4,4: 31:[48, 55] Operation: 73-18=55 Moving to Node #0,4,3 Current State: 31:[18, 25], Operations: ['71-23=48', '73-48=25'] Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,31 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,31 unequal: No Solution Moving to Node #0,4,4 Current State: 31:[48, 55], Operations: ['71-23=48', '73-18=55'] Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,31 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,31 unequal: No Solution Moving to Node #0,4,0 Current State: 31:[73, 30], Operations: ['71-23=48', '48-18=30'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,31 unequal: No Solution Moving to Node #0,4,1 Current State: 31:[73, 66], Operations: ['71-23=48', '18+48=66'] Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,31 unequal: No Solution Moving to Node #0,4,2 Current State: 31:[48, 91], Operations: ['71-23=48', '73+18=91'] Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,31 unequal: No Solution Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,31 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
[ 61, 45, 91, 34 ]
73
[ "61-45=16", "91-34=57", "16+57=73" ]
Current State: 73:[61, 45, 91, 34], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [91, 34, 16] Generated Node #2: [91, 34, 16] from Operation: 61-45=16 Current State: 73:[91, 34, 16], Operations: ['61-45=16'] Exploring Operation: 91-34=57, Resulting Numbers: [16, 57] Generated Node #3: [16, 57] from Operation: 91-34=57 Current State: 73:[16, 57], Operations: ['61-45=16', '91-34=57'] Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[61, 45, 91, 34], Operations: [] Exploring Operation: 45+34=79, Resulting Numbers: [61, 91, 79] Generated Node #0,0: 73:[61, 91, 79] Operation: 45+34=79 Moving to Node #0,0 Current State: 73:[61, 91, 79], Operations: ['45+34=79'] Exploring Operation: 91-61=30, Resulting Numbers: [79, 30] Generated Node #0,0,0: 73:[79, 30] Operation: 91-61=30 Moving to Node #0,0,0 Current State: 73:[79, 30], Operations: ['45+34=79', '91-61=30'] Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,73 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 22, 46, 68 ]
11
[ "22-20=2", "68-46=22", "22/2=11" ]
Current State: 11:[20, 22, 46, 68], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [46, 68, 2] Generated Node #2: [46, 68, 2] from Operation: 22-20=2 Current State: 11:[46, 68, 2], Operations: ['22-20=2'] Exploring Operation: 68-46=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 68-46=22 Current State: 11:[2, 22], Operations: ['22-20=2', '68-46=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[20, 22, 46, 68], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [20, 22, 22] Generated Node #0,0: 11:[20, 22, 22] Operation: 68-46=22 Exploring Operation: 68-22=46, Resulting Numbers: [20, 46, 46] Generated Node #0,1: 11:[20, 46, 46] Operation: 68-22=46 Exploring Operation: 46-22=24, Resulting Numbers: [20, 68, 24] Generated Node #0,2: 11:[20, 68, 24] Operation: 46-22=24 Exploring Operation: 46-20=26, Resulting Numbers: [22, 68, 26] Generated Node #0,3: 11:[22, 68, 26] Operation: 46-20=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[20, 22, 22], Operations: ['68-46=22'] Exploring Operation: 22/22=1, Resulting Numbers: [20, 1] Generated Node #0,0,0: 11:[20, 1] Operation: 22/22=1 Exploring Operation: 22-20=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 11:[22, 2] Operation: 22-20=2 Exploring Operation: 22-22=0, Resulting Numbers: [20, 0] Generated Node #0,0,2: 11:[20, 0] Operation: 22-22=0 Exploring Operation: 22-20=2, Resulting Numbers: [22, 2] Generated Node #0,0,3: 11:[22, 2] Operation: 22-20=2 Moving to Node #0,0,0 Current State: 11:[20, 1], Operations: ['68-46=22', '22/22=1'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[20, 0], Operations: ['68-46=22', '22-22=0'] Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[22, 2], Operations: ['68-46=22', '22-20=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[20, 22, 46, 68], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [20, 22, 22] Generated Node #0,0: 11:[20, 22, 22] Operation: 68-46=22 Moving to Node #0,0 Current State: 11:[20, 22, 22], Operations: ['68-46=22'] Exploring Operation: 22-20=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 11:[22, 2] Operation: 22-20=2 Moving to Node #0,0,1 Current State: 11:[22, 2], Operations: ['68-46=22', '22-20=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 49, 11, 66, 14 ]
41
[ "49-14=35", "66/11=6", "35+6=41" ]
Current State: 41:[49, 11, 66, 14], Operations: [] Exploring Operation: 49-14=35, Resulting Numbers: [11, 66, 35] Generated Node #2: [11, 66, 35] from Operation: 49-14=35 Current State: 41:[11, 66, 35], Operations: ['49-14=35'] Exploring Operation: 66/11=6, Resulting Numbers: [35, 6] Generated Node #3: [35, 6] from Operation: 66/11=6 Current State: 41:[35, 6], Operations: ['49-14=35', '66/11=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[49, 11, 66, 14], Operations: [] Exploring Operation: 66-11=55, Resulting Numbers: [49, 14, 55] Generated Node #0,0: 41:[49, 14, 55] Operation: 66-11=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[49, 14, 55], Operations: ['66-11=55'] Exploring Operation: 55-14=41, Resulting Numbers: [49, 41] Generated Node #0,0,0: 41:[49, 41] Operation: 55-14=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[49, 41], Operations: ['66-11=55', '55-14=41'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 1, 84, 90, 20 ]
26
[ "1*84=84", "90+20=110", "110-84=26" ]
Current State: 26:[1, 84, 90, 20], Operations: [] Exploring Operation: 1*84=84, Resulting Numbers: [90, 20, 84] Generated Node #2: [90, 20, 84] from Operation: 1*84=84 Current State: 26:[90, 20, 84], Operations: ['1*84=84'] Exploring Operation: 90+20=110, Resulting Numbers: [84, 110] Generated Node #3: [84, 110] from Operation: 90+20=110 Current State: 26:[84, 110], Operations: ['1*84=84', '90+20=110'] Exploring Operation: 110-84=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[1, 84, 90, 20], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [1, 20, 6] Generated Node #0,0: 26:[1, 20, 6] Operation: 90-84=6 Exploring Operation: 84-20=64, Resulting Numbers: [1, 90, 64] Generated Node #0,1: 26:[1, 90, 64] Operation: 84-20=64 Exploring Operation: 90-20=70, Resulting Numbers: [1, 84, 70] Generated Node #0,2: 26:[1, 84, 70] Operation: 90-20=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[1, 20, 6], Operations: ['90-84=6'] Exploring Operation: 1+20=21, Resulting Numbers: [6, 21] Generated Node #0,0,0: 26:[6, 21] Operation: 1+20=21 Exploring Operation: 20+6=26, Resulting Numbers: [1, 26] Generated Node #0,0,1: 26:[1, 26] Operation: 20+6=26 Exploring Operation: 20-6=14, Resulting Numbers: [1, 14] Generated Node #0,0,2: 26:[1, 14] Operation: 20-6=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[1, 26], Operations: ['90-84=6', '20+6=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[1, 84, 90, 20], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [1, 20, 6] Generated Node #0,0: 26:[1, 20, 6] Operation: 90-84=6 Moving to Node #0,0 Current State: 26:[1, 20, 6], Operations: ['90-84=6'] Exploring Operation: 20+6=26, Resulting Numbers: [1, 26] Generated Node #0,0,1: 26:[1, 26] Operation: 20+6=26 Moving to Node #0,0,1 Current State: 26:[1, 26], Operations: ['90-84=6', '20+6=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 11, 60, 57, 49 ]
40
[ "49-11=38", "60*38=2280", "2280/57=40" ]
Current State: 40:[11, 60, 57, 49], Operations: [] Exploring Operation: 49-11=38, Resulting Numbers: [60, 57, 38] Generated Node #2: [60, 57, 38] from Operation: 49-11=38 Current State: 40:[60, 57, 38], Operations: ['49-11=38'] Exploring Operation: 60*38=2280, Resulting Numbers: [57, 2280] Generated Node #3: [57, 2280] from Operation: 60*38=2280 Current State: 40:[57, 2280], Operations: ['49-11=38', '60*38=2280'] Exploring Operation: 2280/57=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[11, 60, 57, 49], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [11, 60, 8] Generated Node #0,0: 40:[11, 60, 8] Operation: 57-49=8 Exploring Operation: 60-49=11, Resulting Numbers: [11, 57, 11] Generated Node #0,1: 40:[11, 57, 11] Operation: 60-49=11 Exploring Operation: 60-57=3, Resulting Numbers: [11, 49, 3] Generated Node #0,2: 40:[11, 49, 3] Operation: 60-57=3 Moving to Node #0,2 Current State: 40:[11, 49, 3], Operations: ['60-57=3'] Exploring Operation: 49-11=38, Resulting Numbers: [3, 38] Generated Node #0,2,0: 40:[3, 38] Operation: 49-11=38 Exploring Operation: 49-3=46, Resulting Numbers: [11, 46] Generated Node #0,2,1: 40:[11, 46] Operation: 49-3=46 Exploring Operation: 11-3=8, Resulting Numbers: [49, 8] Generated Node #0,2,2: 40:[49, 8] Operation: 11-3=8 Moving to Node #0,1 Current State: 40:[11, 57, 11], Operations: ['60-49=11'] Exploring Operation: 11/11=1, Resulting Numbers: [57, 1] Generated Node #0,1,0: 40:[57, 1] Operation: 11/11=1 Exploring Operation: 57-11=46, Resulting Numbers: [11, 46] Generated Node #0,1,1: 40:[11, 46] Operation: 57-11=46 Exploring Operation: 57-11=46, Resulting Numbers: [11, 46] Generated Node #0,1,2: 40:[11, 46] Operation: 57-11=46 Moving to Node #0,0 Current State: 40:[11, 60, 8], Operations: ['57-49=8'] Exploring Operation: 11+8=19, Resulting Numbers: [60, 19] Generated Node #0,0,0: 40:[60, 19] Operation: 11+8=19 Exploring Operation: 60-11=49, Resulting Numbers: [8, 49] Generated Node #0,0,1: 40:[8, 49] Operation: 60-11=49 Exploring Operation: 60-8=52, Resulting Numbers: [11, 52] Generated Node #0,0,2: 40:[11, 52] Operation: 60-8=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[8, 49], Operations: ['57-49=8', '60-11=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,40 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[11, 52], Operations: ['57-49=8', '60-8=52'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,40 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,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,0 Current State: 40:[60, 19], Operations: ['57-49=8', '11+8=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,40 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,40 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 40:[3, 38], Operations: ['60-57=3', '49-11=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,40 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[11, 46], Operations: ['60-57=3', '49-3=46'] Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,40 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[11, 46], Operations: ['60-49=11', '57-11=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,40 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[11, 46], Operations: ['60-49=11', '57-11=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,40 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,40 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[49, 8], Operations: ['60-57=3', '11-3=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,40 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[57, 1], Operations: ['60-49=11', '11/11=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,40 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 75, 31, 83, 88 ]
81
[ "75-31=44", "88/44=2", "83-2=81" ]
Current State: 81:[75, 31, 83, 88], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [83, 88, 44] Generated Node #2: [83, 88, 44] from Operation: 75-31=44 Current State: 81:[83, 88, 44], Operations: ['75-31=44'] Exploring Operation: 88/44=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 88/44=2 Current State: 81:[83, 2], Operations: ['75-31=44', '88/44=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[75, 31, 83, 88], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [83, 88, 44] Generated Node #0,0: 81:[83, 88, 44] Operation: 75-31=44 Exploring Operation: 88-75=13, Resulting Numbers: [31, 83, 13] Generated Node #0,1: 81:[31, 83, 13] Operation: 88-75=13 Exploring Operation: 83-75=8, Resulting Numbers: [31, 88, 8] Generated Node #0,2: 81:[31, 88, 8] Operation: 83-75=8 Exploring Operation: 88-31=57, Resulting Numbers: [75, 83, 57] Generated Node #0,3: 81:[75, 83, 57] Operation: 88-31=57 Exploring Operation: 88-83=5, Resulting Numbers: [75, 31, 5] Generated Node #0,4: 81:[75, 31, 5] Operation: 88-83=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[31, 83, 13], Operations: ['88-75=13'] Exploring Operation: 83-13=70, Resulting Numbers: [31, 70] Generated Node #0,1,0: 81:[31, 70] Operation: 83-13=70 Exploring Operation: 83+13=96, Resulting Numbers: [31, 96] Generated Node #0,1,1: 81:[31, 96] Operation: 83+13=96 Exploring Operation: 31-13=18, Resulting Numbers: [83, 18] Generated Node #0,1,2: 81:[83, 18] Operation: 31-13=18 Exploring Operation: 83-31=52, Resulting Numbers: [13, 52] Generated Node #0,1,3: 81:[13, 52] Operation: 83-31=52 Exploring Operation: 31+13=44, Resulting Numbers: [83, 44] Generated Node #0,1,4: 81:[83, 44] Operation: 31+13=44 Moving to Node #0,1,2 Current State: 81:[83, 18], Operations: ['88-75=13', '31-13=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,81 unequal: No Solution Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[31, 70], Operations: ['88-75=13', '83-13=70'] Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[31, 96], Operations: ['88-75=13', '83+13=96'] Exploring Operation: 31+96=127, Resulting Numbers: [127] 127,81 unequal: No Solution Exploring Operation: 31*96=2976, Resulting Numbers: [2976] 2976,81 unequal: No Solution Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[83, 44], Operations: ['88-75=13', '31+13=44'] Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,81 unequal: No Solution Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,81 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[13, 52], Operations: ['88-75=13', '83-31=52'] Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 13*52=676, Resulting Numbers: [676] 676,81 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[31, 88, 8], Operations: ['83-75=8'] Exploring Operation: 31+8=39, Resulting Numbers: [88, 39] Generated Node #0,2,0: 81:[88, 39] Operation: 31+8=39 Exploring Operation: 31-8=23, Resulting Numbers: [88, 23] Generated Node #0,2,1: 81:[88, 23] Operation: 31-8=23 Exploring Operation: 88-8=80, Resulting Numbers: [31, 80] Generated Node #0,2,2: 81:[31, 80] Operation: 88-8=80 Exploring Operation: 88+8=96, Resulting Numbers: [31, 96] Generated Node #0,2,3: 81:[31, 96] Operation: 88+8=96 Exploring Operation: 88/8=11, Resulting Numbers: [31, 11] Generated Node #0,2,4: 81:[31, 11] Operation: 88/8=11 Moving to Node #0,2,2 Current State: 81:[31, 80], Operations: ['83-75=8', '88-8=80'] Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,81 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,81 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,81 unequal: No Solution Moving to Node #0,2,4 Current State: 81:[31, 11], Operations: ['83-75=8', '88/8=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,81 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[88, 23], Operations: ['83-75=8', '31-8=23'] Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,81 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[88, 39], Operations: ['83-75=8', '31+8=39'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 88*39=3432, Resulting Numbers: [3432] 3432,81 unequal: No Solution Exploring Operation: 88+39=127, Resulting Numbers: [127] 127,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[31, 96], Operations: ['83-75=8', '88+8=96'] Exploring Operation: 31*96=2976, Resulting Numbers: [2976] 2976,81 unequal: No Solution Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 31+96=127, Resulting Numbers: [127] 127,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 81:[75, 31, 5], Operations: ['88-83=5'] Exploring Operation: 75/5=15, Resulting Numbers: [31, 15] Generated Node #0,4,0: 81:[31, 15] Operation: 75/5=15 Exploring Operation: 31+5=36, Resulting Numbers: [75, 36] Generated Node #0,4,1: 81:[75, 36] Operation: 31+5=36 Exploring Operation: 31-5=26, Resulting Numbers: [75, 26] Generated Node #0,4,2: 81:[75, 26] Operation: 31-5=26 Exploring Operation: 75-5=70, Resulting Numbers: [31, 70] Generated Node #0,4,3: 81:[31, 70] Operation: 75-5=70 Exploring Operation: 75+5=80, Resulting Numbers: [31, 80] Generated Node #0,4,4: 81:[31, 80] Operation: 75+5=80 Moving to Node #0,4,4 Current State: 81:[31, 80], Operations: ['88-83=5', '75+5=80'] Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,81 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,81 unequal: No Solution Moving to Node #0,4,2 Current State: 81:[75, 26], Operations: ['88-83=5', '31-5=26'] Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,81 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,81 unequal: No Solution Moving to Node #0,4,0 Current State: 81:[31, 15], Operations: ['88-83=5', '75/5=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,81 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,81 unequal: No Solution Moving to Node #0,4,1 Current State: 81:[75, 36], Operations: ['88-83=5', '31+5=36'] Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,81 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,81 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,81 unequal: No Solution Moving to Node #0,4,3 Current State: 81:[31, 70], Operations: ['88-83=5', '75-5=70'] Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,81 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[83, 88, 44], Operations: ['75-31=44'] Exploring Operation: 83+44=127, Resulting Numbers: [88, 127] Generated Node #0,0,0: 81:[88, 127] Operation: 83+44=127 Exploring Operation: 88/44=2, Resulting Numbers: [83, 2] Generated Node #0,0,1: 81:[83, 2] Operation: 88/44=2 Exploring Operation: 83-44=39, Resulting Numbers: [88, 39] Generated Node #0,0,2: 81:[88, 39] Operation: 83-44=39 Exploring Operation: 88-44=44, Resulting Numbers: [83, 44] Generated Node #0,0,3: 81:[83, 44] Operation: 88-44=44 Exploring Operation: 88-83=5, Resulting Numbers: [44, 5] Generated Node #0,0,4: 81:[44, 5] Operation: 88-83=5 Moving to Node #0,0,1 Current State: 81:[83, 2], Operations: ['75-31=44', '88/44=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[75, 31, 83, 88], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [83, 88, 44] Generated Node #0,0: 81:[83, 88, 44] Operation: 75-31=44 Moving to Node #0,0 Current State: 81:[83, 88, 44], Operations: ['75-31=44'] Exploring Operation: 88/44=2, Resulting Numbers: [83, 2] Generated Node #0,0,1: 81:[83, 2] Operation: 88/44=2 Moving to Node #0,0,1 Current State: 81:[83, 2], Operations: ['75-31=44', '88/44=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.934028
hs_5
sum_heuristic
[ 62, 89, 18, 52 ]
25
[ "89*18=1602", "1602-52=1550", "1550/62=25" ]
Current State: 25:[62, 89, 18, 52], Operations: [] Exploring Operation: 89*18=1602, Resulting Numbers: [62, 52, 1602] Generated Node #2: [62, 52, 1602] from Operation: 89*18=1602 Current State: 25:[62, 52, 1602], Operations: ['89*18=1602'] Exploring Operation: 1602-52=1550, Resulting Numbers: [62, 1550] Generated Node #3: [62, 1550] from Operation: 1602-52=1550 Current State: 25:[62, 1550], Operations: ['89*18=1602', '1602-52=1550'] Exploring Operation: 1550/62=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[62, 89, 18, 52], Operations: [] Exploring Operation: 62-52=10, Resulting Numbers: [89, 18, 10] Generated Node #0,0: 25:[89, 18, 10] Operation: 62-52=10 Exploring Operation: 89-62=27, Resulting Numbers: [18, 52, 27] Generated Node #0,1: 25:[18, 52, 27] Operation: 89-62=27 Exploring Operation: 89-52=37, Resulting Numbers: [62, 18, 37] Generated Node #0,2: 25:[62, 18, 37] Operation: 89-52=37 Moving to Node #0,1 Current State: 25:[18, 52, 27], Operations: ['89-62=27'] Exploring Operation: 27-18=9, Resulting Numbers: [52, 9] Generated Node #0,1,0: 25:[52, 9] Operation: 27-18=9 Exploring Operation: 52-27=25, Resulting Numbers: [18, 25] Generated Node #0,1,1: 25:[18, 25] Operation: 52-27=25 Exploring Operation: 52-18=34, Resulting Numbers: [27, 34] Generated Node #0,1,2: 25:[27, 34] Operation: 52-18=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[18, 25], Operations: ['89-62=27', '52-27=25'] Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,25 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[27, 34], Operations: ['89-62=27', '52-18=34'] Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,25 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[52, 9], Operations: ['89-62=27', '27-18=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,25 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: 25:[62, 18, 37], Operations: ['89-52=37'] Exploring Operation: 37-18=19, Resulting Numbers: [62, 19] Generated Node #0,2,0: 25:[62, 19] Operation: 37-18=19 Exploring Operation: 62-37=25, Resulting Numbers: [18, 25] Generated Node #0,2,1: 25:[18, 25] Operation: 62-37=25 Exploring Operation: 62-18=44, Resulting Numbers: [37, 44] Generated Node #0,2,2: 25:[37, 44] Operation: 62-18=44 Moving to Node #0,0 Current State: 25:[89, 18, 10], Operations: ['62-52=10'] Exploring Operation: 18+10=28, Resulting Numbers: [89, 28] Generated Node #0,0,0: 25:[89, 28] Operation: 18+10=28 Exploring Operation: 89-10=79, Resulting Numbers: [18, 79] Generated Node #0,0,1: 25:[18, 79] Operation: 89-10=79 Exploring Operation: 89-18=71, Resulting Numbers: [10, 71] Generated Node #0,0,2: 25:[10, 71] Operation: 89-18=71 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[10, 71], Operations: ['62-52=10', '89-18=71'] Exploring Operation: 10*71=710, Resulting Numbers: [710] 710,25 unequal: No Solution Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[18, 79], Operations: ['62-52=10', '89-10=79'] Exploring Operation: 18*79=1422, Resulting Numbers: [1422] 1422,25 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 18+79=97, Resulting Numbers: [97] 97,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[89, 28], Operations: ['62-52=10', '18+10=28'] Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,25 unequal: No Solution Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,25 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,25 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: 25:[18, 25], Operations: ['89-52=37', '62-37=25'] Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,25 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[37, 44], Operations: ['89-52=37', '62-18=44'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[62, 19], Operations: ['89-52=37', '37-18=19'] Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,25 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,25 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 50, 55, 74, 44 ]
33
[ "74-44=30", "55*30=1650", "1650/50=33" ]
Current State: 33:[50, 55, 74, 44], Operations: [] Exploring Operation: 74-44=30, Resulting Numbers: [50, 55, 30] Generated Node #2: [50, 55, 30] from Operation: 74-44=30 Current State: 33:[50, 55, 30], Operations: ['74-44=30'] Exploring Operation: 55*30=1650, Resulting Numbers: [50, 1650] Generated Node #3: [50, 1650] from Operation: 55*30=1650 Current State: 33:[50, 1650], Operations: ['74-44=30', '55*30=1650'] Exploring Operation: 1650/50=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[50, 55, 74, 44], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [50, 44, 19] Generated Node #0,0: 33:[50, 44, 19] Operation: 74-55=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[50, 44, 19], Operations: ['74-55=19'] Exploring Operation: 50-44=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 33:[19, 6] Operation: 50-44=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[19, 6], Operations: ['74-55=19', '50-44=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,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_1
mult_heuristic
[ 57, 21, 79, 29 ]
59
[ "79-21=58", "58/29=2", "57+2=59" ]
Current State: 59:[57, 21, 79, 29], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [57, 29, 58] Generated Node #2: [57, 29, 58] from Operation: 79-21=58 Current State: 59:[57, 29, 58], Operations: ['79-21=58'] Exploring Operation: 58/29=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 58/29=2 Current State: 59:[57, 2], Operations: ['79-21=58', '58/29=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[57, 21, 79, 29], Operations: [] Exploring Operation: 21+29=50, Resulting Numbers: [57, 79, 50] Generated Node #0,0: 59:[57, 79, 50] Operation: 21+29=50 Exploring Operation: 79-21=58, Resulting Numbers: [57, 29, 58] Generated Node #0,1: 59:[57, 29, 58] Operation: 79-21=58 Exploring Operation: 57+21=78, Resulting Numbers: [79, 29, 78] Generated Node #0,2: 59:[79, 29, 78] Operation: 57+21=78 Exploring Operation: 79-29=50, Resulting Numbers: [57, 21, 50] Generated Node #0,3: 59:[57, 21, 50] Operation: 79-29=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[57, 79, 50], Operations: ['21+29=50'] Exploring Operation: 57+50=107, Resulting Numbers: [79, 107] Generated Node #0,0,0: 59:[79, 107] Operation: 57+50=107 Exploring Operation: 79-50=29, Resulting Numbers: [57, 29] Generated Node #0,0,1: 59:[57, 29] Operation: 79-50=29 Exploring Operation: 57-50=7, Resulting Numbers: [79, 7] Generated Node #0,0,2: 59:[79, 7] Operation: 57-50=7 Exploring Operation: 79-57=22, Resulting Numbers: [50, 22] Generated Node #0,0,3: 59:[50, 22] Operation: 79-57=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[57, 29], Operations: ['21+29=50', '79-50=29'] Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[50, 22], Operations: ['21+29=50', '79-57=22'] Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[79, 107], Operations: ['21+29=50', '57+50=107'] Exploring Operation: 79*107=8453, Resulting Numbers: [8453] 8453,59 unequal: No Solution Exploring Operation: 107-79=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 79+107=186, Resulting Numbers: [186] 186,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[79, 7], Operations: ['21+29=50', '57-50=7'] Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 79*7=553, Resulting Numbers: [553] 553,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[57, 29, 58], Operations: ['79-21=58'] Exploring Operation: 57+29=86, Resulting Numbers: [58, 86] Generated Node #0,1,0: 59:[58, 86] Operation: 57+29=86 Exploring Operation: 29+58=87, Resulting Numbers: [57, 87] Generated Node #0,1,1: 59:[57, 87] Operation: 29+58=87 Exploring Operation: 57-29=28, Resulting Numbers: [58, 28] Generated Node #0,1,2: 59:[58, 28] Operation: 57-29=28 Exploring Operation: 58-29=29, Resulting Numbers: [57, 29] Generated Node #0,1,3: 59:[57, 29] Operation: 58-29=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[58, 86], Operations: ['79-21=58', '57+29=86'] Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 58*86=4988, Resulting Numbers: [4988] 4988,59 unequal: No Solution Exploring Operation: 58+86=144, Resulting Numbers: [144] 144,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[57, 87], Operations: ['79-21=58', '29+58=87'] Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 57+87=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 57*87=4959, Resulting Numbers: [4959] 4959,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[58, 28], Operations: ['79-21=58', '57-29=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[57, 29], Operations: ['79-21=58', '58-29=29'] Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,59 unequal: No Solution Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[57, 21, 50], Operations: ['79-29=50'] Exploring Operation: 57-21=36, Resulting Numbers: [50, 36] Generated Node #0,3,0: 59:[50, 36] Operation: 57-21=36 Exploring Operation: 21+50=71, Resulting Numbers: [57, 71] Generated Node #0,3,1: 59:[57, 71] Operation: 21+50=71 Exploring Operation: 50-21=29, Resulting Numbers: [57, 29] Generated Node #0,3,2: 59:[57, 29] Operation: 50-21=29 Exploring Operation: 57+21=78, Resulting Numbers: [50, 78] Generated Node #0,3,3: 59:[50, 78] Operation: 57+21=78 Moving to Node #0,3,1 Current State: 59:[57, 71], Operations: ['79-29=50', '21+50=71'] Exploring Operation: 57+71=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 57*71=4047, Resulting Numbers: [4047] 4047,59 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[50, 78], Operations: ['79-29=50', '57+21=78'] Exploring Operation: 50+78=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 50*78=3900, Resulting Numbers: [3900] 3900,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[57, 29], Operations: ['79-29=50', '50-21=29'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[50, 36], Operations: ['79-29=50', '57-21=36'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,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 Current State: 59:[79, 29, 78], Operations: ['57+21=78'] Exploring Operation: 29+78=107, Resulting Numbers: [79, 107] Generated Node #0,2,0: 59:[79, 107] Operation: 29+78=107 Exploring Operation: 79-29=50, Resulting Numbers: [78, 50] Generated Node #0,2,1: 59:[78, 50] Operation: 79-29=50 Exploring Operation: 79+29=108, Resulting Numbers: [78, 108] Generated Node #0,2,2: 59:[78, 108] Operation: 79+29=108 Exploring Operation: 78-29=49, Resulting Numbers: [79, 49] Generated Node #0,2,3: 59:[79, 49] Operation: 78-29=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[78, 50], Operations: ['57+21=78', '79-29=50'] Exploring Operation: 78*50=3900, Resulting Numbers: [3900] 3900,59 unequal: No Solution Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[79, 49], Operations: ['57+21=78', '78-29=49'] Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[79, 107], Operations: ['57+21=78', '29+78=107'] Exploring Operation: 79+107=186, Resulting Numbers: [186] 186,59 unequal: No Solution Exploring Operation: 107-79=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 79*107=8453, Resulting Numbers: [8453] 8453,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[78, 108], Operations: ['57+21=78', '79+29=108'] Exploring Operation: 78*108=8424, Resulting Numbers: [8424] 8424,59 unequal: No Solution Exploring Operation: 78+108=186, Resulting Numbers: [186] 186,59 unequal: No Solution Exploring Operation: 108-78=30, Resulting Numbers: [30] 30,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 76, 77, 24, 11 ]
92
[ "77*24=1848", "1848/11=168", "168-76=92" ]
Current State: 92:[76, 77, 24, 11], Operations: [] Exploring Operation: 77*24=1848, Resulting Numbers: [76, 11, 1848] Generated Node #2: [76, 11, 1848] from Operation: 77*24=1848 Current State: 92:[76, 11, 1848], Operations: ['77*24=1848'] Exploring Operation: 1848/11=168, Resulting Numbers: [76, 168] Generated Node #3: [76, 168] from Operation: 1848/11=168 Current State: 92:[76, 168], Operations: ['77*24=1848', '1848/11=168'] Exploring Operation: 168-76=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[76, 77, 24, 11], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [76, 24, 7] Generated Node #0,0: 92:[76, 24, 7] Operation: 77/11=7 Exploring Operation: 76+11=87, Resulting Numbers: [77, 24, 87] Generated Node #0,1: 92:[77, 24, 87] Operation: 76+11=87 Exploring Operation: 77+11=88, Resulting Numbers: [76, 24, 88] Generated Node #0,2: 92:[76, 24, 88] Operation: 77+11=88 Exploring Operation: 77-76=1, Resulting Numbers: [24, 11, 1] Generated Node #0,3: 92:[24, 11, 1] Operation: 77-76=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[24, 11, 1], Operations: ['77-76=1'] Exploring Operation: 24-1=23, Resulting Numbers: [11, 23] Generated Node #0,3,0: 92:[11, 23] Operation: 24-1=23 Exploring Operation: 24/1=24, Resulting Numbers: [11, 24] Generated Node #0,3,1: 92:[11, 24] Operation: 24/1=24 Exploring Operation: 11-1=10, Resulting Numbers: [24, 10] Generated Node #0,3,2: 92:[24, 10] Operation: 11-1=10 Exploring Operation: 24*1=24, Resulting Numbers: [11, 24] Generated Node #0,3,3: 92:[11, 24] Operation: 24*1=24 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 92:[11, 23], Operations: ['77-76=1', '24-1=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[24, 10], Operations: ['77-76=1', '11-1=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,92 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 92:[11, 24], Operations: ['77-76=1', '24/1=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,92 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 92:[11, 24], Operations: ['77-76=1', '24*1=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[76, 24, 7], Operations: ['77/11=7'] Exploring Operation: 76+24=100, Resulting Numbers: [7, 100] Generated Node #0,0,0: 92:[7, 100] Operation: 76+24=100 Exploring Operation: 24-7=17, Resulting Numbers: [76, 17] Generated Node #0,0,1: 92:[76, 17] Operation: 24-7=17 Exploring Operation: 76-24=52, Resulting Numbers: [7, 52] Generated Node #0,0,2: 92:[7, 52] Operation: 76-24=52 Exploring Operation: 76+7=83, Resulting Numbers: [24, 83] Generated Node #0,0,3: 92:[24, 83] Operation: 76+7=83 Moving to Node #0,0,2 Current State: 92:[7, 52], Operations: ['77/11=7', '76-24=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,92 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,92 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[24, 83], Operations: ['77/11=7', '76+7=83'] Exploring Operation: 24*83=1992, Resulting Numbers: [1992] 1992,92 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,92 unequal: No Solution Exploring Operation: 24+83=107, Resulting Numbers: [107] 107,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[7, 100], Operations: ['77/11=7', '76+24=100'] Exploring Operation: 7+100=107, Resulting Numbers: [107] 107,92 unequal: No Solution Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 7*100=700, Resulting Numbers: [700] 700,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[76, 17], Operations: ['77/11=7', '24-7=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,92 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[77, 24, 87], Operations: ['76+11=87'] Exploring Operation: 77-24=53, Resulting Numbers: [87, 53] Generated Node #0,1,0: 92:[87, 53] Operation: 77-24=53 Exploring Operation: 77+24=101, Resulting Numbers: [87, 101] Generated Node #0,1,1: 92:[87, 101] Operation: 77+24=101 Exploring Operation: 87-24=63, Resulting Numbers: [77, 63] Generated Node #0,1,2: 92:[77, 63] Operation: 87-24=63 Exploring Operation: 87-77=10, Resulting Numbers: [24, 10] Generated Node #0,1,3: 92:[24, 10] Operation: 87-77=10 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[24, 10], Operations: ['76+11=87', '87-77=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[87, 53], Operations: ['76+11=87', '77-24=53'] Exploring Operation: 87+53=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 87*53=4611, Resulting Numbers: [4611] 4611,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[87, 101], Operations: ['76+11=87', '77+24=101'] Exploring Operation: 87*101=8787, Resulting Numbers: [8787] 8787,92 unequal: No Solution Exploring Operation: 87+101=188, Resulting Numbers: [188] 188,92 unequal: No Solution Exploring Operation: 101-87=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[77, 63], Operations: ['76+11=87', '87-24=63'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,92 unequal: No Solution Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[76, 24, 88], Operations: ['77+11=88'] Exploring Operation: 88-76=12, Resulting Numbers: [24, 12] Generated Node #0,2,0: 92:[24, 12] Operation: 88-76=12 Exploring Operation: 76+24=100, Resulting Numbers: [88, 100] Generated Node #0,2,1: 92:[88, 100] Operation: 76+24=100 Exploring Operation: 76-24=52, Resulting Numbers: [88, 52] Generated Node #0,2,2: 92:[88, 52] Operation: 76-24=52 Exploring Operation: 88-24=64, Resulting Numbers: [76, 64] Generated Node #0,2,3: 92:[76, 64] Operation: 88-24=64 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[24, 12], Operations: ['77+11=88', '88-76=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[88, 52], Operations: ['77+11=88', '76-24=52'] Exploring Operation: 88*52=4576, Resulting Numbers: [4576] 4576,92 unequal: No Solution Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 88+52=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[88, 100], Operations: ['77+11=88', '76+24=100'] Exploring Operation: 100-88=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 88*100=8800, Resulting Numbers: [8800] 8800,92 unequal: No Solution Exploring Operation: 88+100=188, Resulting Numbers: [188] 188,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[76, 64], Operations: ['77+11=88', '88-24=64'] Exploring Operation: 76*64=4864, Resulting Numbers: [4864] 4864,92 unequal: No Solution Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 76+64=140, Resulting Numbers: [140] 140,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_4
mult_heuristic
[ 37, 19, 96, 9 ]
16
[ "37+96=133", "133/19=7", "9+7=16" ]
Current State: 16:[37, 19, 96, 9], Operations: [] Exploring Operation: 37+96=133, Resulting Numbers: [19, 9, 133] Generated Node #2: [19, 9, 133] from Operation: 37+96=133 Current State: 16:[19, 9, 133], Operations: ['37+96=133'] Exploring Operation: 133/19=7, Resulting Numbers: [9, 7] Generated Node #3: [9, 7] from Operation: 133/19=7 Current State: 16:[9, 7], Operations: ['37+96=133', '133/19=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[37, 19, 96, 9], Operations: [] Exploring Operation: 37-19=18, Resulting Numbers: [96, 9, 18] Generated Node #0,0: 16:[96, 9, 18] Operation: 37-19=18 Exploring Operation: 96-19=77, Resulting Numbers: [37, 9, 77] Generated Node #0,1: 16:[37, 9, 77] Operation: 96-19=77 Exploring Operation: 96-37=59, Resulting Numbers: [19, 9, 59] Generated Node #0,2: 16:[19, 9, 59] Operation: 96-37=59 Moving to Node #0,2 Current State: 16:[19, 9, 59], Operations: ['96-37=59'] Exploring Operation: 19-9=10, Resulting Numbers: [59, 10] Generated Node #0,2,0: 16:[59, 10] Operation: 19-9=10 Exploring Operation: 59-19=40, Resulting Numbers: [9, 40] Generated Node #0,2,1: 16:[9, 40] Operation: 59-19=40 Exploring Operation: 59-9=50, Resulting Numbers: [19, 50] Generated Node #0,2,2: 16:[19, 50] Operation: 59-9=50 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[9, 40], Operations: ['96-37=59', '59-19=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,16 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,16 unequal: No Solution No 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: 16:[19, 50], Operations: ['96-37=59', '59-9=50'] Exploring Operation: 19*50=950, Resulting Numbers: [950] 950,16 unequal: No Solution Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,16 unequal: No Solution No 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: 16:[59, 10], Operations: ['96-37=59', '19-9=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,16 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: 16:[96, 9, 18], Operations: ['37-19=18'] Exploring Operation: 96-9=87, Resulting Numbers: [18, 87] Generated Node #0,0,0: 16:[18, 87] Operation: 96-9=87 Exploring Operation: 96-18=78, Resulting Numbers: [9, 78] Generated Node #0,0,1: 16:[9, 78] Operation: 96-18=78 Exploring Operation: 18/9=2, Resulting Numbers: [96, 2] Generated Node #0,0,2: 16:[96, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[9, 78], Operations: ['37-19=18', '96-18=78'] Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,16 unequal: No Solution Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,16 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,16 unequal: No Solution No 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: 16:[18, 87], Operations: ['37-19=18', '96-9=87'] Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,16 unequal: No Solution No 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: 16:[96, 2], Operations: ['37-19=18', '18/9=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,16 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,16 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: 16:[37, 9, 77], Operations: ['96-19=77'] Exploring Operation: 77-9=68, Resulting Numbers: [37, 68] Generated Node #0,1,0: 16:[37, 68] Operation: 77-9=68 Exploring Operation: 37-9=28, Resulting Numbers: [77, 28] Generated Node #0,1,1: 16:[77, 28] Operation: 37-9=28 Exploring Operation: 77-37=40, Resulting Numbers: [9, 40] Generated Node #0,1,2: 16:[9, 40] Operation: 77-37=40 Moving to Node #0,1,2 Current State: 16:[9, 40], Operations: ['96-19=77', '77-37=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,16 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[37, 68], Operations: ['96-19=77', '77-9=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[77, 28], Operations: ['96-19=77', '37-9=28'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 77*28=2156, Resulting Numbers: [2156] 2156,16 unequal: No Solution Exploring Operation: 77+28=105, Resulting Numbers: [105] 105,16 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 66, 5, 56, 45 ]
49
[ "66-45=21", "5*21=105", "105-56=49" ]
Current State: 49:[66, 5, 56, 45], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [5, 56, 21] Generated Node #2: [5, 56, 21] from Operation: 66-45=21 Current State: 49:[5, 56, 21], Operations: ['66-45=21'] Exploring Operation: 5*21=105, Resulting Numbers: [56, 105] Generated Node #3: [56, 105] from Operation: 5*21=105 Current State: 49:[56, 105], Operations: ['66-45=21', '5*21=105'] Exploring Operation: 105-56=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[66, 5, 56, 45], Operations: [] Exploring Operation: 66-56=10, Resulting Numbers: [5, 45, 10] Generated Node #0,0: 49:[5, 45, 10] Operation: 66-56=10 Exploring Operation: 66-5=61, Resulting Numbers: [56, 45, 61] Generated Node #0,1: 49:[56, 45, 61] Operation: 66-5=61 Exploring Operation: 56-45=11, Resulting Numbers: [66, 5, 11] Generated Node #0,2: 49:[66, 5, 11] Operation: 56-45=11 Exploring Operation: 66-45=21, Resulting Numbers: [5, 56, 21] Generated Node #0,3: 49:[5, 56, 21] Operation: 66-45=21 Exploring Operation: 56-5=51, Resulting Numbers: [66, 45, 51] Generated Node #0,4: 49:[66, 45, 51] Operation: 56-5=51 Moving to Node #0,0 Current State: 49:[5, 45, 10], Operations: ['66-56=10'] Exploring Operation: 45/5=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 49:[10, 9] Operation: 45/5=9 Exploring Operation: 5*10=50, Resulting Numbers: [45, 50] Generated Node #0,0,1: 49:[45, 50] Operation: 5*10=50 Exploring Operation: 10-5=5, Resulting Numbers: [45, 5] Generated Node #0,0,2: 49:[45, 5] Operation: 10-5=5 Exploring Operation: 5+45=50, Resulting Numbers: [10, 50] Generated Node #0,0,3: 49:[10, 50] Operation: 5+45=50 Exploring Operation: 45+10=55, Resulting Numbers: [5, 55] Generated Node #0,0,4: 49:[5, 55] Operation: 45+10=55 Moving to Node #0,2 Current State: 49:[66, 5, 11], Operations: ['56-45=11'] Exploring Operation: 66/11=6, Resulting Numbers: [5, 6] Generated Node #0,2,0: 49:[5, 6] Operation: 66/11=6 Exploring Operation: 66-5=61, Resulting Numbers: [11, 61] Generated Node #0,2,1: 49:[11, 61] Operation: 66-5=61 Exploring Operation: 66-11=55, Resulting Numbers: [5, 55] Generated Node #0,2,2: 49:[5, 55] Operation: 66-11=55 Exploring Operation: 11-5=6, Resulting Numbers: [66, 6] Generated Node #0,2,3: 49:[66, 6] Operation: 11-5=6 Exploring Operation: 5*11=55, Resulting Numbers: [66, 55] Generated Node #0,2,4: 49:[66, 55] Operation: 5*11=55 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[5, 6], Operations: ['56-45=11', '66/11=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,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,2,2 Current State: 49:[5, 55], Operations: ['56-45=11', '66-11=55'] Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,49 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,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,2,1 Current State: 49:[11, 61], Operations: ['56-45=11', '66-5=61'] Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,49 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,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,2,3 Current State: 49:[66, 6], Operations: ['56-45=11', '11-5=6'] Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,49 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,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,2,4 Current State: 49:[66, 55], Operations: ['56-45=11', '5*11=55'] Exploring Operation: 66+55=121, Resulting Numbers: [121] 121,49 unequal: No Solution Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 66*55=3630, Resulting Numbers: [3630] 3630,49 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: 49:[66, 45, 51], Operations: ['56-5=51'] Exploring Operation: 66-45=21, Resulting Numbers: [51, 21] Generated Node #0,4,0: 49:[51, 21] Operation: 66-45=21 Exploring Operation: 66-51=15, Resulting Numbers: [45, 15] Generated Node #0,4,1: 49:[45, 15] Operation: 66-51=15 Exploring Operation: 51-45=6, Resulting Numbers: [66, 6] Generated Node #0,4,2: 49:[66, 6] Operation: 51-45=6 Exploring Operation: 45+51=96, Resulting Numbers: [66, 96] Generated Node #0,4,3: 49:[66, 96] Operation: 45+51=96 Exploring Operation: 66+45=111, Resulting Numbers: [51, 111] Generated Node #0,4,4: 49:[51, 111] Operation: 66+45=111 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 49:[45, 15], Operations: ['56-5=51', '66-51=15'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,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,4,0 Current State: 49:[51, 21], Operations: ['56-5=51', '66-45=21'] Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,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,4,2 Current State: 49:[66, 6], Operations: ['56-5=51', '51-45=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,49 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,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,4,3 Current State: 49:[66, 96], Operations: ['56-5=51', '45+51=96'] Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,49 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,49 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,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,4,4 Current State: 49:[51, 111], Operations: ['56-5=51', '66+45=111'] Exploring Operation: 51+111=162, Resulting Numbers: [162] 162,49 unequal: No Solution Exploring Operation: 111-51=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 51*111=5661, Resulting Numbers: [5661] 5661,49 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: 49:[56, 45, 61], Operations: ['66-5=61'] Exploring Operation: 56-45=11, Resulting Numbers: [61, 11] Generated Node #0,1,0: 49:[61, 11] Operation: 56-45=11 Exploring Operation: 45+61=106, Resulting Numbers: [56, 106] Generated Node #0,1,1: 49:[56, 106] Operation: 45+61=106 Exploring Operation: 61-45=16, Resulting Numbers: [56, 16] Generated Node #0,1,2: 49:[56, 16] Operation: 61-45=16 Exploring Operation: 61-56=5, Resulting Numbers: [45, 5] Generated Node #0,1,3: 49:[45, 5] Operation: 61-56=5 Exploring Operation: 56+45=101, Resulting Numbers: [61, 101] Generated Node #0,1,4: 49:[61, 101] Operation: 56+45=101 Moving to Node #0,3 Current State: 49:[5, 56, 21], Operations: ['66-45=21'] Exploring Operation: 5+56=61, Resulting Numbers: [21, 61] Generated Node #0,3,0: 49:[21, 61] Operation: 5+56=61 Exploring Operation: 56-21=35, Resulting Numbers: [5, 35] Generated Node #0,3,1: 49:[5, 35] Operation: 56-21=35 Exploring Operation: 21-5=16, Resulting Numbers: [56, 16] Generated Node #0,3,2: 49:[56, 16] Operation: 21-5=16 Exploring Operation: 5+21=26, Resulting Numbers: [56, 26] Generated Node #0,3,3: 49:[56, 26] Operation: 5+21=26 Exploring Operation: 56-5=51, Resulting Numbers: [21, 51] Generated Node #0,3,4: 49:[21, 51] Operation: 56-5=51 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[5, 35], Operations: ['66-45=21', '56-21=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,49 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,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,3,2 Current State: 49:[56, 16], Operations: ['66-45=21', '21-5=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,49 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,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,3,4 Current State: 49:[21, 51], Operations: ['66-45=21', '56-5=51'] Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,49 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,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,3,0 Current State: 49:[21, 61], Operations: ['66-45=21', '5+56=61'] Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,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,3,3 Current State: 49:[56, 26], Operations: ['66-45=21', '5+21=26'] Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,49 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 49:[10, 50], Operations: ['66-56=10', '5+45=50'] Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 10*50=500, Resulting Numbers: [500] 500,49 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[45, 50], Operations: ['66-56=10', '5*10=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,0,0 Current State: 49:[10, 9], Operations: ['66-56=10', '45/5=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,49 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[45, 5], Operations: ['66-5=61', '61-56=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,49 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[45, 5], Operations: ['66-56=10', '10-5=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,49 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[5, 55], Operations: ['66-56=10', '45+10=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,49 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[61, 11], Operations: ['66-5=61', '56-45=11'] Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[56, 16], Operations: ['66-5=61', '61-45=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[61, 101], Operations: ['66-5=61', '56+45=101'] Exploring Operation: 101-61=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 61+101=162, Resulting Numbers: [162] 162,49 unequal: No Solution Exploring Operation: 61*101=6161, Resulting Numbers: [6161] 6161,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[56, 106], Operations: ['66-5=61', '45+61=106'] Exploring Operation: 106-56=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 56*106=5936, Resulting Numbers: [5936] 5936,49 unequal: No Solution Exploring Operation: 56+106=162, Resulting Numbers: [162] 162,49 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 21, 51, 45, 64 ]
31
[ "21*64=1344", "51+1344=1395", "1395/45=31" ]
Current State: 31:[21, 51, 45, 64], Operations: [] Exploring Operation: 21*64=1344, Resulting Numbers: [51, 45, 1344] Generated Node #2: [51, 45, 1344] from Operation: 21*64=1344 Current State: 31:[51, 45, 1344], Operations: ['21*64=1344'] Exploring Operation: 51+1344=1395, Resulting Numbers: [45, 1395] Generated Node #3: [45, 1395] from Operation: 51+1344=1395 Current State: 31:[45, 1395], Operations: ['21*64=1344', '51+1344=1395'] Exploring Operation: 1395/45=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[21, 51, 45, 64], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [51, 45, 43] Generated Node #0,0: 31:[51, 45, 43] Operation: 64-21=43 Exploring Operation: 64-45=19, Resulting Numbers: [21, 51, 19] Generated Node #0,1: 31:[21, 51, 19] Operation: 64-45=19 Exploring Operation: 64-51=13, Resulting Numbers: [21, 45, 13] Generated Node #0,2: 31:[21, 45, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[21, 51, 19], Operations: ['64-45=19'] Exploring Operation: 51-21=30, Resulting Numbers: [19, 30] Generated Node #0,1,0: 31:[19, 30] Operation: 51-21=30 Exploring Operation: 51-19=32, Resulting Numbers: [21, 32] Generated Node #0,1,1: 31:[21, 32] Operation: 51-19=32 Exploring Operation: 21+19=40, Resulting Numbers: [51, 40] Generated Node #0,1,2: 31:[51, 40] Operation: 21+19=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[21, 32], Operations: ['64-45=19', '51-19=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[19, 30], Operations: ['64-45=19', '51-21=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[51, 40], Operations: ['64-45=19', '21+19=40'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,31 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[21, 45, 13], Operations: ['64-51=13'] Exploring Operation: 45-13=32, Resulting Numbers: [21, 32] Generated Node #0,2,0: 31:[21, 32] Operation: 45-13=32 Exploring Operation: 21+13=34, Resulting Numbers: [45, 34] Generated Node #0,2,1: 31:[45, 34] Operation: 21+13=34 Exploring Operation: 45-21=24, Resulting Numbers: [13, 24] Generated Node #0,2,2: 31:[13, 24] Operation: 45-21=24 Moving to Node #0,2,0 Current State: 31:[21, 32], Operations: ['64-51=13', '45-13=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,31 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[45, 34], Operations: ['64-51=13', '21+13=34'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,31 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[13, 24], Operations: ['64-51=13', '45-21=24'] Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,31 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[51, 45, 43], Operations: ['64-21=43'] Exploring Operation: 51-43=8, Resulting Numbers: [45, 8] Generated Node #0,0,0: 31:[45, 8] Operation: 51-43=8 Exploring Operation: 45-43=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 31:[51, 2] Operation: 45-43=2 Exploring Operation: 51-45=6, Resulting Numbers: [43, 6] Generated Node #0,0,2: 31:[43, 6] Operation: 51-45=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[45, 8], Operations: ['64-21=43', '51-43=8'] Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,31 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[43, 6], Operations: ['64-21=43', '51-45=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,31 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[51, 2], Operations: ['64-21=43', '45-43=2'] Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 5, 79, 6, 43 ]
47
[ "5+79=84", "43-6=37", "84-37=47" ]
Current State: 47:[5, 79, 6, 43], Operations: [] Exploring Operation: 5+79=84, Resulting Numbers: [6, 43, 84] Generated Node #2: [6, 43, 84] from Operation: 5+79=84 Current State: 47:[6, 43, 84], Operations: ['5+79=84'] Exploring Operation: 43-6=37, Resulting Numbers: [84, 37] Generated Node #3: [84, 37] from Operation: 43-6=37 Current State: 47:[84, 37], Operations: ['5+79=84', '43-6=37'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[5, 79, 6, 43], Operations: [] Exploring Operation: 5*6=30, Resulting Numbers: [79, 43, 30] Generated Node #0,0: 47:[79, 43, 30] Operation: 5*6=30 Exploring Operation: 79-6=73, Resulting Numbers: [5, 43, 73] Generated Node #0,1: 47:[5, 43, 73] Operation: 79-6=73 Exploring Operation: 79-5=74, Resulting Numbers: [6, 43, 74] Generated Node #0,2: 47:[6, 43, 74] Operation: 79-5=74 Exploring Operation: 5+6=11, Resulting Numbers: [79, 43, 11] Generated Node #0,3: 47:[79, 43, 11] Operation: 5+6=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[79, 43, 30], Operations: ['5*6=30'] Exploring Operation: 79-43=36, Resulting Numbers: [30, 36] Generated Node #0,0,0: 47:[30, 36] Operation: 79-43=36 Exploring Operation: 79+30=109, Resulting Numbers: [43, 109] Generated Node #0,0,1: 47:[43, 109] Operation: 79+30=109 Exploring Operation: 79-30=49, Resulting Numbers: [43, 49] Generated Node #0,0,2: 47:[43, 49] Operation: 79-30=49 Exploring Operation: 43+30=73, Resulting Numbers: [79, 73] Generated Node #0,0,3: 47:[79, 73] Operation: 43+30=73 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[43, 49], Operations: ['5*6=30', '79-30=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,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,0,0 Current State: 47:[30, 36], Operations: ['5*6=30', '79-43=36'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,47 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,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,0,3 Current State: 47:[79, 73], Operations: ['5*6=30', '43+30=73'] Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,47 unequal: No Solution Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,47 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[43, 109], Operations: ['5*6=30', '79+30=109'] Exploring Operation: 43+109=152, Resulting Numbers: [152] 152,47 unequal: No Solution Exploring Operation: 43*109=4687, Resulting Numbers: [4687] 4687,47 unequal: No Solution Exploring Operation: 109-43=66, Resulting Numbers: [66] 66,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[5, 43, 73], Operations: ['79-6=73'] Exploring Operation: 5+43=48, Resulting Numbers: [73, 48] Generated Node #0,1,0: 47:[73, 48] Operation: 5+43=48 Exploring Operation: 5+73=78, Resulting Numbers: [43, 78] Generated Node #0,1,1: 47:[43, 78] Operation: 5+73=78 Exploring Operation: 73-5=68, Resulting Numbers: [43, 68] Generated Node #0,1,2: 47:[43, 68] Operation: 73-5=68 Exploring Operation: 43-5=38, Resulting Numbers: [73, 38] Generated Node #0,1,3: 47:[73, 38] Operation: 43-5=38 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[43, 68], Operations: ['79-6=73', '73-5=68'] Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[73, 48], Operations: ['79-6=73', '5+43=48'] Exploring Operation: 73*48=3504, Resulting Numbers: [3504] 3504,47 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 73+48=121, Resulting Numbers: [121] 121,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:[43, 78], Operations: ['79-6=73', '5+73=78'] Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,47 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,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,3 Current State: 47:[73, 38], Operations: ['79-6=73', '43-5=38'] Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,47 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[6, 43, 74], Operations: ['79-5=74'] Exploring Operation: 74-6=68, Resulting Numbers: [43, 68] Generated Node #0,2,0: 47:[43, 68] Operation: 74-6=68 Exploring Operation: 6+43=49, Resulting Numbers: [74, 49] Generated Node #0,2,1: 47:[74, 49] Operation: 6+43=49 Exploring Operation: 43-6=37, Resulting Numbers: [74, 37] Generated Node #0,2,2: 47:[74, 37] Operation: 43-6=37 Exploring Operation: 6+74=80, Resulting Numbers: [43, 80] Generated Node #0,2,3: 47:[43, 80] Operation: 6+74=80 Moving to Node #0,2,0 Current State: 47:[43, 68], Operations: ['79-5=74', '74-6=68'] Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,47 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[74, 49], Operations: ['79-5=74', '6+43=49'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,47 unequal: No Solution Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[43, 80], Operations: ['79-5=74', '6+74=80'] Exploring Operation: 43*80=3440, Resulting Numbers: [3440] 3440,47 unequal: No Solution Exploring Operation: 43+80=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[74, 37], Operations: ['79-5=74', '43-6=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 74*37=2738, Resulting Numbers: [2738] 2738,47 unequal: No Solution Exploring Operation: 74+37=111, Resulting Numbers: [111] 111,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,3 Current State: 47:[79, 43, 11], Operations: ['5+6=11'] Exploring Operation: 79-11=68, Resulting Numbers: [43, 68] Generated Node #0,3,0: 47:[43, 68] Operation: 79-11=68 Exploring Operation: 79-43=36, Resulting Numbers: [11, 36] Generated Node #0,3,1: 47:[11, 36] Operation: 79-43=36 Exploring Operation: 79+11=90, Resulting Numbers: [43, 90] Generated Node #0,3,2: 47:[43, 90] Operation: 79+11=90 Exploring Operation: 43+11=54, Resulting Numbers: [79, 54] Generated Node #0,3,3: 47:[79, 54] Operation: 43+11=54 Moving to Node #0,3,0 Current State: 47:[43, 68], Operations: ['5+6=11', '79-11=68'] Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,47 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[79, 54], Operations: ['5+6=11', '43+11=54'] Exploring Operation: 79*54=4266, Resulting Numbers: [4266] 4266,47 unequal: No Solution Exploring Operation: 79+54=133, Resulting Numbers: [133] 133,47 unequal: No Solution Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[43, 90], Operations: ['5+6=11', '79+11=90'] Exploring Operation: 43*90=3870, Resulting Numbers: [3870] 3870,47 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[5, 79, 6, 43], Operations: [] Exploring Operation: 5+6=11, Resulting Numbers: [79, 43, 11] Generated Node #0,3: 47:[79, 43, 11] Operation: 5+6=11 Moving to Node #0,3 Current State: 47:[79, 43, 11], Operations: ['5+6=11'] Exploring Operation: 79+11=90, Resulting Numbers: [43, 90] Generated Node #0,3,2: 47:[43, 90] Operation: 79+11=90 Moving to Node #0,3,2 Current State: 47:[43, 90], Operations: ['5+6=11', '79+11=90'] Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.940104
hs_4
mult_heuristic
[ 2, 16, 93, 82 ]
60
[ "82-16=66", "66/2=33", "93-33=60" ]
Current State: 60:[2, 16, 93, 82], Operations: [] Exploring Operation: 82-16=66, Resulting Numbers: [2, 93, 66] Generated Node #2: [2, 93, 66] from Operation: 82-16=66 Current State: 60:[2, 93, 66], Operations: ['82-16=66'] Exploring Operation: 66/2=33, Resulting Numbers: [93, 33] Generated Node #3: [93, 33] from Operation: 66/2=33 Current State: 60:[93, 33], Operations: ['82-16=66', '66/2=33'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[2, 16, 93, 82], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [16, 93, 41] Generated Node #0,0: 60:[16, 93, 41] Operation: 82/2=41 Exploring Operation: 93-16=77, Resulting Numbers: [2, 82, 77] Generated Node #0,1: 60:[2, 82, 77] Operation: 93-16=77 Exploring Operation: 82-16=66, Resulting Numbers: [2, 93, 66] Generated Node #0,2: 60:[2, 93, 66] Operation: 82-16=66 Exploring Operation: 93-82=11, Resulting Numbers: [2, 16, 11] Generated Node #0,3: 60:[2, 16, 11] Operation: 93-82=11 Moving to Node #0,3 Current State: 60:[2, 16, 11], Operations: ['93-82=11'] Exploring Operation: 16-2=14, Resulting Numbers: [11, 14] Generated Node #0,3,0: 60:[11, 14] Operation: 16-2=14 Exploring Operation: 16-11=5, Resulting Numbers: [2, 5] Generated Node #0,3,1: 60:[2, 5] Operation: 16-11=5 Exploring Operation: 2+11=13, Resulting Numbers: [16, 13] Generated Node #0,3,2: 60:[16, 13] Operation: 2+11=13 Exploring Operation: 11-2=9, Resulting Numbers: [16, 9] Generated Node #0,3,3: 60:[16, 9] Operation: 11-2=9 Moving to Node #0,2 Current State: 60:[2, 93, 66], Operations: ['82-16=66'] Exploring Operation: 93-66=27, Resulting Numbers: [2, 27] Generated Node #0,2,0: 60:[2, 27] Operation: 93-66=27 Exploring Operation: 93-2=91, Resulting Numbers: [66, 91] Generated Node #0,2,1: 60:[66, 91] Operation: 93-2=91 Exploring Operation: 66/2=33, Resulting Numbers: [93, 33] Generated Node #0,2,2: 60:[93, 33] Operation: 66/2=33 Exploring Operation: 66-2=64, Resulting Numbers: [93, 64] Generated Node #0,2,3: 60:[93, 64] Operation: 66-2=64 Moving to Node #0,1 Current State: 60:[2, 82, 77], Operations: ['93-16=77'] Exploring Operation: 82-2=80, Resulting Numbers: [77, 80] Generated Node #0,1,0: 60:[77, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [77, 41] Generated Node #0,1,1: 60:[77, 41] Operation: 82/2=41 Exploring Operation: 82-77=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 60:[2, 5] Operation: 82-77=5 Exploring Operation: 77-2=75, Resulting Numbers: [82, 75] Generated Node #0,1,3: 60:[82, 75] Operation: 77-2=75 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[2, 5], Operations: ['93-16=77', '82-77=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,60 unequal: No Solution No 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: 60:[77, 41], Operations: ['93-16=77', '82/2=41'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 77*41=3157, Resulting Numbers: [3157] 3157,60 unequal: No Solution Exploring Operation: 77+41=118, Resulting Numbers: [118] 118,60 unequal: No Solution No 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: 60:[77, 80], Operations: ['93-16=77', '82-2=80'] Exploring Operation: 77*80=6160, Resulting Numbers: [6160] 6160,60 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 77+80=157, Resulting Numbers: [157] 157,60 unequal: No Solution No 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: 60:[82, 75], Operations: ['93-16=77', '77-2=75'] Exploring Operation: 82*75=6150, Resulting Numbers: [6150] 6150,60 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 82+75=157, Resulting Numbers: [157] 157,60 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: 60:[16, 93, 41], Operations: ['82/2=41'] Exploring Operation: 16+41=57, Resulting Numbers: [93, 57] Generated Node #0,0,0: 60:[93, 57] Operation: 16+41=57 Exploring Operation: 93-41=52, Resulting Numbers: [16, 52] Generated Node #0,0,1: 60:[16, 52] Operation: 93-41=52 Exploring Operation: 93-16=77, Resulting Numbers: [41, 77] Generated Node #0,0,2: 60:[41, 77] Operation: 93-16=77 Exploring Operation: 41-16=25, Resulting Numbers: [93, 25] Generated Node #0,0,3: 60:[93, 25] Operation: 41-16=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[16, 52], Operations: ['82/2=41', '93-41=52'] Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,60 unequal: No Solution No 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: 60:[41, 77], Operations: ['82/2=41', '93-16=77'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,60 unequal: No Solution No 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: 60:[93, 57], Operations: ['82/2=41', '16+41=57'] Exploring Operation: 93*57=5301, Resulting Numbers: [5301] 5301,60 unequal: No Solution Exploring Operation: 93-57=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 93+57=150, Resulting Numbers: [150] 150,60 unequal: No Solution No 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: 60:[93, 25], Operations: ['82/2=41', '41-16=25'] Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,60 unequal: No Solution Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,60 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: 60:[2, 5], Operations: ['93-82=11', '16-11=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[16, 13], Operations: ['93-82=11', '2+11=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,60 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[11, 14], Operations: ['93-82=11', '16-2=14'] Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,60 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[16, 9], Operations: ['93-82=11', '11-2=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,60 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[2, 27], Operations: ['82-16=66', '93-66=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[93, 33], Operations: ['82-16=66', '66/2=33'] Exploring Operation: 93+33=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[2, 16, 93, 82], Operations: [] Exploring Operation: 82-16=66, Resulting Numbers: [2, 93, 66] Generated Node #0,2: 60:[2, 93, 66] Operation: 82-16=66 Moving to Node #0,2 Current State: 60:[2, 93, 66], Operations: ['82-16=66'] Exploring Operation: 66/2=33, Resulting Numbers: [93, 33] Generated Node #0,2,2: 60:[93, 33] Operation: 66/2=33 Moving to Node #0,2,2 Current State: 60:[93, 33], Operations: ['82-16=66', '66/2=33'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.943576
hs_4
sum_heuristic
[ 10, 28, 42, 32 ]
28
[ "10+28=38", "42-32=10", "38-10=28" ]
Current State: 28:[10, 28, 42, 32], Operations: [] Exploring Operation: 10+28=38, Resulting Numbers: [42, 32, 38] Generated Node #2: [42, 32, 38] from Operation: 10+28=38 Current State: 28:[42, 32, 38], Operations: ['10+28=38'] Exploring Operation: 42-32=10, Resulting Numbers: [38, 10] Generated Node #3: [38, 10] from Operation: 42-32=10 Current State: 28:[38, 10], Operations: ['10+28=38', '42-32=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[10, 28, 42, 32], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [10, 42, 4] Generated Node #0,0: 28:[10, 42, 4] Operation: 32-28=4 Exploring Operation: 42-32=10, Resulting Numbers: [10, 28, 10] Generated Node #0,1: 28:[10, 28, 10] Operation: 42-32=10 Exploring Operation: 42-28=14, Resulting Numbers: [10, 32, 14] Generated Node #0,2: 28:[10, 32, 14] Operation: 42-28=14 Exploring Operation: 32-10=22, Resulting Numbers: [28, 42, 22] Generated Node #0,3: 28:[28, 42, 22] Operation: 32-10=22 Exploring Operation: 42-10=32, Resulting Numbers: [28, 32, 32] Generated Node #0,4: 28:[28, 32, 32] Operation: 42-10=32 Moving to Node #0,1 Current State: 28:[10, 28, 10], Operations: ['42-32=10'] Exploring Operation: 28-10=18, Resulting Numbers: [10, 18] Generated Node #0,1,0: 28:[10, 18] Operation: 28-10=18 Exploring Operation: 10-10=0, Resulting Numbers: [28, 0] Generated Node #0,1,1: 28:[28, 0] Operation: 10-10=0 Exploring Operation: 10+10=20, Resulting Numbers: [28, 20] Generated Node #0,1,2: 28:[28, 20] Operation: 10+10=20 Exploring Operation: 10/10=1, Resulting Numbers: [28, 1] Generated Node #0,1,3: 28:[28, 1] Operation: 10/10=1 Exploring Operation: 28-10=18, Resulting Numbers: [10, 18] Generated Node #0,1,4: 28:[10, 18] Operation: 28-10=18 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[28, 1], Operations: ['42-32=10', '10/10=1'] Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[10, 28, 42, 32], Operations: [] Exploring Operation: 42-32=10, Resulting Numbers: [10, 28, 10] Generated Node #0,1: 28:[10, 28, 10] Operation: 42-32=10 Moving to Node #0,1 Current State: 28:[10, 28, 10], Operations: ['42-32=10'] Exploring Operation: 10/10=1, Resulting Numbers: [28, 1] Generated Node #0,1,3: 28:[28, 1] Operation: 10/10=1 Moving to Node #0,1,3 Current State: 28:[28, 1], Operations: ['42-32=10', '10/10=1'] Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 82, 3, 2, 65 ]
61
[ "65-2=63", "63/3=21", "82-21=61" ]
Current State: 61:[82, 3, 2, 65], Operations: [] Exploring Operation: 65-2=63, Resulting Numbers: [82, 3, 63] Generated Node #2: [82, 3, 63] from Operation: 65-2=63 Current State: 61:[82, 3, 63], Operations: ['65-2=63'] Exploring Operation: 63/3=21, Resulting Numbers: [82, 21] Generated Node #3: [82, 21] from Operation: 63/3=21 Current State: 61:[82, 21], Operations: ['65-2=63', '63/3=21'] Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[82, 3, 2, 65], Operations: [] Exploring Operation: 3*2=6, Resulting Numbers: [82, 65, 6] Generated Node #0,0: 61:[82, 65, 6] Operation: 3*2=6 Moving to Node #0,0 Current State: 61:[82, 65, 6], Operations: ['3*2=6'] Exploring Operation: 82-6=76, Resulting Numbers: [65, 76] Generated Node #0,0,0: 61:[65, 76] Operation: 82-6=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[65, 76], Operations: ['3*2=6', '82-6=76'] Exploring Operation: 76-65=11, Resulting Numbers: [11] 11,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 43, 1, 10, 36 ]
71
[ "43-36=7", "10*7=70", "1+70=71" ]
Current State: 71:[43, 1, 10, 36], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [1, 10, 7] Generated Node #2: [1, 10, 7] from Operation: 43-36=7 Current State: 71:[1, 10, 7], Operations: ['43-36=7'] Exploring Operation: 10*7=70, Resulting Numbers: [1, 70] Generated Node #3: [1, 70] from Operation: 10*7=70 Current State: 71:[1, 70], Operations: ['43-36=7', '10*7=70'] Exploring Operation: 1+70=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[43, 1, 10, 36], Operations: [] Exploring Operation: 43+1=44, Resulting Numbers: [10, 36, 44] Generated Node #0,0: 71:[10, 36, 44] Operation: 43+1=44 Moving to Node #0,0 Current State: 71:[10, 36, 44], Operations: ['43+1=44'] Exploring Operation: 10+36=46, Resulting Numbers: [44, 46] Generated Node #0,0,0: 71:[44, 46] Operation: 10+36=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[44, 46], Operations: ['43+1=44', '10+36=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 15, 44, 3, 23 ]
62
[ "15/3=5", "44+23=67", "67-5=62" ]
Current State: 62:[15, 44, 3, 23], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [44, 23, 5] Generated Node #2: [44, 23, 5] from Operation: 15/3=5 Current State: 62:[44, 23, 5], Operations: ['15/3=5'] Exploring Operation: 44+23=67, Resulting Numbers: [5, 67] Generated Node #3: [5, 67] from Operation: 44+23=67 Current State: 62:[5, 67], Operations: ['15/3=5', '44+23=67'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[15, 44, 3, 23], Operations: [] Exploring Operation: 44+23=67, Resulting Numbers: [15, 3, 67] Generated Node #0,0: 62:[15, 3, 67] Operation: 44+23=67 Exploring Operation: 44-15=29, Resulting Numbers: [3, 23, 29] Generated Node #0,1: 62:[3, 23, 29] Operation: 44-15=29 Exploring Operation: 23-15=8, Resulting Numbers: [44, 3, 8] Generated Node #0,2: 62:[44, 3, 8] Operation: 23-15=8 Exploring Operation: 15+44=59, Resulting Numbers: [3, 23, 59] Generated Node #0,3: 62:[3, 23, 59] Operation: 15+44=59 Exploring Operation: 15+23=38, Resulting Numbers: [44, 3, 38] Generated Node #0,4: 62:[44, 3, 38] Operation: 15+23=38 Moving to Node #0,1 Current State: 62:[3, 23, 29], Operations: ['44-15=29'] Exploring Operation: 3+29=32, Resulting Numbers: [23, 32] Generated Node #0,1,0: 62:[23, 32] Operation: 3+29=32 Exploring Operation: 23+29=52, Resulting Numbers: [3, 52] Generated Node #0,1,1: 62:[3, 52] Operation: 23+29=52 Exploring Operation: 3+23=26, Resulting Numbers: [29, 26] Generated Node #0,1,2: 62:[29, 26] Operation: 3+23=26 Exploring Operation: 29-23=6, Resulting Numbers: [3, 6] Generated Node #0,1,3: 62:[3, 6] Operation: 29-23=6 Exploring Operation: 3*23=69, Resulting Numbers: [29, 69] Generated Node #0,1,4: 62:[29, 69] Operation: 3*23=69 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[3, 6], Operations: ['44-15=29', '29-23=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[29, 26], Operations: ['44-15=29', '3+23=26'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[23, 32], Operations: ['44-15=29', '3+29=32'] Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,62 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 62:[29, 69], Operations: ['44-15=29', '3*23=69'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[3, 52], Operations: ['44-15=29', '23+29=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 62:[3, 23, 59], Operations: ['15+44=59'] Exploring Operation: 23-3=20, Resulting Numbers: [59, 20] Generated Node #0,3,0: 62:[59, 20] Operation: 23-3=20 Exploring Operation: 59-23=36, Resulting Numbers: [3, 36] Generated Node #0,3,1: 62:[3, 36] Operation: 59-23=36 Exploring Operation: 3+23=26, Resulting Numbers: [59, 26] Generated Node #0,3,2: 62:[59, 26] Operation: 3+23=26 Exploring Operation: 3*23=69, Resulting Numbers: [59, 69] Generated Node #0,3,3: 62:[59, 69] Operation: 3*23=69 Exploring Operation: 3+59=62, Resulting Numbers: [23, 62] Generated Node #0,3,4: 62:[23, 62] Operation: 3+59=62 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 62:[3, 36], Operations: ['15+44=59', '59-23=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 62:[59, 26], Operations: ['15+44=59', '3+23=26'] Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,62 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 62:[23, 62], Operations: ['15+44=59', '3+59=62'] Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,62 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 62:[59, 69], Operations: ['15+44=59', '3*23=69'] Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,62 unequal: No Solution Exploring Operation: 59+69=128, Resulting Numbers: [128] 128,62 unequal: No Solution Exploring Operation: 59*69=4071, Resulting Numbers: [4071] 4071,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[59, 20], Operations: ['15+44=59', '23-3=20'] Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,62 unequal: No Solution Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,62 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: 62:[15, 3, 67], Operations: ['44+23=67'] Exploring Operation: 67-15=52, Resulting Numbers: [3, 52] Generated Node #0,0,0: 62:[3, 52] Operation: 67-15=52 Exploring Operation: 15/3=5, Resulting Numbers: [67, 5] Generated Node #0,0,1: 62:[67, 5] Operation: 15/3=5 Exploring Operation: 67-3=64, Resulting Numbers: [15, 64] Generated Node #0,0,2: 62:[15, 64] Operation: 67-3=64 Exploring Operation: 15+3=18, Resulting Numbers: [67, 18] Generated Node #0,0,3: 62:[67, 18] Operation: 15+3=18 Exploring Operation: 15-3=12, Resulting Numbers: [67, 12] Generated Node #0,0,4: 62:[67, 12] Operation: 15-3=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[67, 5], Operations: ['44+23=67', '15/3=5'] Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,62 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[15, 44, 3, 23], Operations: [] Exploring Operation: 44+23=67, Resulting Numbers: [15, 3, 67] Generated Node #0,0: 62:[15, 3, 67] Operation: 44+23=67 Moving to Node #0,0 Current State: 62:[15, 3, 67], Operations: ['44+23=67'] Exploring Operation: 15/3=5, Resulting Numbers: [67, 5] Generated Node #0,0,1: 62:[67, 5] Operation: 15/3=5 Moving to Node #0,0,1 Current State: 62:[67, 5], Operations: ['44+23=67', '15/3=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 22, 6, 32, 52 ]
12
[ "22+32=54", "54-52=2", "6*2=12" ]
Current State: 12:[22, 6, 32, 52], Operations: [] Exploring Operation: 22+32=54, Resulting Numbers: [6, 52, 54] Generated Node #2: [6, 52, 54] from Operation: 22+32=54 Current State: 12:[6, 52, 54], Operations: ['22+32=54'] Exploring Operation: 54-52=2, Resulting Numbers: [6, 2] Generated Node #3: [6, 2] from Operation: 54-52=2 Current State: 12:[6, 2], Operations: ['22+32=54', '54-52=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[22, 6, 32, 52], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [6, 52, 10] Generated Node #0,0: 12:[6, 52, 10] Operation: 32-22=10 Exploring Operation: 52-32=20, Resulting Numbers: [22, 6, 20] Generated Node #0,1: 12:[22, 6, 20] Operation: 52-32=20 Exploring Operation: 52-22=30, Resulting Numbers: [6, 32, 30] Generated Node #0,2: 12:[6, 32, 30] Operation: 52-22=30 Moving to Node #0,1 Current State: 12:[22, 6, 20], Operations: ['52-32=20'] Exploring Operation: 22-6=16, Resulting Numbers: [20, 16] Generated Node #0,1,0: 12:[20, 16] Operation: 22-6=16 Exploring Operation: 22-20=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 12:[6, 2] Operation: 22-20=2 Exploring Operation: 20-6=14, Resulting Numbers: [22, 14] Generated Node #0,1,2: 12:[22, 14] Operation: 20-6=14 Moving to Node #0,2 Current State: 12:[6, 32, 30], Operations: ['52-22=30'] Exploring Operation: 30/6=5, Resulting Numbers: [32, 5] Generated Node #0,2,0: 12:[32, 5] Operation: 30/6=5 Exploring Operation: 32-6=26, Resulting Numbers: [30, 26] Generated Node #0,2,1: 12:[30, 26] Operation: 32-6=26 Exploring Operation: 32-30=2, Resulting Numbers: [6, 2] Generated Node #0,2,2: 12:[6, 2] Operation: 32-30=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[6, 2], Operations: ['52-22=30', '32-30=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[22, 6, 32, 52], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [6, 32, 30] Generated Node #0,2: 12:[6, 32, 30] Operation: 52-22=30 Moving to Node #0,2 Current State: 12:[6, 32, 30], Operations: ['52-22=30'] Exploring Operation: 32-30=2, Resulting Numbers: [6, 2] Generated Node #0,2,2: 12:[6, 2] Operation: 32-30=2 Moving to Node #0,2,2 Current State: 12:[6, 2], Operations: ['52-22=30', '32-30=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 47, 89, 18, 50 ]
26
[ "89-47=42", "18+50=68", "68-42=26" ]
Current State: 26:[47, 89, 18, 50], Operations: [] Exploring Operation: 89-47=42, Resulting Numbers: [18, 50, 42] Generated Node #2: [18, 50, 42] from Operation: 89-47=42 Current State: 26:[18, 50, 42], Operations: ['89-47=42'] Exploring Operation: 18+50=68, Resulting Numbers: [42, 68] Generated Node #3: [42, 68] from Operation: 18+50=68 Current State: 26:[42, 68], Operations: ['89-47=42', '18+50=68'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[47, 89, 18, 50], Operations: [] Exploring Operation: 89-18=71, Resulting Numbers: [47, 50, 71] Generated Node #0,0: 26:[47, 50, 71] Operation: 89-18=71 Exploring Operation: 50-47=3, Resulting Numbers: [89, 18, 3] Generated Node #0,1: 26:[89, 18, 3] Operation: 50-47=3 Exploring Operation: 89-47=42, Resulting Numbers: [18, 50, 42] Generated Node #0,2: 26:[18, 50, 42] Operation: 89-47=42 Exploring Operation: 47-18=29, Resulting Numbers: [89, 50, 29] Generated Node #0,3: 26:[89, 50, 29] Operation: 47-18=29 Exploring Operation: 89-50=39, Resulting Numbers: [47, 18, 39] Generated Node #0,4: 26:[47, 18, 39] Operation: 89-50=39 Moving to Node #0,4 Current State: 26:[47, 18, 39], Operations: ['89-50=39'] Exploring Operation: 39-18=21, Resulting Numbers: [47, 21] Generated Node #0,4,0: 26:[47, 21] Operation: 39-18=21 Exploring Operation: 18+39=57, Resulting Numbers: [47, 57] Generated Node #0,4,1: 26:[47, 57] Operation: 18+39=57 Exploring Operation: 47-18=29, Resulting Numbers: [39, 29] Generated Node #0,4,2: 26:[39, 29] Operation: 47-18=29 Exploring Operation: 47+18=65, Resulting Numbers: [39, 65] Generated Node #0,4,3: 26:[39, 65] Operation: 47+18=65 Exploring Operation: 47-39=8, Resulting Numbers: [18, 8] Generated Node #0,4,4: 26:[18, 8] Operation: 47-39=8 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 26:[18, 8], Operations: ['89-50=39', '47-39=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[47, 89, 18, 50], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [47, 18, 39] Generated Node #0,4: 26:[47, 18, 39] Operation: 89-50=39 Moving to Node #0,4 Current State: 26:[47, 18, 39], Operations: ['89-50=39'] Exploring Operation: 47-39=8, Resulting Numbers: [18, 8] Generated Node #0,4,4: 26:[18, 8] Operation: 47-39=8 Moving to Node #0,4,4 Current State: 26:[18, 8], Operations: ['89-50=39', '47-39=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 11, 21, 16, 34 ]
82
[ "11+21=32", "16+34=50", "32+50=82" ]
Current State: 82:[11, 21, 16, 34], Operations: [] Exploring Operation: 11+21=32, Resulting Numbers: [16, 34, 32] Generated Node #2: [16, 34, 32] from Operation: 11+21=32 Current State: 82:[16, 34, 32], Operations: ['11+21=32'] Exploring Operation: 16+34=50, Resulting Numbers: [32, 50] Generated Node #3: [32, 50] from Operation: 16+34=50 Current State: 82:[32, 50], Operations: ['11+21=32', '16+34=50'] Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[11, 21, 16, 34], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [11, 34, 5] Generated Node #0,0: 82:[11, 34, 5] Operation: 21-16=5 Exploring Operation: 21-11=10, Resulting Numbers: [16, 34, 10] Generated Node #0,1: 82:[16, 34, 10] Operation: 21-11=10 Exploring Operation: 16-11=5, Resulting Numbers: [21, 34, 5] Generated Node #0,2: 82:[21, 34, 5] Operation: 16-11=5 Exploring Operation: 21+16=37, Resulting Numbers: [11, 34, 37] Generated Node #0,3: 82:[11, 34, 37] Operation: 21+16=37 Moving to Node #0,0 Current State: 82:[11, 34, 5], Operations: ['21-16=5'] Exploring Operation: 11+34=45, Resulting Numbers: [5, 45] Generated Node #0,0,0: 82:[5, 45] Operation: 11+34=45 Exploring Operation: 34-11=23, Resulting Numbers: [5, 23] Generated Node #0,0,1: 82:[5, 23] Operation: 34-11=23 Exploring Operation: 11-5=6, Resulting Numbers: [34, 6] Generated Node #0,0,2: 82:[34, 6] Operation: 11-5=6 Exploring Operation: 34+5=39, Resulting Numbers: [11, 39] Generated Node #0,0,3: 82:[11, 39] Operation: 34+5=39 Moving to Node #0,3 Current State: 82:[11, 34, 37], Operations: ['21+16=37'] Exploring Operation: 11+37=48, Resulting Numbers: [34, 48] Generated Node #0,3,0: 82:[34, 48] Operation: 11+37=48 Exploring Operation: 37-34=3, Resulting Numbers: [11, 3] Generated Node #0,3,1: 82:[11, 3] Operation: 37-34=3 Exploring Operation: 11+34=45, Resulting Numbers: [37, 45] Generated Node #0,3,2: 82:[37, 45] Operation: 11+34=45 Exploring Operation: 34+37=71, Resulting Numbers: [11, 71] Generated Node #0,3,3: 82:[11, 71] Operation: 34+37=71 Moving to Node #0,2 Current State: 82:[21, 34, 5], Operations: ['16-11=5'] Exploring Operation: 21-5=16, Resulting Numbers: [34, 16] Generated Node #0,2,0: 82:[34, 16] Operation: 21-5=16 Exploring Operation: 34+5=39, Resulting Numbers: [21, 39] Generated Node #0,2,1: 82:[21, 39] Operation: 34+5=39 Exploring Operation: 21+34=55, Resulting Numbers: [5, 55] Generated Node #0,2,2: 82:[5, 55] Operation: 21+34=55 Exploring Operation: 34-21=13, Resulting Numbers: [5, 13] Generated Node #0,2,3: 82:[5, 13] Operation: 34-21=13 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[5, 13], Operations: ['16-11=5', '34-21=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[5, 55], Operations: ['16-11=5', '21+34=55'] Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,82 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[34, 16], Operations: ['16-11=5', '21-5=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[21, 39], Operations: ['16-11=5', '34+5=39'] Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,82 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[16, 34, 10], Operations: ['21-11=10'] Exploring Operation: 16-10=6, Resulting Numbers: [34, 6] Generated Node #0,1,0: 82:[34, 6] Operation: 16-10=6 Exploring Operation: 34+10=44, Resulting Numbers: [16, 44] Generated Node #0,1,1: 82:[16, 44] Operation: 34+10=44 Exploring Operation: 16+10=26, Resulting Numbers: [34, 26] Generated Node #0,1,2: 82:[34, 26] Operation: 16+10=26 Exploring Operation: 16+34=50, Resulting Numbers: [10, 50] Generated Node #0,1,3: 82:[10, 50] Operation: 16+34=50 Moving to Node #0,0,0 Current State: 82:[5, 45], Operations: ['21-16=5', '11+34=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[37, 45], Operations: ['21+16=37', '11+34=45'] Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,82 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[11, 21, 16, 34], Operations: [] Exploring Operation: 21+16=37, Resulting Numbers: [11, 34, 37] Generated Node #0,3: 82:[11, 34, 37] Operation: 21+16=37 Moving to Node #0,3 Current State: 82:[11, 34, 37], Operations: ['21+16=37'] Exploring Operation: 11+34=45, Resulting Numbers: [37, 45] Generated Node #0,3,2: 82:[37, 45] Operation: 11+34=45 Moving to Node #0,3,2 Current State: 82:[37, 45], Operations: ['21+16=37', '11+34=45'] Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.961806
hs_4
mult_heuristic
[ 50, 40, 93, 51 ]
17
[ "50+40=90", "93-90=3", "51/3=17" ]
Current State: 17:[50, 40, 93, 51], Operations: [] Exploring Operation: 50+40=90, Resulting Numbers: [93, 51, 90] Generated Node #2: [93, 51, 90] from Operation: 50+40=90 Current State: 17:[93, 51, 90], Operations: ['50+40=90'] Exploring Operation: 93-90=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 93-90=3 Current State: 17:[51, 3], Operations: ['50+40=90', '93-90=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[50, 40, 93, 51], Operations: [] Exploring Operation: 93-51=42, Resulting Numbers: [50, 40, 42] Generated Node #0,0: 17:[50, 40, 42] Operation: 93-51=42 Moving to Node #0,0 Current State: 17:[50, 40, 42], Operations: ['93-51=42'] Exploring Operation: 50-40=10, Resulting Numbers: [42, 10] Generated Node #0,0,0: 17:[42, 10] Operation: 50-40=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[42, 10], Operations: ['93-51=42', '50-40=10'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 99, 14, 20, 6 ]
71
[ "99-14=85", "20-6=14", "85-14=71" ]
Current State: 71:[99, 14, 20, 6], Operations: [] Exploring Operation: 99-14=85, Resulting Numbers: [20, 6, 85] Generated Node #2: [20, 6, 85] from Operation: 99-14=85 Current State: 71:[20, 6, 85], Operations: ['99-14=85'] Exploring Operation: 20-6=14, Resulting Numbers: [85, 14] Generated Node #3: [85, 14] from Operation: 20-6=14 Current State: 71:[85, 14], Operations: ['99-14=85', '20-6=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[99, 14, 20, 6], Operations: [] Exploring Operation: 99-14=85, Resulting Numbers: [20, 6, 85] Generated Node #0,0: 71:[20, 6, 85] Operation: 99-14=85 Exploring Operation: 14*6=84, Resulting Numbers: [99, 20, 84] Generated Node #0,1: 71:[99, 20, 84] Operation: 14*6=84 Moving to Node #0,1 Current State: 71:[99, 20, 84], Operations: ['14*6=84'] Exploring Operation: 84-20=64, Resulting Numbers: [99, 64] Generated Node #0,1,0: 71:[99, 64] Operation: 84-20=64 Exploring Operation: 99-20=79, Resulting Numbers: [84, 79] Generated Node #0,1,1: 71:[84, 79] Operation: 99-20=79 Moving to Node #0,0 Current State: 71:[20, 6, 85], Operations: ['99-14=85'] Exploring Operation: 20+6=26, Resulting Numbers: [85, 26] Generated Node #0,0,0: 71:[85, 26] Operation: 20+6=26 Exploring Operation: 85-6=79, Resulting Numbers: [20, 79] Generated Node #0,0,1: 71:[20, 79] Operation: 85-6=79 Moving to Node #0,1,1 Current State: 71:[84, 79], Operations: ['14*6=84', '99-20=79'] Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[99, 64], Operations: ['14*6=84', '84-20=64'] Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 99+64=163, Resulting Numbers: [163] 163,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[20, 79], Operations: ['99-14=85', '85-6=79'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,71 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[85, 26], Operations: ['99-14=85', '20+6=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,71 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 20, 37, 61, 89 ]
11
[ "37-20=17", "89-61=28", "28-17=11" ]
Current State: 11:[20, 37, 61, 89], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [61, 89, 17] Generated Node #2: [61, 89, 17] from Operation: 37-20=17 Current State: 11:[61, 89, 17], Operations: ['37-20=17'] Exploring Operation: 89-61=28, Resulting Numbers: [17, 28] Generated Node #3: [17, 28] from Operation: 89-61=28 Current State: 11:[17, 28], Operations: ['37-20=17', '89-61=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[20, 37, 61, 89], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [20, 37, 28] Generated Node #0,0: 11:[20, 37, 28] Operation: 89-61=28 Exploring Operation: 89-37=52, Resulting Numbers: [20, 61, 52] Generated Node #0,1: 11:[20, 61, 52] Operation: 89-37=52 Exploring Operation: 61-37=24, Resulting Numbers: [20, 89, 24] Generated Node #0,2: 11:[20, 89, 24] Operation: 61-37=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[20, 37, 28], Operations: ['89-61=28'] Exploring Operation: 37-20=17, Resulting Numbers: [28, 17] Generated Node #0,0,0: 11:[28, 17] Operation: 37-20=17 Exploring Operation: 37-28=9, Resulting Numbers: [20, 9] Generated Node #0,0,1: 11:[20, 9] Operation: 37-28=9 Exploring Operation: 28-20=8, Resulting Numbers: [37, 8] Generated Node #0,0,2: 11:[37, 8] Operation: 28-20=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[20, 9], Operations: ['89-61=28', '37-28=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,11 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[20, 37, 61, 89], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [20, 37, 28] Generated Node #0,0: 11:[20, 37, 28] Operation: 89-61=28 Moving to Node #0,0 Current State: 11:[20, 37, 28], Operations: ['89-61=28'] Exploring Operation: 37-28=9, Resulting Numbers: [20, 9] Generated Node #0,0,1: 11:[20, 9] Operation: 37-28=9 Moving to Node #0,0,1 Current State: 11:[20, 9], Operations: ['89-61=28', '37-28=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 75, 63, 57, 55 ]
26
[ "75+63=138", "57+55=112", "138-112=26" ]
Current State: 26:[75, 63, 57, 55], Operations: [] Exploring Operation: 75+63=138, Resulting Numbers: [57, 55, 138] Generated Node #2: [57, 55, 138] from Operation: 75+63=138 Current State: 26:[57, 55, 138], Operations: ['75+63=138'] Exploring Operation: 57+55=112, Resulting Numbers: [138, 112] Generated Node #3: [138, 112] from Operation: 57+55=112 Current State: 26:[138, 112], Operations: ['75+63=138', '57+55=112'] Exploring Operation: 138-112=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[75, 63, 57, 55], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [63, 55, 18] Generated Node #0,0: 26:[63, 55, 18] Operation: 75-57=18 Exploring Operation: 75-55=20, Resulting Numbers: [63, 57, 20] Generated Node #0,1: 26:[63, 57, 20] Operation: 75-55=20 Exploring Operation: 75-63=12, Resulting Numbers: [57, 55, 12] Generated Node #0,2: 26:[57, 55, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[57, 55, 12], Operations: ['75-63=12'] Exploring Operation: 55-12=43, Resulting Numbers: [57, 43] Generated Node #0,2,0: 26:[57, 43] Operation: 55-12=43 Exploring Operation: 57-55=2, Resulting Numbers: [12, 2] Generated Node #0,2,1: 26:[12, 2] Operation: 57-55=2 Exploring Operation: 57-12=45, Resulting Numbers: [55, 45] Generated Node #0,2,2: 26:[55, 45] Operation: 57-12=45 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[12, 2], Operations: ['75-63=12', '57-55=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,26 unequal: No Solution No 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: 26:[57, 43], Operations: ['75-63=12', '55-12=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,26 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,26 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,26 unequal: No Solution No 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: 26:[55, 45], Operations: ['75-63=12', '57-12=45'] Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,26 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[63, 55, 18], Operations: ['75-57=18'] Exploring Operation: 63-18=45, Resulting Numbers: [55, 45] Generated Node #0,0,0: 26:[55, 45] Operation: 63-18=45 Exploring Operation: 63-55=8, Resulting Numbers: [18, 8] Generated Node #0,0,1: 26:[18, 8] Operation: 63-55=8 Exploring Operation: 55-18=37, Resulting Numbers: [63, 37] Generated Node #0,0,2: 26:[63, 37] Operation: 55-18=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[18, 8], Operations: ['75-57=18', '63-55=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[75, 63, 57, 55], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [63, 55, 18] Generated Node #0,0: 26:[63, 55, 18] Operation: 75-57=18 Moving to Node #0,0 Current State: 26:[63, 55, 18], Operations: ['75-57=18'] Exploring Operation: 63-55=8, Resulting Numbers: [18, 8] Generated Node #0,0,1: 26:[18, 8] Operation: 63-55=8 Moving to Node #0,0,1 Current State: 26:[18, 8], Operations: ['75-57=18', '63-55=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 78, 44, 55, 66 ]
80
[ "44+66=110", "110/55=2", "78+2=80" ]
Current State: 80:[78, 44, 55, 66], Operations: [] Exploring Operation: 44+66=110, Resulting Numbers: [78, 55, 110] Generated Node #2: [78, 55, 110] from Operation: 44+66=110 Current State: 80:[78, 55, 110], Operations: ['44+66=110'] Exploring Operation: 110/55=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 110/55=2 Current State: 80:[78, 2], Operations: ['44+66=110', '110/55=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[78, 44, 55, 66], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [78, 66, 11] Generated Node #0,0: 80:[78, 66, 11] Operation: 55-44=11 Exploring Operation: 78-55=23, Resulting Numbers: [44, 66, 23] Generated Node #0,1: 80:[44, 66, 23] Operation: 78-55=23 Exploring Operation: 78-66=12, Resulting Numbers: [44, 55, 12] Generated Node #0,2: 80:[44, 55, 12] Operation: 78-66=12 Exploring Operation: 66-44=22, Resulting Numbers: [78, 55, 22] Generated Node #0,3: 80:[78, 55, 22] Operation: 66-44=22 Exploring Operation: 66-55=11, Resulting Numbers: [78, 44, 11] Generated Node #0,4: 80:[78, 44, 11] Operation: 66-55=11 Moving to Node #0,4 Current State: 80:[78, 44, 11], Operations: ['66-55=11'] Exploring Operation: 78-11=67, Resulting Numbers: [44, 67] Generated Node #0,4,0: 80:[44, 67] Operation: 78-11=67 Exploring Operation: 44/11=4, Resulting Numbers: [78, 4] Generated Node #0,4,1: 80:[78, 4] Operation: 44/11=4 Exploring Operation: 78+11=89, Resulting Numbers: [44, 89] Generated Node #0,4,2: 80:[44, 89] Operation: 78+11=89 Exploring Operation: 44-11=33, Resulting Numbers: [78, 33] Generated Node #0,4,3: 80:[78, 33] Operation: 44-11=33 Exploring Operation: 78-44=34, Resulting Numbers: [11, 34] Generated Node #0,4,4: 80:[11, 34] Operation: 78-44=34 Moving to Node #0,0 Current State: 80:[78, 66, 11], Operations: ['55-44=11'] Exploring Operation: 66/11=6, Resulting Numbers: [78, 6] Generated Node #0,0,0: 80:[78, 6] Operation: 66/11=6 Exploring Operation: 78-66=12, Resulting Numbers: [11, 12] Generated Node #0,0,1: 80:[11, 12] Operation: 78-66=12 Exploring Operation: 78+11=89, Resulting Numbers: [66, 89] Generated Node #0,0,2: 80:[66, 89] Operation: 78+11=89 Exploring Operation: 66+11=77, Resulting Numbers: [78, 77] Generated Node #0,0,3: 80:[78, 77] Operation: 66+11=77 Exploring Operation: 66-11=55, Resulting Numbers: [78, 55] Generated Node #0,0,4: 80:[78, 55] Operation: 66-11=55 Moving to Node #0,3 Current State: 80:[78, 55, 22], Operations: ['66-44=22'] Exploring Operation: 55-22=33, Resulting Numbers: [78, 33] Generated Node #0,3,0: 80:[78, 33] Operation: 55-22=33 Exploring Operation: 55+22=77, Resulting Numbers: [78, 77] Generated Node #0,3,1: 80:[78, 77] Operation: 55+22=77 Exploring Operation: 78+22=100, Resulting Numbers: [55, 100] Generated Node #0,3,2: 80:[55, 100] Operation: 78+22=100 Exploring Operation: 78-55=23, Resulting Numbers: [22, 23] Generated Node #0,3,3: 80:[22, 23] Operation: 78-55=23 Exploring Operation: 78-22=56, Resulting Numbers: [55, 56] Generated Node #0,3,4: 80:[55, 56] Operation: 78-22=56 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[78, 77], Operations: ['66-44=22', '55+22=77'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,80 unequal: No Solution Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[22, 23], Operations: ['66-44=22', '78-55=23'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,80 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[78, 33], Operations: ['66-44=22', '55-22=33'] Exploring Operation: 78*33=2574, Resulting Numbers: [2574] 2574,80 unequal: No Solution Exploring Operation: 78+33=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 80:[55, 56], Operations: ['66-44=22', '78-22=56'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[55, 100], Operations: ['66-44=22', '78+22=100'] Exploring Operation: 55+100=155, Resulting Numbers: [155] 155,80 unequal: No Solution Exploring Operation: 55*100=5500, Resulting Numbers: [5500] 5500,80 unequal: No Solution Exploring Operation: 100-55=45, Resulting Numbers: [45] 45,80 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: 80:[44, 66, 23], Operations: ['78-55=23'] Exploring Operation: 44+23=67, Resulting Numbers: [66, 67] Generated Node #0,1,0: 80:[66, 67] Operation: 44+23=67 Exploring Operation: 66-23=43, Resulting Numbers: [44, 43] Generated Node #0,1,1: 80:[44, 43] Operation: 66-23=43 Exploring Operation: 44-23=21, Resulting Numbers: [66, 21] Generated Node #0,1,2: 80:[66, 21] Operation: 44-23=21 Exploring Operation: 66-44=22, Resulting Numbers: [23, 22] Generated Node #0,1,3: 80:[23, 22] Operation: 66-44=22 Exploring Operation: 66+23=89, Resulting Numbers: [44, 89] Generated Node #0,1,4: 80:[44, 89] Operation: 66+23=89 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[23, 22], Operations: ['78-55=23', '66-44=22'] Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[44, 43], Operations: ['78-55=23', '66-23=43'] Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 80:[44, 89], Operations: ['78-55=23', '66+23=89'] Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 44*89=3916, Resulting Numbers: [3916] 3916,80 unequal: No Solution Exploring Operation: 44+89=133, Resulting Numbers: [133] 133,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[66, 21], Operations: ['78-55=23', '44-23=21'] Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 66*21=1386, Resulting Numbers: [1386] 1386,80 unequal: No Solution Exploring Operation: 66+21=87, Resulting Numbers: [87] 87,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[66, 67], Operations: ['78-55=23', '44+23=67'] Exploring Operation: 66*67=4422, Resulting Numbers: [4422] 4422,80 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 66+67=133, Resulting Numbers: [133] 133,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[44, 55, 12], Operations: ['78-66=12'] Exploring Operation: 44+55=99, Resulting Numbers: [12, 99] Generated Node #0,2,0: 80:[12, 99] Operation: 44+55=99 Exploring Operation: 44-12=32, Resulting Numbers: [55, 32] Generated Node #0,2,1: 80:[55, 32] Operation: 44-12=32 Exploring Operation: 55+12=67, Resulting Numbers: [44, 67] Generated Node #0,2,2: 80:[44, 67] Operation: 55+12=67 Exploring Operation: 55-44=11, Resulting Numbers: [12, 11] Generated Node #0,2,3: 80:[12, 11] Operation: 55-44=11 Exploring Operation: 55-12=43, Resulting Numbers: [44, 43] Generated Node #0,2,4: 80:[44, 43] Operation: 55-12=43 Moving to Node #0,4,1 Current State: 80:[78, 4], Operations: ['66-55=11', '44/11=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,80 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[78, 6], Operations: ['55-44=11', '66/11=6'] Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,80 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[11, 12], Operations: ['55-44=11', '78-66=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[12, 11], Operations: ['78-66=12', '55-44=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,80 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[78, 77], Operations: ['55-44=11', '66+11=77'] Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,80 unequal: No Solution Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[44, 43], Operations: ['78-66=12', '55-12=43'] Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,80 unequal: No Solution Moving to Node #0,4,4 Current State: 80:[11, 34], Operations: ['66-55=11', '78-44=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,80 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,80 unequal: No Solution Moving to Node #0,4,3 Current State: 80:[78, 33], Operations: ['66-55=11', '44-11=33'] Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 78+33=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 78*33=2574, Resulting Numbers: [2574] 2574,80 unequal: No Solution Moving to Node #0,4,2 Current State: 80:[44, 89], Operations: ['66-55=11', '78+11=89'] Exploring Operation: 44+89=133, Resulting Numbers: [133] 133,80 unequal: No Solution Exploring Operation: 44*89=3916, Resulting Numbers: [3916] 3916,80 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[44, 67], Operations: ['78-66=12', '55+12=67'] Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,80 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,80 unequal: No Solution Moving to Node #0,4,0 Current State: 80:[44, 67], Operations: ['66-55=11', '78-11=67'] Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[78, 55], Operations: ['55-44=11', '66-11=55'] Exploring Operation: 78*55=4290, Resulting Numbers: [4290] 4290,80 unequal: No Solution Exploring Operation: 78+55=133, Resulting Numbers: [133] 133,80 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[12, 99], Operations: ['78-66=12', '44+55=99'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 12+99=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 12*99=1188, Resulting Numbers: [1188] 1188,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[66, 89], Operations: ['55-44=11', '78+11=89'] Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,80 unequal: No Solution Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[55, 32], Operations: ['78-66=12', '44-12=32'] Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,80 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 96, 47, 94, 81 ]
36
[ "96-47=49", "94-81=13", "49-13=36" ]
Current State: 36:[96, 47, 94, 81], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [94, 81, 49] Generated Node #2: [94, 81, 49] from Operation: 96-47=49 Current State: 36:[94, 81, 49], Operations: ['96-47=49'] Exploring Operation: 94-81=13, Resulting Numbers: [49, 13] Generated Node #3: [49, 13] from Operation: 94-81=13 Current State: 36:[49, 13], Operations: ['96-47=49', '94-81=13'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[96, 47, 94, 81], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [47, 94, 15] Generated Node #0,0: 36:[47, 94, 15] Operation: 96-81=15 Exploring Operation: 96-94=2, Resulting Numbers: [47, 81, 2] Generated Node #0,1: 36:[47, 81, 2] Operation: 96-94=2 Exploring Operation: 94-81=13, Resulting Numbers: [96, 47, 13] Generated Node #0,2: 36:[96, 47, 13] Operation: 94-81=13 Moving to Node #0,1 Current State: 36:[47, 81, 2], Operations: ['96-94=2'] Exploring Operation: 81-2=79, Resulting Numbers: [47, 79] Generated Node #0,1,0: 36:[47, 79] Operation: 81-2=79 Exploring Operation: 81-47=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 36:[2, 34] Operation: 81-47=34 Exploring Operation: 47-2=45, Resulting Numbers: [81, 45] Generated Node #0,1,2: 36:[81, 45] Operation: 47-2=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[2, 34], Operations: ['96-94=2', '81-47=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[96, 47, 94, 81], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [47, 81, 2] Generated Node #0,1: 36:[47, 81, 2] Operation: 96-94=2 Moving to Node #0,1 Current State: 36:[47, 81, 2], Operations: ['96-94=2'] Exploring Operation: 81-47=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 36:[2, 34] Operation: 81-47=34 Moving to Node #0,1,1 Current State: 36:[2, 34], Operations: ['96-94=2', '81-47=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 66, 48, 23, 37 ]
29
[ "48-37=11", "66/11=6", "23+6=29" ]
Current State: 29:[66, 48, 23, 37], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [66, 23, 11] Generated Node #2: [66, 23, 11] from Operation: 48-37=11 Current State: 29:[66, 23, 11], Operations: ['48-37=11'] Exploring Operation: 66/11=6, Resulting Numbers: [23, 6] Generated Node #3: [23, 6] from Operation: 66/11=6 Current State: 29:[23, 6], Operations: ['48-37=11', '66/11=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[66, 48, 23, 37], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [48, 37, 43] Generated Node #0,0: 29:[48, 37, 43] Operation: 66-23=43 Exploring Operation: 66-48=18, Resulting Numbers: [23, 37, 18] Generated Node #0,1: 29:[23, 37, 18] Operation: 66-48=18 Exploring Operation: 66-37=29, Resulting Numbers: [48, 23, 29] Generated Node #0,2: 29:[48, 23, 29] Operation: 66-37=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[23, 37, 18], Operations: ['66-48=18'] Exploring Operation: 23+18=41, Resulting Numbers: [37, 41] Generated Node #0,1,0: 29:[37, 41] Operation: 23+18=41 Exploring Operation: 37-23=14, Resulting Numbers: [18, 14] Generated Node #0,1,1: 29:[18, 14] Operation: 37-23=14 Exploring Operation: 37-18=19, Resulting Numbers: [23, 19] Generated Node #0,1,2: 29:[23, 19] Operation: 37-18=19 Moving to Node #0,1,2 Current State: 29:[23, 19], Operations: ['66-48=18', '37-18=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,29 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[37, 41], Operations: ['66-48=18', '23+18=41'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[18, 14], Operations: ['66-48=18', '37-23=14'] Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,29 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,29 unequal: No Solution No 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: 29:[48, 23, 29], Operations: ['66-37=29'] Exploring Operation: 48-23=25, Resulting Numbers: [29, 25] Generated Node #0,2,0: 29:[29, 25] Operation: 48-23=25 Exploring Operation: 48-29=19, Resulting Numbers: [23, 19] Generated Node #0,2,1: 29:[23, 19] Operation: 48-29=19 Exploring Operation: 48+23=71, Resulting Numbers: [29, 71] Generated Node #0,2,2: 29:[29, 71] Operation: 48+23=71 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[29, 25], Operations: ['66-37=29', '48-23=25'] Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,29 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[23, 19], Operations: ['66-37=29', '48-29=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,29 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[29, 71], Operations: ['66-37=29', '48+23=71'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,29 unequal: No Solution Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,29 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: 29:[48, 37, 43], Operations: ['66-23=43'] Exploring Operation: 48-43=5, Resulting Numbers: [37, 5] Generated Node #0,0,0: 29:[37, 5] Operation: 48-43=5 Exploring Operation: 43-37=6, Resulting Numbers: [48, 6] Generated Node #0,0,1: 29:[48, 6] Operation: 43-37=6 Exploring Operation: 48-37=11, Resulting Numbers: [43, 11] Generated Node #0,0,2: 29:[43, 11] Operation: 48-37=11 Moving to Node #0,0,0 Current State: 29:[37, 5], Operations: ['66-23=43', '48-43=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,29 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[43, 11], Operations: ['66-23=43', '48-37=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,29 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[48, 6], Operations: ['66-23=43', '43-37=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,29 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
[ 30, 5, 84, 31 ]
89
[ "31-30=1", "5+84=89", "1*89=89" ]
Current State: 89:[30, 5, 84, 31], Operations: [] Exploring Operation: 31-30=1, Resulting Numbers: [5, 84, 1] Generated Node #2: [5, 84, 1] from Operation: 31-30=1 Current State: 89:[5, 84, 1], Operations: ['31-30=1'] Exploring Operation: 5+84=89, Resulting Numbers: [1, 89] Generated Node #3: [1, 89] from Operation: 5+84=89 Current State: 89:[1, 89], Operations: ['31-30=1', '5+84=89'] Exploring Operation: 1*89=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[30, 5, 84, 31], Operations: [] Exploring Operation: 30+5=35, Resulting Numbers: [84, 31, 35] Generated Node #0,0: 89:[84, 31, 35] Operation: 30+5=35 Exploring Operation: 30*5=150, Resulting Numbers: [84, 31, 150] Generated Node #0,1: 89:[84, 31, 150] Operation: 30*5=150 Exploring Operation: 5+84=89, Resulting Numbers: [30, 31, 89] Generated Node #0,2: 89:[30, 31, 89] Operation: 5+84=89 Exploring Operation: 5+31=36, Resulting Numbers: [30, 84, 36] Generated Node #0,3: 89:[30, 84, 36] Operation: 5+31=36 Exploring Operation: 30+31=61, Resulting Numbers: [5, 84, 61] Generated Node #0,4: 89:[5, 84, 61] Operation: 30+31=61 Moving to Node #0,0 Current State: 89:[84, 31, 35], Operations: ['30+5=35'] Exploring Operation: 84+35=119, Resulting Numbers: [31, 119] Generated Node #0,0,0: 89:[31, 119] Operation: 84+35=119 Exploring Operation: 31+35=66, Resulting Numbers: [84, 66] Generated Node #0,0,1: 89:[84, 66] Operation: 31+35=66 Exploring Operation: 84+31=115, Resulting Numbers: [35, 115] Generated Node #0,0,2: 89:[35, 115] Operation: 84+31=115 Exploring Operation: 84-31=53, Resulting Numbers: [35, 53] Generated Node #0,0,3: 89:[35, 53] Operation: 84-31=53 Exploring Operation: 35-31=4, Resulting Numbers: [84, 4] Generated Node #0,0,4: 89:[84, 4] Operation: 35-31=4 Moving to Node #0,3 Current State: 89:[30, 84, 36], Operations: ['5+31=36'] Exploring Operation: 30+84=114, Resulting Numbers: [36, 114] Generated Node #0,3,0: 89:[36, 114] Operation: 30+84=114 Exploring Operation: 36-30=6, Resulting Numbers: [84, 6] Generated Node #0,3,1: 89:[84, 6] Operation: 36-30=6 Exploring Operation: 30+36=66, Resulting Numbers: [84, 66] Generated Node #0,3,2: 89:[84, 66] Operation: 30+36=66 Exploring Operation: 84-30=54, Resulting Numbers: [36, 54] Generated Node #0,3,3: 89:[36, 54] Operation: 84-30=54 Exploring Operation: 84+36=120, Resulting Numbers: [30, 120] Generated Node #0,3,4: 89:[30, 120] Operation: 84+36=120 Moving to Node #0,2 Current State: 89:[30, 31, 89], Operations: ['5+84=89'] Exploring Operation: 89-30=59, Resulting Numbers: [31, 59] Generated Node #0,2,0: 89:[31, 59] Operation: 89-30=59 Exploring Operation: 31-30=1, Resulting Numbers: [89, 1] Generated Node #0,2,1: 89:[89, 1] Operation: 31-30=1 Exploring Operation: 30+31=61, Resulting Numbers: [89, 61] Generated Node #0,2,2: 89:[89, 61] Operation: 30+31=61 Exploring Operation: 31+89=120, Resulting Numbers: [30, 120] Generated Node #0,2,3: 89:[30, 120] Operation: 31+89=120 Exploring Operation: 30+89=119, Resulting Numbers: [31, 119] Generated Node #0,2,4: 89:[31, 119] Operation: 30+89=119 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[89, 61], Operations: ['5+84=89', '30+31=61'] Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 89+61=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 89*61=5429, Resulting Numbers: [5429] 5429,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[31, 59], Operations: ['5+84=89', '89-30=59'] Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 31*59=1829, Resulting Numbers: [1829] 1829,89 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[89, 1], Operations: ['5+84=89', '31-30=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[30, 5, 84, 31], Operations: [] Exploring Operation: 5+84=89, Resulting Numbers: [30, 31, 89] Generated Node #0,2: 89:[30, 31, 89] Operation: 5+84=89 Moving to Node #0,2 Current State: 89:[30, 31, 89], Operations: ['5+84=89'] Exploring Operation: 31-30=1, Resulting Numbers: [89, 1] Generated Node #0,2,1: 89:[89, 1] Operation: 31-30=1 Moving to Node #0,2,1 Current State: 89:[89, 1], Operations: ['5+84=89', '31-30=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
sum_heuristic
[ 49, 20, 9, 16 ]
27
[ "16-9=7", "49/7=7", "20+7=27" ]
Current State: 27:[49, 20, 9, 16], Operations: [] Exploring Operation: 16-9=7, Resulting Numbers: [49, 20, 7] Generated Node #2: [49, 20, 7] from Operation: 16-9=7 Current State: 27:[49, 20, 7], Operations: ['16-9=7'] Exploring Operation: 49/7=7, Resulting Numbers: [20, 7] Generated Node #3: [20, 7] from Operation: 49/7=7 Current State: 27:[20, 7], Operations: ['16-9=7', '49/7=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[49, 20, 9, 16], Operations: [] Exploring Operation: 49-20=29, Resulting Numbers: [9, 16, 29] Generated Node #0,0: 27:[9, 16, 29] Operation: 49-20=29 Moving to Node #0,0 Current State: 27:[9, 16, 29], Operations: ['49-20=29'] Exploring Operation: 9+16=25, Resulting Numbers: [29, 25] Generated Node #0,0,0: 27:[29, 25] Operation: 9+16=25 Moving to Node #0,0,0 Current State: 27:[29, 25], Operations: ['49-20=29', '9+16=25'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,27 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 78, 8, 43 ]
40
[ "78+8=86", "20*86=1720", "1720/43=40" ]
Current State: 40:[20, 78, 8, 43], Operations: [] Exploring Operation: 78+8=86, Resulting Numbers: [20, 43, 86] Generated Node #2: [20, 43, 86] from Operation: 78+8=86 Current State: 40:[20, 43, 86], Operations: ['78+8=86'] Exploring Operation: 20*86=1720, Resulting Numbers: [43, 1720] Generated Node #3: [43, 1720] from Operation: 20*86=1720 Current State: 40:[43, 1720], Operations: ['78+8=86', '20*86=1720'] Exploring Operation: 1720/43=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[20, 78, 8, 43], Operations: [] Exploring Operation: 20-8=12, Resulting Numbers: [78, 43, 12] Generated Node #0,0: 40:[78, 43, 12] Operation: 20-8=12 Exploring Operation: 78-20=58, Resulting Numbers: [8, 43, 58] Generated Node #0,1: 40:[8, 43, 58] Operation: 78-20=58 Exploring Operation: 78-43=35, Resulting Numbers: [20, 8, 35] Generated Node #0,2: 40:[20, 8, 35] Operation: 78-43=35 Exploring Operation: 43-20=23, Resulting Numbers: [78, 8, 23] Generated Node #0,3: 40:[78, 8, 23] Operation: 43-20=23 Exploring Operation: 78-8=70, Resulting Numbers: [20, 43, 70] Generated Node #0,4: 40:[20, 43, 70] Operation: 78-8=70 Moving to Node #0,2 Current State: 40:[20, 8, 35], Operations: ['78-43=35'] Exploring Operation: 35-20=15, Resulting Numbers: [8, 15] Generated Node #0,2,0: 40:[8, 15] Operation: 35-20=15 Exploring Operation: 8+35=43, Resulting Numbers: [20, 43] Generated Node #0,2,1: 40:[20, 43] Operation: 8+35=43 Exploring Operation: 20+8=28, Resulting Numbers: [35, 28] Generated Node #0,2,2: 40:[35, 28] Operation: 20+8=28 Exploring Operation: 35-8=27, Resulting Numbers: [20, 27] Generated Node #0,2,3: 40:[20, 27] Operation: 35-8=27 Exploring Operation: 20-8=12, Resulting Numbers: [35, 12] Generated Node #0,2,4: 40:[35, 12] Operation: 20-8=12 Moving to Node #0,1 Current State: 40:[8, 43, 58], Operations: ['78-20=58'] Exploring Operation: 8+58=66, Resulting Numbers: [43, 66] Generated Node #0,1,0: 40:[43, 66] Operation: 8+58=66 Exploring Operation: 8+43=51, Resulting Numbers: [58, 51] Generated Node #0,1,1: 40:[58, 51] Operation: 8+43=51 Exploring Operation: 58-43=15, Resulting Numbers: [8, 15] Generated Node #0,1,2: 40:[8, 15] Operation: 58-43=15 Exploring Operation: 58-8=50, Resulting Numbers: [43, 50] Generated Node #0,1,3: 40:[43, 50] Operation: 58-8=50 Exploring Operation: 43-8=35, Resulting Numbers: [58, 35] Generated Node #0,1,4: 40:[58, 35] Operation: 43-8=35 Moving to Node #0,4 Current State: 40:[20, 43, 70], Operations: ['78-8=70'] Exploring Operation: 70-20=50, Resulting Numbers: [43, 50] Generated Node #0,4,0: 40:[43, 50] Operation: 70-20=50 Exploring Operation: 20+43=63, Resulting Numbers: [70, 63] Generated Node #0,4,1: 40:[70, 63] Operation: 20+43=63 Exploring Operation: 43-20=23, Resulting Numbers: [70, 23] Generated Node #0,4,2: 40:[70, 23] Operation: 43-20=23 Exploring Operation: 70-43=27, Resulting Numbers: [20, 27] Generated Node #0,4,3: 40:[20, 27] Operation: 70-43=27 Exploring Operation: 20+70=90, Resulting Numbers: [43, 90] Generated Node #0,4,4: 40:[43, 90] Operation: 20+70=90 Moving to Node #0,3 Current State: 40:[78, 8, 23], Operations: ['43-20=23'] Exploring Operation: 78+8=86, Resulting Numbers: [23, 86] Generated Node #0,3,0: 40:[23, 86] Operation: 78+8=86 Exploring Operation: 78-8=70, Resulting Numbers: [23, 70] Generated Node #0,3,1: 40:[23, 70] Operation: 78-8=70 Exploring Operation: 78-23=55, Resulting Numbers: [8, 55] Generated Node #0,3,2: 40:[8, 55] Operation: 78-23=55 Exploring Operation: 23-8=15, Resulting Numbers: [78, 15] Generated Node #0,3,3: 40:[78, 15] Operation: 23-8=15 Exploring Operation: 8+23=31, Resulting Numbers: [78, 31] Generated Node #0,3,4: 40:[78, 31] Operation: 8+23=31 Moving to Node #0,0 Current State: 40:[78, 43, 12], Operations: ['20-8=12'] Exploring Operation: 78+12=90, Resulting Numbers: [43, 90] Generated Node #0,0,0: 40:[43, 90] Operation: 78+12=90 Exploring Operation: 43-12=31, Resulting Numbers: [78, 31] Generated Node #0,0,1: 40:[78, 31] Operation: 43-12=31 Exploring Operation: 78-12=66, Resulting Numbers: [43, 66] Generated Node #0,0,2: 40:[43, 66] Operation: 78-12=66 Exploring Operation: 43+12=55, Resulting Numbers: [78, 55] Generated Node #0,0,3: 40:[78, 55] Operation: 43+12=55 Exploring Operation: 78-43=35, Resulting Numbers: [12, 35] Generated Node #0,0,4: 40:[12, 35] Operation: 78-43=35 Moving to Node #0,2,1 Current State: 40:[20, 43], Operations: ['78-43=35', '8+35=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,40 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[8, 15], Operations: ['78-20=58', '58-43=15'] Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,40 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[8, 15], Operations: ['78-43=35', '35-20=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,40 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[20, 27], Operations: ['78-43=35', '35-8=27'] Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,40 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,4,3 Current State: 40:[20, 27], Operations: ['78-8=70', '70-43=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[12, 35], Operations: ['20-8=12', '78-43=35'] Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,40 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[35, 12], Operations: ['78-43=35', '20-8=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[43, 50], Operations: ['78-20=58', '58-8=50'] Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,40 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,4,0 Current State: 40:[43, 50], Operations: ['78-8=70', '70-20=50'] Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[35, 28], Operations: ['78-43=35', '20+8=28'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[8, 55], Operations: ['43-20=23', '78-23=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,40 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[58, 35], Operations: ['78-20=58', '43-8=35'] Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 58*35=2030, Resulting Numbers: [2030] 2030,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[43, 66], Operations: ['20-8=12', '78-12=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,40 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[58, 51], Operations: ['78-20=58', '8+43=51'] Exploring Operation: 58*51=2958, Resulting Numbers: [2958] 2958,40 unequal: No Solution Exploring Operation: 58+51=109, Resulting Numbers: [109] 109,40 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[43, 66], Operations: ['78-20=58', '8+58=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,40 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,40 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,4,2 Current State: 40:[70, 23], Operations: ['78-8=70', '43-20=23'] Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,40 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[23, 70], Operations: ['43-20=23', '78-8=70'] Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,40 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[78, 15], Operations: ['43-20=23', '23-8=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[78, 31], Operations: ['20-8=12', '43-12=31'] Exploring Operation: 78*31=2418, Resulting Numbers: [2418] 2418,40 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 78+31=109, Resulting Numbers: [109] 109,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[78, 31], Operations: ['43-20=23', '8+23=31'] Exploring Operation: 78+31=109, Resulting Numbers: [109] 109,40 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 78*31=2418, Resulting Numbers: [2418] 2418,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[23, 86], Operations: ['43-20=23', '78+8=86'] Exploring Operation: 23*86=1978, Resulting Numbers: [1978] 1978,40 unequal: No Solution Exploring Operation: 23+86=109, Resulting Numbers: [109] 109,40 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,40 unequal: No Solution Moving to Node #0,4,4 Current State: 40:[43, 90], Operations: ['78-8=70', '20+70=90'] Exploring Operation: 43+90=133, Resulting Numbers: [133] 133,40 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 43*90=3870, Resulting Numbers: [3870] 3870,40 unequal: No Solution Moving to Node #0,4,1 Current State: 40:[70, 63], Operations: ['78-8=70', '20+43=63'] Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,40 unequal: No Solution Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,40 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[43, 90], Operations: ['20-8=12', '78+12=90'] Exploring Operation: 43*90=3870, Resulting Numbers: [3870] 3870,40 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 43+90=133, Resulting Numbers: [133] 133,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[78, 55], Operations: ['20-8=12', '43+12=55'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 78+55=133, Resulting Numbers: [133] 133,40 unequal: No Solution Exploring Operation: 78*55=4290, Resulting Numbers: [4290] 4290,40 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 42, 53, 35, 32 ]
92
[ "42+53=95", "35-32=3", "95-3=92" ]
Current State: 92:[42, 53, 35, 32], Operations: [] Exploring Operation: 42+53=95, Resulting Numbers: [35, 32, 95] Generated Node #2: [35, 32, 95] from Operation: 42+53=95 Current State: 92:[35, 32, 95], Operations: ['42+53=95'] Exploring Operation: 35-32=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 35-32=3 Current State: 92:[95, 3], Operations: ['42+53=95', '35-32=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[42, 53, 35, 32], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [42, 53, 3] Generated Node #0,0: 92:[42, 53, 3] Operation: 35-32=3 Exploring Operation: 53+35=88, Resulting Numbers: [42, 32, 88] Generated Node #0,1: 92:[42, 32, 88] Operation: 53+35=88 Moving to Node #0,0 Current State: 92:[42, 53, 3], Operations: ['35-32=3'] Exploring Operation: 53-42=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 92:[3, 11] Operation: 53-42=11 Exploring Operation: 42+53=95, Resulting Numbers: [3, 95] Generated Node #0,0,1: 92:[3, 95] Operation: 42+53=95 Moving to Node #0,1 Current State: 92:[42, 32, 88], Operations: ['53+35=88'] Exploring Operation: 42-32=10, Resulting Numbers: [88, 10] Generated Node #0,1,0: 92:[88, 10] Operation: 42-32=10 Exploring Operation: 88-42=46, Resulting Numbers: [32, 46] Generated Node #0,1,1: 92:[32, 46] Operation: 88-42=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[32, 46], Operations: ['53+35=88', '88-42=46'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[88, 10], Operations: ['53+35=88', '42-32=10'] Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,92 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: 92:[3, 95], Operations: ['35-32=3', '42+53=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[42, 53, 35, 32], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [42, 53, 3] Generated Node #0,0: 92:[42, 53, 3] Operation: 35-32=3 Moving to Node #0,0 Current State: 92:[42, 53, 3], Operations: ['35-32=3'] Exploring Operation: 42+53=95, Resulting Numbers: [3, 95] Generated Node #0,0,1: 92:[3, 95] Operation: 42+53=95 Moving to Node #0,0,1 Current State: 92:[3, 95], Operations: ['35-32=3', '42+53=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 76, 84, 31, 34 ]
95
[ "76+84=160", "31+34=65", "160-65=95" ]
Current State: 95:[76, 84, 31, 34], Operations: [] Exploring Operation: 76+84=160, Resulting Numbers: [31, 34, 160] Generated Node #2: [31, 34, 160] from Operation: 76+84=160 Current State: 95:[31, 34, 160], Operations: ['76+84=160'] Exploring Operation: 31+34=65, Resulting Numbers: [160, 65] Generated Node #3: [160, 65] from Operation: 31+34=65 Current State: 95:[160, 65], Operations: ['76+84=160', '31+34=65'] Exploring Operation: 160-65=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[76, 84, 31, 34], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [31, 34, 8] Generated Node #0,0: 95:[31, 34, 8] Operation: 84-76=8 Moving to Node #0,0 Current State: 95:[31, 34, 8], Operations: ['84-76=8'] Exploring Operation: 34-31=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 95:[8, 3] Operation: 34-31=3 Moving to Node #0,0,0 Current State: 95:[8, 3], Operations: ['84-76=8', '34-31=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,95 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 54, 18, 83, 8 ]
59
[ "54/18=3", "8*3=24", "83-24=59" ]
Current State: 59:[54, 18, 83, 8], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [83, 8, 3] Generated Node #2: [83, 8, 3] from Operation: 54/18=3 Current State: 59:[83, 8, 3], Operations: ['54/18=3'] Exploring Operation: 8*3=24, Resulting Numbers: [83, 24] Generated Node #3: [83, 24] from Operation: 8*3=24 Current State: 59:[83, 24], Operations: ['54/18=3', '8*3=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[54, 18, 83, 8], Operations: [] Exploring Operation: 18+8=26, Resulting Numbers: [54, 83, 26] Generated Node #0,0: 59:[54, 83, 26] Operation: 18+8=26 Exploring Operation: 83-18=65, Resulting Numbers: [54, 8, 65] Generated Node #0,1: 59:[54, 8, 65] Operation: 83-18=65 Exploring Operation: 83-8=75, Resulting Numbers: [54, 18, 75] Generated Node #0,2: 59:[54, 18, 75] Operation: 83-8=75 Moving to Node #0,0 Current State: 59:[54, 83, 26], Operations: ['18+8=26'] Exploring Operation: 54+26=80, Resulting Numbers: [83, 80] Generated Node #0,0,0: 59:[83, 80] Operation: 54+26=80 Exploring Operation: 83-26=57, Resulting Numbers: [54, 57] Generated Node #0,0,1: 59:[54, 57] Operation: 83-26=57 Exploring Operation: 54-26=28, Resulting Numbers: [83, 28] Generated Node #0,0,2: 59:[83, 28] Operation: 54-26=28 Moving to Node #0,1 Current State: 59:[54, 8, 65], Operations: ['83-18=65'] Exploring Operation: 54+8=62, Resulting Numbers: [65, 62] Generated Node #0,1,0: 59:[65, 62] Operation: 54+8=62 Exploring Operation: 65-8=57, Resulting Numbers: [54, 57] Generated Node #0,1,1: 59:[54, 57] Operation: 65-8=57 Exploring Operation: 54-8=46, Resulting Numbers: [65, 46] Generated Node #0,1,2: 59:[65, 46] Operation: 54-8=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[54, 57], Operations: ['83-18=65', '65-8=57'] Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[65, 62], Operations: ['83-18=65', '54+8=62'] Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[65, 46], Operations: ['83-18=65', '54-8=46'] Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 65*46=2990, Resulting Numbers: [2990] 2990,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[54, 18, 75], Operations: ['83-8=75'] Exploring Operation: 54-18=36, Resulting Numbers: [75, 36] Generated Node #0,2,0: 59:[75, 36] Operation: 54-18=36 Exploring Operation: 54+18=72, Resulting Numbers: [75, 72] Generated Node #0,2,1: 59:[75, 72] Operation: 54+18=72 Exploring Operation: 75-18=57, Resulting Numbers: [54, 57] Generated Node #0,2,2: 59:[54, 57] Operation: 75-18=57 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[54, 57], Operations: ['83-8=75', '75-18=57'] Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,59 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,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,1 Current State: 59:[75, 72], Operations: ['83-8=75', '54+18=72'] Exploring Operation: 75*72=5400, Resulting Numbers: [5400] 5400,59 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 75+72=147, Resulting Numbers: [147] 147,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:[75, 36], Operations: ['83-8=75', '54-18=36'] Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,59 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,59 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: 59:[54, 57], Operations: ['18+8=26', '83-26=57'] Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,59 unequal: No Solution Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[83, 80], Operations: ['18+8=26', '54+26=80'] Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 83+80=163, Resulting Numbers: [163] 163,59 unequal: No Solution Exploring Operation: 83*80=6640, Resulting Numbers: [6640] 6640,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[83, 28], Operations: ['18+8=26', '54-26=28'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,59 unequal: No Solution Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,59 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 53, 97, 51 ]
42
[ "35+53=88", "97-51=46", "88-46=42" ]
Current State: 42:[35, 53, 97, 51], Operations: [] Exploring Operation: 35+53=88, Resulting Numbers: [97, 51, 88] Generated Node #2: [97, 51, 88] from Operation: 35+53=88 Current State: 42:[97, 51, 88], Operations: ['35+53=88'] Exploring Operation: 97-51=46, Resulting Numbers: [88, 46] Generated Node #3: [88, 46] from Operation: 97-51=46 Current State: 42:[88, 46], Operations: ['35+53=88', '97-51=46'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[35, 53, 97, 51], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [35, 51, 44] Generated Node #0,0: 42:[35, 51, 44] Operation: 97-53=44 Exploring Operation: 97-51=46, Resulting Numbers: [35, 53, 46] Generated Node #0,1: 42:[35, 53, 46] Operation: 97-51=46 Exploring Operation: 97-35=62, Resulting Numbers: [53, 51, 62] Generated Node #0,2: 42:[53, 51, 62] Operation: 97-35=62 Moving to Node #0,0 Current State: 42:[35, 51, 44], Operations: ['97-53=44'] Exploring Operation: 51-35=16, Resulting Numbers: [44, 16] Generated Node #0,0,0: 42:[44, 16] Operation: 51-35=16 Exploring Operation: 51-44=7, Resulting Numbers: [35, 7] Generated Node #0,0,1: 42:[35, 7] Operation: 51-44=7 Exploring Operation: 44-35=9, Resulting Numbers: [51, 9] Generated Node #0,0,2: 42:[51, 9] Operation: 44-35=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[44, 16], Operations: ['97-53=44', '51-35=16'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,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:[35, 7], Operations: ['97-53=44', '51-44=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[35, 53, 97, 51], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [35, 51, 44] Generated Node #0,0: 42:[35, 51, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 42:[35, 51, 44], Operations: ['97-53=44'] Exploring Operation: 51-44=7, Resulting Numbers: [35, 7] Generated Node #0,0,1: 42:[35, 7] Operation: 51-44=7 Moving to Node #0,0,1 Current State: 42:[35, 7], Operations: ['97-53=44', '51-44=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 24, 46, 94, 51 ]
26
[ "51-46=5", "24*5=120", "120-94=26" ]
Current State: 26:[24, 46, 94, 51], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [24, 94, 5] Generated Node #2: [24, 94, 5] from Operation: 51-46=5 Current State: 26:[24, 94, 5], Operations: ['51-46=5'] Exploring Operation: 24*5=120, Resulting Numbers: [94, 120] Generated Node #3: [94, 120] from Operation: 24*5=120 Current State: 26:[94, 120], Operations: ['51-46=5', '24*5=120'] Exploring Operation: 120-94=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[24, 46, 94, 51], Operations: [] Exploring Operation: 94-46=48, Resulting Numbers: [24, 51, 48] Generated Node #0,0: 26:[24, 51, 48] Operation: 94-46=48 Exploring Operation: 94-51=43, Resulting Numbers: [24, 46, 43] Generated Node #0,1: 26:[24, 46, 43] Operation: 94-51=43 Exploring Operation: 51-46=5, Resulting Numbers: [24, 94, 5] Generated Node #0,2: 26:[24, 94, 5] Operation: 51-46=5 Exploring Operation: 94-24=70, Resulting Numbers: [46, 51, 70] Generated Node #0,3: 26:[46, 51, 70] Operation: 94-24=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[24, 46, 43], Operations: ['94-51=43'] Exploring Operation: 46-24=22, Resulting Numbers: [43, 22] Generated Node #0,1,0: 26:[43, 22] Operation: 46-24=22 Exploring Operation: 43-24=19, Resulting Numbers: [46, 19] Generated Node #0,1,1: 26:[46, 19] Operation: 43-24=19 Exploring Operation: 46-43=3, Resulting Numbers: [24, 3] Generated Node #0,1,2: 26:[24, 3] Operation: 46-43=3 Exploring Operation: 24+46=70, Resulting Numbers: [43, 70] Generated Node #0,1,3: 26:[43, 70] Operation: 24+46=70 Moving to Node #0,1,2 Current State: 26:[24, 3], Operations: ['94-51=43', '46-43=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,26 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[43, 22], Operations: ['94-51=43', '46-24=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,26 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[46, 19], Operations: ['94-51=43', '43-24=19'] Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[43, 70], Operations: ['94-51=43', '24+46=70'] Exploring Operation: 43+70=113, Resulting Numbers: [113] 113,26 unequal: No Solution Exploring Operation: 43*70=3010, Resulting Numbers: [3010] 3010,26 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[24, 51, 48], Operations: ['94-46=48'] Exploring Operation: 48-24=24, Resulting Numbers: [51, 24] Generated Node #0,0,0: 26:[51, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 26:[51, 2] Operation: 48/24=2 Exploring Operation: 51-24=27, Resulting Numbers: [48, 27] Generated Node #0,0,2: 26:[48, 27] Operation: 51-24=27 Exploring Operation: 51-48=3, Resulting Numbers: [24, 3] Generated Node #0,0,3: 26:[24, 3] Operation: 51-48=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 26:[24, 3], Operations: ['94-46=48', '51-48=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,26 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,26 unequal: No Solution No 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: 26:[48, 27], Operations: ['94-46=48', '51-24=27'] Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,26 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,26 unequal: No Solution No 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: 26:[51, 2], Operations: ['94-46=48', '48/24=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,26 unequal: No Solution No 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: 26:[51, 24], Operations: ['94-46=48', '48-24=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[24, 94, 5], Operations: ['51-46=5'] Exploring Operation: 24+5=29, Resulting Numbers: [94, 29] Generated Node #0,2,0: 26:[94, 29] Operation: 24+5=29 Exploring Operation: 94-24=70, Resulting Numbers: [5, 70] Generated Node #0,2,1: 26:[5, 70] Operation: 94-24=70 Exploring Operation: 94-5=89, Resulting Numbers: [24, 89] Generated Node #0,2,2: 26:[24, 89] Operation: 94-5=89 Exploring Operation: 24-5=19, Resulting Numbers: [94, 19] Generated Node #0,2,3: 26:[94, 19] Operation: 24-5=19 Moving to Node #0,2,1 Current State: 26:[5, 70], Operations: ['51-46=5', '94-24=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[24, 89], Operations: ['51-46=5', '94-5=89'] Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,26 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[94, 29], Operations: ['51-46=5', '24+5=29'] Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,26 unequal: No Solution Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[94, 19], Operations: ['51-46=5', '24-5=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,26 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,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,3 Current State: 26:[46, 51, 70], Operations: ['94-24=70'] Exploring Operation: 51-46=5, Resulting Numbers: [70, 5] Generated Node #0,3,0: 26:[70, 5] Operation: 51-46=5 Exploring Operation: 70-51=19, Resulting Numbers: [46, 19] Generated Node #0,3,1: 26:[46, 19] Operation: 70-51=19 Exploring Operation: 70-46=24, Resulting Numbers: [51, 24] Generated Node #0,3,2: 26:[51, 24] Operation: 70-46=24 Exploring Operation: 46+51=97, Resulting Numbers: [70, 97] Generated Node #0,3,3: 26:[70, 97] Operation: 46+51=97 Moving to Node #0,3,1 Current State: 26:[46, 19], Operations: ['94-24=70', '70-51=19'] Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,26 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[51, 24], Operations: ['94-24=70', '70-46=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,26 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[70, 5], Operations: ['94-24=70', '51-46=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 70*5=350, Resulting Numbers: [350] 350,26 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[70, 97], Operations: ['94-24=70', '46+51=97'] Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 70+97=167, Resulting Numbers: [167] 167,26 unequal: No Solution Exploring Operation: 70*97=6790, Resulting Numbers: [6790] 6790,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 33, 80, 99, 57 ]
88
[ "33+57=90", "80*99=7920", "7920/90=88" ]
Current State: 88:[33, 80, 99, 57], Operations: [] Exploring Operation: 33+57=90, Resulting Numbers: [80, 99, 90] Generated Node #2: [80, 99, 90] from Operation: 33+57=90 Current State: 88:[80, 99, 90], Operations: ['33+57=90'] Exploring Operation: 80*99=7920, Resulting Numbers: [90, 7920] Generated Node #3: [90, 7920] from Operation: 80*99=7920 Current State: 88:[90, 7920], Operations: ['33+57=90', '80*99=7920'] Exploring Operation: 7920/90=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[33, 80, 99, 57], Operations: [] Exploring Operation: 33+57=90, Resulting Numbers: [80, 99, 90] Generated Node #0,0: 88:[80, 99, 90] Operation: 33+57=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[80, 99, 90], Operations: ['33+57=90'] Exploring Operation: 99-80=19, Resulting Numbers: [90, 19] Generated Node #0,0,0: 88:[90, 19] Operation: 99-80=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[90, 19], Operations: ['33+57=90', '99-80=19'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 51, 16, 14, 81 ]
66
[ "51+81=132", "16-14=2", "132/2=66" ]
Current State: 66:[51, 16, 14, 81], Operations: [] Exploring Operation: 51+81=132, Resulting Numbers: [16, 14, 132] Generated Node #2: [16, 14, 132] from Operation: 51+81=132 Current State: 66:[16, 14, 132], Operations: ['51+81=132'] Exploring Operation: 16-14=2, Resulting Numbers: [132, 2] Generated Node #3: [132, 2] from Operation: 16-14=2 Current State: 66:[132, 2], Operations: ['51+81=132', '16-14=2'] Exploring Operation: 132/2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[51, 16, 14, 81], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [16, 14, 30] Generated Node #0,0: 66:[16, 14, 30] Operation: 81-51=30 Exploring Operation: 51+16=67, Resulting Numbers: [14, 81, 67] Generated Node #0,1: 66:[14, 81, 67] Operation: 51+16=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[16, 14, 30], Operations: ['81-51=30'] Exploring Operation: 16-14=2, Resulting Numbers: [30, 2] Generated Node #0,0,0: 66:[30, 2] Operation: 16-14=2 Exploring Operation: 16+14=30, Resulting Numbers: [30, 30] Generated Node #0,0,1: 66:[30, 30] Operation: 16+14=30 Moving to Node #0,0,0 Current State: 66:[30, 2], Operations: ['81-51=30', '16-14=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[30, 30], Operations: ['81-51=30', '16+14=30'] Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,66 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[14, 81, 67], Operations: ['51+16=67'] Exploring Operation: 81-67=14, Resulting Numbers: [14, 14] Generated Node #0,1,0: 66:[14, 14] Operation: 81-67=14 Exploring Operation: 81-14=67, Resulting Numbers: [67, 67] Generated Node #0,1,1: 66:[67, 67] Operation: 81-14=67 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[67, 67], Operations: ['51+16=67', '81-14=67'] Exploring Operation: 67/67=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 67-67=0, Resulting Numbers: [0] 0,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[14, 14], Operations: ['51+16=67', '81-67=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 55, 17, 97, 72 ]
96
[ "55+17=72", "72/72=1", "97-1=96" ]
Current State: 96:[55, 17, 97, 72], Operations: [] Exploring Operation: 55+17=72, Resulting Numbers: [97, 72, 72] Generated Node #2: [97, 72, 72] from Operation: 55+17=72 Current State: 96:[97, 72, 72], Operations: ['55+17=72'] Exploring Operation: 72/72=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 72/72=1 Current State: 96:[97, 1], Operations: ['55+17=72', '72/72=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[55, 17, 97, 72], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [55, 97, 55] Generated Node #0,0: 96:[55, 97, 55] Operation: 72-17=55 Exploring Operation: 55-17=38, Resulting Numbers: [97, 72, 38] Generated Node #0,1: 96:[97, 72, 38] Operation: 55-17=38 Exploring Operation: 97-72=25, Resulting Numbers: [55, 17, 25] Generated Node #0,2: 96:[55, 17, 25] Operation: 97-72=25 Exploring Operation: 17+72=89, Resulting Numbers: [55, 97, 89] Generated Node #0,3: 96:[55, 97, 89] Operation: 17+72=89 Exploring Operation: 72-55=17, Resulting Numbers: [17, 97, 17] Generated Node #0,4: 96:[17, 97, 17] Operation: 72-55=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[17, 97, 17], Operations: ['72-55=17'] Exploring Operation: 97-17=80, Resulting Numbers: [17, 80] Generated Node #0,4,0: 96:[17, 80] Operation: 97-17=80 Exploring Operation: 17+17=34, Resulting Numbers: [97, 34] Generated Node #0,4,1: 96:[97, 34] Operation: 17+17=34 Exploring Operation: 17-17=0, Resulting Numbers: [97, 0] Generated Node #0,4,2: 96:[97, 0] Operation: 17-17=0 Exploring Operation: 17/17=1, Resulting Numbers: [97, 1] Generated Node #0,4,3: 96:[97, 1] Operation: 17/17=1 Exploring Operation: 97-17=80, Resulting Numbers: [17, 80] Generated Node #0,4,4: 96:[17, 80] Operation: 97-17=80 Moving to Node #0,4,3 Current State: 96:[97, 1], Operations: ['72-55=17', '17/17=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[55, 17, 97, 72], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [17, 97, 17] Generated Node #0,4: 96:[17, 97, 17] Operation: 72-55=17 Moving to Node #0,4 Current State: 96:[17, 97, 17], Operations: ['72-55=17'] Exploring Operation: 17/17=1, Resulting Numbers: [97, 1] Generated Node #0,4,3: 96:[97, 1] Operation: 17/17=1 Moving to Node #0,4,3 Current State: 96:[97, 1], Operations: ['72-55=17', '17/17=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 40, 22, 2, 5 ]
41
[ "40-22=18", "2*18=36", "5+36=41" ]
Current State: 41:[40, 22, 2, 5], Operations: [] Exploring Operation: 40-22=18, Resulting Numbers: [2, 5, 18] Generated Node #2: [2, 5, 18] from Operation: 40-22=18 Current State: 41:[2, 5, 18], Operations: ['40-22=18'] Exploring Operation: 2*18=36, Resulting Numbers: [5, 36] Generated Node #3: [5, 36] from Operation: 2*18=36 Current State: 41:[5, 36], Operations: ['40-22=18', '2*18=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[40, 22, 2, 5], Operations: [] Exploring Operation: 22+2=24, Resulting Numbers: [40, 5, 24] Generated Node #0,0: 41:[40, 5, 24] Operation: 22+2=24 Exploring Operation: 2*5=10, Resulting Numbers: [40, 22, 10] Generated Node #0,1: 41:[40, 22, 10] Operation: 2*5=10 Exploring Operation: 22+5=27, Resulting Numbers: [40, 2, 27] Generated Node #0,2: 41:[40, 2, 27] Operation: 22+5=27 Exploring Operation: 2+5=7, Resulting Numbers: [40, 22, 7] Generated Node #0,3: 41:[40, 22, 7] Operation: 2+5=7 Exploring Operation: 22*2=44, Resulting Numbers: [40, 5, 44] Generated Node #0,4: 41:[40, 5, 44] Operation: 22*2=44 Moving to Node #0,4 Current State: 41:[40, 5, 44], Operations: ['22*2=44'] Exploring Operation: 5+44=49, Resulting Numbers: [40, 49] Generated Node #0,4,0: 41:[40, 49] Operation: 5+44=49 Exploring Operation: 40/5=8, Resulting Numbers: [44, 8] Generated Node #0,4,1: 41:[44, 8] Operation: 40/5=8 Exploring Operation: 44-5=39, Resulting Numbers: [40, 39] Generated Node #0,4,2: 41:[40, 39] Operation: 44-5=39 Exploring Operation: 40+5=45, Resulting Numbers: [44, 45] Generated Node #0,4,3: 41:[44, 45] Operation: 40+5=45 Exploring Operation: 40-5=35, Resulting Numbers: [44, 35] Generated Node #0,4,4: 41:[44, 35] Operation: 40-5=35 Moving to Node #0,1 Current State: 41:[40, 22, 10], Operations: ['2*5=10'] Exploring Operation: 22-10=12, Resulting Numbers: [40, 12] Generated Node #0,1,0: 41:[40, 12] Operation: 22-10=12 Exploring Operation: 22+10=32, Resulting Numbers: [40, 32] Generated Node #0,1,1: 41:[40, 32] Operation: 22+10=32 Exploring Operation: 40+22=62, Resulting Numbers: [10, 62] Generated Node #0,1,2: 41:[10, 62] Operation: 40+22=62 Exploring Operation: 40+10=50, Resulting Numbers: [22, 50] Generated Node #0,1,3: 41:[22, 50] Operation: 40+10=50 Exploring Operation: 40-10=30, Resulting Numbers: [22, 30] Generated Node #0,1,4: 41:[22, 30] Operation: 40-10=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[40, 32], Operations: ['2*5=10', '22+10=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,41 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[22, 50], Operations: ['2*5=10', '40+10=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[40, 12], Operations: ['2*5=10', '22-10=12'] Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 41:[22, 30], Operations: ['2*5=10', '40-10=30'] Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,41 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[10, 62], Operations: ['2*5=10', '40+22=62'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,41 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: 41:[40, 5, 24], Operations: ['22+2=24'] Exploring Operation: 40-5=35, Resulting Numbers: [24, 35] Generated Node #0,0,0: 41:[24, 35] Operation: 40-5=35 Exploring Operation: 40/5=8, Resulting Numbers: [24, 8] Generated Node #0,0,1: 41:[24, 8] Operation: 40/5=8 Exploring Operation: 40+5=45, Resulting Numbers: [24, 45] Generated Node #0,0,2: 41:[24, 45] Operation: 40+5=45 Exploring Operation: 24-5=19, Resulting Numbers: [40, 19] Generated Node #0,0,3: 41:[40, 19] Operation: 24-5=19 Exploring Operation: 5+24=29, Resulting Numbers: [40, 29] Generated Node #0,0,4: 41:[40, 29] Operation: 5+24=29 Moving to Node #0,2 Current State: 41:[40, 2, 27], Operations: ['22+5=27'] Exploring Operation: 27-2=25, Resulting Numbers: [40, 25] Generated Node #0,2,0: 41:[40, 25] Operation: 27-2=25 Exploring Operation: 2+27=29, Resulting Numbers: [40, 29] Generated Node #0,2,1: 41:[40, 29] Operation: 2+27=29 Exploring Operation: 40-2=38, Resulting Numbers: [27, 38] Generated Node #0,2,2: 41:[27, 38] Operation: 40-2=38 Exploring Operation: 2*27=54, Resulting Numbers: [40, 54] Generated Node #0,2,3: 41:[40, 54] Operation: 2*27=54 Exploring Operation: 40+2=42, Resulting Numbers: [27, 42] Generated Node #0,2,4: 41:[27, 42] Operation: 40+2=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[40, 29], Operations: ['22+5=27', '2+27=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,41 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[40, 54], Operations: ['22+5=27', '2*27=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,41 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 41:[27, 42], Operations: ['22+5=27', '40+2=42'] Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 27*42=1134, Resulting Numbers: [1134] 1134,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[40, 25], Operations: ['22+5=27', '27-2=25'] Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,41 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[27, 38], Operations: ['22+5=27', '40-2=38'] Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,41 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: 41:[40, 22, 7], Operations: ['2+5=7'] Exploring Operation: 22-7=15, Resulting Numbers: [40, 15] Generated Node #0,3,0: 41:[40, 15] Operation: 22-7=15 Exploring Operation: 40+22=62, Resulting Numbers: [7, 62] Generated Node #0,3,1: 41:[7, 62] Operation: 40+22=62 Exploring Operation: 40+7=47, Resulting Numbers: [22, 47] Generated Node #0,3,2: 41:[22, 47] Operation: 40+7=47 Exploring Operation: 22+7=29, Resulting Numbers: [40, 29] Generated Node #0,3,3: 41:[40, 29] Operation: 22+7=29 Exploring Operation: 40-7=33, Resulting Numbers: [22, 33] Generated Node #0,3,4: 41:[22, 33] Operation: 40-7=33 Moving to Node #0,4,2 Current State: 41:[40, 39], Operations: ['22*2=44', '44-5=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,41 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[44, 45], Operations: ['22*2=44', '40+5=45'] Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,41 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[40, 49], Operations: ['22*2=44', '5+44=49'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[44, 35], Operations: ['22*2=44', '40-5=35'] Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,41 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[40, 29], Operations: ['22+2=24', '5+24=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[40, 29], Operations: ['2+5=7', '22+7=29'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[24, 45], Operations: ['22+2=24', '40+5=45'] Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[40, 19], Operations: ['22+2=24', '24-5=19'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[24, 35], Operations: ['22+2=24', '40-5=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[22, 47], Operations: ['2+5=7', '40+7=47'] Exploring Operation: 22*47=1034, Resulting Numbers: [1034] 1034,41 unequal: No Solution Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,41 unequal: No Solution Moving to Node #0,3,4 Current State: 41:[22, 33], Operations: ['2+5=7', '40-7=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[40, 15], Operations: ['2+5=7', '22-7=15'] Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,41 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[44, 8], Operations: ['22*2=44', '40/5=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[24, 8], Operations: ['22+2=24', '40/5=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,41 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[7, 62], Operations: ['2+5=7', '40+22=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,41 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 16, 7, 5, 13 ]
38
[ "16-13=3", "7*5=35", "3+35=38" ]
Current State: 38:[16, 7, 5, 13], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [7, 5, 3] Generated Node #2: [7, 5, 3] from Operation: 16-13=3 Current State: 38:[7, 5, 3], Operations: ['16-13=3'] Exploring Operation: 7*5=35, Resulting Numbers: [3, 35] Generated Node #3: [3, 35] from Operation: 7*5=35 Current State: 38:[3, 35], Operations: ['16-13=3', '7*5=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[16, 7, 5, 13], Operations: [] Exploring Operation: 7+13=20, Resulting Numbers: [16, 5, 20] Generated Node #0,0: 38:[16, 5, 20] Operation: 7+13=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[16, 5, 20], Operations: ['7+13=20'] Exploring Operation: 16+5=21, Resulting Numbers: [20, 21] Generated Node #0,0,0: 38:[20, 21] Operation: 16+5=21 Moving to Node #0,0,0 Current State: 38:[20, 21], Operations: ['7+13=20', '16+5=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 52, 10, 17, 25 ]
28
[ "25-17=8", "10*8=80", "80-52=28" ]
Current State: 28:[52, 10, 17, 25], Operations: [] Exploring Operation: 25-17=8, Resulting Numbers: [52, 10, 8] Generated Node #2: [52, 10, 8] from Operation: 25-17=8 Current State: 28:[52, 10, 8], Operations: ['25-17=8'] Exploring Operation: 10*8=80, Resulting Numbers: [52, 80] Generated Node #3: [52, 80] from Operation: 10*8=80 Current State: 28:[52, 80], Operations: ['25-17=8', '10*8=80'] Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[52, 10, 17, 25], Operations: [] Exploring Operation: 52-25=27, Resulting Numbers: [10, 17, 27] Generated Node #0,0: 28:[10, 17, 27] Operation: 52-25=27 Exploring Operation: 17-10=7, Resulting Numbers: [52, 25, 7] Generated Node #0,1: 28:[52, 25, 7] Operation: 17-10=7 Exploring Operation: 52-10=42, Resulting Numbers: [17, 25, 42] Generated Node #0,2: 28:[17, 25, 42] Operation: 52-10=42 Exploring Operation: 52-17=35, Resulting Numbers: [10, 25, 35] Generated Node #0,3: 28:[10, 25, 35] Operation: 52-17=35 Moving to Node #0,0 Current State: 28:[10, 17, 27], Operations: ['52-25=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17, 17] Generated Node #0,0,0: 28:[17, 17] Operation: 27-10=17 Exploring Operation: 10+17=27, Resulting Numbers: [27, 27] Generated Node #0,0,1: 28:[27, 27] Operation: 10+17=27 Exploring Operation: 27-17=10, Resulting Numbers: [10, 10] Generated Node #0,0,2: 28:[10, 10] Operation: 27-17=10 Exploring Operation: 17-10=7, Resulting Numbers: [27, 7] Generated Node #0,0,3: 28:[27, 7] Operation: 17-10=7 Moving to Node #0,3 Current State: 28:[10, 25, 35], Operations: ['52-17=35'] Exploring Operation: 25-10=15, Resulting Numbers: [35, 15] Generated Node #0,3,0: 28:[35, 15] Operation: 25-10=15 Exploring Operation: 10+25=35, Resulting Numbers: [35, 35] Generated Node #0,3,1: 28:[35, 35] Operation: 10+25=35 Exploring Operation: 35-10=25, Resulting Numbers: [25, 25] Generated Node #0,3,2: 28:[25, 25] Operation: 35-10=25 Exploring Operation: 35-25=10, Resulting Numbers: [10, 10] Generated Node #0,3,3: 28:[10, 10] Operation: 35-25=10 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 28:[25, 25], Operations: ['52-17=35', '35-10=25'] Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,28 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[10, 10], Operations: ['52-17=35', '35-25=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[35, 15], Operations: ['52-17=35', '25-10=15'] Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,28 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[35, 35], Operations: ['52-17=35', '10+25=35'] Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,28 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: 28:[17, 25, 42], Operations: ['52-10=42'] Exploring Operation: 17+25=42, Resulting Numbers: [42, 42] Generated Node #0,2,0: 28:[42, 42] Operation: 17+25=42 Exploring Operation: 25-17=8, Resulting Numbers: [42, 8] Generated Node #0,2,1: 28:[42, 8] Operation: 25-17=8 Exploring Operation: 42-17=25, Resulting Numbers: [25, 25] Generated Node #0,2,2: 28:[25, 25] Operation: 42-17=25 Exploring Operation: 42-25=17, Resulting Numbers: [17, 17] Generated Node #0,2,3: 28:[17, 17] Operation: 42-25=17 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[25, 25], Operations: ['52-10=42', '42-17=25'] Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,28 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[17, 17], Operations: ['52-10=42', '42-25=17'] Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,28 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[42, 8], Operations: ['52-10=42', '25-17=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,28 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[42, 42], Operations: ['52-10=42', '17+25=42'] Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,28 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,28 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: 28:[52, 25, 7], Operations: ['17-10=7'] Exploring Operation: 25-7=18, Resulting Numbers: [52, 18] Generated Node #0,1,0: 28:[52, 18] Operation: 25-7=18 Exploring Operation: 52-25=27, Resulting Numbers: [7, 27] Generated Node #0,1,1: 28:[7, 27] Operation: 52-25=27 Exploring Operation: 25+7=32, Resulting Numbers: [52, 32] Generated Node #0,1,2: 28:[52, 32] Operation: 25+7=32 Exploring Operation: 52-7=45, Resulting Numbers: [25, 45] Generated Node #0,1,3: 28:[25, 45] Operation: 52-7=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[7, 27], Operations: ['17-10=7', '52-25=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[25, 45], Operations: ['17-10=7', '52-7=45'] Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[52, 18], Operations: ['17-10=7', '25-7=18'] Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,28 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[52, 32], Operations: ['17-10=7', '25+7=32'] Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,28 unequal: No Solution Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,28 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 28:[27, 7], Operations: ['52-25=27', '17-10=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,28 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[27, 27], Operations: ['52-25=27', '10+17=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 27*27=729, Resulting Numbers: [729] 729,28 unequal: No Solution Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[10, 10], Operations: ['52-25=27', '27-17=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[17, 17], Operations: ['52-25=27', '27-10=17'] Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,28 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,28 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 27, 19, 64, 3 ]
59
[ "27-19=8", "64+3=67", "67-8=59" ]
Current State: 59:[27, 19, 64, 3], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [64, 3, 8] Generated Node #2: [64, 3, 8] from Operation: 27-19=8 Current State: 59:[64, 3, 8], Operations: ['27-19=8'] Exploring Operation: 64+3=67, Resulting Numbers: [8, 67] Generated Node #3: [8, 67] from Operation: 64+3=67 Current State: 59:[8, 67], Operations: ['27-19=8', '64+3=67'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[27, 19, 64, 3], Operations: [] Exploring Operation: 19*3=57, Resulting Numbers: [27, 64, 57] Generated Node #0,0: 59:[27, 64, 57] Operation: 19*3=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[27, 64, 57], Operations: ['19*3=57'] Exploring Operation: 64-27=37, Resulting Numbers: [57, 37] Generated Node #0,0,0: 59:[57, 37] Operation: 64-27=37 Moving to Node #0,0,0 Current State: 59:[57, 37], Operations: ['19*3=57', '64-27=37'] Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,59 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
[ 36, 93, 69, 6 ]
54
[ "36+93=129", "69+6=75", "129-75=54" ]
Current State: 54:[36, 93, 69, 6], Operations: [] Exploring Operation: 36+93=129, Resulting Numbers: [69, 6, 129] Generated Node #2: [69, 6, 129] from Operation: 36+93=129 Current State: 54:[69, 6, 129], Operations: ['36+93=129'] Exploring Operation: 69+6=75, Resulting Numbers: [129, 75] Generated Node #3: [129, 75] from Operation: 69+6=75 Current State: 54:[129, 75], Operations: ['36+93=129', '69+6=75'] Exploring Operation: 129-75=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[36, 93, 69, 6], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [36, 6, 24] Generated Node #0,0: 54:[36, 6, 24] Operation: 93-69=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[36, 6, 24], Operations: ['93-69=24'] Exploring Operation: 36/6=6, Resulting Numbers: [24, 6] Generated Node #0,0,0: 54:[24, 6] Operation: 36/6=6 Moving to Node #0,0,0 Current State: 54:[24, 6], Operations: ['93-69=24', '36/6=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 78, 82, 70, 80 ]
92
[ "78-70=8", "80/8=10", "82+10=92" ]
Current State: 92:[78, 82, 70, 80], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [82, 80, 8] Generated Node #2: [82, 80, 8] from Operation: 78-70=8 Current State: 92:[82, 80, 8], Operations: ['78-70=8'] Exploring Operation: 80/8=10, Resulting Numbers: [82, 10] Generated Node #3: [82, 10] from Operation: 80/8=10 Current State: 92:[82, 10], Operations: ['78-70=8', '80/8=10'] Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[78, 82, 70, 80], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [82, 70, 2] Generated Node #0,0: 92:[82, 70, 2] Operation: 80-78=2 Exploring Operation: 80-70=10, Resulting Numbers: [78, 82, 10] Generated Node #0,1: 92:[78, 82, 10] Operation: 80-70=10 Exploring Operation: 82-70=12, Resulting Numbers: [78, 80, 12] Generated Node #0,2: 92:[78, 80, 12] Operation: 82-70=12 Exploring Operation: 78-70=8, Resulting Numbers: [82, 80, 8] Generated Node #0,3: 92:[82, 80, 8] Operation: 78-70=8 Exploring Operation: 82-78=4, Resulting Numbers: [70, 80, 4] Generated Node #0,4: 92:[70, 80, 4] Operation: 82-78=4 Moving to Node #0,3 Current State: 92:[82, 80, 8], Operations: ['78-70=8'] Exploring Operation: 82-8=74, Resulting Numbers: [80, 74] Generated Node #0,3,0: 92:[80, 74] Operation: 82-8=74 Exploring Operation: 80/8=10, Resulting Numbers: [82, 10] Generated Node #0,3,1: 92:[82, 10] Operation: 80/8=10 Exploring Operation: 82+8=90, Resulting Numbers: [80, 90] Generated Node #0,3,2: 92:[80, 90] Operation: 82+8=90 Exploring Operation: 80+8=88, Resulting Numbers: [82, 88] Generated Node #0,3,3: 92:[82, 88] Operation: 80+8=88 Exploring Operation: 82-80=2, Resulting Numbers: [8, 2] Generated Node #0,3,4: 92:[8, 2] Operation: 82-80=2 Moving to Node #0,1 Current State: 92:[78, 82, 10], Operations: ['80-70=10'] Exploring Operation: 78+10=88, Resulting Numbers: [82, 88] Generated Node #0,1,0: 92:[82, 88] Operation: 78+10=88 Exploring Operation: 82+10=92, Resulting Numbers: [78, 92] Generated Node #0,1,1: 92:[78, 92] Operation: 82+10=92 Exploring Operation: 78-10=68, Resulting Numbers: [82, 68] Generated Node #0,1,2: 92:[82, 68] Operation: 78-10=68 Exploring Operation: 82-78=4, Resulting Numbers: [10, 4] Generated Node #0,1,3: 92:[10, 4] Operation: 82-78=4 Exploring Operation: 82-10=72, Resulting Numbers: [78, 72] Generated Node #0,1,4: 92:[78, 72] Operation: 82-10=72 Moving to Node #0,0 Current State: 92:[82, 70, 2], Operations: ['80-78=2'] Exploring Operation: 70/2=35, Resulting Numbers: [82, 35] Generated Node #0,0,0: 92:[82, 35] Operation: 70/2=35 Exploring Operation: 82+2=84, Resulting Numbers: [70, 84] Generated Node #0,0,1: 92:[70, 84] Operation: 82+2=84 Exploring Operation: 82/2=41, Resulting Numbers: [70, 41] Generated Node #0,0,2: 92:[70, 41] Operation: 82/2=41 Exploring Operation: 82-70=12, Resulting Numbers: [2, 12] Generated Node #0,0,3: 92:[2, 12] Operation: 82-70=12 Exploring Operation: 70+2=72, Resulting Numbers: [82, 72] Generated Node #0,0,4: 92:[82, 72] Operation: 70+2=72 Moving to Node #0,2 Current State: 92:[78, 80, 12], Operations: ['82-70=12'] Exploring Operation: 78+12=90, Resulting Numbers: [80, 90] Generated Node #0,2,0: 92:[80, 90] Operation: 78+12=90 Exploring Operation: 80-78=2, Resulting Numbers: [12, 2] Generated Node #0,2,1: 92:[12, 2] Operation: 80-78=2 Exploring Operation: 78-12=66, Resulting Numbers: [80, 66] Generated Node #0,2,2: 92:[80, 66] Operation: 78-12=66 Exploring Operation: 80-12=68, Resulting Numbers: [78, 68] Generated Node #0,2,3: 92:[78, 68] Operation: 80-12=68 Exploring Operation: 80+12=92, Resulting Numbers: [78, 92] Generated Node #0,2,4: 92:[78, 92] Operation: 80+12=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[12, 2], Operations: ['82-70=12', '80-78=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[80, 90], Operations: ['82-70=12', '78+12=90'] Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,92 unequal: No Solution Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 92:[78, 92], Operations: ['82-70=12', '80+12=92'] Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,92 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,92 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[80, 66], Operations: ['82-70=12', '78-12=66'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 80*66=5280, Resulting Numbers: [5280] 5280,92 unequal: No Solution Exploring Operation: 80+66=146, Resulting Numbers: [146] 146,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[78, 68], Operations: ['82-70=12', '80-12=68'] Exploring Operation: 78+68=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 78*68=5304, Resulting Numbers: [5304] 5304,92 unequal: No Solution Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,92 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: 92:[70, 80, 4], Operations: ['82-78=4'] Exploring Operation: 70-4=66, Resulting Numbers: [80, 66] Generated Node #0,4,0: 92:[80, 66] Operation: 70-4=66 Exploring Operation: 80+4=84, Resulting Numbers: [70, 84] Generated Node #0,4,1: 92:[70, 84] Operation: 80+4=84 Exploring Operation: 70+4=74, Resulting Numbers: [80, 74] Generated Node #0,4,2: 92:[80, 74] Operation: 70+4=74 Exploring Operation: 80/4=20, Resulting Numbers: [70, 20] Generated Node #0,4,3: 92:[70, 20] Operation: 80/4=20 Exploring Operation: 80-70=10, Resulting Numbers: [4, 10] Generated Node #0,4,4: 92:[4, 10] Operation: 80-70=10 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 92:[4, 10], Operations: ['82-78=4', '80-70=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 92:[70, 20], Operations: ['82-78=4', '80/4=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,92 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 92:[70, 84], Operations: ['82-78=4', '80+4=84'] Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,92 unequal: No Solution Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,92 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 92:[80, 74], Operations: ['82-78=4', '70+4=74'] Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,92 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,92 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 92:[80, 66], Operations: ['82-78=4', '70-4=66'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 80*66=5280, Resulting Numbers: [5280] 5280,92 unequal: No Solution Exploring Operation: 80+66=146, Resulting Numbers: [146] 146,92 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: 92:[8, 2], Operations: ['78-70=8', '82-80=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[10, 4], Operations: ['80-70=10', '82-78=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[2, 12], Operations: ['80-78=2', '82-70=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[82, 88], Operations: ['80-70=10', '78+10=88'] Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,92 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[82, 88], Operations: ['78-70=8', '80+8=88'] Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,92 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[80, 90], Operations: ['78-70=8', '82+8=90'] Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,92 unequal: No Solution Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,92 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[78, 92], Operations: ['80-70=10', '82+10=92'] Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,92 unequal: No Solution Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[82, 10], Operations: ['78-70=8', '80/8=10'] Exploring Operation: 82*10=820, Resulting Numbers: [820] 820,92 unequal: No Solution Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[78, 82, 70, 80], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [82, 80, 8] Generated Node #0,3: 92:[82, 80, 8] Operation: 78-70=8 Moving to Node #0,3 Current State: 92:[82, 80, 8], Operations: ['78-70=8'] Exploring Operation: 80/8=10, Resulting Numbers: [82, 10] Generated Node #0,3,1: 92:[82, 10] Operation: 80/8=10 Moving to Node #0,3,1 Current State: 92:[82, 10], Operations: ['78-70=8', '80/8=10'] Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.921875
hs_5
mult_heuristic
[ 63, 67, 38, 76 ]
57
[ "67-63=4", "76/4=19", "38+19=57" ]
Current State: 57:[63, 67, 38, 76], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [38, 76, 4] Generated Node #2: [38, 76, 4] from Operation: 67-63=4 Current State: 57:[38, 76, 4], Operations: ['67-63=4'] Exploring Operation: 76/4=19, Resulting Numbers: [38, 19] Generated Node #3: [38, 19] from Operation: 76/4=19 Current State: 57:[38, 19], Operations: ['67-63=4', '76/4=19'] Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[63, 67, 38, 76], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [63, 67, 2] Generated Node #0,0: 57:[63, 67, 2] Operation: 76/38=2 Exploring Operation: 76-67=9, Resulting Numbers: [63, 38, 9] Generated Node #0,1: 57:[63, 38, 9] Operation: 76-67=9 Moving to Node #0,0 Current State: 57:[63, 67, 2], Operations: ['76/38=2'] Exploring Operation: 67-63=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 57:[2, 4] Operation: 67-63=4 Exploring Operation: 63-2=61, Resulting Numbers: [67, 61] Generated Node #0,0,1: 57:[67, 61] Operation: 63-2=61 Moving to Node #0,1 Current State: 57:[63, 38, 9], Operations: ['76-67=9'] Exploring Operation: 38+9=47, Resulting Numbers: [63, 47] Generated Node #0,1,0: 57:[63, 47] Operation: 38+9=47 Exploring Operation: 63-38=25, Resulting Numbers: [9, 25] Generated Node #0,1,1: 57:[9, 25] Operation: 63-38=25 Moving to Node #0,0,0 Current State: 57:[2, 4], Operations: ['76/38=2', '67-63=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[9, 25], Operations: ['76-67=9', '63-38=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[67, 61], Operations: ['76/38=2', '63-2=61'] Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,57 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[63, 47], Operations: ['76-67=9', '38+9=47'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,57 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 60, 81, 8, 69 ]
17
[ "69-60=9", "81/9=9", "8+9=17" ]
Current State: 17:[60, 81, 8, 69], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [81, 8, 9] Generated Node #2: [81, 8, 9] from Operation: 69-60=9 Current State: 17:[81, 8, 9], Operations: ['69-60=9'] Exploring Operation: 81/9=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 81/9=9 Current State: 17:[8, 9], Operations: ['69-60=9', '81/9=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[60, 81, 8, 69], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [60, 8, 12] Generated Node #0,0: 17:[60, 8, 12] Operation: 81-69=12 Moving to Node #0,0 Current State: 17:[60, 8, 12], Operations: ['81-69=12'] Exploring Operation: 60/12=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 17:[8, 5] Operation: 60/12=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[8, 5], Operations: ['81-69=12', '60/12=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 48, 42, 23, 9 ]
63
[ "48*42=2016", "23+9=32", "2016/32=63" ]
Current State: 63:[48, 42, 23, 9], Operations: [] Exploring Operation: 48*42=2016, Resulting Numbers: [23, 9, 2016] Generated Node #2: [23, 9, 2016] from Operation: 48*42=2016 Current State: 63:[23, 9, 2016], Operations: ['48*42=2016'] Exploring Operation: 23+9=32, Resulting Numbers: [2016, 32] Generated Node #3: [2016, 32] from Operation: 23+9=32 Current State: 63:[2016, 32], Operations: ['48*42=2016', '23+9=32'] Exploring Operation: 2016/32=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[48, 42, 23, 9], Operations: [] Exploring Operation: 48-42=6, Resulting Numbers: [23, 9, 6] Generated Node #0,0: 63:[23, 9, 6] Operation: 48-42=6 Moving to Node #0,0 Current State: 63:[23, 9, 6], Operations: ['48-42=6'] Exploring Operation: 9-6=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 63:[23, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[23, 3], Operations: ['48-42=6', '9-6=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 32, 60, 38 ]
21
[ "32+38=70", "18*70=1260", "1260/60=21" ]
Current State: 21:[18, 32, 60, 38], Operations: [] Exploring Operation: 32+38=70, Resulting Numbers: [18, 60, 70] Generated Node #2: [18, 60, 70] from Operation: 32+38=70 Current State: 21:[18, 60, 70], Operations: ['32+38=70'] Exploring Operation: 18*70=1260, Resulting Numbers: [60, 1260] Generated Node #3: [60, 1260] from Operation: 18*70=1260 Current State: 21:[60, 1260], Operations: ['32+38=70', '18*70=1260'] Exploring Operation: 1260/60=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[18, 32, 60, 38], Operations: [] Exploring Operation: 60-32=28, Resulting Numbers: [18, 38, 28] Generated Node #0,0: 21:[18, 38, 28] Operation: 60-32=28 Exploring Operation: 38-32=6, Resulting Numbers: [18, 60, 6] Generated Node #0,1: 21:[18, 60, 6] Operation: 38-32=6 Exploring Operation: 60-38=22, Resulting Numbers: [18, 32, 22] Generated Node #0,2: 21:[18, 32, 22] Operation: 60-38=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[18, 32, 22], Operations: ['60-38=22'] Exploring Operation: 32-18=14, Resulting Numbers: [22, 14] Generated Node #0,2,0: 21:[22, 14] Operation: 32-18=14 Exploring Operation: 22-18=4, Resulting Numbers: [32, 4] Generated Node #0,2,1: 21:[32, 4] Operation: 22-18=4 Exploring Operation: 32-22=10, Resulting Numbers: [18, 10] Generated Node #0,2,2: 21:[18, 10] Operation: 32-22=10 Moving to Node #0,2,2 Current State: 21:[18, 10], Operations: ['60-38=22', '32-22=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[22, 14], Operations: ['60-38=22', '32-18=14'] Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,21 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[32, 4], Operations: ['60-38=22', '22-18=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,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,0 Current State: 21:[18, 38, 28], Operations: ['60-32=28'] Exploring Operation: 38-18=20, Resulting Numbers: [28, 20] Generated Node #0,0,0: 21:[28, 20] Operation: 38-18=20 Exploring Operation: 38-28=10, Resulting Numbers: [18, 10] Generated Node #0,0,1: 21:[18, 10] Operation: 38-28=10 Exploring Operation: 28-18=10, Resulting Numbers: [38, 10] Generated Node #0,0,2: 21:[38, 10] Operation: 28-18=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[18, 10], Operations: ['60-32=28', '38-28=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,21 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[28, 20], Operations: ['60-32=28', '38-18=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[38, 10], Operations: ['60-32=28', '28-18=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,21 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[18, 60, 6], Operations: ['38-32=6'] Exploring Operation: 60-6=54, Resulting Numbers: [18, 54] Generated Node #0,1,0: 21:[18, 54] Operation: 60-6=54 Exploring Operation: 60-18=42, Resulting Numbers: [6, 42] Generated Node #0,1,1: 21:[6, 42] Operation: 60-18=42 Exploring Operation: 60/6=10, Resulting Numbers: [18, 10] Generated Node #0,1,2: 21:[18, 10] Operation: 60/6=10 Moving to Node #0,1,2 Current State: 21:[18, 10], Operations: ['38-32=6', '60/6=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,21 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[6, 42], Operations: ['38-32=6', '60-18=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[18, 54], Operations: ['38-32=6', '60-6=54'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,21 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
[ 2, 83, 13, 65 ]
33
[ "2+83=85", "65-13=52", "85-52=33" ]
Current State: 33:[2, 83, 13, 65], Operations: [] Exploring Operation: 2+83=85, Resulting Numbers: [13, 65, 85] Generated Node #2: [13, 65, 85] from Operation: 2+83=85 Current State: 33:[13, 65, 85], Operations: ['2+83=85'] Exploring Operation: 65-13=52, Resulting Numbers: [85, 52] Generated Node #3: [85, 52] from Operation: 65-13=52 Current State: 33:[85, 52], Operations: ['2+83=85', '65-13=52'] Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[2, 83, 13, 65], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [2, 83, 5] Generated Node #0,0: 33:[2, 83, 5] Operation: 65/13=5 Exploring Operation: 83-13=70, Resulting Numbers: [2, 65, 70] Generated Node #0,1: 33:[2, 65, 70] Operation: 83-13=70 Exploring Operation: 83-2=81, Resulting Numbers: [13, 65, 81] Generated Node #0,2: 33:[13, 65, 81] Operation: 83-2=81 Exploring Operation: 65-13=52, Resulting Numbers: [2, 83, 52] Generated Node #0,3: 33:[2, 83, 52] Operation: 65-13=52 Exploring Operation: 83-65=18, Resulting Numbers: [2, 13, 18] Generated Node #0,4: 33:[2, 13, 18] Operation: 83-65=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[2, 13, 18], Operations: ['83-65=18'] Exploring Operation: 13+18=31, Resulting Numbers: [2, 31] Generated Node #0,4,0: 33:[2, 31] Operation: 13+18=31 Exploring Operation: 13-2=11, Resulting Numbers: [18, 11] Generated Node #0,4,1: 33:[18, 11] Operation: 13-2=11 Exploring Operation: 18-13=5, Resulting Numbers: [2, 5] Generated Node #0,4,2: 33:[2, 5] Operation: 18-13=5 Exploring Operation: 2*18=36, Resulting Numbers: [13, 36] Generated Node #0,4,3: 33:[13, 36] Operation: 2*18=36 Exploring Operation: 18/2=9, Resulting Numbers: [13, 9] Generated Node #0,4,4: 33:[13, 9] Operation: 18/2=9 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 33:[2, 31], Operations: ['83-65=18', '13+18=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[2, 83, 13, 65], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [2, 13, 18] Generated Node #0,4: 33:[2, 13, 18] Operation: 83-65=18 Moving to Node #0,4 Current State: 33:[2, 13, 18], Operations: ['83-65=18'] Exploring Operation: 13+18=31, Resulting Numbers: [2, 31] Generated Node #0,4,0: 33:[2, 31] Operation: 13+18=31 Moving to Node #0,4,0 Current State: 33:[2, 31], Operations: ['83-65=18', '13+18=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 12, 11, 15, 23 ]
31
[ "12+11=23", "23-15=8", "23+8=31" ]
Current State: 31:[12, 11, 15, 23], Operations: [] Exploring Operation: 12+11=23, Resulting Numbers: [15, 23, 23] Generated Node #2: [15, 23, 23] from Operation: 12+11=23 Current State: 31:[15, 23, 23], Operations: ['12+11=23'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,31 equal: Goal Reached Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[12, 11, 15, 23], Operations: [] Exploring Operation: 12+11=23, Resulting Numbers: [15, 23, 23] Generated Node #0,0: 31:[15, 23, 23] Operation: 12+11=23 Exploring Operation: 12+15=27, Resulting Numbers: [11, 23, 27] Generated Node #0,1: 31:[11, 23, 27] Operation: 12+15=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[15, 23, 23], Operations: ['12+11=23'] Exploring Operation: 15+23=38, Resulting Numbers: [23, 38] Generated Node #0,0,0: 31:[23, 38] Operation: 15+23=38 Exploring Operation: 15+23=38, Resulting Numbers: [23, 38] Generated Node #0,0,1: 31:[23, 38] Operation: 15+23=38 Moving to Node #0,0,0 Current State: 31:[23, 38], Operations: ['12+11=23', '15+23=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[23, 38], Operations: ['12+11=23', '15+23=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,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 Current State: 31:[11, 23, 27], Operations: ['12+15=27'] Exploring Operation: 11+23=34, Resulting Numbers: [27, 34] Generated Node #0,1,0: 31:[27, 34] Operation: 11+23=34 Exploring Operation: 11+27=38, Resulting Numbers: [23, 38] Generated Node #0,1,1: 31:[23, 38] Operation: 11+27=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[27, 34], Operations: ['12+15=27', '11+23=34'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[23, 38], Operations: ['12+15=27', '11+27=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 60, 8, 20, 72 ]
31
[ "60-20=40", "72/8=9", "40-9=31" ]
Current State: 31:[60, 8, 20, 72], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [8, 72, 40] Generated Node #2: [8, 72, 40] from Operation: 60-20=40 Current State: 31:[8, 72, 40], Operations: ['60-20=40'] Exploring Operation: 72/8=9, Resulting Numbers: [40, 9] Generated Node #3: [40, 9] from Operation: 72/8=9 Current State: 31:[40, 9], Operations: ['60-20=40', '72/8=9'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[60, 8, 20, 72], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [8, 20, 12] Generated Node #0,0: 31:[8, 20, 12] Operation: 72-60=12 Exploring Operation: 72/8=9, Resulting Numbers: [60, 20, 9] Generated Node #0,1: 31:[60, 20, 9] Operation: 72/8=9 Exploring Operation: 8+20=28, Resulting Numbers: [60, 72, 28] Generated Node #0,2: 31:[60, 72, 28] Operation: 8+20=28 Exploring Operation: 60-20=40, Resulting Numbers: [8, 72, 40] Generated Node #0,3: 31:[8, 72, 40] Operation: 60-20=40 Exploring Operation: 60-8=52, Resulting Numbers: [20, 72, 52] Generated Node #0,4: 31:[20, 72, 52] Operation: 60-8=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[8, 20, 12], Operations: ['72-60=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 31:[20, 20] Operation: 8+12=20 Exploring Operation: 20+12=32, Resulting Numbers: [8, 32] Generated Node #0,0,1: 31:[8, 32] Operation: 20+12=32 Exploring Operation: 20-8=12, Resulting Numbers: [12, 12] Generated Node #0,0,2: 31:[12, 12] Operation: 20-8=12 Exploring Operation: 8+20=28, Resulting Numbers: [12, 28] Generated Node #0,0,3: 31:[12, 28] Operation: 8+20=28 Exploring Operation: 12-8=4, Resulting Numbers: [20, 4] Generated Node #0,0,4: 31:[20, 4] Operation: 12-8=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[20, 20], Operations: ['72-60=12', '8+12=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,31 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[12, 28], Operations: ['72-60=12', '8+20=28'] Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,31 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[8, 32], Operations: ['72-60=12', '20+12=32'] Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,31 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[12, 12], Operations: ['72-60=12', '20-8=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 31:[20, 4], Operations: ['72-60=12', '12-8=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[60, 20, 9], Operations: ['72/8=9'] Exploring Operation: 20+9=29, Resulting Numbers: [60, 29] Generated Node #0,1,0: 31:[60, 29] Operation: 20+9=29 Exploring Operation: 60-9=51, Resulting Numbers: [20, 51] Generated Node #0,1,1: 31:[20, 51] Operation: 60-9=51 Exploring Operation: 60+9=69, Resulting Numbers: [20, 69] Generated Node #0,1,2: 31:[20, 69] Operation: 60+9=69 Exploring Operation: 20-9=11, Resulting Numbers: [60, 11] Generated Node #0,1,3: 31:[60, 11] Operation: 20-9=11 Exploring Operation: 60-20=40, Resulting Numbers: [9, 40] Generated Node #0,1,4: 31:[9, 40] Operation: 60-20=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[60, 29], Operations: ['72/8=9', '20+9=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,31 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[60, 8, 20, 72], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [60, 20, 9] Generated Node #0,1: 31:[60, 20, 9] Operation: 72/8=9 Moving to Node #0,1 Current State: 31:[60, 20, 9], Operations: ['72/8=9'] Exploring Operation: 20+9=29, Resulting Numbers: [60, 29] Generated Node #0,1,0: 31:[60, 29] Operation: 20+9=29 Moving to Node #0,1,0 Current State: 31:[60, 29], Operations: ['72/8=9', '20+9=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 43, 8, 47, 96 ]
88
[ "43*96=4128", "8+4128=4136", "4136/47=88" ]
Current State: 88:[43, 8, 47, 96], Operations: [] Exploring Operation: 43*96=4128, Resulting Numbers: [8, 47, 4128] Generated Node #2: [8, 47, 4128] from Operation: 43*96=4128 Current State: 88:[8, 47, 4128], Operations: ['43*96=4128'] Exploring Operation: 8+4128=4136, Resulting Numbers: [47, 4136] Generated Node #3: [47, 4136] from Operation: 8+4128=4136 Current State: 88:[47, 4136], Operations: ['43*96=4128', '8+4128=4136'] Exploring Operation: 4136/47=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[43, 8, 47, 96], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [43, 8, 49] Generated Node #0,0: 88:[43, 8, 49] Operation: 96-47=49 Exploring Operation: 96-8=88, Resulting Numbers: [43, 47, 88] Generated Node #0,1: 88:[43, 47, 88] Operation: 96-8=88 Exploring Operation: 96/8=12, Resulting Numbers: [43, 47, 12] Generated Node #0,2: 88:[43, 47, 12] Operation: 96/8=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[43, 47, 88], Operations: ['96-8=88'] Exploring Operation: 47-43=4, Resulting Numbers: [88, 4] Generated Node #0,1,0: 88:[88, 4] Operation: 47-43=4 Exploring Operation: 88-43=45, Resulting Numbers: [47, 45] Generated Node #0,1,1: 88:[47, 45] Operation: 88-43=45 Exploring Operation: 43+47=90, Resulting Numbers: [88, 90] Generated Node #0,1,2: 88:[88, 90] Operation: 43+47=90 Moving to Node #0,1,0 Current State: 88:[88, 4], Operations: ['96-8=88', '47-43=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[88, 90], Operations: ['96-8=88', '43+47=90'] Exploring Operation: 88*90=7920, Resulting Numbers: [7920] 7920,88 unequal: No Solution Exploring Operation: 88+90=178, Resulting Numbers: [178] 178,88 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[47, 45], Operations: ['96-8=88', '88-43=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[43, 47, 12], Operations: ['96/8=12'] Exploring Operation: 47-12=35, Resulting Numbers: [43, 35] Generated Node #0,2,0: 88:[43, 35] Operation: 47-12=35 Exploring Operation: 43+47=90, Resulting Numbers: [12, 90] Generated Node #0,2,1: 88:[12, 90] Operation: 43+47=90 Exploring Operation: 47-43=4, Resulting Numbers: [12, 4] Generated Node #0,2,2: 88:[12, 4] Operation: 47-43=4 Moving to Node #0,2,2 Current State: 88:[12, 4], Operations: ['96/8=12', '47-43=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[12, 90], Operations: ['96/8=12', '43+47=90'] Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,88 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[43, 35], Operations: ['96/8=12', '47-12=35'] Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[43, 8, 49], Operations: ['96-47=49'] Exploring Operation: 43+49=92, Resulting Numbers: [8, 92] Generated Node #0,0,0: 88:[8, 92] Operation: 43+49=92 Exploring Operation: 49-8=41, Resulting Numbers: [43, 41] Generated Node #0,0,1: 88:[43, 41] Operation: 49-8=41 Exploring Operation: 49-43=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 88:[8, 6] Operation: 49-43=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[8, 6], Operations: ['96-47=49', '49-43=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[8, 92], Operations: ['96-47=49', '43+49=92'] Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 8*92=736, Resulting Numbers: [736] 736,88 unequal: No Solution Exploring Operation: 8+92=100, Resulting Numbers: [100] 100,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[43, 41], Operations: ['96-47=49', '49-8=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,88 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 96, 62, 36, 3 ]
82
[ "96-36=60", "60/3=20", "62+20=82" ]
Current State: 82:[96, 62, 36, 3], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [62, 3, 60] Generated Node #2: [62, 3, 60] from Operation: 96-36=60 Current State: 82:[62, 3, 60], Operations: ['96-36=60'] Exploring Operation: 60/3=20, Resulting Numbers: [62, 20] Generated Node #3: [62, 20] from Operation: 60/3=20 Current State: 82:[62, 20], Operations: ['96-36=60', '60/3=20'] Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[96, 62, 36, 3], Operations: [] Exploring Operation: 62+36=98, Resulting Numbers: [96, 3, 98] Generated Node #0,0: 82:[96, 3, 98] Operation: 62+36=98 Exploring Operation: 96-3=93, Resulting Numbers: [62, 36, 93] Generated Node #0,1: 82:[62, 36, 93] Operation: 96-3=93 Exploring Operation: 96/3=32, Resulting Numbers: [62, 36, 32] Generated Node #0,2: 82:[62, 36, 32] Operation: 96/3=32 Exploring Operation: 96-62=34, Resulting Numbers: [36, 3, 34] Generated Node #0,3: 82:[36, 3, 34] Operation: 96-62=34 Exploring Operation: 62-36=26, Resulting Numbers: [96, 3, 26] Generated Node #0,4: 82:[96, 3, 26] Operation: 62-36=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[36, 3, 34], Operations: ['96-62=34'] Exploring Operation: 36-34=2, Resulting Numbers: [3, 2] Generated Node #0,3,0: 82:[3, 2] Operation: 36-34=2 Exploring Operation: 36+3=39, Resulting Numbers: [34, 39] Generated Node #0,3,1: 82:[34, 39] Operation: 36+3=39 Exploring Operation: 36-3=33, Resulting Numbers: [34, 33] Generated Node #0,3,2: 82:[34, 33] Operation: 36-3=33 Exploring Operation: 36+34=70, Resulting Numbers: [3, 70] Generated Node #0,3,3: 82:[3, 70] Operation: 36+34=70 Exploring Operation: 3+34=37, Resulting Numbers: [36, 37] Generated Node #0,3,4: 82:[36, 37] Operation: 3+34=37 Moving to Node #0,3,0 Current State: 82:[3, 2], Operations: ['96-62=34', '36-34=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[36, 37], Operations: ['96-62=34', '3+34=37'] Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[34, 39], Operations: ['96-62=34', '36+3=39'] Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,82 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[3, 70], Operations: ['96-62=34', '36+34=70'] Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,82 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[34, 33], Operations: ['96-62=34', '36-3=33'] Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,82 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[96, 3, 26], Operations: ['62-36=26'] Exploring Operation: 96-26=70, Resulting Numbers: [3, 70] Generated Node #0,4,0: 82:[3, 70] Operation: 96-26=70 Exploring Operation: 3+26=29, Resulting Numbers: [96, 29] Generated Node #0,4,1: 82:[96, 29] Operation: 3+26=29 Exploring Operation: 96/3=32, Resulting Numbers: [26, 32] Generated Node #0,4,2: 82:[26, 32] Operation: 96/3=32 Exploring Operation: 3*26=78, Resulting Numbers: [96, 78] Generated Node #0,4,3: 82:[96, 78] Operation: 3*26=78 Exploring Operation: 96-3=93, Resulting Numbers: [26, 93] Generated Node #0,4,4: 82:[26, 93] Operation: 96-3=93 Moving to Node #0,4,0 Current State: 82:[3, 70], Operations: ['62-36=26', '96-26=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[96, 78], Operations: ['62-36=26', '3*26=78'] Exploring Operation: 96*78=7488, Resulting Numbers: [7488] 7488,82 unequal: No Solution Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 96+78=174, Resulting Numbers: [174] 174,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[26, 32], Operations: ['62-36=26', '96/3=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[96, 29], Operations: ['62-36=26', '3+26=29'] Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 96+29=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 96*29=2784, Resulting Numbers: [2784] 2784,82 unequal: No Solution Moving to Node #0,4,4 Current State: 82:[26, 93], Operations: ['62-36=26', '96-3=93'] Exploring Operation: 26*93=2418, Resulting Numbers: [2418] 2418,82 unequal: No Solution Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 26+93=119, Resulting Numbers: [119] 119,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:[96, 3, 98], Operations: ['62+36=98'] Exploring Operation: 98-3=95, Resulting Numbers: [96, 95] Generated Node #0,0,0: 82:[96, 95] Operation: 98-3=95 Exploring Operation: 98-96=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 82:[3, 2] Operation: 98-96=2 Exploring Operation: 96/3=32, Resulting Numbers: [98, 32] Generated Node #0,0,2: 82:[98, 32] Operation: 96/3=32 Exploring Operation: 96+3=99, Resulting Numbers: [98, 99] Generated Node #0,0,3: 82:[98, 99] Operation: 96+3=99 Exploring Operation: 96-3=93, Resulting Numbers: [98, 93] Generated Node #0,0,4: 82:[98, 93] Operation: 96-3=93 Moving to Node #0,0,1 Current State: 82:[3, 2], Operations: ['62+36=98', '98-96=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[98, 32], Operations: ['62+36=98', '96/3=32'] Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,82 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[96, 95], Operations: ['62+36=98', '98-3=95'] Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,82 unequal: No Solution Exploring Operation: 96*95=9120, Resulting Numbers: [9120] 9120,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[98, 93], Operations: ['62+36=98', '96-3=93'] Exploring Operation: 98-93=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 98*93=9114, Resulting Numbers: [9114] 9114,82 unequal: No Solution Exploring Operation: 98+93=191, Resulting Numbers: [191] 191,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[98, 99], Operations: ['62+36=98', '96+3=99'] Exploring Operation: 98+99=197, Resulting Numbers: [197] 197,82 unequal: No Solution Exploring Operation: 98*99=9702, Resulting Numbers: [9702] 9702,82 unequal: No Solution Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[62, 36, 32], Operations: ['96/3=32'] Exploring Operation: 62+32=94, Resulting Numbers: [36, 94] Generated Node #0,2,0: 82:[36, 94] Operation: 62+32=94 Exploring Operation: 62+36=98, Resulting Numbers: [32, 98] Generated Node #0,2,1: 82:[32, 98] Operation: 62+36=98 Exploring Operation: 62-32=30, Resulting Numbers: [36, 30] Generated Node #0,2,2: 82:[36, 30] Operation: 62-32=30 Exploring Operation: 36-32=4, Resulting Numbers: [62, 4] Generated Node #0,2,3: 82:[62, 4] Operation: 36-32=4 Exploring Operation: 62-36=26, Resulting Numbers: [32, 26] Generated Node #0,2,4: 82:[32, 26] Operation: 62-36=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[36, 30], Operations: ['96/3=32', '62-32=30'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,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,2,0 Current State: 82:[36, 94], Operations: ['96/3=32', '62+32=94'] Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,82 unequal: No Solution Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,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,2,3 Current State: 82:[62, 4], Operations: ['96/3=32', '36-32=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,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,2,4 Current State: 82:[32, 26], Operations: ['96/3=32', '62-36=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,82 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,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,2,1 Current State: 82:[32, 98], Operations: ['96/3=32', '62+36=98'] Exploring Operation: 32*98=3136, Resulting Numbers: [3136] 3136,82 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 32+98=130, Resulting Numbers: [130] 130,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:[62, 36, 93], Operations: ['96-3=93'] Exploring Operation: 62-36=26, Resulting Numbers: [93, 26] Generated Node #0,1,0: 82:[93, 26] Operation: 62-36=26 Exploring Operation: 36+93=129, Resulting Numbers: [62, 129] Generated Node #0,1,1: 82:[62, 129] Operation: 36+93=129 Exploring Operation: 62+36=98, Resulting Numbers: [93, 98] Generated Node #0,1,2: 82:[93, 98] Operation: 62+36=98 Exploring Operation: 93-62=31, Resulting Numbers: [36, 31] Generated Node #0,1,3: 82:[36, 31] Operation: 93-62=31 Exploring Operation: 93-36=57, Resulting Numbers: [62, 57] Generated Node #0,1,4: 82:[62, 57] Operation: 93-36=57 Moving to Node #0,1,3 Current State: 82:[36, 31], Operations: ['96-3=93', '93-62=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,82 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[93, 26], Operations: ['96-3=93', '62-36=26'] Exploring Operation: 93+26=119, Resulting Numbers: [119] 119,82 unequal: No Solution Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 93*26=2418, Resulting Numbers: [2418] 2418,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[93, 98], Operations: ['96-3=93', '62+36=98'] Exploring Operation: 93+98=191, Resulting Numbers: [191] 191,82 unequal: No Solution Exploring Operation: 98-93=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 93*98=9114, Resulting Numbers: [9114] 9114,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[62, 57], Operations: ['96-3=93', '93-36=57'] Exploring Operation: 62*57=3534, Resulting Numbers: [3534] 3534,82 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 62+57=119, Resulting Numbers: [119] 119,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[62, 129], Operations: ['96-3=93', '36+93=129'] Exploring Operation: 62*129=7998, Resulting Numbers: [7998] 7998,82 unequal: No Solution Exploring Operation: 129-62=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 62+129=191, Resulting Numbers: [191] 191,82 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
[ 54, 54, 94, 12 ]
83
[ "54/54=1", "94-12=82", "1+82=83" ]
Current State: 83:[54, 54, 94, 12], Operations: [] Exploring Operation: 54/54=1, Resulting Numbers: [94, 12, 1] Generated Node #2: [94, 12, 1] from Operation: 54/54=1 Current State: 83:[94, 12, 1], Operations: ['54/54=1'] Exploring Operation: 94-12=82, Resulting Numbers: [1, 82] Generated Node #3: [1, 82] from Operation: 94-12=82 Current State: 83:[1, 82], Operations: ['54/54=1', '94-12=82'] Exploring Operation: 1+82=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[54, 54, 94, 12], Operations: [] Exploring Operation: 54+12=66, Resulting Numbers: [54, 94, 66] Generated Node #0,0: 83:[54, 94, 66] Operation: 54+12=66 Exploring Operation: 54-12=42, Resulting Numbers: [54, 94, 42] Generated Node #0,1: 83:[54, 94, 42] Operation: 54-12=42 Exploring Operation: 54-12=42, Resulting Numbers: [54, 94, 42] Generated Node #0,2: 83:[54, 94, 42] Operation: 54-12=42 Exploring Operation: 94-12=82, Resulting Numbers: [54, 54, 82] Generated Node #0,3: 83:[54, 54, 82] Operation: 94-12=82 Exploring Operation: 54+12=66, Resulting Numbers: [54, 94, 66] Generated Node #0,4: 83:[54, 94, 66] Operation: 54+12=66 Moving to Node #0,0 Current State: 83:[54, 94, 66], Operations: ['54+12=66'] Exploring Operation: 94-66=28, Resulting Numbers: [54, 28] Generated Node #0,0,0: 83:[54, 28] Operation: 94-66=28 Exploring Operation: 66-54=12, Resulting Numbers: [94, 12] Generated Node #0,0,1: 83:[94, 12] Operation: 66-54=12 Exploring Operation: 54+66=120, Resulting Numbers: [94, 120] Generated Node #0,0,2: 83:[94, 120] Operation: 54+66=120 Exploring Operation: 94-54=40, Resulting Numbers: [66, 40] Generated Node #0,0,3: 83:[66, 40] Operation: 94-54=40 Exploring Operation: 54+94=148, Resulting Numbers: [66, 148] Generated Node #0,0,4: 83:[66, 148] Operation: 54+94=148 Moving to Node #0,4 Current State: 83:[54, 94, 66], Operations: ['54+12=66'] Exploring Operation: 66-54=12, Resulting Numbers: [94, 12] Generated Node #0,4,0: 83:[94, 12] Operation: 66-54=12 Exploring Operation: 54+66=120, Resulting Numbers: [94, 120] Generated Node #0,4,1: 83:[94, 120] Operation: 54+66=120 Exploring Operation: 54+94=148, Resulting Numbers: [66, 148] Generated Node #0,4,2: 83:[66, 148] Operation: 54+94=148 Exploring Operation: 94-66=28, Resulting Numbers: [54, 28] Generated Node #0,4,3: 83:[54, 28] Operation: 94-66=28 Exploring Operation: 94-54=40, Resulting Numbers: [66, 40] Generated Node #0,4,4: 83:[66, 40] Operation: 94-54=40 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 83:[94, 120], Operations: ['54+12=66', '54+66=120'] Exploring Operation: 94*120=11280, Resulting Numbers: [11280] 11280,83 unequal: No Solution Exploring Operation: 120-94=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 94+120=214, Resulting Numbers: [214] 214,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 83:[66, 40], Operations: ['54+12=66', '94-54=40'] Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,83 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 83:[94, 12], Operations: ['54+12=66', '66-54=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,83 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[66, 148], Operations: ['54+12=66', '54+94=148'] Exploring Operation: 148-66=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 66+148=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 66*148=9768, Resulting Numbers: [9768] 9768,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 83:[54, 28], Operations: ['54+12=66', '94-66=28'] Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,83 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,83 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: 83:[54, 54, 82], Operations: ['94-12=82'] Exploring Operation: 54/54=1, Resulting Numbers: [82, 1] Generated Node #0,3,0: 83:[82, 1] Operation: 54/54=1 Exploring Operation: 54+82=136, Resulting Numbers: [54, 136] Generated Node #0,3,1: 83:[54, 136] Operation: 54+82=136 Exploring Operation: 54+54=108, Resulting Numbers: [82, 108] Generated Node #0,3,2: 83:[82, 108] Operation: 54+54=108 Exploring Operation: 54+82=136, Resulting Numbers: [54, 136] Generated Node #0,3,3: 83:[54, 136] Operation: 54+82=136 Exploring Operation: 54-54=0, Resulting Numbers: [82, 0] Generated Node #0,3,4: 83:[82, 0] Operation: 54-54=0 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[82, 108], Operations: ['94-12=82', '54+54=108'] Exploring Operation: 82+108=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 108-82=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 82*108=8856, Resulting Numbers: [8856] 8856,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[54, 136], Operations: ['94-12=82', '54+82=136'] Exploring Operation: 136-54=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 54+136=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 54*136=7344, Resulting Numbers: [7344] 7344,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[54, 136], Operations: ['94-12=82', '54+82=136'] Exploring Operation: 54*136=7344, Resulting Numbers: [7344] 7344,83 unequal: No Solution Exploring Operation: 136-54=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 54+136=190, Resulting Numbers: [190] 190,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[82, 1], Operations: ['94-12=82', '54/54=1'] Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[54, 54, 94, 12], Operations: [] Exploring Operation: 94-12=82, Resulting Numbers: [54, 54, 82] Generated Node #0,3: 83:[54, 54, 82] Operation: 94-12=82 Moving to Node #0,3 Current State: 83:[54, 54, 82], Operations: ['94-12=82'] Exploring Operation: 54/54=1, Resulting Numbers: [82, 1] Generated Node #0,3,0: 83:[82, 1] Operation: 54/54=1 Moving to Node #0,3,0 Current State: 83:[82, 1], Operations: ['94-12=82', '54/54=1'] Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
sum_heuristic
[ 1, 36, 5, 10 ]
91
[ "1+10=11", "5*11=55", "36+55=91" ]
Current State: 91:[1, 36, 5, 10], Operations: [] Exploring Operation: 1+10=11, Resulting Numbers: [36, 5, 11] Generated Node #2: [36, 5, 11] from Operation: 1+10=11 Current State: 91:[36, 5, 11], Operations: ['1+10=11'] Exploring Operation: 5*11=55, Resulting Numbers: [36, 55] Generated Node #3: [36, 55] from Operation: 5*11=55 Current State: 91:[36, 55], Operations: ['1+10=11', '5*11=55'] Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[1, 36, 5, 10], Operations: [] Exploring Operation: 1+5=6, Resulting Numbers: [36, 10, 6] Generated Node #0,0: 91:[36, 10, 6] Operation: 1+5=6 Exploring Operation: 36-1=35, Resulting Numbers: [5, 10, 35] Generated Node #0,1: 91:[5, 10, 35] Operation: 36-1=35 Exploring Operation: 36-10=26, Resulting Numbers: [1, 5, 26] Generated Node #0,2: 91:[1, 5, 26] Operation: 36-10=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[1, 5, 26], Operations: ['36-10=26'] Exploring Operation: 26-1=25, Resulting Numbers: [5, 25] Generated Node #0,2,0: 91:[5, 25] Operation: 26-1=25 Exploring Operation: 26-5=21, Resulting Numbers: [1, 21] Generated Node #0,2,1: 91:[1, 21] Operation: 26-5=21 Exploring Operation: 1+5=6, Resulting Numbers: [26, 6] Generated Node #0,2,2: 91:[26, 6] Operation: 1+5=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[5, 25], Operations: ['36-10=26', '26-1=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[1, 21], Operations: ['36-10=26', '26-5=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[26, 6], Operations: ['36-10=26', '1+5=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,91 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[36, 10, 6], Operations: ['1+5=6'] Exploring Operation: 36-6=30, Resulting Numbers: [10, 30] Generated Node #0,0,0: 91:[10, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [10, 6] Generated Node #0,0,1: 91:[10, 6] Operation: 36/6=6 Exploring Operation: 36-10=26, Resulting Numbers: [6, 26] Generated Node #0,0,2: 91:[6, 26] Operation: 36-10=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[10, 6], Operations: ['1+5=6', '36/6=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[6, 26], Operations: ['1+5=6', '36-10=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,91 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[10, 30], Operations: ['1+5=6', '36-6=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[5, 10, 35], Operations: ['36-1=35'] Exploring Operation: 35/5=7, Resulting Numbers: [10, 7] Generated Node #0,1,0: 91:[10, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [10, 30] Generated Node #0,1,1: 91:[10, 30] Operation: 35-5=30 Exploring Operation: 35-10=25, Resulting Numbers: [5, 25] Generated Node #0,1,2: 91:[5, 25] Operation: 35-10=25 Moving to Node #0,1,0 Current State: 91:[10, 7], Operations: ['36-1=35', '35/5=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[5, 25], Operations: ['36-1=35', '35-10=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[10, 30], Operations: ['36-1=35', '35-5=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,91 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
[ 78, 16, 57, 39 ]
84
[ "57+39=96", "96/16=6", "78+6=84" ]
Current State: 84:[78, 16, 57, 39], Operations: [] Exploring Operation: 57+39=96, Resulting Numbers: [78, 16, 96] Generated Node #2: [78, 16, 96] from Operation: 57+39=96 Current State: 84:[78, 16, 96], Operations: ['57+39=96'] Exploring Operation: 96/16=6, Resulting Numbers: [78, 6] Generated Node #3: [78, 6] from Operation: 96/16=6 Current State: 84:[78, 6], Operations: ['57+39=96', '96/16=6'] Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[78, 16, 57, 39], Operations: [] Exploring Operation: 57-16=41, Resulting Numbers: [78, 39, 41] Generated Node #0,0: 84:[78, 39, 41] Operation: 57-16=41 Exploring Operation: 78-57=21, Resulting Numbers: [16, 39, 21] Generated Node #0,1: 84:[16, 39, 21] Operation: 78-57=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[16, 39, 21], Operations: ['78-57=21'] Exploring Operation: 21-16=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 84:[39, 5] Operation: 21-16=5 Exploring Operation: 39-16=23, Resulting Numbers: [21, 23] Generated Node #0,1,1: 84:[21, 23] Operation: 39-16=23 Moving to Node #0,1,1 Current State: 84:[21, 23], Operations: ['78-57=21', '39-16=23'] Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[39, 5], Operations: ['78-57=21', '21-16=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[78, 39, 41], Operations: ['57-16=41'] Exploring Operation: 78-39=39, Resulting Numbers: [41, 39] Generated Node #0,0,0: 84:[41, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [41, 2] Generated Node #0,0,1: 84:[41, 2] Operation: 78/39=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[41, 2], Operations: ['57-16=41', '78/39=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[41, 39], Operations: ['57-16=41', '78-39=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 17, 16, 48, 64 ]
34
[ "17*64=1088", "48-16=32", "1088/32=34" ]
Current State: 34:[17, 16, 48, 64], Operations: [] Exploring Operation: 17*64=1088, Resulting Numbers: [16, 48, 1088] Generated Node #2: [16, 48, 1088] from Operation: 17*64=1088 Current State: 34:[16, 48, 1088], Operations: ['17*64=1088'] Exploring Operation: 48-16=32, Resulting Numbers: [1088, 32] Generated Node #3: [1088, 32] from Operation: 48-16=32 Current State: 34:[1088, 32], Operations: ['17*64=1088', '48-16=32'] Exploring Operation: 1088/32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[17, 16, 48, 64], Operations: [] Exploring Operation: 64-16=48, Resulting Numbers: [17, 48, 48] Generated Node #0,0: 34:[17, 48, 48] Operation: 64-16=48 Exploring Operation: 64/16=4, Resulting Numbers: [17, 48, 4] Generated Node #0,1: 34:[17, 48, 4] Operation: 64/16=4 Exploring Operation: 64-17=47, Resulting Numbers: [16, 48, 47] Generated Node #0,2: 34:[16, 48, 47] Operation: 64-17=47 Exploring Operation: 48/16=3, Resulting Numbers: [17, 64, 3] Generated Node #0,3: 34:[17, 64, 3] Operation: 48/16=3 Exploring Operation: 64-48=16, Resulting Numbers: [17, 16, 16] Generated Node #0,4: 34:[17, 16, 16] Operation: 64-48=16 Start Sub Search at level 1: Moving to Node #0,4 Current State: 34:[17, 16, 16], Operations: ['64-48=16'] Exploring Operation: 17+16=33, Resulting Numbers: [16, 33] Generated Node #0,4,0: 34:[16, 33] Operation: 17+16=33 Exploring Operation: 17-16=1, Resulting Numbers: [16, 1] Generated Node #0,4,1: 34:[16, 1] Operation: 17-16=1 Exploring Operation: 16/16=1, Resulting Numbers: [17, 1] Generated Node #0,4,2: 34:[17, 1] Operation: 16/16=1 Exploring Operation: 17-16=1, Resulting Numbers: [16, 1] Generated Node #0,4,3: 34:[16, 1] Operation: 17-16=1 Exploring Operation: 17+16=33, Resulting Numbers: [16, 33] Generated Node #0,4,4: 34:[16, 33] Operation: 17+16=33 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 34:[17, 1], Operations: ['64-48=16', '16/16=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 34:[16, 33], Operations: ['64-48=16', '17+16=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,34 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 34:[16, 1], Operations: ['64-48=16', '17-16=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 34:[16, 1], Operations: ['64-48=16', '17-16=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 34:[16, 33], Operations: ['64-48=16', '17+16=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,34 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,34 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: 34:[17, 48, 4], Operations: ['64/16=4'] Exploring Operation: 48/4=12, Resulting Numbers: [17, 12] Generated Node #0,1,0: 34:[17, 12] Operation: 48/4=12 Exploring Operation: 17+4=21, Resulting Numbers: [48, 21] Generated Node #0,1,1: 34:[48, 21] Operation: 17+4=21 Exploring Operation: 48-4=44, Resulting Numbers: [17, 44] Generated Node #0,1,2: 34:[17, 44] Operation: 48-4=44 Exploring Operation: 48-17=31, Resulting Numbers: [4, 31] Generated Node #0,1,3: 34:[4, 31] Operation: 48-17=31 Exploring Operation: 17-4=13, Resulting Numbers: [48, 13] Generated Node #0,1,4: 34:[48, 13] Operation: 17-4=13 Moving to Node #0,1,0 Current State: 34:[17, 12], Operations: ['64/16=4', '48/4=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,34 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[4, 31], Operations: ['64/16=4', '48-17=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[17, 44], Operations: ['64/16=4', '48-4=44'] Exploring Operation: 17*44=748, Resulting Numbers: [748] 748,34 unequal: No Solution Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[48, 21], Operations: ['64/16=4', '17+4=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,34 unequal: No Solution Moving to Node #0,1,4 Current State: 34:[48, 13], Operations: ['64/16=4', '17-4=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,34 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,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,0 Current State: 34:[17, 48, 48], Operations: ['64-16=48'] Exploring Operation: 48/48=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 34:[17, 1] Operation: 48/48=1 Exploring Operation: 48-17=31, Resulting Numbers: [48, 31] Generated Node #0,0,1: 34:[48, 31] Operation: 48-17=31 Exploring Operation: 48-48=0, Resulting Numbers: [17, 0] Generated Node #0,0,2: 34:[17, 0] Operation: 48-48=0 Exploring Operation: 17+48=65, Resulting Numbers: [48, 65] Generated Node #0,0,3: 34:[48, 65] Operation: 17+48=65 Exploring Operation: 48-17=31, Resulting Numbers: [48, 31] Generated Node #0,0,4: 34:[48, 31] Operation: 48-17=31 Moving to Node #0,0,0 Current State: 34:[17, 1], Operations: ['64-16=48', '48/48=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[17, 0], Operations: ['64-16=48', '48-48=0'] Exploring Operation: 17-0=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 17*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[48, 31], Operations: ['64-16=48', '48-17=31'] Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,34 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[48, 31], Operations: ['64-16=48', '48-17=31'] Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,34 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[48, 65], Operations: ['64-16=48', '17+48=65'] Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,34 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,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,2 Current State: 34:[16, 48, 47], Operations: ['64-17=47'] Exploring Operation: 48/16=3, Resulting Numbers: [47, 3] Generated Node #0,2,0: 34:[47, 3] Operation: 48/16=3 Exploring Operation: 48-16=32, Resulting Numbers: [47, 32] Generated Node #0,2,1: 34:[47, 32] Operation: 48-16=32 Exploring Operation: 48-47=1, Resulting Numbers: [16, 1] Generated Node #0,2,2: 34:[16, 1] Operation: 48-47=1 Exploring Operation: 16+48=64, Resulting Numbers: [47, 64] Generated Node #0,2,3: 34:[47, 64] Operation: 16+48=64 Exploring Operation: 47-16=31, Resulting Numbers: [48, 31] Generated Node #0,2,4: 34:[48, 31] Operation: 47-16=31 Moving to Node #0,2,2 Current State: 34:[16, 1], Operations: ['64-17=47', '48-47=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[47, 3], Operations: ['64-17=47', '48/16=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[47, 32], Operations: ['64-17=47', '48-16=32'] Exploring Operation: 47*32=1504, Resulting Numbers: [1504] 1504,34 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 47+32=79, Resulting Numbers: [79] 79,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[48, 31], Operations: ['64-17=47', '47-16=31'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,34 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[47, 64], Operations: ['64-17=47', '16+48=64'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,34 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,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,3 Current State: 34:[17, 64, 3], Operations: ['48/16=3'] Exploring Operation: 64-3=61, Resulting Numbers: [17, 61] Generated Node #0,3,0: 34:[17, 61] Operation: 64-3=61 Exploring Operation: 17+3=20, Resulting Numbers: [64, 20] Generated Node #0,3,1: 34:[64, 20] Operation: 17+3=20 Exploring Operation: 17-3=14, Resulting Numbers: [64, 14] Generated Node #0,3,2: 34:[64, 14] Operation: 17-3=14 Exploring Operation: 64-17=47, Resulting Numbers: [3, 47] Generated Node #0,3,3: 34:[3, 47] Operation: 64-17=47 Exploring Operation: 64+3=67, Resulting Numbers: [17, 67] Generated Node #0,3,4: 34:[17, 67] Operation: 64+3=67 Moving to Node #0,3,3 Current State: 34:[3, 47], Operations: ['48/16=3', '64-17=47'] Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,34 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[17, 61], Operations: ['48/16=3', '64-3=61'] Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,34 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[64, 20], Operations: ['48/16=3', '17+3=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,34 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[64, 14], Operations: ['48/16=3', '17-3=14'] Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[17, 67], Operations: ['48/16=3', '64+3=67'] Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,34 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 9, 96, 96, 16 ]
25
[ "9+96=105", "96-16=80", "105-80=25" ]
Current State: 25:[9, 96, 96, 16], Operations: [] Exploring Operation: 9+96=105, Resulting Numbers: [16, 105] Generated Node #2: [16, 105] from Operation: 9+96=105 Current State: 25:[16, 105], Operations: ['9+96=105'] Exploring Operation: 96-16=80, Resulting Numbers: [105, 80] Generated Node #3: [105, 80] from Operation: 96-16=80 Current State: 25:[105, 80], Operations: ['9+96=105', '96-16=80'] Exploring Operation: 105-80=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[9, 96, 96, 16], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [9, 16, 1] Generated Node #0,0: 25:[9, 16, 1] Operation: 96/96=1 Exploring Operation: 96-96=0, Resulting Numbers: [9, 16, 0] Generated Node #0,1: 25:[9, 16, 0] Operation: 96-96=0 Moving to Node #0,0 Current State: 25:[9, 16, 1], Operations: ['96/96=1'] Exploring Operation: 9+16=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 25:[1, 25] Operation: 9+16=25 Exploring Operation: 16-9=7, Resulting Numbers: [1, 7] Generated Node #0,0,1: 25:[1, 7] Operation: 16-9=7 Moving to Node #0,1 Current State: 25:[9, 16, 0], Operations: ['96-96=0'] Exploring Operation: 9+16=25, Resulting Numbers: [0, 25] Generated Node #0,1,0: 25:[0, 25] Operation: 9+16=25 Exploring Operation: 16-9=7, Resulting Numbers: [0, 7] Generated Node #0,1,1: 25:[0, 7] Operation: 16-9=7 Moving to Node #0,0,0 Current State: 25:[1, 25], Operations: ['96/96=1', '9+16=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[9, 96, 96, 16], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [9, 16, 1] Generated Node #0,0: 25:[9, 16, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 25:[9, 16, 1], Operations: ['96/96=1'] Exploring Operation: 9+16=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 25:[1, 25] Operation: 9+16=25 Moving to Node #0,0,0 Current State: 25:[1, 25], Operations: ['96/96=1', '9+16=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 3, 86, 24, 87 ]
48
[ "3+86=89", "89-87=2", "24*2=48" ]
Current State: 48:[3, 86, 24, 87], Operations: [] Exploring Operation: 3+86=89, Resulting Numbers: [24, 87, 89] Generated Node #2: [24, 87, 89] from Operation: 3+86=89 Current State: 48:[24, 87, 89], Operations: ['3+86=89'] Exploring Operation: 89-87=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 89-87=2 Current State: 48:[24, 2], Operations: ['3+86=89', '89-87=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[3, 86, 24, 87], Operations: [] Exploring Operation: 87-86=1, Resulting Numbers: [3, 24, 1] Generated Node #0,0: 48:[3, 24, 1] Operation: 87-86=1 Moving to Node #0,0 Current State: 48:[3, 24, 1], Operations: ['87-86=1'] Exploring Operation: 3+1=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 48:[24, 4] Operation: 3+1=4 Moving to Node #0,0,0 Current State: 48:[24, 4], Operations: ['87-86=1', '3+1=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 50, 2, 22, 43 ]
31
[ "50+2=52", "43-22=21", "52-21=31" ]
Current State: 31:[50, 2, 22, 43], Operations: [] Exploring Operation: 50+2=52, Resulting Numbers: [22, 43, 52] Generated Node #2: [22, 43, 52] from Operation: 50+2=52 Current State: 31:[22, 43, 52], Operations: ['50+2=52'] Exploring Operation: 43-22=21, Resulting Numbers: [52, 21] Generated Node #3: [52, 21] from Operation: 43-22=21 Current State: 31:[52, 21], Operations: ['50+2=52', '43-22=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[50, 2, 22, 43], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [22, 43, 25] Generated Node #0,0: 31:[22, 43, 25] Operation: 50/2=25 Moving to Node #0,0 Current State: 31:[22, 43, 25], Operations: ['50/2=25'] Exploring Operation: 43-22=21, Resulting Numbers: [25, 21] Generated Node #0,0,0: 31:[25, 21] Operation: 43-22=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[25, 21], Operations: ['50/2=25', '43-22=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,31 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
[ 10, 70, 1, 99 ]
17
[ "70+1=71", "99+71=170", "170/10=17" ]
Current State: 17:[10, 70, 1, 99], Operations: [] Exploring Operation: 70+1=71, Resulting Numbers: [10, 99, 71] Generated Node #2: [10, 99, 71] from Operation: 70+1=71 Current State: 17:[10, 99, 71], Operations: ['70+1=71'] Exploring Operation: 99+71=170, Resulting Numbers: [10, 170] Generated Node #3: [10, 170] from Operation: 99+71=170 Current State: 17:[10, 170], Operations: ['70+1=71', '99+71=170'] Exploring Operation: 170/10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[10, 70, 1, 99], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [10, 1, 29] Generated Node #0,0: 17:[10, 1, 29] Operation: 99-70=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[10, 1, 29], Operations: ['99-70=29'] Exploring Operation: 10+1=11, Resulting Numbers: [29, 11] Generated Node #0,0,0: 17:[29, 11] Operation: 10+1=11 Moving to Node #0,0,0 Current State: 17:[29, 11], Operations: ['99-70=29', '10+1=11'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 64, 72, 12, 86 ]
28
[ "86-64=22", "72/12=6", "22+6=28" ]
Current State: 28:[64, 72, 12, 86], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [72, 12, 22] Generated Node #2: [72, 12, 22] from Operation: 86-64=22 Current State: 28:[72, 12, 22], Operations: ['86-64=22'] Exploring Operation: 72/12=6, Resulting Numbers: [22, 6] Generated Node #3: [22, 6] from Operation: 72/12=6 Current State: 28:[22, 6], Operations: ['86-64=22', '72/12=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[64, 72, 12, 86], Operations: [] Exploring Operation: 64-12=52, Resulting Numbers: [72, 86, 52] Generated Node #0,0: 28:[72, 86, 52] Operation: 64-12=52 Exploring Operation: 86-72=14, Resulting Numbers: [64, 12, 14] Generated Node #0,1: 28:[64, 12, 14] Operation: 86-72=14 Exploring Operation: 86-64=22, Resulting Numbers: [72, 12, 22] Generated Node #0,2: 28:[72, 12, 22] Operation: 86-64=22 Exploring Operation: 72/12=6, Resulting Numbers: [64, 86, 6] Generated Node #0,3: 28:[64, 86, 6] Operation: 72/12=6 Exploring Operation: 72-64=8, Resulting Numbers: [12, 86, 8] Generated Node #0,4: 28:[12, 86, 8] Operation: 72-64=8 Moving to Node #0,1 Current State: 28:[64, 12, 14], Operations: ['86-72=14'] Exploring Operation: 14-12=2, Resulting Numbers: [64, 2] Generated Node #0,1,0: 28:[64, 2] Operation: 14-12=2 Exploring Operation: 64-14=50, Resulting Numbers: [12, 50] Generated Node #0,1,1: 28:[12, 50] Operation: 64-14=50 Exploring Operation: 12+14=26, Resulting Numbers: [64, 26] Generated Node #0,1,2: 28:[64, 26] Operation: 12+14=26 Exploring Operation: 64+12=76, Resulting Numbers: [14, 76] Generated Node #0,1,3: 28:[14, 76] Operation: 64+12=76 Exploring Operation: 64-12=52, Resulting Numbers: [14, 52] Generated Node #0,1,4: 28:[14, 52] Operation: 64-12=52 Moving to Node #0,2 Current State: 28:[72, 12, 22], Operations: ['86-64=22'] Exploring Operation: 72/12=6, Resulting Numbers: [22, 6] Generated Node #0,2,0: 28:[22, 6] Operation: 72/12=6 Exploring Operation: 72-12=60, Resulting Numbers: [22, 60] Generated Node #0,2,1: 28:[22, 60] Operation: 72-12=60 Exploring Operation: 12+22=34, Resulting Numbers: [72, 34] Generated Node #0,2,2: 28:[72, 34] Operation: 12+22=34 Exploring Operation: 72-22=50, Resulting Numbers: [12, 50] Generated Node #0,2,3: 28:[12, 50] Operation: 72-22=50 Exploring Operation: 22-12=10, Resulting Numbers: [72, 10] Generated Node #0,2,4: 28:[72, 10] Operation: 22-12=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[22, 6], Operations: ['86-64=22', '72/12=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[64, 72, 12, 86], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [72, 12, 22] Generated Node #0,2: 28:[72, 12, 22] Operation: 86-64=22 Moving to Node #0,2 Current State: 28:[72, 12, 22], Operations: ['86-64=22'] Exploring Operation: 72/12=6, Resulting Numbers: [22, 6] Generated Node #0,2,0: 28:[22, 6] Operation: 72/12=6 Moving to Node #0,2,0 Current State: 28:[22, 6], Operations: ['86-64=22', '72/12=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 28, 12, 69, 37 ]
48
[ "28-12=16", "69-37=32", "16+32=48" ]
Current State: 48:[28, 12, 69, 37], Operations: [] Exploring Operation: 28-12=16, Resulting Numbers: [69, 37, 16] Generated Node #2: [69, 37, 16] from Operation: 28-12=16 Current State: 48:[69, 37, 16], Operations: ['28-12=16'] Exploring Operation: 69-37=32, Resulting Numbers: [16, 32] Generated Node #3: [16, 32] from Operation: 69-37=32 Current State: 48:[16, 32], Operations: ['28-12=16', '69-37=32'] Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[28, 12, 69, 37], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [28, 12, 32] Generated Node #0,0: 48:[28, 12, 32] Operation: 69-37=32 Exploring Operation: 69-28=41, Resulting Numbers: [12, 37, 41] Generated Node #0,1: 48:[12, 37, 41] Operation: 69-28=41 Exploring Operation: 37-28=9, Resulting Numbers: [12, 69, 9] Generated Node #0,2: 48:[12, 69, 9] Operation: 37-28=9 Moving to Node #0,0 Current State: 48:[28, 12, 32], Operations: ['69-37=32'] Exploring Operation: 12+32=44, Resulting Numbers: [28, 44] Generated Node #0,0,0: 48:[28, 44] Operation: 12+32=44 Exploring Operation: 32-28=4, Resulting Numbers: [12, 4] Generated Node #0,0,1: 48:[12, 4] Operation: 32-28=4 Exploring Operation: 28-12=16, Resulting Numbers: [32, 16] Generated Node #0,0,2: 48:[32, 16] Operation: 28-12=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[12, 4], Operations: ['69-37=32', '32-28=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[28, 12, 69, 37], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [28, 12, 32] Generated Node #0,0: 48:[28, 12, 32] Operation: 69-37=32 Moving to Node #0,0 Current State: 48:[28, 12, 32], Operations: ['69-37=32'] Exploring Operation: 32-28=4, Resulting Numbers: [12, 4] Generated Node #0,0,1: 48:[12, 4] Operation: 32-28=4 Moving to Node #0,0,1 Current State: 48:[12, 4], Operations: ['69-37=32', '32-28=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 29, 2, 13, 67 ]
27
[ "29-2=27", "67-13=54", "54-27=27" ]
Current State: 27:[29, 2, 13, 67], Operations: [] Exploring Operation: 29-2=27, Resulting Numbers: [13, 67, 27] Generated Node #2: [13, 67, 27] from Operation: 29-2=27 Current State: 27:[13, 67, 27], Operations: ['29-2=27'] Exploring Operation: 67-13=54, Resulting Numbers: [27, 54] Generated Node #3: [27, 54] from Operation: 67-13=54 Current State: 27:[27, 54], Operations: ['29-2=27', '67-13=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[29, 2, 13, 67], Operations: [] Exploring Operation: 67-13=54, Resulting Numbers: [29, 2, 54] Generated Node #0,0: 27:[29, 2, 54] Operation: 67-13=54 Exploring Operation: 67-29=38, Resulting Numbers: [2, 13, 38] Generated Node #0,1: 27:[2, 13, 38] Operation: 67-29=38 Exploring Operation: 2*13=26, Resulting Numbers: [29, 67, 26] Generated Node #0,2: 27:[29, 67, 26] Operation: 2*13=26 Moving to Node #0,1 Current State: 27:[2, 13, 38], Operations: ['67-29=38'] Exploring Operation: 2*13=26, Resulting Numbers: [38, 26] Generated Node #0,1,0: 27:[38, 26] Operation: 2*13=26 Exploring Operation: 38/2=19, Resulting Numbers: [13, 19] Generated Node #0,1,1: 27:[13, 19] Operation: 38/2=19 Exploring Operation: 38-13=25, Resulting Numbers: [2, 25] Generated Node #0,1,2: 27:[2, 25] Operation: 38-13=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[2, 25], Operations: ['67-29=38', '38-13=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[29, 2, 13, 67], Operations: [] Exploring Operation: 67-29=38, Resulting Numbers: [2, 13, 38] Generated Node #0,1: 27:[2, 13, 38] Operation: 67-29=38 Moving to Node #0,1 Current State: 27:[2, 13, 38], Operations: ['67-29=38'] Exploring Operation: 38-13=25, Resulting Numbers: [2, 25] Generated Node #0,1,2: 27:[2, 25] Operation: 38-13=25 Moving to Node #0,1,2 Current State: 27:[2, 25], Operations: ['67-29=38', '38-13=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 5, 74, 12, 4 ]
37
[ "12/4=3", "5-3=2", "74/2=37" ]
Current State: 37:[5, 74, 12, 4], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [5, 74, 3] Generated Node #2: [5, 74, 3] from Operation: 12/4=3 Current State: 37:[5, 74, 3], Operations: ['12/4=3'] Exploring Operation: 5-3=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 5-3=2 Current State: 37:[74, 2], Operations: ['12/4=3', '5-3=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[5, 74, 12, 4], Operations: [] Exploring Operation: 12*4=48, Resulting Numbers: [5, 74, 48] Generated Node #0,0: 37:[5, 74, 48] Operation: 12*4=48 Exploring Operation: 5+12=17, Resulting Numbers: [74, 4, 17] Generated Node #0,1: 37:[74, 4, 17] Operation: 5+12=17 Exploring Operation: 5+4=9, Resulting Numbers: [74, 12, 9] Generated Node #0,2: 37:[74, 12, 9] Operation: 5+4=9 Exploring Operation: 5*4=20, Resulting Numbers: [74, 12, 20] Generated Node #0,3: 37:[74, 12, 20] Operation: 5*4=20 Exploring Operation: 74-5=69, Resulting Numbers: [12, 4, 69] Generated Node #0,4: 37:[12, 4, 69] Operation: 74-5=69 Moving to Node #0,3 Current State: 37:[74, 12, 20], Operations: ['5*4=20'] Exploring Operation: 20-12=8, Resulting Numbers: [74, 8] Generated Node #0,3,0: 37:[74, 8] Operation: 20-12=8 Exploring Operation: 12+20=32, Resulting Numbers: [74, 32] Generated Node #0,3,1: 37:[74, 32] Operation: 12+20=32 Exploring Operation: 74-12=62, Resulting Numbers: [20, 62] Generated Node #0,3,2: 37:[20, 62] Operation: 74-12=62 Exploring Operation: 74-20=54, Resulting Numbers: [12, 54] Generated Node #0,3,3: 37:[12, 54] Operation: 74-20=54 Exploring Operation: 74+12=86, Resulting Numbers: [20, 86] Generated Node #0,3,4: 37:[20, 86] Operation: 74+12=86 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 37:[74, 32], Operations: ['5*4=20', '12+20=32'] Exploring Operation: 74+32=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 74*32=2368, Resulting Numbers: [2368] 2368,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[20, 62], Operations: ['5*4=20', '74-12=62'] Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[12, 54], Operations: ['5*4=20', '74-20=54'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[74, 8], Operations: ['5*4=20', '20-12=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,37 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 37:[20, 86], Operations: ['5*4=20', '74+12=86'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 20+86=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 20*86=1720, Resulting Numbers: [1720] 1720,37 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: 37:[5, 74, 48], Operations: ['12*4=48'] Exploring Operation: 5+48=53, Resulting Numbers: [74, 53] Generated Node #0,0,0: 37:[74, 53] Operation: 5+48=53 Exploring Operation: 5+74=79, Resulting Numbers: [48, 79] Generated Node #0,0,1: 37:[48, 79] Operation: 5+74=79 Exploring Operation: 74-5=69, Resulting Numbers: [48, 69] Generated Node #0,0,2: 37:[48, 69] Operation: 74-5=69 Exploring Operation: 48-5=43, Resulting Numbers: [74, 43] Generated Node #0,0,3: 37:[74, 43] Operation: 48-5=43 Exploring Operation: 74-48=26, Resulting Numbers: [5, 26] Generated Node #0,0,4: 37:[5, 26] Operation: 74-48=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[48, 69], Operations: ['12*4=48', '74-5=69'] Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,37 unequal: No Solution Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[74, 43], Operations: ['12*4=48', '48-5=43'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 37:[5, 26], Operations: ['12*4=48', '74-48=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[74, 53], Operations: ['12*4=48', '5+48=53'] Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,37 unequal: No Solution Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,37 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[48, 79], Operations: ['12*4=48', '5+74=79'] Exploring Operation: 79-48=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 48*79=3792, Resulting Numbers: [3792] 3792,37 unequal: No Solution Exploring Operation: 48+79=127, Resulting Numbers: [127] 127,37 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: 37:[74, 4, 17], Operations: ['5+12=17'] Exploring Operation: 4+17=21, Resulting Numbers: [74, 21] Generated Node #0,1,0: 37:[74, 21] Operation: 4+17=21 Exploring Operation: 74-4=70, Resulting Numbers: [17, 70] Generated Node #0,1,1: 37:[17, 70] Operation: 74-4=70 Exploring Operation: 17-4=13, Resulting Numbers: [74, 13] Generated Node #0,1,2: 37:[74, 13] Operation: 17-4=13 Exploring Operation: 74-17=57, Resulting Numbers: [4, 57] Generated Node #0,1,3: 37:[4, 57] Operation: 74-17=57 Exploring Operation: 74+4=78, Resulting Numbers: [17, 78] Generated Node #0,1,4: 37:[17, 78] Operation: 74+4=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[74, 21], Operations: ['5+12=17', '4+17=21'] Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,37 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[17, 70], Operations: ['5+12=17', '74-4=70'] Exploring Operation: 17*70=1190, Resulting Numbers: [1190] 1190,37 unequal: No Solution Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,37 unequal: No Solution Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[4, 57], Operations: ['5+12=17', '74-17=57'] Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,37 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[74, 13], Operations: ['5+12=17', '17-4=13'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,37 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 37:[17, 78], Operations: ['5+12=17', '74+4=78'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 17+78=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 17*78=1326, Resulting Numbers: [1326] 1326,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 37:[74, 12, 9], Operations: ['5+4=9'] Exploring Operation: 12+9=21, Resulting Numbers: [74, 21] Generated Node #0,2,0: 37:[74, 21] Operation: 12+9=21 Exploring Operation: 74+9=83, Resulting Numbers: [12, 83] Generated Node #0,2,1: 37:[12, 83] Operation: 74+9=83 Exploring Operation: 12-9=3, Resulting Numbers: [74, 3] Generated Node #0,2,2: 37:[74, 3] Operation: 12-9=3 Exploring Operation: 74-12=62, Resulting Numbers: [9, 62] Generated Node #0,2,3: 37:[9, 62] Operation: 74-12=62 Exploring Operation: 74-9=65, Resulting Numbers: [12, 65] Generated Node #0,2,4: 37:[12, 65] Operation: 74-9=65 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[74, 21], Operations: ['5+4=9', '12+9=21'] Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,37 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[9, 62], Operations: ['5+4=9', '74-12=62'] Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,37 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 37:[12, 65], Operations: ['5+4=9', '74-9=65'] Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,37 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[12, 83], Operations: ['5+4=9', '74+9=83'] Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,37 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[74, 3], Operations: ['5+4=9', '12-9=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,37 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,37 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: 37:[12, 4, 69], Operations: ['74-5=69'] Exploring Operation: 12-4=8, Resulting Numbers: [69, 8] Generated Node #0,4,0: 37:[69, 8] Operation: 12-4=8 Exploring Operation: 12*4=48, Resulting Numbers: [69, 48] Generated Node #0,4,1: 37:[69, 48] Operation: 12*4=48 Exploring Operation: 12+4=16, Resulting Numbers: [69, 16] Generated Node #0,4,2: 37:[69, 16] Operation: 12+4=16 Exploring Operation: 69-4=65, Resulting Numbers: [12, 65] Generated Node #0,4,3: 37:[12, 65] Operation: 69-4=65 Exploring Operation: 69-12=57, Resulting Numbers: [4, 57] Generated Node #0,4,4: 37:[4, 57] Operation: 69-12=57 Moving to Node #0,4,1 Current State: 37:[69, 48], Operations: ['74-5=69', '12*4=48'] Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[12, 65], Operations: ['74-5=69', '69-4=65'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[69, 16], Operations: ['74-5=69', '12+4=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,37 unequal: No Solution Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,37 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[4, 57], Operations: ['74-5=69', '69-12=57'] Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,37 unequal: No Solution Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[69, 8], Operations: ['74-5=69', '12-4=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,37 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 44, 4, 7 ]
20
[ "2+7=9", "44/4=11", "9+11=20" ]
Current State: 20:[2, 44, 4, 7], Operations: [] Exploring Operation: 2+7=9, Resulting Numbers: [44, 4, 9] Generated Node #2: [44, 4, 9] from Operation: 2+7=9 Current State: 20:[44, 4, 9], Operations: ['2+7=9'] Exploring Operation: 44/4=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 44/4=11 Current State: 20:[9, 11], Operations: ['2+7=9', '44/4=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[2, 44, 4, 7], Operations: [] Exploring Operation: 44-7=37, Resulting Numbers: [2, 4, 37] Generated Node #0,0: 20:[2, 4, 37] Operation: 44-7=37 Exploring Operation: 44/2=22, Resulting Numbers: [4, 7, 22] Generated Node #0,1: 20:[4, 7, 22] Operation: 44/2=22 Exploring Operation: 44/4=11, Resulting Numbers: [2, 7, 11] Generated Node #0,2: 20:[2, 7, 11] Operation: 44/4=11 Moving to Node #0,2 Current State: 20:[2, 7, 11], Operations: ['44/4=11'] Exploring Operation: 7-2=5, Resulting Numbers: [11, 5] Generated Node #0,2,0: 20:[11, 5] Operation: 7-2=5 Exploring Operation: 2+7=9, Resulting Numbers: [11, 9] Generated Node #0,2,1: 20:[11, 9] Operation: 2+7=9 Exploring Operation: 11-7=4, Resulting Numbers: [2, 4] Generated Node #0,2,2: 20:[2, 4] Operation: 11-7=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[2, 4], Operations: ['44/4=11', '11-7=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,20 unequal: No Solution No 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: 20:[11, 5], Operations: ['44/4=11', '7-2=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,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,2,1 Current State: 20:[11, 9], Operations: ['44/4=11', '2+7=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[2, 44, 4, 7], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [2, 7, 11] Generated Node #0,2: 20:[2, 7, 11] Operation: 44/4=11 Moving to Node #0,2 Current State: 20:[2, 7, 11], Operations: ['44/4=11'] Exploring Operation: 2+7=9, Resulting Numbers: [11, 9] Generated Node #0,2,1: 20:[11, 9] Operation: 2+7=9 Moving to Node #0,2,1 Current State: 20:[11, 9], Operations: ['44/4=11', '2+7=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 6, 36, 7, 72 ]
66
[ "6+36=42", "42/7=6", "72-6=66" ]
Current State: 66:[6, 36, 7, 72], Operations: [] Exploring Operation: 6+36=42, Resulting Numbers: [7, 72, 42] Generated Node #2: [7, 72, 42] from Operation: 6+36=42 Current State: 66:[7, 72, 42], Operations: ['6+36=42'] Exploring Operation: 42/7=6, Resulting Numbers: [72, 6] Generated Node #3: [72, 6] from Operation: 42/7=6 Current State: 66:[72, 6], Operations: ['6+36=42', '42/7=6'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[6, 36, 7, 72], Operations: [] Exploring Operation: 72-6=66, Resulting Numbers: [36, 7, 66] Generated Node #0,0: 66:[36, 7, 66] Operation: 72-6=66 Exploring Operation: 72/36=2, Resulting Numbers: [6, 7, 2] Generated Node #0,1: 66:[6, 7, 2] Operation: 72/36=2 Exploring Operation: 72-36=36, Resulting Numbers: [6, 7, 36] Generated Node #0,2: 66:[6, 7, 36] Operation: 72-36=36 Exploring Operation: 72/6=12, Resulting Numbers: [36, 7, 12] Generated Node #0,3: 66:[36, 7, 12] Operation: 72/6=12 Exploring Operation: 72-7=65, Resulting Numbers: [6, 36, 65] Generated Node #0,4: 66:[6, 36, 65] Operation: 72-7=65 Moving to Node #0,1 Current State: 66:[6, 7, 2], Operations: ['72/36=2'] Exploring Operation: 6*2=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 66:[7, 12] Operation: 6*2=12 Exploring Operation: 7-6=1, Resulting Numbers: [2, 1] Generated Node #0,1,1: 66:[2, 1] Operation: 7-6=1 Exploring Operation: 6/2=3, Resulting Numbers: [7, 3] Generated Node #0,1,2: 66:[7, 3] Operation: 6/2=3 Exploring Operation: 6+7=13, Resulting Numbers: [2, 13] Generated Node #0,1,3: 66:[2, 13] Operation: 6+7=13 Exploring Operation: 7-2=5, Resulting Numbers: [6, 5] Generated Node #0,1,4: 66:[6, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[2, 1], Operations: ['72/36=2', '7-6=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[7, 3], Operations: ['72/36=2', '6/2=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 66:[6, 5], Operations: ['72/36=2', '7-2=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[7, 12], Operations: ['72/36=2', '6*2=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[2, 13], Operations: ['72/36=2', '6+7=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 66:[6, 7, 36], Operations: ['72-36=36'] Exploring Operation: 6+7=13, Resulting Numbers: [36, 13] Generated Node #0,2,0: 66:[36, 13] Operation: 6+7=13 Exploring Operation: 36/6=6, Resulting Numbers: [7, 6] Generated Node #0,2,1: 66:[7, 6] Operation: 36/6=6 Exploring Operation: 36-7=29, Resulting Numbers: [6, 29] Generated Node #0,2,2: 66:[6, 29] Operation: 36-7=29 Exploring Operation: 36-6=30, Resulting Numbers: [7, 30] Generated Node #0,2,3: 66:[7, 30] Operation: 36-6=30 Exploring Operation: 7-6=1, Resulting Numbers: [36, 1] Generated Node #0,2,4: 66:[36, 1] Operation: 7-6=1 Moving to Node #0,0 Current State: 66:[36, 7, 66], Operations: ['72-6=66'] Exploring Operation: 36-7=29, Resulting Numbers: [66, 29] Generated Node #0,0,0: 66:[66, 29] Operation: 36-7=29 Exploring Operation: 7+66=73, Resulting Numbers: [36, 73] Generated Node #0,0,1: 66:[36, 73] Operation: 7+66=73 Exploring Operation: 66-7=59, Resulting Numbers: [36, 59] Generated Node #0,0,2: 66:[36, 59] Operation: 66-7=59 Exploring Operation: 36+7=43, Resulting Numbers: [66, 43] Generated Node #0,0,3: 66:[66, 43] Operation: 36+7=43 Exploring Operation: 66-36=30, Resulting Numbers: [7, 30] Generated Node #0,0,4: 66:[7, 30] Operation: 66-36=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[66, 29], Operations: ['72-6=66', '36-7=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,66 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,66 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 66:[7, 30], Operations: ['72-6=66', '66-36=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,66 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[36, 73], Operations: ['72-6=66', '7+66=73'] Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,66 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[36, 59], Operations: ['72-6=66', '66-7=59'] Exploring Operation: 36*59=2124, Resulting Numbers: [2124] 2124,66 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 36+59=95, Resulting Numbers: [95] 95,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[66, 43], Operations: ['72-6=66', '36+7=43'] Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,66 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,66 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: 66:[6, 36, 65], Operations: ['72-7=65'] Exploring Operation: 65-36=29, Resulting Numbers: [6, 29] Generated Node #0,4,0: 66:[6, 29] Operation: 65-36=29 Exploring Operation: 36/6=6, Resulting Numbers: [65, 6] Generated Node #0,4,1: 66:[65, 6] Operation: 36/6=6 Exploring Operation: 6+65=71, Resulting Numbers: [36, 71] Generated Node #0,4,2: 66:[36, 71] Operation: 6+65=71 Exploring Operation: 6+36=42, Resulting Numbers: [65, 42] Generated Node #0,4,3: 66:[65, 42] Operation: 6+36=42 Exploring Operation: 36-6=30, Resulting Numbers: [65, 30] Generated Node #0,4,4: 66:[65, 30] Operation: 36-6=30 Moving to Node #0,3 Current State: 66:[36, 7, 12], Operations: ['72/6=12'] Exploring Operation: 12-7=5, Resulting Numbers: [36, 5] Generated Node #0,3,0: 66:[36, 5] Operation: 12-7=5 Exploring Operation: 36/12=3, Resulting Numbers: [7, 3] Generated Node #0,3,1: 66:[7, 3] Operation: 36/12=3 Exploring Operation: 7+12=19, Resulting Numbers: [36, 19] Generated Node #0,3,2: 66:[36, 19] Operation: 7+12=19 Exploring Operation: 36-7=29, Resulting Numbers: [12, 29] Generated Node #0,3,3: 66:[12, 29] Operation: 36-7=29 Exploring Operation: 36-12=24, Resulting Numbers: [7, 24] Generated Node #0,3,4: 66:[7, 24] Operation: 36-12=24 Moving to Node #0,2,1 Current State: 66:[7, 6], Operations: ['72-36=36', '36/6=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,66 unequal: No Solution Moving to Node #0,4,1 Current State: 66:[65, 6], Operations: ['72-7=65', '36/6=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,66 unequal: No Solution Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,66 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[7, 3], Operations: ['72/6=12', '36/12=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[7, 24], Operations: ['72/6=12', '36-12=24'] Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,66 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[6, 29], Operations: ['72-7=65', '65-36=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,66 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[36, 5], Operations: ['72/6=12', '12-7=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,66 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[7, 30], Operations: ['72-36=36', '36-6=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,66 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[6, 29], Operations: ['72-36=36', '36-7=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,66 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[36, 1], Operations: ['72-36=36', '7-6=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,66 unequal: No Solution Moving to Node #0,4,4 Current State: 66:[65, 30], Operations: ['72-7=65', '36-6=30'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,66 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[12, 29], Operations: ['72/6=12', '36-7=29'] Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,66 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[36, 13], Operations: ['72-36=36', '6+7=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[36, 19], Operations: ['72/6=12', '7+12=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,66 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[36, 71], Operations: ['72-7=65', '6+65=71'] Exploring Operation: 36+71=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 36*71=2556, Resulting Numbers: [2556] 2556,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[65, 42], Operations: ['72-7=65', '6+36=42'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,66 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,66 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 33, 38, 6, 76 ]
87
[ "38-33=5", "6+76=82", "5+82=87" ]
Current State: 87:[33, 38, 6, 76], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [6, 76, 5] Generated Node #2: [6, 76, 5] from Operation: 38-33=5 Current State: 87:[6, 76, 5], Operations: ['38-33=5'] Exploring Operation: 6+76=82, Resulting Numbers: [5, 82] Generated Node #3: [5, 82] from Operation: 6+76=82 Current State: 87:[5, 82], Operations: ['38-33=5', '6+76=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[33, 38, 6, 76], Operations: [] Exploring Operation: 76-38=38, Resulting Numbers: [33, 6, 38] Generated Node #0,0: 87:[33, 6, 38] Operation: 76-38=38 Exploring Operation: 38-6=32, Resulting Numbers: [33, 76, 32] Generated Node #0,1: 87:[33, 76, 32] Operation: 38-6=32 Exploring Operation: 76/38=2, Resulting Numbers: [33, 6, 2] Generated Node #0,2: 87:[33, 6, 2] Operation: 76/38=2 Exploring Operation: 6+76=82, Resulting Numbers: [33, 38, 82] Generated Node #0,3: 87:[33, 38, 82] Operation: 6+76=82 Exploring Operation: 38-33=5, Resulting Numbers: [6, 76, 5] Generated Node #0,4: 87:[6, 76, 5] Operation: 38-33=5 Moving to Node #0,2 Current State: 87:[33, 6, 2], Operations: ['76/38=2'] Exploring Operation: 6-2=4, Resulting Numbers: [33, 4] Generated Node #0,2,0: 87:[33, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [33, 3] Generated Node #0,2,1: 87:[33, 3] Operation: 6/2=3 Exploring Operation: 33-6=27, Resulting Numbers: [2, 27] Generated Node #0,2,2: 87:[2, 27] Operation: 33-6=27 Exploring Operation: 33-2=31, Resulting Numbers: [6, 31] Generated Node #0,2,3: 87:[6, 31] Operation: 33-2=31 Exploring Operation: 33+2=35, Resulting Numbers: [6, 35] Generated Node #0,2,4: 87:[6, 35] Operation: 33+2=35 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[2, 27], Operations: ['76/38=2', '33-6=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[33, 3], Operations: ['76/38=2', '6/2=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[33, 4], Operations: ['76/38=2', '6-2=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[6, 31], Operations: ['76/38=2', '33-2=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 87:[6, 35], Operations: ['76/38=2', '33+2=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,87 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,87 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: 87:[6, 76, 5], Operations: ['38-33=5'] Exploring Operation: 6+76=82, Resulting Numbers: [5, 82] Generated Node #0,4,0: 87:[5, 82] Operation: 6+76=82 Exploring Operation: 6-5=1, Resulting Numbers: [76, 1] Generated Node #0,4,1: 87:[76, 1] Operation: 6-5=1 Exploring Operation: 6*5=30, Resulting Numbers: [76, 30] Generated Node #0,4,2: 87:[76, 30] Operation: 6*5=30 Exploring Operation: 76-6=70, Resulting Numbers: [5, 70] Generated Node #0,4,3: 87:[5, 70] Operation: 76-6=70 Exploring Operation: 76+5=81, Resulting Numbers: [6, 81] Generated Node #0,4,4: 87:[6, 81] Operation: 76+5=81 Moving to Node #0,0 Current State: 87:[33, 6, 38], Operations: ['76-38=38'] Exploring Operation: 33+38=71, Resulting Numbers: [6, 71] Generated Node #0,0,0: 87:[6, 71] Operation: 33+38=71 Exploring Operation: 38-33=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 87:[6, 5] Operation: 38-33=5 Exploring Operation: 33+6=39, Resulting Numbers: [38, 39] Generated Node #0,0,2: 87:[38, 39] Operation: 33+6=39 Exploring Operation: 33-6=27, Resulting Numbers: [38, 27] Generated Node #0,0,3: 87:[38, 27] Operation: 33-6=27 Exploring Operation: 38-6=32, Resulting Numbers: [33, 32] Generated Node #0,0,4: 87:[33, 32] Operation: 38-6=32 Moving to Node #0,1 Current State: 87:[33, 76, 32], Operations: ['38-6=32'] Exploring Operation: 33-32=1, Resulting Numbers: [76, 1] Generated Node #0,1,0: 87:[76, 1] Operation: 33-32=1 Exploring Operation: 76-33=43, Resulting Numbers: [32, 43] Generated Node #0,1,1: 87:[32, 43] Operation: 76-33=43 Exploring Operation: 76-32=44, Resulting Numbers: [33, 44] Generated Node #0,1,2: 87:[33, 44] Operation: 76-32=44 Exploring Operation: 76+32=108, Resulting Numbers: [33, 108] Generated Node #0,1,3: 87:[33, 108] Operation: 76+32=108 Exploring Operation: 33+76=109, Resulting Numbers: [32, 109] Generated Node #0,1,4: 87:[32, 109] Operation: 33+76=109 Moving to Node #0,3 Current State: 87:[33, 38, 82], Operations: ['6+76=82'] Exploring Operation: 38-33=5, Resulting Numbers: [82, 5] Generated Node #0,3,0: 87:[82, 5] Operation: 38-33=5 Exploring Operation: 33+82=115, Resulting Numbers: [38, 115] Generated Node #0,3,1: 87:[38, 115] Operation: 33+82=115 Exploring Operation: 82-38=44, Resulting Numbers: [33, 44] Generated Node #0,3,2: 87:[33, 44] Operation: 82-38=44 Exploring Operation: 33+38=71, Resulting Numbers: [82, 71] Generated Node #0,3,3: 87:[82, 71] Operation: 33+38=71 Exploring Operation: 82-33=49, Resulting Numbers: [38, 49] Generated Node #0,3,4: 87:[38, 49] Operation: 82-33=49 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[82, 5], Operations: ['6+76=82', '38-33=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[33, 38, 6, 76], Operations: [] Exploring Operation: 6+76=82, Resulting Numbers: [33, 38, 82] Generated Node #0,3: 87:[33, 38, 82] Operation: 6+76=82 Moving to Node #0,3 Current State: 87:[33, 38, 82], Operations: ['6+76=82'] Exploring Operation: 38-33=5, Resulting Numbers: [82, 5] Generated Node #0,3,0: 87:[82, 5] Operation: 38-33=5 Moving to Node #0,3,0 Current State: 87:[82, 5], Operations: ['6+76=82', '38-33=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
sum_heuristic
[ 23, 5, 3, 16 ]
62
[ "5-3=2", "23*2=46", "16+46=62" ]
Current State: 62:[23, 5, 3, 16], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [23, 16, 2] Generated Node #2: [23, 16, 2] from Operation: 5-3=2 Current State: 62:[23, 16, 2], Operations: ['5-3=2'] Exploring Operation: 23*2=46, Resulting Numbers: [16, 46] Generated Node #3: [16, 46] from Operation: 23*2=46 Current State: 62:[16, 46], Operations: ['5-3=2', '23*2=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[23, 5, 3, 16], Operations: [] Exploring Operation: 23+16=39, Resulting Numbers: [5, 3, 39] Generated Node #0,0: 62:[5, 3, 39] Operation: 23+16=39 Exploring Operation: 23-16=7, Resulting Numbers: [5, 3, 7] Generated Node #0,1: 62:[5, 3, 7] Operation: 23-16=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[5, 3, 7], Operations: ['23-16=7'] Exploring Operation: 7-5=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 62:[3, 2] Operation: 7-5=2 Exploring Operation: 5-3=2, Resulting Numbers: [7, 2] Generated Node #0,1,1: 62:[7, 2] Operation: 5-3=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[3, 2], Operations: ['23-16=7', '7-5=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,62 unequal: No Solution No 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: 62:[7, 2], Operations: ['23-16=7', '5-3=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,62 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: 62:[5, 3, 39], Operations: ['23+16=39'] Exploring Operation: 39-5=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 62:[3, 34] Operation: 39-5=34 Exploring Operation: 5-3=2, Resulting Numbers: [39, 2] Generated Node #0,0,1: 62:[39, 2] Operation: 5-3=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[3, 34], Operations: ['23+16=39', '39-5=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution No 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: 62:[39, 2], Operations: ['23+16=39', '5-3=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 96, 51, 55, 92 ]
68
[ "55-51=4", "96/4=24", "92-24=68" ]
Current State: 68:[96, 51, 55, 92], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [96, 92, 4] Generated Node #2: [96, 92, 4] from Operation: 55-51=4 Current State: 68:[96, 92, 4], Operations: ['55-51=4'] Exploring Operation: 96/4=24, Resulting Numbers: [92, 24] Generated Node #3: [92, 24] from Operation: 96/4=24 Current State: 68:[92, 24], Operations: ['55-51=4', '96/4=24'] Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[96, 51, 55, 92], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [55, 92, 45] Generated Node #0,0: 68:[55, 92, 45] Operation: 96-51=45 Exploring Operation: 96-55=41, Resulting Numbers: [51, 92, 41] Generated Node #0,1: 68:[51, 92, 41] Operation: 96-55=41 Exploring Operation: 96-92=4, Resulting Numbers: [51, 55, 4] Generated Node #0,2: 68:[51, 55, 4] Operation: 96-92=4 Moving to Node #0,2 Current State: 68:[51, 55, 4], Operations: ['96-92=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55, 55] Generated Node #0,2,0: 68:[55, 55] Operation: 51+4=55 Exploring Operation: 51-4=47, Resulting Numbers: [55, 47] Generated Node #0,2,1: 68:[55, 47] Operation: 51-4=47 Exploring Operation: 55-51=4, Resulting Numbers: [4, 4] Generated Node #0,2,2: 68:[4, 4] Operation: 55-51=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[4, 4], Operations: ['96-92=4', '55-51=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[55, 55], Operations: ['96-92=4', '51+4=55'] Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[55, 47], Operations: ['96-92=4', '51-4=47'] Exploring Operation: 55*47=2585, Resulting Numbers: [2585] 2585,68 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[55, 92, 45], Operations: ['96-51=45'] Exploring Operation: 92-45=47, Resulting Numbers: [55, 47] Generated Node #0,0,0: 68:[55, 47] Operation: 92-45=47 Exploring Operation: 92-55=37, Resulting Numbers: [45, 37] Generated Node #0,0,1: 68:[45, 37] Operation: 92-55=37 Exploring Operation: 55-45=10, Resulting Numbers: [92, 10] Generated Node #0,0,2: 68:[92, 10] Operation: 55-45=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[45, 37], Operations: ['96-51=45', '92-55=37'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 45*37=1665, Resulting Numbers: [1665] 1665,68 unequal: No Solution Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[55, 47], Operations: ['96-51=45', '92-45=47'] Exploring Operation: 55*47=2585, Resulting Numbers: [2585] 2585,68 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[92, 10], Operations: ['96-51=45', '55-45=10'] Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,68 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,68 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,68 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: 68:[51, 92, 41], Operations: ['96-55=41'] Exploring Operation: 92-51=41, Resulting Numbers: [41, 41] Generated Node #0,1,0: 68:[41, 41] Operation: 92-51=41 Exploring Operation: 92-41=51, Resulting Numbers: [51, 51] Generated Node #0,1,1: 68:[51, 51] Operation: 92-41=51 Exploring Operation: 51-41=10, Resulting Numbers: [92, 10] Generated Node #0,1,2: 68:[92, 10] Operation: 51-41=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[41, 41], Operations: ['96-55=41', '92-51=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,68 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[92, 10], Operations: ['96-55=41', '51-41=10'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,68 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,68 unequal: No Solution Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[51, 51], Operations: ['96-55=41', '92-41=51'] Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,68 unequal: No Solution Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,68 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
[ 53, 59, 78, 50 ]
99
[ "53-50=3", "59*3=177", "177-78=99" ]
Current State: 99:[53, 59, 78, 50], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [59, 78, 3] Generated Node #2: [59, 78, 3] from Operation: 53-50=3 Current State: 99:[59, 78, 3], Operations: ['53-50=3'] Exploring Operation: 59*3=177, Resulting Numbers: [78, 177] Generated Node #3: [78, 177] from Operation: 59*3=177 Current State: 99:[78, 177], Operations: ['53-50=3', '59*3=177'] Exploring Operation: 177-78=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[53, 59, 78, 50], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [53, 78, 9] Generated Node #0,0: 99:[53, 78, 9] Operation: 59-50=9 Exploring Operation: 78-59=19, Resulting Numbers: [53, 50, 19] Generated Node #0,1: 99:[53, 50, 19] Operation: 78-59=19 Exploring Operation: 59-53=6, Resulting Numbers: [78, 50, 6] Generated Node #0,2: 99:[78, 50, 6] Operation: 59-53=6 Moving to Node #0,0 Current State: 99:[53, 78, 9], Operations: ['59-50=9'] Exploring Operation: 53-9=44, Resulting Numbers: [78, 44] Generated Node #0,0,0: 99:[78, 44] Operation: 53-9=44 Exploring Operation: 53+78=131, Resulting Numbers: [9, 131] Generated Node #0,0,1: 99:[9, 131] Operation: 53+78=131 Exploring Operation: 78-53=25, Resulting Numbers: [9, 25] Generated Node #0,0,2: 99:[9, 25] Operation: 78-53=25 Moving to Node #0,2 Current State: 99:[78, 50, 6], Operations: ['59-53=6'] Exploring Operation: 78/6=13, Resulting Numbers: [50, 13] Generated Node #0,2,0: 99:[50, 13] Operation: 78/6=13 Exploring Operation: 78+50=128, Resulting Numbers: [6, 128] Generated Node #0,2,1: 99:[6, 128] Operation: 78+50=128 Exploring Operation: 78-50=28, Resulting Numbers: [6, 28] Generated Node #0,2,2: 99:[6, 28] Operation: 78-50=28 Moving to Node #0,1 Current State: 99:[53, 50, 19], Operations: ['78-59=19'] Exploring Operation: 53+50=103, Resulting Numbers: [19, 103] Generated Node #0,1,0: 99:[19, 103] Operation: 53+50=103 Exploring Operation: 53-19=34, Resulting Numbers: [50, 34] Generated Node #0,1,1: 99:[50, 34] Operation: 53-19=34 Exploring Operation: 53-50=3, Resulting Numbers: [19, 3] Generated Node #0,1,2: 99:[19, 3] Operation: 53-50=3 Moving to Node #0,0,2 Current State: 99:[9, 25], Operations: ['59-50=9', '78-53=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[19, 3], Operations: ['78-59=19', '53-50=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[6, 28], Operations: ['59-53=6', '78-50=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,99 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[19, 103], Operations: ['78-59=19', '53+50=103'] Exploring Operation: 19*103=1957, Resulting Numbers: [1957] 1957,99 unequal: No Solution Exploring Operation: 103-19=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 19+103=122, Resulting Numbers: [122] 122,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[50, 34], Operations: ['78-59=19', '53-19=34'] Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,99 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[50, 13], Operations: ['59-53=6', '78/6=13'] Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,99 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[6, 128], Operations: ['59-53=6', '78+50=128'] Exploring Operation: 6*128=768, Resulting Numbers: [768] 768,99 unequal: No Solution Exploring Operation: 6+128=134, Resulting Numbers: [134] 134,99 unequal: No Solution Exploring Operation: 128-6=122, Resulting Numbers: [122] 122,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[78, 44], Operations: ['59-50=9', '53-9=44'] Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,99 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,99 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[9, 131], Operations: ['59-50=9', '53+78=131'] Exploring Operation: 131-9=122, Resulting Numbers: [122] 122,99 unequal: No Solution Exploring Operation: 9+131=140, Resulting Numbers: [140] 140,99 unequal: No Solution Exploring Operation: 9*131=1179, Resulting Numbers: [1179] 1179,99 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 3, 47, 66, 49 ]
60
[ "49-47=2", "3*2=6", "66-6=60" ]
Current State: 60:[3, 47, 66, 49], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [3, 66, 2] Generated Node #2: [3, 66, 2] from Operation: 49-47=2 Current State: 60:[3, 66, 2], Operations: ['49-47=2'] Exploring Operation: 3*2=6, Resulting Numbers: [66, 6] Generated Node #3: [66, 6] from Operation: 3*2=6 Current State: 60:[66, 6], Operations: ['49-47=2', '3*2=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[3, 47, 66, 49], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [3, 66, 2] Generated Node #0,0: 60:[3, 66, 2] Operation: 49-47=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[3, 66, 2], Operations: ['49-47=2'] Exploring Operation: 66/3=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 60:[2, 22] Operation: 66/3=22 Moving to Node #0,0,0 Current State: 60:[2, 22], Operations: ['49-47=2', '66/3=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,60 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
[ 4, 67, 54, 99 ]
26
[ "4+67=71", "99-54=45", "71-45=26" ]
Current State: 26:[4, 67, 54, 99], Operations: [] Exploring Operation: 4+67=71, Resulting Numbers: [54, 99, 71] Generated Node #2: [54, 99, 71] from Operation: 4+67=71 Current State: 26:[54, 99, 71], Operations: ['4+67=71'] Exploring Operation: 99-54=45, Resulting Numbers: [71, 45] Generated Node #3: [71, 45] from Operation: 99-54=45 Current State: 26:[71, 45], Operations: ['4+67=71', '99-54=45'] Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[4, 67, 54, 99], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [4, 54, 32] Generated Node #0,0: 26:[4, 54, 32] Operation: 99-67=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[4, 54, 32], Operations: ['99-67=32'] Exploring Operation: 54-32=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 26:[4, 22] Operation: 54-32=22 Moving to Node #0,0,0 Current State: 26:[4, 22], Operations: ['99-67=32', '54-32=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[4, 67, 54, 99], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [4, 54, 32] Generated Node #0,0: 26:[4, 54, 32] Operation: 99-67=32 Moving to Node #0,0 Current State: 26:[4, 54, 32], Operations: ['99-67=32'] Exploring Operation: 54-32=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 26:[4, 22] Operation: 54-32=22 Moving to Node #0,0,0 Current State: 26:[4, 22], Operations: ['99-67=32', '54-32=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 13, 20, 75, 8 ]
90
[ "20-13=7", "75+8=83", "7+83=90" ]
Current State: 90:[13, 20, 75, 8], Operations: [] Exploring Operation: 20-13=7, Resulting Numbers: [75, 8, 7] Generated Node #2: [75, 8, 7] from Operation: 20-13=7 Current State: 90:[75, 8, 7], Operations: ['20-13=7'] Exploring Operation: 75+8=83, Resulting Numbers: [7, 83] Generated Node #3: [7, 83] from Operation: 75+8=83 Current State: 90:[7, 83], Operations: ['20-13=7', '75+8=83'] Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[13, 20, 75, 8], Operations: [] Exploring Operation: 13+75=88, Resulting Numbers: [20, 8, 88] Generated Node #0,0: 90:[20, 8, 88] Operation: 13+75=88 Exploring Operation: 20+75=95, Resulting Numbers: [13, 8, 95] Generated Node #0,1: 90:[13, 8, 95] Operation: 20+75=95 Moving to Node #0,0 Current State: 90:[20, 8, 88], Operations: ['13+75=88'] Exploring Operation: 88/8=11, Resulting Numbers: [20, 11] Generated Node #0,0,0: 90:[20, 11] Operation: 88/8=11 Exploring Operation: 20+8=28, Resulting Numbers: [88, 28] Generated Node #0,0,1: 90:[88, 28] Operation: 20+8=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[20, 11], Operations: ['13+75=88', '88/8=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,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,0,1 Current State: 90:[88, 28], Operations: ['13+75=88', '20+8=28'] Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,90 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 90:[13, 8, 95], Operations: ['20+75=95'] Exploring Operation: 13-8=5, Resulting Numbers: [95, 5] Generated Node #0,1,0: 90:[95, 5] Operation: 13-8=5 Exploring Operation: 95-8=87, Resulting Numbers: [13, 87] Generated Node #0,1,1: 90:[13, 87] Operation: 95-8=87 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[95, 5], Operations: ['20+75=95', '13-8=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[13, 20, 75, 8], Operations: [] Exploring Operation: 20+75=95, Resulting Numbers: [13, 8, 95] Generated Node #0,1: 90:[13, 8, 95] Operation: 20+75=95 Moving to Node #0,1 Current State: 90:[13, 8, 95], Operations: ['20+75=95'] Exploring Operation: 13-8=5, Resulting Numbers: [95, 5] Generated Node #0,1,0: 90:[95, 5] Operation: 13-8=5 Moving to Node #0,1,0 Current State: 90:[95, 5], Operations: ['20+75=95', '13-8=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 88, 5, 41, 65 ]
74
[ "88-65=23", "5*23=115", "115-41=74" ]
Current State: 74:[88, 5, 41, 65], Operations: [] Exploring Operation: 88-65=23, Resulting Numbers: [5, 41, 23] Generated Node #2: [5, 41, 23] from Operation: 88-65=23 Current State: 74:[5, 41, 23], Operations: ['88-65=23'] Exploring Operation: 5*23=115, Resulting Numbers: [41, 115] Generated Node #3: [41, 115] from Operation: 5*23=115 Current State: 74:[41, 115], Operations: ['88-65=23', '5*23=115'] Exploring Operation: 115-41=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[88, 5, 41, 65], Operations: [] Exploring Operation: 88-65=23, Resulting Numbers: [5, 41, 23] Generated Node #0,0: 74:[5, 41, 23] Operation: 88-65=23 Exploring Operation: 88-5=83, Resulting Numbers: [41, 65, 83] Generated Node #0,1: 74:[41, 65, 83] Operation: 88-5=83 Exploring Operation: 88-41=47, Resulting Numbers: [5, 65, 47] Generated Node #0,2: 74:[5, 65, 47] Operation: 88-41=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[5, 41, 23], Operations: ['88-65=23'] Exploring Operation: 5+23=28, Resulting Numbers: [41, 28] Generated Node #0,0,0: 74:[41, 28] Operation: 5+23=28 Exploring Operation: 41+23=64, Resulting Numbers: [5, 64] Generated Node #0,0,1: 74:[5, 64] Operation: 41+23=64 Exploring Operation: 41-5=36, Resulting Numbers: [23, 36] Generated Node #0,0,2: 74:[23, 36] Operation: 41-5=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[41, 28], Operations: ['88-65=23', '5+23=28'] Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,74 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,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,1 Current State: 74:[5, 64], Operations: ['88-65=23', '41+23=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 5*64=320, Resulting Numbers: [320] 320,74 unequal: No Solution Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,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:[23, 36], Operations: ['88-65=23', '41-5=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,74 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,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,1 Current State: 74:[41, 65, 83], Operations: ['88-5=83'] Exploring Operation: 83-65=18, Resulting Numbers: [41, 18] Generated Node #0,1,0: 74:[41, 18] Operation: 83-65=18 Exploring Operation: 83-41=42, Resulting Numbers: [65, 42] Generated Node #0,1,1: 74:[65, 42] Operation: 83-41=42 Exploring Operation: 65-41=24, Resulting Numbers: [83, 24] Generated Node #0,1,2: 74:[83, 24] Operation: 65-41=24 Moving to Node #0,1,1 Current State: 74:[65, 42], Operations: ['88-5=83', '83-41=42'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[41, 18], Operations: ['88-5=83', '83-65=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[83, 24], Operations: ['88-5=83', '65-41=24'] Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,74 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,74 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,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,2 Current State: 74:[5, 65, 47], Operations: ['88-41=47'] Exploring Operation: 47-5=42, Resulting Numbers: [65, 42] Generated Node #0,2,0: 74:[65, 42] Operation: 47-5=42 Exploring Operation: 65-47=18, Resulting Numbers: [5, 18] Generated Node #0,2,1: 74:[5, 18] Operation: 65-47=18 Exploring Operation: 5+65=70, Resulting Numbers: [47, 70] Generated Node #0,2,2: 74:[47, 70] Operation: 5+65=70 Moving to Node #0,2,0 Current State: 74:[65, 42], Operations: ['88-41=47', '47-5=42'] Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,74 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[47, 70], Operations: ['88-41=47', '5+65=70'] Exploring Operation: 47*70=3290, Resulting Numbers: [3290] 3290,74 unequal: No Solution Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 47+70=117, Resulting Numbers: [117] 117,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[5, 18], Operations: ['88-41=47', '65-47=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,74 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
[ 11, 7, 77, 12 ]
22
[ "12-7=5", "11*5=55", "77-55=22" ]
Current State: 22:[11, 7, 77, 12], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [11, 77, 5] Generated Node #2: [11, 77, 5] from Operation: 12-7=5 Current State: 22:[11, 77, 5], Operations: ['12-7=5'] Exploring Operation: 11*5=55, Resulting Numbers: [77, 55] Generated Node #3: [77, 55] from Operation: 11*5=55 Current State: 22:[77, 55], Operations: ['12-7=5', '11*5=55'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[11, 7, 77, 12], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [7, 12, 7] Generated Node #0,0: 22:[7, 12, 7] Operation: 77/11=7 Exploring Operation: 77-12=65, Resulting Numbers: [11, 7, 65] Generated Node #0,1: 22:[11, 7, 65] Operation: 77-12=65 Exploring Operation: 77/7=11, Resulting Numbers: [11, 12, 11] Generated Node #0,2: 22:[11, 12, 11] Operation: 77/7=11 Moving to Node #0,2 Current State: 22:[11, 12, 11], Operations: ['77/7=11'] Exploring Operation: 12-11=1, Resulting Numbers: [11, 1] Generated Node #0,2,0: 22:[11, 1] Operation: 12-11=1 Exploring Operation: 11+12=23, Resulting Numbers: [11, 23] Generated Node #0,2,1: 22:[11, 23] Operation: 11+12=23 Exploring Operation: 11+11=22, Resulting Numbers: [12, 22] Generated Node #0,2,2: 22:[12, 22] Operation: 11+11=22 Moving to Node #0,0 Current State: 22:[7, 12, 7], Operations: ['77/11=7'] Exploring Operation: 7+7=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 22:[12, 14] Operation: 7+7=14 Exploring Operation: 7/7=1, Resulting Numbers: [12, 1] Generated Node #0,0,1: 22:[12, 1] Operation: 7/7=1 Exploring Operation: 7-7=0, Resulting Numbers: [12, 0] Generated Node #0,0,2: 22:[12, 0] Operation: 7-7=0 Moving to Node #0,1 Current State: 22:[11, 7, 65], Operations: ['77-12=65'] Exploring Operation: 65-11=54, Resulting Numbers: [7, 54] Generated Node #0,1,0: 22:[7, 54] Operation: 65-11=54 Exploring Operation: 65-7=58, Resulting Numbers: [11, 58] Generated Node #0,1,1: 22:[11, 58] Operation: 65-7=58 Exploring Operation: 11-7=4, Resulting Numbers: [65, 4] Generated Node #0,1,2: 22:[65, 4] Operation: 11-7=4 Moving to Node #0,2,0 Current State: 22:[11, 1], Operations: ['77/7=11', '12-11=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[12, 22], Operations: ['77/7=11', '11+11=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[11, 23], Operations: ['77/7=11', '11+12=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,22 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[12, 1], Operations: ['77/11=7', '7/7=1'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[12, 0], Operations: ['77/11=7', '7-7=0'] Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[12, 14], Operations: ['77/11=7', '7+7=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[7, 54], Operations: ['77-12=65', '65-11=54'] Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,22 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[11, 58], Operations: ['77-12=65', '65-7=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,22 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[65, 4], Operations: ['77-12=65', '11-7=4'] Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 65*4=260, Resulting Numbers: [260] 260,22 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,22 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 61, 54, 97 ]
95
[ "61-54=7", "14/7=2", "97-2=95" ]
Current State: 95:[14, 61, 54, 97], Operations: [] Exploring Operation: 61-54=7, Resulting Numbers: [14, 97, 7] Generated Node #2: [14, 97, 7] from Operation: 61-54=7 Current State: 95:[14, 97, 7], Operations: ['61-54=7'] Exploring Operation: 14/7=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 14/7=2 Current State: 95:[97, 2], Operations: ['61-54=7', '14/7=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[14, 61, 54, 97], Operations: [] Exploring Operation: 61+54=115, Resulting Numbers: [14, 97, 115] Generated Node #0,0: 95:[14, 97, 115] Operation: 61+54=115 Exploring Operation: 61-54=7, Resulting Numbers: [14, 97, 7] Generated Node #0,1: 95:[14, 97, 7] Operation: 61-54=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[14, 97, 7], Operations: ['61-54=7'] Exploring Operation: 14+7=21, Resulting Numbers: [97, 21] Generated Node #0,1,0: 95:[97, 21] Operation: 14+7=21 Exploring Operation: 14-7=7, Resulting Numbers: [97, 7] Generated Node #0,1,1: 95:[97, 7] Operation: 14-7=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[97, 21], Operations: ['61-54=7', '14+7=21'] Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,95 unequal: No Solution Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,95 unequal: No Solution No 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: 95:[97, 7], Operations: ['61-54=7', '14-7=7'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 97+7=104, Resulting Numbers: [104] 104,95 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: 95:[14, 97, 115], Operations: ['61+54=115'] Exploring Operation: 115-14=101, Resulting Numbers: [97, 101] Generated Node #0,0,0: 95:[97, 101] Operation: 115-14=101 Exploring Operation: 115-97=18, Resulting Numbers: [14, 18] Generated Node #0,0,1: 95:[14, 18] Operation: 115-97=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[14, 18], Operations: ['61+54=115', '115-97=18'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,95 unequal: No Solution No 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: 95:[97, 101], Operations: ['61+54=115', '115-14=101'] Exploring Operation: 101-97=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 97+101=198, Resulting Numbers: [198] 198,95 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
[ 12, 24, 52, 6 ]
68
[ "12+52=64", "24/6=4", "64+4=68" ]
Current State: 68:[12, 24, 52, 6], Operations: [] Exploring Operation: 12+52=64, Resulting Numbers: [24, 6, 64] Generated Node #2: [24, 6, 64] from Operation: 12+52=64 Current State: 68:[24, 6, 64], Operations: ['12+52=64'] Exploring Operation: 24/6=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 24/6=4 Current State: 68:[64, 4], Operations: ['12+52=64', '24/6=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[12, 24, 52, 6], Operations: [] Exploring Operation: 12+52=64, Resulting Numbers: [24, 6, 64] Generated Node #0,0: 68:[24, 6, 64] Operation: 12+52=64 Exploring Operation: 52-24=28, Resulting Numbers: [12, 6, 28] Generated Node #0,1: 68:[12, 6, 28] Operation: 52-24=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[24, 6, 64], Operations: ['12+52=64'] Exploring Operation: 24-6=18, Resulting Numbers: [64, 18] Generated Node #0,0,0: 68:[64, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [64, 4] Generated Node #0,0,1: 68:[64, 4] Operation: 24/6=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[64, 4], Operations: ['12+52=64', '24/6=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[12, 24, 52, 6], Operations: [] Exploring Operation: 12+52=64, Resulting Numbers: [24, 6, 64] Generated Node #0,0: 68:[24, 6, 64] Operation: 12+52=64 Moving to Node #0,0 Current State: 68:[24, 6, 64], Operations: ['12+52=64'] Exploring Operation: 24/6=4, Resulting Numbers: [64, 4] Generated Node #0,0,1: 68:[64, 4] Operation: 24/6=4 Moving to Node #0,0,1 Current State: 68:[64, 4], Operations: ['12+52=64', '24/6=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 22, 73, 49, 70 ]
81
[ "49-22=27", "73-70=3", "27*3=81" ]
Current State: 81:[22, 73, 49, 70], Operations: [] Exploring Operation: 49-22=27, Resulting Numbers: [73, 70, 27] Generated Node #2: [73, 70, 27] from Operation: 49-22=27 Current State: 81:[73, 70, 27], Operations: ['49-22=27'] Exploring Operation: 73-70=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 73-70=3 Current State: 81:[27, 3], Operations: ['49-22=27', '73-70=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[22, 73, 49, 70], Operations: [] Exploring Operation: 49-22=27, Resulting Numbers: [73, 70, 27] Generated Node #0,0: 81:[73, 70, 27] Operation: 49-22=27 Exploring Operation: 70-49=21, Resulting Numbers: [22, 73, 21] Generated Node #0,1: 81:[22, 73, 21] Operation: 70-49=21 Exploring Operation: 22+49=71, Resulting Numbers: [73, 70, 71] Generated Node #0,2: 81:[73, 70, 71] Operation: 22+49=71 Exploring Operation: 73-70=3, Resulting Numbers: [22, 49, 3] Generated Node #0,3: 81:[22, 49, 3] Operation: 73-70=3 Exploring Operation: 73-49=24, Resulting Numbers: [22, 70, 24] Generated Node #0,4: 81:[22, 70, 24] Operation: 73-49=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[73, 70, 27], Operations: ['49-22=27'] Exploring Operation: 73-70=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 81:[27, 3] Operation: 73-70=3 Exploring Operation: 73+27=100, Resulting Numbers: [70, 100] Generated Node #0,0,1: 81:[70, 100] Operation: 73+27=100 Exploring Operation: 73-27=46, Resulting Numbers: [70, 46] Generated Node #0,0,2: 81:[70, 46] Operation: 73-27=46 Exploring Operation: 70+27=97, Resulting Numbers: [73, 97] Generated Node #0,0,3: 81:[73, 97] Operation: 70+27=97 Exploring Operation: 70-27=43, Resulting Numbers: [73, 43] Generated Node #0,0,4: 81:[73, 43] Operation: 70-27=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[27, 3], Operations: ['49-22=27', '73-70=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[22, 73, 49, 70], Operations: [] Exploring Operation: 49-22=27, Resulting Numbers: [73, 70, 27] Generated Node #0,0: 81:[73, 70, 27] Operation: 49-22=27 Moving to Node #0,0 Current State: 81:[73, 70, 27], Operations: ['49-22=27'] Exploring Operation: 73-70=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 81:[27, 3] Operation: 73-70=3 Moving to Node #0,0,0 Current State: 81:[27, 3], Operations: ['49-22=27', '73-70=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 37, 22, 2, 19 ]
45
[ "37+19=56", "22/2=11", "56-11=45" ]
Current State: 45:[37, 22, 2, 19], Operations: [] Exploring Operation: 37+19=56, Resulting Numbers: [22, 2, 56] Generated Node #2: [22, 2, 56] from Operation: 37+19=56 Current State: 45:[22, 2, 56], Operations: ['37+19=56'] Exploring Operation: 22/2=11, Resulting Numbers: [56, 11] Generated Node #3: [56, 11] from Operation: 22/2=11 Current State: 45:[56, 11], Operations: ['37+19=56', '22/2=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[37, 22, 2, 19], Operations: [] Exploring Operation: 37-22=15, Resulting Numbers: [2, 19, 15] Generated Node #0,0: 45:[2, 19, 15] Operation: 37-22=15 Exploring Operation: 22-19=3, Resulting Numbers: [37, 2, 3] Generated Node #0,1: 45:[37, 2, 3] Operation: 22-19=3 Moving to Node #0,0 Current State: 45:[2, 19, 15], Operations: ['37-22=15'] Exploring Operation: 19-15=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 45:[2, 4] Operation: 19-15=4 Exploring Operation: 19-2=17, Resulting Numbers: [15, 17] Generated Node #0,0,1: 45:[15, 17] Operation: 19-2=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[2, 4], Operations: ['37-22=15', '19-15=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[15, 17], Operations: ['37-22=15', '19-2=17'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 15+17=32, Resulting Numbers: [32] 32,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 45:[37, 2, 3], Operations: ['22-19=3'] Exploring Operation: 37+2=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 45:[3, 39] Operation: 37+2=39 Exploring Operation: 37+3=40, Resulting Numbers: [2, 40] Generated Node #0,1,1: 45:[2, 40] Operation: 37+3=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[3, 39], Operations: ['22-19=3', '37+2=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[2, 40], Operations: ['22-19=3', '37+3=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 34, 77, 37 ]
100
[ "48-34=14", "77+37=114", "114-14=100" ]
Current State: 100:[48, 34, 77, 37], Operations: [] Exploring Operation: 48-34=14, Resulting Numbers: [77, 37, 14] Generated Node #2: [77, 37, 14] from Operation: 48-34=14 Current State: 100:[77, 37, 14], Operations: ['48-34=14'] Exploring Operation: 77+37=114, Resulting Numbers: [14, 114] Generated Node #3: [14, 114] from Operation: 77+37=114 Current State: 100:[14, 114], Operations: ['48-34=14', '77+37=114'] Exploring Operation: 114-14=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[48, 34, 77, 37], Operations: [] Exploring Operation: 77-37=40, Resulting Numbers: [48, 34, 40] Generated Node #0,0: 100:[48, 34, 40] Operation: 77-37=40 Exploring Operation: 77+37=114, Resulting Numbers: [48, 34, 114] Generated Node #0,1: 100:[48, 34, 114] Operation: 77+37=114 Exploring Operation: 77-48=29, Resulting Numbers: [34, 37, 29] Generated Node #0,2: 100:[34, 37, 29] Operation: 77-48=29 Exploring Operation: 34+77=111, Resulting Numbers: [48, 37, 111] Generated Node #0,3: 100:[48, 37, 111] Operation: 34+77=111 Exploring Operation: 77-34=43, Resulting Numbers: [48, 37, 43] Generated Node #0,4: 100:[48, 37, 43] Operation: 77-34=43 Moving to Node #0,0 Current State: 100:[48, 34, 40], Operations: ['77-37=40'] Exploring Operation: 48+40=88, Resulting Numbers: [34, 88] Generated Node #0,0,0: 100:[34, 88] Operation: 48+40=88 Exploring Operation: 40-34=6, Resulting Numbers: [48, 6] Generated Node #0,0,1: 100:[48, 6] Operation: 40-34=6 Exploring Operation: 48-40=8, Resulting Numbers: [34, 8] Generated Node #0,0,2: 100:[34, 8] Operation: 48-40=8 Exploring Operation: 48-34=14, Resulting Numbers: [40, 14] Generated Node #0,0,3: 100:[40, 14] Operation: 48-34=14 Exploring Operation: 34+40=74, Resulting Numbers: [48, 74] Generated Node #0,0,4: 100:[48, 74] Operation: 34+40=74 Moving to Node #0,4 Current State: 100:[48, 37, 43], Operations: ['77-34=43'] Exploring Operation: 48-37=11, Resulting Numbers: [43, 11] Generated Node #0,4,0: 100:[43, 11] Operation: 48-37=11 Exploring Operation: 48+37=85, Resulting Numbers: [43, 85] Generated Node #0,4,1: 100:[43, 85] Operation: 48+37=85 Exploring Operation: 48+43=91, Resulting Numbers: [37, 91] Generated Node #0,4,2: 100:[37, 91] Operation: 48+43=91 Exploring Operation: 43-37=6, Resulting Numbers: [48, 6] Generated Node #0,4,3: 100:[48, 6] Operation: 43-37=6 Exploring Operation: 48-43=5, Resulting Numbers: [37, 5] Generated Node #0,4,4: 100:[37, 5] Operation: 48-43=5 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 100:[48, 6], Operations: ['77-34=43', '43-37=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,100 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 100:[43, 11], Operations: ['77-34=43', '48-37=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,100 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 100:[37, 5], Operations: ['77-34=43', '48-43=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 100:[37, 91], Operations: ['77-34=43', '48+43=91'] Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 37+91=128, Resulting Numbers: [128] 128,100 unequal: No Solution Exploring Operation: 37*91=3367, Resulting Numbers: [3367] 3367,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 100:[43, 85], Operations: ['77-34=43', '48+37=85'] Exploring Operation: 43*85=3655, Resulting Numbers: [3655] 3655,100 unequal: No Solution Exploring Operation: 43+85=128, Resulting Numbers: [128] 128,100 unequal: No Solution Exploring Operation: 85-43=42, Resulting Numbers: [42] 42,100 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: 100:[48, 34, 114], Operations: ['77+37=114'] Exploring Operation: 48+34=82, Resulting Numbers: [114, 82] Generated Node #0,1,0: 100:[114, 82] Operation: 48+34=82 Exploring Operation: 34+114=148, Resulting Numbers: [48, 148] Generated Node #0,1,1: 100:[48, 148] Operation: 34+114=148 Exploring Operation: 114-34=80, Resulting Numbers: [48, 80] Generated Node #0,1,2: 100:[48, 80] Operation: 114-34=80 Exploring Operation: 114-48=66, Resulting Numbers: [34, 66] Generated Node #0,1,3: 100:[34, 66] Operation: 114-48=66 Exploring Operation: 48-34=14, Resulting Numbers: [114, 14] Generated Node #0,1,4: 100:[114, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 100:[114, 14], Operations: ['77+37=114', '48-34=14'] Exploring Operation: 114+14=128, Resulting Numbers: [128] 128,100 unequal: No Solution Exploring Operation: 114-14=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[48, 34, 77, 37], Operations: [] Exploring Operation: 77+37=114, Resulting Numbers: [48, 34, 114] Generated Node #0,1: 100:[48, 34, 114] Operation: 77+37=114 Moving to Node #0,1 Current State: 100:[48, 34, 114], Operations: ['77+37=114'] Exploring Operation: 48-34=14, Resulting Numbers: [114, 14] Generated Node #0,1,4: 100:[114, 14] Operation: 48-34=14 Moving to Node #0,1,4 Current State: 100:[114, 14], Operations: ['77+37=114', '48-34=14'] Exploring Operation: 114-14=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 38, 32, 96, 70 ]
32
[ "38-32=6", "96-70=26", "6+26=32" ]
Current State: 32:[38, 32, 96, 70], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [96, 70, 6] Generated Node #2: [96, 70, 6] from Operation: 38-32=6 Current State: 32:[96, 70, 6], Operations: ['38-32=6'] Exploring Operation: 96-70=26, Resulting Numbers: [6, 26] Generated Node #3: [6, 26] from Operation: 96-70=26 Current State: 32:[6, 26], Operations: ['38-32=6', '96-70=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[38, 32, 96, 70], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [38, 70, 3] Generated Node #0,0: 32:[38, 70, 3] Operation: 96/32=3 Exploring Operation: 70-38=32, Resulting Numbers: [32, 96, 32] Generated Node #0,1: 32:[32, 96, 32] Operation: 70-38=32 Exploring Operation: 96-70=26, Resulting Numbers: [38, 32, 26] Generated Node #0,2: 32:[38, 32, 26] Operation: 96-70=26 Exploring Operation: 96-38=58, Resulting Numbers: [32, 70, 58] Generated Node #0,3: 32:[32, 70, 58] Operation: 96-38=58 Moving to Node #0,2 Current State: 32:[38, 32, 26], Operations: ['96-70=26'] Exploring Operation: 38-32=6, Resulting Numbers: [26, 6] Generated Node #0,2,0: 32:[26, 6] Operation: 38-32=6 Exploring Operation: 32-26=6, Resulting Numbers: [38, 6] Generated Node #0,2,1: 32:[38, 6] Operation: 32-26=6 Exploring Operation: 38-26=12, Resulting Numbers: [32, 12] Generated Node #0,2,2: 32:[32, 12] Operation: 38-26=12 Exploring Operation: 38+26=64, Resulting Numbers: [32, 64] Generated Node #0,2,3: 32:[32, 64] Operation: 38+26=64 Moving to Node #0,0 Current State: 32:[38, 70, 3], Operations: ['96/32=3'] Exploring Operation: 70-38=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 32:[3, 32] Operation: 70-38=32 Exploring Operation: 38+3=41, Resulting Numbers: [70, 41] Generated Node #0,0,1: 32:[70, 41] Operation: 38+3=41 Exploring Operation: 38-3=35, Resulting Numbers: [70, 35] Generated Node #0,0,2: 32:[70, 35] Operation: 38-3=35 Exploring Operation: 70-3=67, Resulting Numbers: [38, 67] Generated Node #0,0,3: 32:[38, 67] Operation: 70-3=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[3, 32], Operations: ['96/32=3', '70-38=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[70, 35], Operations: ['96/32=3', '38-3=35'] Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 70*35=2450, Resulting Numbers: [2450] 2450,32 unequal: No Solution Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[38, 67], Operations: ['96/32=3', '70-3=67'] Exploring Operation: 38*67=2546, Resulting Numbers: [2546] 2546,32 unequal: No Solution Exploring Operation: 38+67=105, Resulting Numbers: [105] 105,32 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[70, 41], Operations: ['96/32=3', '38+3=41'] Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,32 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 70*41=2870, Resulting Numbers: [2870] 2870,32 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: 32:[32, 70, 58], Operations: ['96-38=58'] Exploring Operation: 70-32=38, Resulting Numbers: [58, 38] Generated Node #0,3,0: 32:[58, 38] Operation: 70-32=38 Exploring Operation: 32+70=102, Resulting Numbers: [58, 102] Generated Node #0,3,1: 32:[58, 102] Operation: 32+70=102 Exploring Operation: 70-58=12, Resulting Numbers: [32, 12] Generated Node #0,3,2: 32:[32, 12] Operation: 70-58=12 Exploring Operation: 58-32=26, Resulting Numbers: [70, 26] Generated Node #0,3,3: 32:[70, 26] Operation: 58-32=26 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 32:[32, 12], Operations: ['96-38=58', '70-58=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 32:[58, 38], Operations: ['96-38=58', '70-32=38'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,32 unequal: No Solution Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 32:[70, 26], Operations: ['96-38=58', '58-32=26'] Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,32 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 32:[58, 102], Operations: ['96-38=58', '32+70=102'] Exploring Operation: 58+102=160, Resulting Numbers: [160] 160,32 unequal: No Solution Exploring Operation: 102-58=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 58*102=5916, Resulting Numbers: [5916] 5916,32 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: 32:[32, 96, 32], Operations: ['70-38=32'] Exploring Operation: 96-32=64, Resulting Numbers: [32, 64] Generated Node #0,1,0: 32:[32, 64] Operation: 96-32=64 Exploring Operation: 96/32=3, Resulting Numbers: [32, 3] Generated Node #0,1,1: 32:[32, 3] Operation: 96/32=3 Exploring Operation: 96/32=3, Resulting Numbers: [32, 3] Generated Node #0,1,2: 32:[32, 3] Operation: 96/32=3 Exploring Operation: 96-32=64, Resulting Numbers: [32, 64] Generated Node #0,1,3: 32:[32, 64] Operation: 96-32=64 Moving to Node #0,1,1 Current State: 32:[32, 3], Operations: ['70-38=32', '96/32=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,32 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[32, 3], Operations: ['70-38=32', '96/32=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,32 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[32, 12], Operations: ['96-70=26', '38-26=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[38, 6], Operations: ['96-70=26', '32-26=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[38, 32, 96, 70], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [38, 32, 26] Generated Node #0,2: 32:[38, 32, 26] Operation: 96-70=26 Moving to Node #0,2 Current State: 32:[38, 32, 26], Operations: ['96-70=26'] Exploring Operation: 32-26=6, Resulting Numbers: [38, 6] Generated Node #0,2,1: 32:[38, 6] Operation: 32-26=6 Moving to Node #0,2,1 Current State: 32:[38, 6], Operations: ['96-70=26', '32-26=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.948785
hs_4
sum_heuristic
[ 30, 12, 90, 42 ]
78
[ "90/30=3", "12*3=36", "42+36=78" ]
Current State: 78:[30, 12, 90, 42], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [12, 42, 3] Generated Node #2: [12, 42, 3] from Operation: 90/30=3 Current State: 78:[12, 42, 3], Operations: ['90/30=3'] Exploring Operation: 12*3=36, Resulting Numbers: [42, 36] Generated Node #3: [42, 36] from Operation: 12*3=36 Current State: 78:[42, 36], Operations: ['90/30=3', '12*3=36'] Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[30, 12, 90, 42], Operations: [] Exploring Operation: 42-30=12, Resulting Numbers: [12, 90, 12] Generated Node #0,0: 78:[12, 90, 12] Operation: 42-30=12 Exploring Operation: 90-42=48, Resulting Numbers: [30, 12, 48] Generated Node #0,1: 78:[30, 12, 48] Operation: 90-42=48 Exploring Operation: 90-12=78, Resulting Numbers: [30, 42, 78] Generated Node #0,2: 78:[30, 42, 78] Operation: 90-12=78 Exploring Operation: 90/30=3, Resulting Numbers: [12, 42, 3] Generated Node #0,3: 78:[12, 42, 3] Operation: 90/30=3 Moving to Node #0,3 Current State: 78:[12, 42, 3], Operations: ['90/30=3'] Exploring Operation: 42-3=39, Resulting Numbers: [12, 39] Generated Node #0,3,0: 78:[12, 39] Operation: 42-3=39 Exploring Operation: 42-12=30, Resulting Numbers: [3, 30] Generated Node #0,3,1: 78:[3, 30] Operation: 42-12=30 Exploring Operation: 42/3=14, Resulting Numbers: [12, 14] Generated Node #0,3,2: 78:[12, 14] Operation: 42/3=14 Exploring Operation: 12/3=4, Resulting Numbers: [42, 4] Generated Node #0,3,3: 78:[42, 4] Operation: 12/3=4 Moving to Node #0,2 Current State: 78:[30, 42, 78], Operations: ['90-12=78'] Exploring Operation: 78-42=36, Resulting Numbers: [30, 36] Generated Node #0,2,0: 78:[30, 36] Operation: 78-42=36 Exploring Operation: 42-30=12, Resulting Numbers: [78, 12] Generated Node #0,2,1: 78:[78, 12] Operation: 42-30=12 Exploring Operation: 30+42=72, Resulting Numbers: [78, 72] Generated Node #0,2,2: 78:[78, 72] Operation: 30+42=72 Exploring Operation: 78-30=48, Resulting Numbers: [42, 48] Generated Node #0,2,3: 78:[42, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[78, 12], Operations: ['90-12=78', '42-30=12'] Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,78 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[78, 72], Operations: ['90-12=78', '30+42=72'] Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,78 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[30, 36], Operations: ['90-12=78', '78-42=36'] Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[42, 48], Operations: ['90-12=78', '78-30=48'] Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,78 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,78 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: 78:[30, 12, 48], Operations: ['90-42=48'] Exploring Operation: 30+48=78, Resulting Numbers: [12, 78] Generated Node #0,1,0: 78:[12, 78] Operation: 30+48=78 Exploring Operation: 48-30=18, Resulting Numbers: [12, 18] Generated Node #0,1,1: 78:[12, 18] Operation: 48-30=18 Exploring Operation: 48-12=36, Resulting Numbers: [30, 36] Generated Node #0,1,2: 78:[30, 36] Operation: 48-12=36 Exploring Operation: 48/12=4, Resulting Numbers: [30, 4] Generated Node #0,1,3: 78:[30, 4] Operation: 48/12=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[12, 78], Operations: ['90-42=48', '30+48=78'] Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,78 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[30, 4], Operations: ['90-42=48', '48/12=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[12, 18], Operations: ['90-42=48', '48-30=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[30, 36], Operations: ['90-42=48', '48-12=36'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,78 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: 78:[12, 90, 12], Operations: ['42-30=12'] Exploring Operation: 12/12=1, Resulting Numbers: [90, 1] Generated Node #0,0,0: 78:[90, 1] Operation: 12/12=1 Exploring Operation: 90-12=78, Resulting Numbers: [12, 78] Generated Node #0,0,1: 78:[12, 78] Operation: 90-12=78 Exploring Operation: 90-12=78, Resulting Numbers: [12, 78] Generated Node #0,0,2: 78:[12, 78] Operation: 90-12=78 Exploring Operation: 12+12=24, Resulting Numbers: [90, 24] Generated Node #0,0,3: 78:[90, 24] Operation: 12+12=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[12, 78], Operations: ['42-30=12', '90-12=78'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,78 unequal: No Solution Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[12, 78], Operations: ['42-30=12', '90-12=78'] Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,78 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[90, 1], Operations: ['42-30=12', '12/12=1'] Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,78 unequal: No Solution Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[90, 24], Operations: ['42-30=12', '12+12=24'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 90*24=2160, Resulting Numbers: [2160] 2160,78 unequal: No Solution Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 78:[12, 39], Operations: ['90/30=3', '42-3=39'] Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,78 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[12, 14], Operations: ['90/30=3', '42/3=14'] Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,78 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[42, 4], Operations: ['90/30=3', '12/3=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,78 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[3, 30], Operations: ['90/30=3', '42-12=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,78 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,78 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 16, 78, 61, 57 ]
57
[ "78-16=62", "62-61=1", "57*1=57" ]
Current State: 57:[16, 78, 61, 57], Operations: [] Exploring Operation: 78-16=62, Resulting Numbers: [61, 57, 62] Generated Node #2: [61, 57, 62] from Operation: 78-16=62 Current State: 57:[61, 57, 62], Operations: ['78-16=62'] Exploring Operation: 62-61=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 62-61=1 Current State: 57:[57, 1], Operations: ['78-16=62', '62-61=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[16, 78, 61, 57], Operations: [] Exploring Operation: 78-16=62, Resulting Numbers: [61, 57, 62] Generated Node #0,0: 57:[61, 57, 62] Operation: 78-16=62 Exploring Operation: 61-57=4, Resulting Numbers: [16, 78, 4] Generated Node #0,1: 57:[16, 78, 4] Operation: 61-57=4 Exploring Operation: 78-57=21, Resulting Numbers: [16, 61, 21] Generated Node #0,2: 57:[16, 61, 21] Operation: 78-57=21 Exploring Operation: 78-61=17, Resulting Numbers: [16, 57, 17] Generated Node #0,3: 57:[16, 57, 17] Operation: 78-61=17 Moving to Node #0,3 Current State: 57:[16, 57, 17], Operations: ['78-61=17'] Exploring Operation: 57-16=41, Resulting Numbers: [17, 41] Generated Node #0,3,0: 57:[17, 41] Operation: 57-16=41 Exploring Operation: 16+57=73, Resulting Numbers: [17, 73] Generated Node #0,3,1: 57:[17, 73] Operation: 16+57=73 Exploring Operation: 17-16=1, Resulting Numbers: [57, 1] Generated Node #0,3,2: 57:[57, 1] Operation: 17-16=1 Exploring Operation: 16+17=33, Resulting Numbers: [57, 33] Generated Node #0,3,3: 57:[57, 33] Operation: 16+17=33 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[57, 1], Operations: ['78-61=17', '17-16=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[16, 78, 61, 57], Operations: [] Exploring Operation: 78-61=17, Resulting Numbers: [16, 57, 17] Generated Node #0,3: 57:[16, 57, 17] Operation: 78-61=17 Moving to Node #0,3 Current State: 57:[16, 57, 17], Operations: ['78-61=17'] Exploring Operation: 17-16=1, Resulting Numbers: [57, 1] Generated Node #0,3,2: 57:[57, 1] Operation: 17-16=1 Moving to Node #0,3,2 Current State: 57:[57, 1], Operations: ['78-61=17', '17-16=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 40, 14, 42, 36 ]
60
[ "40+14=54", "42-36=6", "54+6=60" ]
Current State: 60:[40, 14, 42, 36], Operations: [] Exploring Operation: 40+14=54, Resulting Numbers: [42, 36, 54] Generated Node #2: [42, 36, 54] from Operation: 40+14=54 Current State: 60:[42, 36, 54], Operations: ['40+14=54'] Exploring Operation: 42-36=6, Resulting Numbers: [54, 6] Generated Node #3: [54, 6] from Operation: 42-36=6 Current State: 60:[54, 6], Operations: ['40+14=54', '42-36=6'] Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[40, 14, 42, 36], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [40, 14, 6] Generated Node #0,0: 60:[40, 14, 6] Operation: 42-36=6 Exploring Operation: 42-40=2, Resulting Numbers: [14, 36, 2] Generated Node #0,1: 60:[14, 36, 2] Operation: 42-40=2 Moving to Node #0,1 Current State: 60:[14, 36, 2], Operations: ['42-40=2'] Exploring Operation: 36/2=18, Resulting Numbers: [14, 18] Generated Node #0,1,0: 60:[14, 18] Operation: 36/2=18 Exploring Operation: 36-14=22, Resulting Numbers: [2, 22] Generated Node #0,1,1: 60:[2, 22] Operation: 36-14=22 Moving to Node #0,0 Current State: 60:[40, 14, 6], Operations: ['42-36=6'] Exploring Operation: 40-14=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 60:[6, 26] Operation: 40-14=26 Exploring Operation: 40-6=34, Resulting Numbers: [14, 34] Generated Node #0,0,1: 60:[14, 34] Operation: 40-6=34 Moving to Node #0,1,1 Current State: 60:[2, 22], Operations: ['42-40=2', '36-14=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[14, 18], Operations: ['42-40=2', '36/2=18'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[6, 26], Operations: ['42-36=6', '40-14=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[14, 34], Operations: ['42-36=6', '40-6=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,60 unequal: No Solution No solution found.
0
hs_2
mult_heuristic