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
[ 12, 36, 15, 75 ]
87
[ "36/12=3", "15+75=90", "90-3=87" ]
Current State: 87:[12, 36, 15, 75], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [15, 75, 3] Generated Node #2: [15, 75, 3] from Operation: 36/12=3 Current State: 87:[15, 75, 3], Operations: ['36/12=3'] Exploring Operation: 15+75=90, Resulting Numbers: [3, 90] Generated Node #3: [3, 90] from Operation: 15+75=90 Current State: 87:[3, 90], Operations: ['36/12=3', '15+75=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[12, 36, 15, 75], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [12, 36, 5] Generated Node #0,0: 87:[12, 36, 5] Operation: 75/15=5 Moving to Node #0,0 Current State: 87:[12, 36, 5], Operations: ['75/15=5'] Exploring Operation: 36/12=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 87:[5, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[5, 3], Operations: ['75/15=5', '36/12=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,87 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
[ 76, 33, 96, 24 ]
29
[ "76-33=43", "96-24=72", "72-43=29" ]
Current State: 29:[76, 33, 96, 24], Operations: [] Exploring Operation: 76-33=43, Resulting Numbers: [96, 24, 43] Generated Node #2: [96, 24, 43] from Operation: 76-33=43 Current State: 29:[96, 24, 43], Operations: ['76-33=43'] Exploring Operation: 96-24=72, Resulting Numbers: [43, 72] Generated Node #3: [43, 72] from Operation: 96-24=72 Current State: 29:[43, 72], Operations: ['76-33=43', '96-24=72'] Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[76, 33, 96, 24], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [33, 24, 20] Generated Node #0,0: 29:[33, 24, 20] Operation: 96-76=20 Exploring Operation: 96/24=4, Resulting Numbers: [76, 33, 4] Generated Node #0,1: 29:[76, 33, 4] Operation: 96/24=4 Moving to Node #0,0 Current State: 29:[33, 24, 20], Operations: ['96-76=20'] Exploring Operation: 33-20=13, Resulting Numbers: [24, 13] Generated Node #0,0,0: 29:[24, 13] Operation: 33-20=13 Exploring Operation: 24+20=44, Resulting Numbers: [33, 44] Generated Node #0,0,1: 29:[33, 44] Operation: 24+20=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[33, 44], Operations: ['96-76=20', '24+20=44'] Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,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,0 Current State: 29:[24, 13], Operations: ['96-76=20', '33-20=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,29 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: 29:[76, 33, 4], Operations: ['96/24=4'] Exploring Operation: 76-33=43, Resulting Numbers: [4, 43] Generated Node #0,1,0: 29:[4, 43] Operation: 76-33=43 Exploring Operation: 76/4=19, Resulting Numbers: [33, 19] Generated Node #0,1,1: 29:[33, 19] Operation: 76/4=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[33, 19], Operations: ['96/24=4', '76/4=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,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,1,0 Current State: 29:[4, 43], Operations: ['96/24=4', '76-33=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,29 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
[ 52, 39, 95, 58 ]
24
[ "52-39=13", "95-58=37", "37-13=24" ]
Current State: 24:[52, 39, 95, 58], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [95, 58, 13] Generated Node #2: [95, 58, 13] from Operation: 52-39=13 Current State: 24:[95, 58, 13], Operations: ['52-39=13'] Exploring Operation: 95-58=37, Resulting Numbers: [13, 37] Generated Node #3: [13, 37] from Operation: 95-58=37 Current State: 24:[13, 37], Operations: ['52-39=13', '95-58=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[52, 39, 95, 58], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [39, 58, 43] Generated Node #0,0: 24:[39, 58, 43] Operation: 95-52=43 Exploring Operation: 58-52=6, Resulting Numbers: [39, 95, 6] Generated Node #0,1: 24:[39, 95, 6] Operation: 58-52=6 Exploring Operation: 95-58=37, Resulting Numbers: [52, 39, 37] Generated Node #0,2: 24:[52, 39, 37] Operation: 95-58=37 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[52, 39, 37], Operations: ['95-58=37'] Exploring Operation: 52-37=15, Resulting Numbers: [39, 15] Generated Node #0,2,0: 24:[39, 15] Operation: 52-37=15 Exploring Operation: 39-37=2, Resulting Numbers: [52, 2] Generated Node #0,2,1: 24:[52, 2] Operation: 39-37=2 Exploring Operation: 52-39=13, Resulting Numbers: [37, 13] Generated Node #0,2,2: 24:[37, 13] Operation: 52-39=13 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[37, 13], Operations: ['95-58=37', '52-39=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[52, 39, 95, 58], Operations: [] Exploring Operation: 95-58=37, Resulting Numbers: [52, 39, 37] Generated Node #0,2: 24:[52, 39, 37] Operation: 95-58=37 Moving to Node #0,2 Current State: 24:[52, 39, 37], Operations: ['95-58=37'] Exploring Operation: 52-39=13, Resulting Numbers: [37, 13] Generated Node #0,2,2: 24:[37, 13] Operation: 52-39=13 Moving to Node #0,2,2 Current State: 24:[37, 13], Operations: ['95-58=37', '52-39=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 5, 83, 90, 73 ]
71
[ "5+83=88", "90-73=17", "88-17=71" ]
Current State: 71:[5, 83, 90, 73], Operations: [] Exploring Operation: 5+83=88, Resulting Numbers: [90, 73, 88] Generated Node #2: [90, 73, 88] from Operation: 5+83=88 Current State: 71:[90, 73, 88], Operations: ['5+83=88'] Exploring Operation: 90-73=17, Resulting Numbers: [88, 17] Generated Node #3: [88, 17] from Operation: 90-73=17 Current State: 71:[88, 17], Operations: ['5+83=88', '90-73=17'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[5, 83, 90, 73], Operations: [] Exploring Operation: 83-5=78, Resulting Numbers: [90, 73, 78] Generated Node #0,0: 71:[90, 73, 78] Operation: 83-5=78 Exploring Operation: 90-5=85, Resulting Numbers: [83, 73, 85] Generated Node #0,1: 71:[83, 73, 85] Operation: 90-5=85 Exploring Operation: 73-5=68, Resulting Numbers: [83, 90, 68] Generated Node #0,2: 71:[83, 90, 68] Operation: 73-5=68 Moving to Node #0,0 Current State: 71:[90, 73, 78], Operations: ['83-5=78'] Exploring Operation: 90-78=12, Resulting Numbers: [73, 12] Generated Node #0,0,0: 71:[73, 12] Operation: 90-78=12 Exploring Operation: 90-73=17, Resulting Numbers: [78, 17] Generated Node #0,0,1: 71:[78, 17] Operation: 90-73=17 Exploring Operation: 78-73=5, Resulting Numbers: [90, 5] Generated Node #0,0,2: 71:[90, 5] Operation: 78-73=5 Moving to Node #0,1 Current State: 71:[83, 73, 85], Operations: ['90-5=85'] Exploring Operation: 85-83=2, Resulting Numbers: [73, 2] Generated Node #0,1,0: 71:[73, 2] Operation: 85-83=2 Exploring Operation: 85-73=12, Resulting Numbers: [83, 12] Generated Node #0,1,1: 71:[83, 12] Operation: 85-73=12 Exploring Operation: 83-73=10, Resulting Numbers: [85, 10] Generated Node #0,1,2: 71:[85, 10] Operation: 83-73=10 Moving to Node #0,2 Current State: 71:[83, 90, 68], Operations: ['73-5=68'] Exploring Operation: 83-68=15, Resulting Numbers: [90, 15] Generated Node #0,2,0: 71:[90, 15] Operation: 83-68=15 Exploring Operation: 90-68=22, Resulting Numbers: [83, 22] Generated Node #0,2,1: 71:[83, 22] Operation: 90-68=22 Exploring Operation: 90-83=7, Resulting Numbers: [68, 7] Generated Node #0,2,2: 71:[68, 7] Operation: 90-83=7 Moving to Node #0,0,0 Current State: 71:[73, 12], Operations: ['83-5=78', '90-78=12'] Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,71 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[83, 22], Operations: ['73-5=68', '90-68=22'] Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,71 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[78, 17], Operations: ['83-5=78', '90-73=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,71 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[68, 7], Operations: ['73-5=68', '90-83=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 68*7=476, Resulting Numbers: [476] 476,71 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[83, 12], Operations: ['90-5=85', '85-73=12'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[5, 83, 90, 73], Operations: [] Exploring Operation: 90-5=85, Resulting Numbers: [83, 73, 85] Generated Node #0,1: 71:[83, 73, 85] Operation: 90-5=85 Moving to Node #0,1 Current State: 71:[83, 73, 85], Operations: ['90-5=85'] Exploring Operation: 85-73=12, Resulting Numbers: [83, 12] Generated Node #0,1,1: 71:[83, 12] Operation: 85-73=12 Moving to Node #0,1,1 Current State: 71:[83, 12], Operations: ['90-5=85', '85-73=12'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.974826
hs_3
mult_heuristic
[ 70, 10, 20, 5 ]
26
[ "10*20=200", "200-70=130", "130/5=26" ]
Current State: 26:[70, 10, 20, 5], Operations: [] Exploring Operation: 10*20=200, Resulting Numbers: [70, 5, 200] Generated Node #2: [70, 5, 200] from Operation: 10*20=200 Current State: 26:[70, 5, 200], Operations: ['10*20=200'] Exploring Operation: 200-70=130, Resulting Numbers: [5, 130] Generated Node #3: [5, 130] from Operation: 200-70=130 Current State: 26:[5, 130], Operations: ['10*20=200', '200-70=130'] Exploring Operation: 130/5=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[70, 10, 20, 5], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [10, 20, 14] Generated Node #0,0: 26:[10, 20, 14] Operation: 70/5=14 Exploring Operation: 70-10=60, Resulting Numbers: [20, 5, 60] Generated Node #0,1: 26:[20, 5, 60] Operation: 70-10=60 Exploring Operation: 70-20=50, Resulting Numbers: [10, 5, 50] Generated Node #0,2: 26:[10, 5, 50] Operation: 70-20=50 Exploring Operation: 20/10=2, Resulting Numbers: [70, 5, 2] Generated Node #0,3: 26:[70, 5, 2] Operation: 20/10=2 Exploring Operation: 70/10=7, Resulting Numbers: [20, 5, 7] Generated Node #0,4: 26:[20, 5, 7] Operation: 70/10=7 Moving to Node #0,0 Current State: 26:[10, 20, 14], Operations: ['70/5=14'] Exploring Operation: 10+20=30, Resulting Numbers: [14, 30] Generated Node #0,0,0: 26:[14, 30] Operation: 10+20=30 Exploring Operation: 20-14=6, Resulting Numbers: [10, 6] Generated Node #0,0,1: 26:[10, 6] Operation: 20-14=6 Exploring Operation: 20-10=10, Resulting Numbers: [14, 10] Generated Node #0,0,2: 26:[14, 10] Operation: 20-10=10 Exploring Operation: 10+14=24, Resulting Numbers: [20, 24] Generated Node #0,0,3: 26:[20, 24] Operation: 10+14=24 Exploring Operation: 20/10=2, Resulting Numbers: [14, 2] Generated Node #0,0,4: 26:[14, 2] Operation: 20/10=2 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 26:[14, 2], Operations: ['70/5=14', '20/10=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[14, 10], Operations: ['70/5=14', '20-10=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,26 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[14, 30], Operations: ['70/5=14', '10+20=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,26 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,26 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,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,1 Current State: 26:[10, 6], Operations: ['70/5=14', '20-14=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,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,3 Current State: 26:[20, 24], Operations: ['70/5=14', '10+14=24'] Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,26 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,26 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,26 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: 26:[20, 5, 7], Operations: ['70/10=7'] Exploring Operation: 20+7=27, Resulting Numbers: [5, 27] Generated Node #0,4,0: 26:[5, 27] Operation: 20+7=27 Exploring Operation: 20-7=13, Resulting Numbers: [5, 13] Generated Node #0,4,1: 26:[5, 13] Operation: 20-7=13 Exploring Operation: 7-5=2, Resulting Numbers: [20, 2] Generated Node #0,4,2: 26:[20, 2] Operation: 7-5=2 Exploring Operation: 20-5=15, Resulting Numbers: [7, 15] Generated Node #0,4,3: 26:[7, 15] Operation: 20-5=15 Exploring Operation: 20+5=25, Resulting Numbers: [7, 25] Generated Node #0,4,4: 26:[7, 25] Operation: 20+5=25 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 26:[5, 13], Operations: ['70/10=7', '20-7=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,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,4,0 Current State: 26:[5, 27], Operations: ['70/10=7', '20+7=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,26 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,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,4,2 Current State: 26:[20, 2], Operations: ['70/10=7', '7-5=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,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,4,4 Current State: 26:[7, 25], Operations: ['70/10=7', '20+5=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,26 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,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,4,3 Current State: 26:[7, 15], Operations: ['70/10=7', '20-5=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,26 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: 26:[10, 5, 50], Operations: ['70-20=50'] Exploring Operation: 50-5=45, Resulting Numbers: [10, 45] Generated Node #0,2,0: 26:[10, 45] Operation: 50-5=45 Exploring Operation: 50/10=5, Resulting Numbers: [5, 5] Generated Node #0,2,1: 26:[5, 5] Operation: 50/10=5 Exploring Operation: 10/5=2, Resulting Numbers: [50, 2] Generated Node #0,2,2: 26:[50, 2] Operation: 10/5=2 Exploring Operation: 50-10=40, Resulting Numbers: [5, 40] Generated Node #0,2,3: 26:[5, 40] Operation: 50-10=40 Exploring Operation: 50/5=10, Resulting Numbers: [10, 10] Generated Node #0,2,4: 26:[10, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[5, 5], Operations: ['70-20=50', '50/10=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,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,2,4 Current State: 26:[10, 10], Operations: ['70-20=50', '50/5=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,26 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,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,2,3 Current State: 26:[5, 40], Operations: ['70-20=50', '50-10=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,26 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,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,2,0 Current State: 26:[10, 45], Operations: ['70-20=50', '50-5=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,26 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,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,2,2 Current State: 26:[50, 2], Operations: ['70-20=50', '10/5=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,26 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,26 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: 26:[20, 5, 60], Operations: ['70-10=60'] Exploring Operation: 60-5=55, Resulting Numbers: [20, 55] Generated Node #0,1,0: 26:[20, 55] Operation: 60-5=55 Exploring Operation: 60-20=40, Resulting Numbers: [5, 40] Generated Node #0,1,1: 26:[5, 40] Operation: 60-20=40 Exploring Operation: 20+5=25, Resulting Numbers: [60, 25] Generated Node #0,1,2: 26:[60, 25] Operation: 20+5=25 Exploring Operation: 60/20=3, Resulting Numbers: [5, 3] Generated Node #0,1,3: 26:[5, 3] Operation: 60/20=3 Exploring Operation: 60/5=12, Resulting Numbers: [20, 12] Generated Node #0,1,4: 26:[20, 12] Operation: 60/5=12 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 26:[5, 3], Operations: ['70-10=60', '60/20=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 26:[20, 12], Operations: ['70-10=60', '60/5=12'] Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,26 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[5, 40], Operations: ['70-10=60', '60-20=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,26 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[20, 55], Operations: ['70-10=60', '60-5=55'] Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,26 unequal: No Solution Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[60, 25], Operations: ['70-10=60', '20+5=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,26 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 60*25=1500, Resulting Numbers: [1500] 1500,26 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: 26:[70, 5, 2], Operations: ['20/10=2'] Exploring Operation: 5-2=3, Resulting Numbers: [70, 3] Generated Node #0,3,0: 26:[70, 3] Operation: 5-2=3 Exploring Operation: 70-2=68, Resulting Numbers: [5, 68] Generated Node #0,3,1: 26:[5, 68] Operation: 70-2=68 Exploring Operation: 70/2=35, Resulting Numbers: [5, 35] Generated Node #0,3,2: 26:[5, 35] Operation: 70/2=35 Exploring Operation: 70/5=14, Resulting Numbers: [2, 14] Generated Node #0,3,3: 26:[2, 14] Operation: 70/5=14 Exploring Operation: 70-5=65, Resulting Numbers: [2, 65] Generated Node #0,3,4: 26:[2, 65] Operation: 70-5=65 Moving to Node #0,3,3 Current State: 26:[2, 14], Operations: ['20/10=2', '70/5=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[5, 35], Operations: ['20/10=2', '70/2=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,26 unequal: No Solution Moving to Node #0,3,4 Current State: 26:[2, 65], Operations: ['20/10=2', '70-5=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,26 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[70, 3], Operations: ['20/10=2', '5-2=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,26 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[5, 68], Operations: ['20/10=2', '70-2=68'] Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,26 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,26 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 51, 54, 5, 53 ]
46
[ "51-5=46", "54-53=1", "46*1=46" ]
Current State: 46:[51, 54, 5, 53], Operations: [] Exploring Operation: 51-5=46, Resulting Numbers: [54, 53, 46] Generated Node #2: [54, 53, 46] from Operation: 51-5=46 Current State: 46:[54, 53, 46], Operations: ['51-5=46'] Exploring Operation: 54-53=1, Resulting Numbers: [46, 1] Generated Node #3: [46, 1] from Operation: 54-53=1 Current State: 46:[46, 1], Operations: ['51-5=46', '54-53=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[51, 54, 5, 53], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [54, 5, 2] Generated Node #0,0: 46:[54, 5, 2] Operation: 53-51=2 Exploring Operation: 51-5=46, Resulting Numbers: [54, 53, 46] Generated Node #0,1: 46:[54, 53, 46] Operation: 51-5=46 Exploring Operation: 54-53=1, Resulting Numbers: [51, 5, 1] Generated Node #0,2: 46:[51, 5, 1] Operation: 54-53=1 Exploring Operation: 54-5=49, Resulting Numbers: [51, 53, 49] Generated Node #0,3: 46:[51, 53, 49] Operation: 54-5=49 Exploring Operation: 54-51=3, Resulting Numbers: [5, 53, 3] Generated Node #0,4: 46:[5, 53, 3] Operation: 54-51=3 Moving to Node #0,2 Current State: 46:[51, 5, 1], Operations: ['54-53=1'] Exploring Operation: 51-5=46, Resulting Numbers: [1, 46] Generated Node #0,2,0: 46:[1, 46] Operation: 51-5=46 Exploring Operation: 5-1=4, Resulting Numbers: [51, 4] Generated Node #0,2,1: 46:[51, 4] Operation: 5-1=4 Exploring Operation: 51*1=51, Resulting Numbers: [5, 51] Generated Node #0,2,2: 46:[5, 51] Operation: 51*1=51 Exploring Operation: 51-1=50, Resulting Numbers: [5, 50] Generated Node #0,2,3: 46:[5, 50] Operation: 51-1=50 Exploring Operation: 51/1=51, Resulting Numbers: [5, 51] Generated Node #0,2,4: 46:[5, 51] Operation: 51/1=51 Moving to Node #0,4 Current State: 46:[5, 53, 3], Operations: ['54-51=3'] Exploring Operation: 53-5=48, Resulting Numbers: [3, 48] Generated Node #0,4,0: 46:[3, 48] Operation: 53-5=48 Exploring Operation: 53-3=50, Resulting Numbers: [5, 50] Generated Node #0,4,1: 46:[5, 50] Operation: 53-3=50 Exploring Operation: 5+53=58, Resulting Numbers: [3, 58] Generated Node #0,4,2: 46:[3, 58] Operation: 5+53=58 Exploring Operation: 5+3=8, Resulting Numbers: [53, 8] Generated Node #0,4,3: 46:[53, 8] Operation: 5+3=8 Exploring Operation: 5-3=2, Resulting Numbers: [53, 2] Generated Node #0,4,4: 46:[53, 2] Operation: 5-3=2 Moving to Node #0,0 Current State: 46:[54, 5, 2], Operations: ['53-51=2'] Exploring Operation: 54/2=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 46:[5, 27] Operation: 54/2=27 Exploring Operation: 54-5=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 46:[2, 49] Operation: 54-5=49 Exploring Operation: 5-2=3, Resulting Numbers: [54, 3] Generated Node #0,0,2: 46:[54, 3] Operation: 5-2=3 Exploring Operation: 54-2=52, Resulting Numbers: [5, 52] Generated Node #0,0,3: 46:[5, 52] Operation: 54-2=52 Exploring Operation: 54+5=59, Resulting Numbers: [2, 59] Generated Node #0,0,4: 46:[2, 59] Operation: 54+5=59 Moving to Node #0,1 Current State: 46:[54, 53, 46], Operations: ['51-5=46'] Exploring Operation: 54+46=100, Resulting Numbers: [53, 100] Generated Node #0,1,0: 46:[53, 100] Operation: 54+46=100 Exploring Operation: 54+53=107, Resulting Numbers: [46, 107] Generated Node #0,1,1: 46:[46, 107] Operation: 54+53=107 Exploring Operation: 54-46=8, Resulting Numbers: [53, 8] Generated Node #0,1,2: 46:[53, 8] Operation: 54-46=8 Exploring Operation: 53-46=7, Resulting Numbers: [54, 7] Generated Node #0,1,3: 46:[54, 7] Operation: 53-46=7 Exploring Operation: 54-53=1, Resulting Numbers: [46, 1] Generated Node #0,1,4: 46:[46, 1] Operation: 54-53=1 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[46, 1], Operations: ['51-5=46', '54-53=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[51, 54, 5, 53], Operations: [] Exploring Operation: 51-5=46, Resulting Numbers: [54, 53, 46] Generated Node #0,1: 46:[54, 53, 46] Operation: 51-5=46 Moving to Node #0,1 Current State: 46:[54, 53, 46], Operations: ['51-5=46'] Exploring Operation: 54-53=1, Resulting Numbers: [46, 1] Generated Node #0,1,4: 46:[46, 1] Operation: 54-53=1 Moving to Node #0,1,4 Current State: 46:[46, 1], Operations: ['51-5=46', '54-53=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
mult_heuristic
[ 40, 62, 50, 34 ]
90
[ "62*50=3100", "3100-40=3060", "3060/34=90" ]
Current State: 90:[40, 62, 50, 34], Operations: [] Exploring Operation: 62*50=3100, Resulting Numbers: [40, 34, 3100] Generated Node #2: [40, 34, 3100] from Operation: 62*50=3100 Current State: 90:[40, 34, 3100], Operations: ['62*50=3100'] Exploring Operation: 3100-40=3060, Resulting Numbers: [34, 3060] Generated Node #3: [34, 3060] from Operation: 3100-40=3060 Current State: 90:[34, 3060], Operations: ['62*50=3100', '3100-40=3060'] Exploring Operation: 3060/34=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[40, 62, 50, 34], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [40, 34, 12] Generated Node #0,0: 90:[40, 34, 12] Operation: 62-50=12 Exploring Operation: 62-34=28, Resulting Numbers: [40, 50, 28] Generated Node #0,1: 90:[40, 50, 28] Operation: 62-34=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[40, 34, 12], Operations: ['62-50=12'] Exploring Operation: 40-34=6, Resulting Numbers: [12, 6] Generated Node #0,0,0: 90:[12, 6] Operation: 40-34=6 Exploring Operation: 40-12=28, Resulting Numbers: [34, 28] Generated Node #0,0,1: 90:[34, 28] Operation: 40-12=28 Moving to Node #0,0,0 Current State: 90:[12, 6], Operations: ['62-50=12', '40-34=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[34, 28], Operations: ['62-50=12', '40-12=28'] Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[40, 50, 28], Operations: ['62-34=28'] Exploring Operation: 50-40=10, Resulting Numbers: [28, 10] Generated Node #0,1,0: 90:[28, 10] Operation: 50-40=10 Exploring Operation: 40+50=90, Resulting Numbers: [28, 90] Generated Node #0,1,1: 90:[28, 90] Operation: 40+50=90 Moving to Node #0,1,0 Current State: 90:[28, 10], Operations: ['62-34=28', '50-40=10'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[28, 90], Operations: ['62-34=28', '40+50=90'] Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 28+90=118, Resulting Numbers: [118] 118,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 40, 76, 8, 11 ]
28
[ "40+76=116", "8*11=88", "116-88=28" ]
Current State: 28:[40, 76, 8, 11], Operations: [] Exploring Operation: 40+76=116, Resulting Numbers: [8, 11, 116] Generated Node #2: [8, 11, 116] from Operation: 40+76=116 Current State: 28:[8, 11, 116], Operations: ['40+76=116'] Exploring Operation: 8*11=88, Resulting Numbers: [116, 88] Generated Node #3: [116, 88] from Operation: 8*11=88 Current State: 28:[116, 88], Operations: ['40+76=116', '8*11=88'] Exploring Operation: 116-88=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[40, 76, 8, 11], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [40, 8, 65] Generated Node #0,0: 28:[40, 8, 65] Operation: 76-11=65 Exploring Operation: 40/8=5, Resulting Numbers: [76, 11, 5] Generated Node #0,1: 28:[76, 11, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [76, 11, 32] Generated Node #0,2: 28:[76, 11, 32] Operation: 40-8=32 Exploring Operation: 76-40=36, Resulting Numbers: [8, 11, 36] Generated Node #0,3: 28:[8, 11, 36] Operation: 76-40=36 Exploring Operation: 40-11=29, Resulting Numbers: [76, 8, 29] Generated Node #0,4: 28:[76, 8, 29] Operation: 40-11=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[8, 11, 36], Operations: ['76-40=36'] Exploring Operation: 11-8=3, Resulting Numbers: [36, 3] Generated Node #0,3,0: 28:[36, 3] Operation: 11-8=3 Exploring Operation: 8+36=44, Resulting Numbers: [11, 44] Generated Node #0,3,1: 28:[11, 44] Operation: 8+36=44 Exploring Operation: 36-8=28, Resulting Numbers: [11, 28] Generated Node #0,3,2: 28:[11, 28] Operation: 36-8=28 Exploring Operation: 8+11=19, Resulting Numbers: [36, 19] Generated Node #0,3,3: 28:[36, 19] Operation: 8+11=19 Exploring Operation: 36-11=25, Resulting Numbers: [8, 25] Generated Node #0,3,4: 28:[8, 25] Operation: 36-11=25 Moving to Node #0,3,2 Current State: 28:[11, 28], Operations: ['76-40=36', '36-8=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,28 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,28 unequal: No Solution Moving to Node #0,3,4 Current State: 28:[8, 25], Operations: ['76-40=36', '36-11=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[36, 3], Operations: ['76-40=36', '11-8=3'] Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[36, 19], Operations: ['76-40=36', '8+11=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[11, 44], Operations: ['76-40=36', '8+36=44'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 11*44=484, Resulting Numbers: [484] 484,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[40, 8, 65], Operations: ['76-11=65'] Exploring Operation: 40-8=32, Resulting Numbers: [65, 32] Generated Node #0,0,0: 28:[65, 32] Operation: 40-8=32 Exploring Operation: 65-40=25, Resulting Numbers: [8, 25] Generated Node #0,0,1: 28:[8, 25] Operation: 65-40=25 Exploring Operation: 40+8=48, Resulting Numbers: [65, 48] Generated Node #0,0,2: 28:[65, 48] Operation: 40+8=48 Exploring Operation: 40/8=5, Resulting Numbers: [65, 5] Generated Node #0,0,3: 28:[65, 5] Operation: 40/8=5 Exploring Operation: 65-8=57, Resulting Numbers: [40, 57] Generated Node #0,0,4: 28:[40, 57] Operation: 65-8=57 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[8, 25], Operations: ['76-11=65', '65-40=25'] Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,28 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[65, 5], Operations: ['76-11=65', '40/8=5'] Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,28 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[65, 32], Operations: ['76-11=65', '40-8=32'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,28 unequal: No Solution Exploring Operation: 65*32=2080, Resulting Numbers: [2080] 2080,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[40, 57], Operations: ['76-11=65', '65-8=57'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,28 unequal: No Solution Exploring Operation: 40*57=2280, Resulting Numbers: [2280] 2280,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[65, 48], Operations: ['76-11=65', '40+8=48'] Exploring Operation: 65*48=3120, Resulting Numbers: [3120] 3120,28 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 65+48=113, Resulting Numbers: [113] 113,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[76, 8, 29], Operations: ['40-11=29'] Exploring Operation: 76+8=84, Resulting Numbers: [29, 84] Generated Node #0,4,0: 28:[29, 84] Operation: 76+8=84 Exploring Operation: 29-8=21, Resulting Numbers: [76, 21] Generated Node #0,4,1: 28:[76, 21] Operation: 29-8=21 Exploring Operation: 76-29=47, Resulting Numbers: [8, 47] Generated Node #0,4,2: 28:[8, 47] Operation: 76-29=47 Exploring Operation: 76-8=68, Resulting Numbers: [29, 68] Generated Node #0,4,3: 28:[29, 68] Operation: 76-8=68 Exploring Operation: 8+29=37, Resulting Numbers: [76, 37] Generated Node #0,4,4: 28:[76, 37] Operation: 8+29=37 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 28:[8, 47], Operations: ['40-11=29', '76-29=47'] Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,28 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[29, 68], Operations: ['40-11=29', '76-8=68'] Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 29*68=1972, Resulting Numbers: [1972] 1972,28 unequal: No Solution Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 28:[76, 21], Operations: ['40-11=29', '29-8=21'] Exploring Operation: 76*21=1596, Resulting Numbers: [1596] 1596,28 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 28:[29, 84], Operations: ['40-11=29', '76+8=84'] Exploring Operation: 29+84=113, Resulting Numbers: [113] 113,28 unequal: No Solution Exploring Operation: 29*84=2436, Resulting Numbers: [2436] 2436,28 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 28:[76, 37], Operations: ['40-11=29', '8+29=37'] Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,28 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[76, 11, 5], Operations: ['40/8=5'] Exploring Operation: 11+5=16, Resulting Numbers: [76, 16] Generated Node #0,1,0: 28:[76, 16] Operation: 11+5=16 Exploring Operation: 76-11=65, Resulting Numbers: [5, 65] Generated Node #0,1,1: 28:[5, 65] Operation: 76-11=65 Exploring Operation: 76+5=81, Resulting Numbers: [11, 81] Generated Node #0,1,2: 28:[11, 81] Operation: 76+5=81 Exploring Operation: 76-5=71, Resulting Numbers: [11, 71] Generated Node #0,1,3: 28:[11, 71] Operation: 76-5=71 Exploring Operation: 11-5=6, Resulting Numbers: [76, 6] Generated Node #0,1,4: 28:[76, 6] Operation: 11-5=6 Moving to Node #0,1,1 Current State: 28:[5, 65], Operations: ['40/8=5', '76-11=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 5*65=325, Resulting Numbers: [325] 325,28 unequal: No Solution Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[11, 71], Operations: ['40/8=5', '76-5=71'] Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,28 unequal: No Solution Moving to Node #0,1,4 Current State: 28:[76, 6], Operations: ['40/8=5', '11-5=6'] Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,28 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[76, 16], Operations: ['40/8=5', '11+5=16'] Exploring Operation: 76+16=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 76*16=1216, Resulting Numbers: [1216] 1216,28 unequal: No Solution Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[11, 81], Operations: ['40/8=5', '76+5=81'] Exploring Operation: 11+81=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 11*81=891, Resulting Numbers: [891] 891,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 Current State: 28:[76, 11, 32], Operations: ['40-8=32'] Exploring Operation: 76+11=87, Resulting Numbers: [32, 87] Generated Node #0,2,0: 28:[32, 87] Operation: 76+11=87 Exploring Operation: 76-11=65, Resulting Numbers: [32, 65] Generated Node #0,2,1: 28:[32, 65] Operation: 76-11=65 Exploring Operation: 32-11=21, Resulting Numbers: [76, 21] Generated Node #0,2,2: 28:[76, 21] Operation: 32-11=21 Exploring Operation: 76-32=44, Resulting Numbers: [11, 44] Generated Node #0,2,3: 28:[11, 44] Operation: 76-32=44 Exploring Operation: 11+32=43, Resulting Numbers: [76, 43] Generated Node #0,2,4: 28:[76, 43] Operation: 11+32=43 Moving to Node #0,2,3 Current State: 28:[11, 44], Operations: ['40-8=32', '76-32=44'] Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 11*44=484, Resulting Numbers: [484] 484,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[32, 65], Operations: ['40-8=32', '76-11=65'] Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,28 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[76, 21], Operations: ['40-8=32', '32-11=21'] Exploring Operation: 76*21=1596, Resulting Numbers: [1596] 1596,28 unequal: No Solution Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,28 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[32, 87], Operations: ['40-8=32', '76+11=87'] Exploring Operation: 32+87=119, Resulting Numbers: [119] 119,28 unequal: No Solution Exploring Operation: 32*87=2784, Resulting Numbers: [2784] 2784,28 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,28 unequal: No Solution Moving to Node #0,2,4 Current State: 28:[76, 43], Operations: ['40-8=32', '11+32=43'] Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,28 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,28 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
[ 58, 26, 35, 2 ]
29
[ "58-26=32", "2*32=64", "64-35=29" ]
Current State: 29:[58, 26, 35, 2], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [35, 2, 32] Generated Node #2: [35, 2, 32] from Operation: 58-26=32 Current State: 29:[35, 2, 32], Operations: ['58-26=32'] Exploring Operation: 2*32=64, Resulting Numbers: [35, 64] Generated Node #3: [35, 64] from Operation: 2*32=64 Current State: 29:[35, 64], Operations: ['58-26=32', '2*32=64'] Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[58, 26, 35, 2], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [35, 2, 32] Generated Node #0,0: 29:[35, 2, 32] Operation: 58-26=32 Exploring Operation: 58-35=23, Resulting Numbers: [26, 2, 23] Generated Node #0,1: 29:[26, 2, 23] Operation: 58-35=23 Exploring Operation: 58/2=29, Resulting Numbers: [26, 35, 29] Generated Node #0,2: 29:[26, 35, 29] Operation: 58/2=29 Moving to Node #0,2 Current State: 29:[26, 35, 29], Operations: ['58/2=29'] Exploring Operation: 26+35=61, Resulting Numbers: [29, 61] Generated Node #0,2,0: 29:[29, 61] Operation: 26+35=61 Exploring Operation: 35-26=9, Resulting Numbers: [29, 9] Generated Node #0,2,1: 29:[29, 9] Operation: 35-26=9 Exploring Operation: 35-29=6, Resulting Numbers: [26, 6] Generated Node #0,2,2: 29:[26, 6] Operation: 35-29=6 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[29, 9], Operations: ['58/2=29', '35-26=9'] Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,29 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,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,2 Current State: 29:[26, 6], Operations: ['58/2=29', '35-29=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,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,0 Current State: 29:[29, 61], Operations: ['58/2=29', '26+35=61'] Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 29*61=1769, Resulting Numbers: [1769] 1769,29 unequal: No Solution Exploring Operation: 29+61=90, Resulting Numbers: [90] 90,29 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: 29:[35, 2, 32], Operations: ['58-26=32'] Exploring Operation: 35+2=37, Resulting Numbers: [32, 37] Generated Node #0,0,0: 29:[32, 37] Operation: 35+2=37 Exploring Operation: 35-2=33, Resulting Numbers: [32, 33] Generated Node #0,0,1: 29:[32, 33] Operation: 35-2=33 Exploring Operation: 32-2=30, Resulting Numbers: [35, 30] Generated Node #0,0,2: 29:[35, 30] Operation: 32-2=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[32, 33], Operations: ['58-26=32', '35-2=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,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,2 Current State: 29:[35, 30], Operations: ['58-26=32', '32-2=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,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,0 Current State: 29:[32, 37], Operations: ['58-26=32', '35+2=37'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,29 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,29 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: 29:[26, 2, 23], Operations: ['58-35=23'] Exploring Operation: 26+2=28, Resulting Numbers: [23, 28] Generated Node #0,1,0: 29:[23, 28] Operation: 26+2=28 Exploring Operation: 2+23=25, Resulting Numbers: [26, 25] Generated Node #0,1,1: 29:[26, 25] Operation: 2+23=25 Exploring Operation: 26-2=24, Resulting Numbers: [23, 24] Generated Node #0,1,2: 29:[23, 24] Operation: 26-2=24 Moving to Node #0,1,0 Current State: 29:[23, 28], Operations: ['58-35=23', '26+2=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[26, 25], Operations: ['58-35=23', '2+23=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[23, 24], Operations: ['58-35=23', '26-2=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,29 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,29 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 99, 86, 87, 63 ]
35
[ "99+86=185", "87+63=150", "185-150=35" ]
Current State: 35:[99, 86, 87, 63], Operations: [] Exploring Operation: 99+86=185, Resulting Numbers: [87, 63, 185] Generated Node #2: [87, 63, 185] from Operation: 99+86=185 Current State: 35:[87, 63, 185], Operations: ['99+86=185'] Exploring Operation: 87+63=150, Resulting Numbers: [185, 150] Generated Node #3: [185, 150] from Operation: 87+63=150 Current State: 35:[185, 150], Operations: ['99+86=185', '87+63=150'] Exploring Operation: 185-150=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[99, 86, 87, 63], Operations: [] Exploring Operation: 99-63=36, Resulting Numbers: [86, 87, 36] Generated Node #0,0: 35:[86, 87, 36] Operation: 99-63=36 Exploring Operation: 99-86=13, Resulting Numbers: [87, 63, 13] Generated Node #0,1: 35:[87, 63, 13] Operation: 99-86=13 Exploring Operation: 87-86=1, Resulting Numbers: [99, 63, 1] Generated Node #0,2: 35:[99, 63, 1] Operation: 87-86=1 Exploring Operation: 99-87=12, Resulting Numbers: [86, 63, 12] Generated Node #0,3: 35:[86, 63, 12] Operation: 99-87=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[86, 63, 12], Operations: ['99-87=12'] Exploring Operation: 63-12=51, Resulting Numbers: [86, 51] Generated Node #0,3,0: 35:[86, 51] Operation: 63-12=51 Exploring Operation: 86+12=98, Resulting Numbers: [63, 98] Generated Node #0,3,1: 35:[63, 98] Operation: 86+12=98 Exploring Operation: 86-63=23, Resulting Numbers: [12, 23] Generated Node #0,3,2: 35:[12, 23] Operation: 86-63=23 Exploring Operation: 86-12=74, Resulting Numbers: [63, 74] Generated Node #0,3,3: 35:[63, 74] Operation: 86-12=74 Moving to Node #0,3,2 Current State: 35:[12, 23], Operations: ['99-87=12', '86-63=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[99, 86, 87, 63], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [86, 63, 12] Generated Node #0,3: 35:[86, 63, 12] Operation: 99-87=12 Moving to Node #0,3 Current State: 35:[86, 63, 12], Operations: ['99-87=12'] Exploring Operation: 86-63=23, Resulting Numbers: [12, 23] Generated Node #0,3,2: 35:[12, 23] Operation: 86-63=23 Moving to Node #0,3,2 Current State: 35:[12, 23], Operations: ['99-87=12', '86-63=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 55, 30, 66, 18 ]
15
[ "55*18=990", "990/66=15", "30-15=15" ]
Current State: 15:[55, 30, 66, 18], Operations: [] Exploring Operation: 55*18=990, Resulting Numbers: [30, 66, 990] Generated Node #2: [30, 66, 990] from Operation: 55*18=990 Current State: 15:[30, 66, 990], Operations: ['55*18=990'] Exploring Operation: 990/66=15, Resulting Numbers: [30, 15] Generated Node #3: [30, 15] from Operation: 990/66=15 Current State: 15:[30, 15], Operations: ['55*18=990', '990/66=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[55, 30, 66, 18], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [30, 18, 11] Generated Node #0,0: 15:[30, 18, 11] Operation: 66-55=11 Exploring Operation: 55-30=25, Resulting Numbers: [66, 18, 25] Generated Node #0,1: 15:[66, 18, 25] Operation: 55-30=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[30, 18, 11], Operations: ['66-55=11'] Exploring Operation: 30-11=19, Resulting Numbers: [18, 19] Generated Node #0,0,0: 15:[18, 19] Operation: 30-11=19 Exploring Operation: 30-18=12, Resulting Numbers: [11, 12] Generated Node #0,0,1: 15:[11, 12] Operation: 30-18=12 Moving to Node #0,0,0 Current State: 15:[18, 19], Operations: ['66-55=11', '30-11=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[11, 12], Operations: ['66-55=11', '30-18=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[66, 18, 25], Operations: ['55-30=25'] Exploring Operation: 66-18=48, Resulting Numbers: [25, 48] Generated Node #0,1,0: 15:[25, 48] Operation: 66-18=48 Exploring Operation: 66-25=41, Resulting Numbers: [18, 41] Generated Node #0,1,1: 15:[18, 41] Operation: 66-25=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[18, 41], Operations: ['55-30=25', '66-25=41'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 18+41=59, Resulting Numbers: [59] 59,15 unequal: No Solution No 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: 15:[25, 48], Operations: ['55-30=25', '66-18=48'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,15 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
[ 4, 58, 64, 33 ]
32
[ "33-4=29", "58/29=2", "64/2=32" ]
Current State: 32:[4, 58, 64, 33], Operations: [] Exploring Operation: 33-4=29, Resulting Numbers: [58, 64, 29] Generated Node #2: [58, 64, 29] from Operation: 33-4=29 Current State: 32:[58, 64, 29], Operations: ['33-4=29'] Exploring Operation: 58/29=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 58/29=2 Current State: 32:[64, 2], Operations: ['33-4=29', '58/29=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[4, 58, 64, 33], Operations: [] Exploring Operation: 64-33=31, Resulting Numbers: [4, 58, 31] Generated Node #0,0: 32:[4, 58, 31] Operation: 64-33=31 Exploring Operation: 64-58=6, Resulting Numbers: [4, 33, 6] Generated Node #0,1: 32:[4, 33, 6] Operation: 64-58=6 Exploring Operation: 64/4=16, Resulting Numbers: [58, 33, 16] Generated Node #0,2: 32:[58, 33, 16] Operation: 64/4=16 Exploring Operation: 58-33=25, Resulting Numbers: [4, 64, 25] Generated Node #0,3: 32:[4, 64, 25] Operation: 58-33=25 Moving to Node #0,1 Current State: 32:[4, 33, 6], Operations: ['64-58=6'] Exploring Operation: 6-4=2, Resulting Numbers: [33, 2] Generated Node #0,1,0: 32:[33, 2] Operation: 6-4=2 Exploring Operation: 33-6=27, Resulting Numbers: [4, 27] Generated Node #0,1,1: 32:[4, 27] Operation: 33-6=27 Exploring Operation: 4+6=10, Resulting Numbers: [33, 10] Generated Node #0,1,2: 32:[33, 10] Operation: 4+6=10 Exploring Operation: 33-4=29, Resulting Numbers: [6, 29] Generated Node #0,1,3: 32:[6, 29] Operation: 33-4=29 Moving to Node #0,2 Current State: 32:[58, 33, 16], Operations: ['64/4=16'] Exploring Operation: 33-16=17, Resulting Numbers: [58, 17] Generated Node #0,2,0: 32:[58, 17] Operation: 33-16=17 Exploring Operation: 58+16=74, Resulting Numbers: [33, 74] Generated Node #0,2,1: 32:[33, 74] Operation: 58+16=74 Exploring Operation: 58-16=42, Resulting Numbers: [33, 42] Generated Node #0,2,2: 32:[33, 42] Operation: 58-16=42 Exploring Operation: 58-33=25, Resulting Numbers: [16, 25] Generated Node #0,2,3: 32:[16, 25] Operation: 58-33=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[16, 25], Operations: ['64/4=16', '58-33=25'] Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[33, 42], Operations: ['64/4=16', '58-16=42'] Exploring Operation: 33*42=1386, Resulting Numbers: [1386] 1386,32 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[58, 17], Operations: ['64/4=16', '33-16=17'] Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,32 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,32 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[33, 74], Operations: ['64/4=16', '58+16=74'] Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,32 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,32 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: 32:[4, 58, 31], Operations: ['64-33=31'] Exploring Operation: 4+31=35, Resulting Numbers: [58, 35] Generated Node #0,0,0: 32:[58, 35] Operation: 4+31=35 Exploring Operation: 58-4=54, Resulting Numbers: [31, 54] Generated Node #0,0,1: 32:[31, 54] Operation: 58-4=54 Exploring Operation: 58-31=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 32:[4, 27] Operation: 58-31=27 Exploring Operation: 4+58=62, Resulting Numbers: [31, 62] Generated Node #0,0,3: 32:[31, 62] Operation: 4+58=62 Moving to Node #0,3 Current State: 32:[4, 64, 25], Operations: ['58-33=25'] Exploring Operation: 64-25=39, Resulting Numbers: [4, 39] Generated Node #0,3,0: 32:[4, 39] Operation: 64-25=39 Exploring Operation: 64/4=16, Resulting Numbers: [25, 16] Generated Node #0,3,1: 32:[25, 16] Operation: 64/4=16 Exploring Operation: 64-4=60, Resulting Numbers: [25, 60] Generated Node #0,3,2: 32:[25, 60] Operation: 64-4=60 Exploring Operation: 4+25=29, Resulting Numbers: [64, 29] Generated Node #0,3,3: 32:[64, 29] Operation: 4+25=29 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 32:[4, 39], Operations: ['58-33=25', '64-25=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,32 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,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:[25, 16], Operations: ['58-33=25', '64/4=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,32 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,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,2 Current State: 32:[25, 60], Operations: ['58-33=25', '64-4=60'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,32 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,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:[64, 29], Operations: ['58-33=25', '4+25=29'] Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,32 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 32:[33, 2], Operations: ['64-58=6', '6-4=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[33, 10], Operations: ['64-58=6', '4+6=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,32 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[4, 27], Operations: ['64-58=6', '33-6=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[4, 27], Operations: ['64-33=31', '58-31=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[6, 29], Operations: ['64-58=6', '33-4=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,32 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[31, 54], Operations: ['64-33=31', '58-4=54'] Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,32 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[58, 35], Operations: ['64-33=31', '4+31=35'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 58*35=2030, Resulting Numbers: [2030] 2030,32 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[31, 62], Operations: ['64-33=31', '4+58=62'] Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,32 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 43, 8, 64, 45 ]
80
[ "43+45=88", "64/8=8", "88-8=80" ]
Current State: 80:[43, 8, 64, 45], Operations: [] Exploring Operation: 43+45=88, Resulting Numbers: [8, 64, 88] Generated Node #2: [8, 64, 88] from Operation: 43+45=88 Current State: 80:[8, 64, 88], Operations: ['43+45=88'] Exploring Operation: 64/8=8, Resulting Numbers: [88, 8] Generated Node #3: [88, 8] from Operation: 64/8=8 Current State: 80:[88, 8], Operations: ['43+45=88', '64/8=8'] Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[43, 8, 64, 45], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [43, 8, 19] Generated Node #0,0: 80:[43, 8, 19] Operation: 64-45=19 Moving to Node #0,0 Current State: 80:[43, 8, 19], Operations: ['64-45=19'] Exploring Operation: 43-19=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 80:[8, 24] Operation: 43-19=24 Moving to Node #0,0,0 Current State: 80:[8, 24], Operations: ['64-45=19', '43-19=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,80 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 42, 47, 40, 37 ]
61
[ "40-37=3", "42/3=14", "47+14=61" ]
Current State: 61:[42, 47, 40, 37], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [42, 47, 3] Generated Node #2: [42, 47, 3] from Operation: 40-37=3 Current State: 61:[42, 47, 3], Operations: ['40-37=3'] Exploring Operation: 42/3=14, Resulting Numbers: [47, 14] Generated Node #3: [47, 14] from Operation: 42/3=14 Current State: 61:[47, 14], Operations: ['40-37=3', '42/3=14'] Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[42, 47, 40, 37], Operations: [] Exploring Operation: 42+37=79, Resulting Numbers: [47, 40, 79] Generated Node #0,0: 61:[47, 40, 79] Operation: 42+37=79 Exploring Operation: 42+40=82, Resulting Numbers: [47, 37, 82] Generated Node #0,1: 61:[47, 37, 82] Operation: 42+40=82 Exploring Operation: 40+37=77, Resulting Numbers: [42, 47, 77] Generated Node #0,2: 61:[42, 47, 77] Operation: 40+37=77 Exploring Operation: 47+40=87, Resulting Numbers: [42, 37, 87] Generated Node #0,3: 61:[42, 37, 87] Operation: 47+40=87 Exploring Operation: 47+37=84, Resulting Numbers: [42, 40, 84] Generated Node #0,4: 61:[42, 40, 84] Operation: 47+37=84 Moving to Node #0,2 Current State: 61:[42, 47, 77], Operations: ['40+37=77'] Exploring Operation: 47-42=5, Resulting Numbers: [77, 5] Generated Node #0,2,0: 61:[77, 5] Operation: 47-42=5 Exploring Operation: 42+77=119, Resulting Numbers: [47, 119] Generated Node #0,2,1: 61:[47, 119] Operation: 42+77=119 Exploring Operation: 42+47=89, Resulting Numbers: [77, 89] Generated Node #0,2,2: 61:[77, 89] Operation: 42+47=89 Exploring Operation: 77-42=35, Resulting Numbers: [47, 35] Generated Node #0,2,3: 61:[47, 35] Operation: 77-42=35 Exploring Operation: 77-47=30, Resulting Numbers: [42, 30] Generated Node #0,2,4: 61:[42, 30] Operation: 77-47=30 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[47, 35], Operations: ['40+37=77', '77-42=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,61 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[77, 89], Operations: ['40+37=77', '42+47=89'] Exploring Operation: 77+89=166, Resulting Numbers: [166] 166,61 unequal: No Solution Exploring Operation: 77*89=6853, Resulting Numbers: [6853] 6853,61 unequal: No Solution Exploring Operation: 89-77=12, Resulting Numbers: [12] 12,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 61:[42, 30], Operations: ['40+37=77', '77-47=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,61 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[77, 5], Operations: ['40+37=77', '47-42=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,61 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[47, 119], Operations: ['40+37=77', '42+77=119'] Exploring Operation: 47+119=166, Resulting Numbers: [166] 166,61 unequal: No Solution Exploring Operation: 119-47=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 47*119=5593, Resulting Numbers: [5593] 5593,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[47, 40, 79], Operations: ['42+37=79'] Exploring Operation: 47+40=87, Resulting Numbers: [79, 87] Generated Node #0,0,0: 61:[79, 87] Operation: 47+40=87 Exploring Operation: 79-47=32, Resulting Numbers: [40, 32] Generated Node #0,0,1: 61:[40, 32] Operation: 79-47=32 Exploring Operation: 40+79=119, Resulting Numbers: [47, 119] Generated Node #0,0,2: 61:[47, 119] Operation: 40+79=119 Exploring Operation: 47-40=7, Resulting Numbers: [79, 7] Generated Node #0,0,3: 61:[79, 7] Operation: 47-40=7 Exploring Operation: 79-40=39, Resulting Numbers: [47, 39] Generated Node #0,0,4: 61:[47, 39] Operation: 79-40=39 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[47, 39], Operations: ['42+37=79', '79-40=39'] Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,61 unequal: No Solution Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[79, 87], Operations: ['42+37=79', '47+40=87'] Exploring Operation: 79*87=6873, Resulting Numbers: [6873] 6873,61 unequal: No Solution Exploring Operation: 79+87=166, Resulting Numbers: [166] 166,61 unequal: No Solution Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[40, 32], Operations: ['42+37=79', '79-47=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[47, 119], Operations: ['42+37=79', '40+79=119'] Exploring Operation: 119-47=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 47+119=166, Resulting Numbers: [166] 166,61 unequal: No Solution Exploring Operation: 47*119=5593, Resulting Numbers: [5593] 5593,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[79, 7], Operations: ['42+37=79', '47-40=7'] Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 79*7=553, Resulting Numbers: [553] 553,61 unequal: No Solution Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[47, 37, 82], Operations: ['42+40=82'] Exploring Operation: 47-37=10, Resulting Numbers: [82, 10] Generated Node #0,1,0: 61:[82, 10] Operation: 47-37=10 Exploring Operation: 47+37=84, Resulting Numbers: [82, 84] Generated Node #0,1,1: 61:[82, 84] Operation: 47+37=84 Exploring Operation: 82-47=35, Resulting Numbers: [37, 35] Generated Node #0,1,2: 61:[37, 35] Operation: 82-47=35 Exploring Operation: 37+82=119, Resulting Numbers: [47, 119] Generated Node #0,1,3: 61:[47, 119] Operation: 37+82=119 Exploring Operation: 82-37=45, Resulting Numbers: [47, 45] Generated Node #0,1,4: 61:[47, 45] Operation: 82-37=45 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[47, 45], Operations: ['42+40=82', '82-37=45'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,61 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[82, 84], Operations: ['42+40=82', '47+37=84'] Exploring Operation: 82*84=6888, Resulting Numbers: [6888] 6888,61 unequal: No Solution Exploring Operation: 82+84=166, Resulting Numbers: [166] 166,61 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[37, 35], Operations: ['42+40=82', '82-47=35'] Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,61 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[82, 10], Operations: ['42+40=82', '47-37=10'] Exploring Operation: 82*10=820, Resulting Numbers: [820] 820,61 unequal: No Solution Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,61 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[47, 119], Operations: ['42+40=82', '37+82=119'] Exploring Operation: 119-47=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 47+119=166, Resulting Numbers: [166] 166,61 unequal: No Solution Exploring Operation: 47*119=5593, Resulting Numbers: [5593] 5593,61 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: 61:[42, 40, 84], Operations: ['47+37=84'] Exploring Operation: 42-40=2, Resulting Numbers: [84, 2] Generated Node #0,4,0: 61:[84, 2] Operation: 42-40=2 Exploring Operation: 84-40=44, Resulting Numbers: [42, 44] Generated Node #0,4,1: 61:[42, 44] Operation: 84-40=44 Exploring Operation: 42+40=82, Resulting Numbers: [84, 82] Generated Node #0,4,2: 61:[84, 82] Operation: 42+40=82 Exploring Operation: 84/42=2, Resulting Numbers: [40, 2] Generated Node #0,4,3: 61:[40, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [40, 42] Generated Node #0,4,4: 61:[40, 42] Operation: 84-42=42 Moving to Node #0,3 Current State: 61:[42, 37, 87], Operations: ['47+40=87'] Exploring Operation: 87-37=50, Resulting Numbers: [42, 50] Generated Node #0,3,0: 61:[42, 50] Operation: 87-37=50 Exploring Operation: 87-42=45, Resulting Numbers: [37, 45] Generated Node #0,3,1: 61:[37, 45] Operation: 87-42=45 Exploring Operation: 42+37=79, Resulting Numbers: [87, 79] Generated Node #0,3,2: 61:[87, 79] Operation: 42+37=79 Exploring Operation: 37+87=124, Resulting Numbers: [42, 124] Generated Node #0,3,3: 61:[42, 124] Operation: 37+87=124 Exploring Operation: 42-37=5, Resulting Numbers: [87, 5] Generated Node #0,3,4: 61:[87, 5] Operation: 42-37=5 Moving to Node #0,3,0 Current State: 61:[42, 50], Operations: ['47+40=87', '87-37=50'] Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,61 unequal: No Solution Exploring Operation: 42*50=2100, Resulting Numbers: [2100] 2100,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[42, 44], Operations: ['47+37=84', '84-40=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[37, 45], Operations: ['47+40=87', '87-42=45'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[40, 42], Operations: ['47+37=84', '84-42=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 40*42=1680, Resulting Numbers: [1680] 1680,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[84, 82], Operations: ['47+37=84', '42+40=82'] Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,61 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[87, 79], Operations: ['47+40=87', '42+37=79'] Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 87*79=6873, Resulting Numbers: [6873] 6873,61 unequal: No Solution Exploring Operation: 87+79=166, Resulting Numbers: [166] 166,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[40, 2], Operations: ['47+37=84', '84/42=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,61 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[42, 124], Operations: ['47+40=87', '37+87=124'] Exploring Operation: 42+124=166, Resulting Numbers: [166] 166,61 unequal: No Solution Exploring Operation: 42*124=5208, Resulting Numbers: [5208] 5208,61 unequal: No Solution Exploring Operation: 124-42=82, Resulting Numbers: [82] 82,61 unequal: No Solution Moving to Node #0,3,4 Current State: 61:[87, 5], Operations: ['47+40=87', '42-37=5'] Exploring Operation: 87*5=435, Resulting Numbers: [435] 435,61 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[84, 2], Operations: ['47+37=84', '42-40=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,61 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,61 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 29, 30, 32, 24 ]
56
[ "30-29=1", "32+24=56", "1*56=56" ]
Current State: 56:[29, 30, 32, 24], Operations: [] Exploring Operation: 30-29=1, Resulting Numbers: [32, 24, 1] Generated Node #2: [32, 24, 1] from Operation: 30-29=1 Current State: 56:[32, 24, 1], Operations: ['30-29=1'] Exploring Operation: 32+24=56, Resulting Numbers: [1, 56] Generated Node #3: [1, 56] from Operation: 32+24=56 Current State: 56:[1, 56], Operations: ['30-29=1', '32+24=56'] Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[29, 30, 32, 24], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [29, 32, 6] Generated Node #0,0: 56:[29, 32, 6] Operation: 30-24=6 Exploring Operation: 32-29=3, Resulting Numbers: [30, 24, 3] Generated Node #0,1: 56:[30, 24, 3] Operation: 32-29=3 Exploring Operation: 32+24=56, Resulting Numbers: [29, 30, 56] Generated Node #0,2: 56:[29, 30, 56] Operation: 32+24=56 Exploring Operation: 32-24=8, Resulting Numbers: [29, 30, 8] Generated Node #0,3: 56:[29, 30, 8] Operation: 32-24=8 Exploring Operation: 32-30=2, Resulting Numbers: [29, 24, 2] Generated Node #0,4: 56:[29, 24, 2] Operation: 32-30=2 Moving to Node #0,2 Current State: 56:[29, 30, 56], Operations: ['32+24=56'] Exploring Operation: 29+56=85, Resulting Numbers: [30, 85] Generated Node #0,2,0: 56:[30, 85] Operation: 29+56=85 Exploring Operation: 29+30=59, Resulting Numbers: [56, 59] Generated Node #0,2,1: 56:[56, 59] Operation: 29+30=59 Exploring Operation: 30-29=1, Resulting Numbers: [56, 1] Generated Node #0,2,2: 56:[56, 1] Operation: 30-29=1 Exploring Operation: 56-30=26, Resulting Numbers: [29, 26] Generated Node #0,2,3: 56:[29, 26] Operation: 56-30=26 Exploring Operation: 56-29=27, Resulting Numbers: [30, 27] Generated Node #0,2,4: 56:[30, 27] Operation: 56-29=27 Moving to Node #0,3 Current State: 56:[29, 30, 8], Operations: ['32-24=8'] Exploring Operation: 29+30=59, Resulting Numbers: [8, 59] Generated Node #0,3,0: 56:[8, 59] Operation: 29+30=59 Exploring Operation: 30-8=22, Resulting Numbers: [29, 22] Generated Node #0,3,1: 56:[29, 22] Operation: 30-8=22 Exploring Operation: 30-29=1, Resulting Numbers: [8, 1] Generated Node #0,3,2: 56:[8, 1] Operation: 30-29=1 Exploring Operation: 29-8=21, Resulting Numbers: [30, 21] Generated Node #0,3,3: 56:[30, 21] Operation: 29-8=21 Exploring Operation: 29+8=37, Resulting Numbers: [30, 37] Generated Node #0,3,4: 56:[30, 37] Operation: 29+8=37 Moving to Node #0,4 Current State: 56:[29, 24, 2], Operations: ['32-30=2'] Exploring Operation: 24+2=26, Resulting Numbers: [29, 26] Generated Node #0,4,0: 56:[29, 26] Operation: 24+2=26 Exploring Operation: 29+24=53, Resulting Numbers: [2, 53] Generated Node #0,4,1: 56:[2, 53] Operation: 29+24=53 Exploring Operation: 24/2=12, Resulting Numbers: [29, 12] Generated Node #0,4,2: 56:[29, 12] Operation: 24/2=12 Exploring Operation: 29-2=27, Resulting Numbers: [24, 27] Generated Node #0,4,3: 56:[24, 27] Operation: 29-2=27 Exploring Operation: 29-24=5, Resulting Numbers: [2, 5] Generated Node #0,4,4: 56:[2, 5] Operation: 29-24=5 Moving to Node #0,0 Current State: 56:[29, 32, 6], Operations: ['30-24=6'] Exploring Operation: 29+6=35, Resulting Numbers: [32, 35] Generated Node #0,0,0: 56:[32, 35] Operation: 29+6=35 Exploring Operation: 29-6=23, Resulting Numbers: [32, 23] Generated Node #0,0,1: 56:[32, 23] Operation: 29-6=23 Exploring Operation: 29+32=61, Resulting Numbers: [6, 61] Generated Node #0,0,2: 56:[6, 61] Operation: 29+32=61 Exploring Operation: 32-6=26, Resulting Numbers: [29, 26] Generated Node #0,0,3: 56:[29, 26] Operation: 32-6=26 Exploring Operation: 32-29=3, Resulting Numbers: [6, 3] Generated Node #0,0,4: 56:[6, 3] Operation: 32-29=3 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[6, 3], Operations: ['30-24=6', '32-29=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[29, 26], Operations: ['30-24=6', '32-6=26'] Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,56 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[6, 61], Operations: ['30-24=6', '29+32=61'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,56 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[32, 23], Operations: ['30-24=6', '29-6=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[32, 35], Operations: ['30-24=6', '29+6=35'] Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,56 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[30, 24, 3], Operations: ['32-29=3'] Exploring Operation: 24/3=8, Resulting Numbers: [30, 8] Generated Node #0,1,0: 56:[30, 8] Operation: 24/3=8 Exploring Operation: 30-24=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 56:[3, 6] Operation: 30-24=6 Exploring Operation: 24+3=27, Resulting Numbers: [30, 27] Generated Node #0,1,2: 56:[30, 27] Operation: 24+3=27 Exploring Operation: 30+24=54, Resulting Numbers: [3, 54] Generated Node #0,1,3: 56:[3, 54] Operation: 30+24=54 Exploring Operation: 30-3=27, Resulting Numbers: [24, 27] Generated Node #0,1,4: 56:[24, 27] Operation: 30-3=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[30, 8], Operations: ['32-29=3', '24/3=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,56 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[3, 6], Operations: ['32-29=3', '30-24=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[30, 27], Operations: ['32-29=3', '24+3=27'] Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[3, 54], Operations: ['32-29=3', '30+24=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,56 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 56:[24, 27], Operations: ['32-29=3', '30-3=27'] Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,56 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 56:[56, 1], Operations: ['32+24=56', '30-29=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[29, 30, 32, 24], Operations: [] Exploring Operation: 32+24=56, Resulting Numbers: [29, 30, 56] Generated Node #0,2: 56:[29, 30, 56] Operation: 32+24=56 Moving to Node #0,2 Current State: 56:[29, 30, 56], Operations: ['32+24=56'] Exploring Operation: 30-29=1, Resulting Numbers: [56, 1] Generated Node #0,2,2: 56:[56, 1] Operation: 30-29=1 Moving to Node #0,2,2 Current State: 56:[56, 1], Operations: ['32+24=56', '30-29=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 91, 92, 57, 17 ]
74
[ "92-91=1", "57+17=74", "1*74=74" ]
Current State: 74:[91, 92, 57, 17], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [57, 17, 1] Generated Node #2: [57, 17, 1] from Operation: 92-91=1 Current State: 74:[57, 17, 1], Operations: ['92-91=1'] Exploring Operation: 57+17=74, Resulting Numbers: [1, 74] Generated Node #3: [1, 74] from Operation: 57+17=74 Current State: 74:[1, 74], Operations: ['92-91=1', '57+17=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[91, 92, 57, 17], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [92, 57, 74] Generated Node #0,0: 74:[92, 57, 74] Operation: 91-17=74 Exploring Operation: 92-57=35, Resulting Numbers: [91, 17, 35] Generated Node #0,1: 74:[91, 17, 35] Operation: 92-57=35 Exploring Operation: 92-91=1, Resulting Numbers: [57, 17, 1] Generated Node #0,2: 74:[57, 17, 1] Operation: 92-91=1 Exploring Operation: 92-17=75, Resulting Numbers: [91, 57, 75] Generated Node #0,3: 74:[91, 57, 75] Operation: 92-17=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[57, 17, 1], Operations: ['92-91=1'] Exploring Operation: 57-17=40, Resulting Numbers: [1, 40] Generated Node #0,2,0: 74:[1, 40] Operation: 57-17=40 Exploring Operation: 17-1=16, Resulting Numbers: [57, 16] Generated Node #0,2,1: 74:[57, 16] Operation: 17-1=16 Exploring Operation: 57+17=74, Resulting Numbers: [1, 74] Generated Node #0,2,2: 74:[1, 74] Operation: 57+17=74 Exploring Operation: 57+1=58, Resulting Numbers: [17, 58] Generated Node #0,2,3: 74:[17, 58] Operation: 57+1=58 Moving to Node #0,2,2 Current State: 74:[1, 74], Operations: ['92-91=1', '57+17=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[91, 92, 57, 17], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [57, 17, 1] Generated Node #0,2: 74:[57, 17, 1] Operation: 92-91=1 Moving to Node #0,2 Current State: 74:[57, 17, 1], Operations: ['92-91=1'] Exploring Operation: 57+17=74, Resulting Numbers: [1, 74] Generated Node #0,2,2: 74:[1, 74] Operation: 57+17=74 Moving to Node #0,2,2 Current State: 74:[1, 74], Operations: ['92-91=1', '57+17=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 67, 2, 37, 33 ]
13
[ "67+33=100", "100/2=50", "50-37=13" ]
Current State: 13:[67, 2, 37, 33], Operations: [] Exploring Operation: 67+33=100, Resulting Numbers: [2, 37, 100] Generated Node #2: [2, 37, 100] from Operation: 67+33=100 Current State: 13:[2, 37, 100], Operations: ['67+33=100'] Exploring Operation: 100/2=50, Resulting Numbers: [37, 50] Generated Node #3: [37, 50] from Operation: 100/2=50 Current State: 13:[37, 50], Operations: ['67+33=100', '100/2=50'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[67, 2, 37, 33], Operations: [] Exploring Operation: 67-33=34, Resulting Numbers: [2, 37, 34] Generated Node #0,0: 13:[2, 37, 34] Operation: 67-33=34 Exploring Operation: 67-37=30, Resulting Numbers: [2, 33, 30] Generated Node #0,1: 13:[2, 33, 30] Operation: 67-37=30 Moving to Node #0,1 Current State: 13:[2, 33, 30], Operations: ['67-37=30'] Exploring Operation: 30/2=15, Resulting Numbers: [33, 15] Generated Node #0,1,0: 13:[33, 15] Operation: 30/2=15 Exploring Operation: 33-30=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 13:[2, 3] Operation: 33-30=3 Moving to Node #0,0 Current State: 13:[2, 37, 34], Operations: ['67-33=34'] Exploring Operation: 37-34=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 13:[2, 3] Operation: 37-34=3 Exploring Operation: 34/2=17, Resulting Numbers: [37, 17] Generated Node #0,0,1: 13:[37, 17] Operation: 34/2=17 Moving to Node #0,1,1 Current State: 13:[2, 3], Operations: ['67-37=30', '33-30=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[2, 3], Operations: ['67-33=34', '37-34=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[33, 15], Operations: ['67-37=30', '30/2=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[37, 17], Operations: ['67-33=34', '34/2=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 61, 61, 15, 53 ]
53
[ "61-61=0", "15*0=0", "53+0=53" ]
Current State: 53:[61, 61, 15, 53], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [15, 53, 0] Generated Node #2: [15, 53, 0] from Operation: 61-61=0 Current State: 53:[15, 53, 0], Operations: ['61-61=0'] Exploring Operation: 15*0=0, Resulting Numbers: [53, 0] Generated Node #3: [53, 0] from Operation: 15*0=0 Current State: 53:[53, 0], Operations: ['61-61=0', '15*0=0'] Exploring Operation: 53+0=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[61, 61, 15, 53], Operations: [] Exploring Operation: 61+15=76, Resulting Numbers: [61, 53, 76] Generated Node #0,0: 53:[61, 53, 76] Operation: 61+15=76 Exploring Operation: 61-15=46, Resulting Numbers: [61, 53, 46] Generated Node #0,1: 53:[61, 53, 46] Operation: 61-15=46 Exploring Operation: 61-15=46, Resulting Numbers: [61, 53, 46] Generated Node #0,2: 53:[61, 53, 46] Operation: 61-15=46 Exploring Operation: 15+53=68, Resulting Numbers: [61, 61, 68] Generated Node #0,3: 53:[61, 61, 68] Operation: 15+53=68 Exploring Operation: 61+15=76, Resulting Numbers: [61, 53, 76] Generated Node #0,4: 53:[61, 53, 76] Operation: 61+15=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[61, 53, 46], Operations: ['61-15=46'] Exploring Operation: 61-53=8, Resulting Numbers: [46, 8] Generated Node #0,1,0: 53:[46, 8] Operation: 61-53=8 Exploring Operation: 53+46=99, Resulting Numbers: [61, 99] Generated Node #0,1,1: 53:[61, 99] Operation: 53+46=99 Exploring Operation: 53-46=7, Resulting Numbers: [61, 7] Generated Node #0,1,2: 53:[61, 7] Operation: 53-46=7 Exploring Operation: 61-46=15, Resulting Numbers: [53, 15] Generated Node #0,1,3: 53:[53, 15] Operation: 61-46=15 Exploring Operation: 61+46=107, Resulting Numbers: [53, 107] Generated Node #0,1,4: 53:[53, 107] Operation: 61+46=107 Moving to Node #0,1,3 Current State: 53:[53, 15], Operations: ['61-15=46', '61-46=15'] Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[46, 8], Operations: ['61-15=46', '61-53=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,53 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[61, 99], Operations: ['61-15=46', '53+46=99'] Exploring Operation: 61+99=160, Resulting Numbers: [160] 160,53 unequal: No Solution Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 61*99=6039, Resulting Numbers: [6039] 6039,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[61, 7], Operations: ['61-15=46', '53-46=7'] Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,53 unequal: No Solution Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[53, 107], Operations: ['61-15=46', '61+46=107'] Exploring Operation: 53*107=5671, Resulting Numbers: [5671] 5671,53 unequal: No Solution Exploring Operation: 53+107=160, Resulting Numbers: [160] 160,53 unequal: No Solution Exploring Operation: 107-53=54, Resulting Numbers: [54] 54,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[61, 53, 46], Operations: ['61-15=46'] Exploring Operation: 61-46=15, Resulting Numbers: [53, 15] Generated Node #0,2,0: 53:[53, 15] Operation: 61-46=15 Exploring Operation: 61+46=107, Resulting Numbers: [53, 107] Generated Node #0,2,1: 53:[53, 107] Operation: 61+46=107 Exploring Operation: 61-53=8, Resulting Numbers: [46, 8] Generated Node #0,2,2: 53:[46, 8] Operation: 61-53=8 Exploring Operation: 53+46=99, Resulting Numbers: [61, 99] Generated Node #0,2,3: 53:[61, 99] Operation: 53+46=99 Exploring Operation: 53-46=7, Resulting Numbers: [61, 7] Generated Node #0,2,4: 53:[61, 7] Operation: 53-46=7 Moving to Node #0,2,0 Current State: 53:[53, 15], Operations: ['61-15=46', '61-46=15'] Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,53 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[46, 8], Operations: ['61-15=46', '61-53=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,53 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[53, 107], Operations: ['61-15=46', '61+46=107'] Exploring Operation: 107-53=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 53+107=160, Resulting Numbers: [160] 160,53 unequal: No Solution Exploring Operation: 53*107=5671, Resulting Numbers: [5671] 5671,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[61, 99], Operations: ['61-15=46', '53+46=99'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 61+99=160, Resulting Numbers: [160] 160,53 unequal: No Solution Exploring Operation: 61*99=6039, Resulting Numbers: [6039] 6039,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[61, 7], Operations: ['61-15=46', '53-46=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,53 unequal: No Solution Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[61, 53, 76], Operations: ['61+15=76'] Exploring Operation: 61+53=114, Resulting Numbers: [76, 114] Generated Node #0,0,0: 53:[76, 114] Operation: 61+53=114 Exploring Operation: 76-53=23, Resulting Numbers: [61, 23] Generated Node #0,0,1: 53:[61, 23] Operation: 76-53=23 Exploring Operation: 61-53=8, Resulting Numbers: [76, 8] Generated Node #0,0,2: 53:[76, 8] Operation: 61-53=8 Exploring Operation: 76-61=15, Resulting Numbers: [53, 15] Generated Node #0,0,3: 53:[53, 15] Operation: 76-61=15 Exploring Operation: 61+76=137, Resulting Numbers: [53, 137] Generated Node #0,0,4: 53:[53, 137] Operation: 61+76=137 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[61, 23], Operations: ['61+15=76', '76-53=23'] Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,53 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[53, 15], Operations: ['61+15=76', '76-61=15'] Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[76, 8], Operations: ['61+15=76', '61-53=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,53 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[76, 114], Operations: ['61+15=76', '61+53=114'] Exploring Operation: 114-76=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 76*114=8664, Resulting Numbers: [8664] 8664,53 unequal: No Solution Exploring Operation: 76+114=190, Resulting Numbers: [190] 190,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 53:[53, 137], Operations: ['61+15=76', '61+76=137'] Exploring Operation: 53*137=7261, Resulting Numbers: [7261] 7261,53 unequal: No Solution Exploring Operation: 137-53=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 53+137=190, Resulting Numbers: [190] 190,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[61, 61, 68], Operations: ['15+53=68'] Exploring Operation: 61-61=0, Resulting Numbers: [68, 0] Generated Node #0,3,0: 53:[68, 0] Operation: 61-61=0 Exploring Operation: 68-61=7, Resulting Numbers: [61, 7] Generated Node #0,3,1: 53:[61, 7] Operation: 68-61=7 Exploring Operation: 68-61=7, Resulting Numbers: [61, 7] Generated Node #0,3,2: 53:[61, 7] Operation: 68-61=7 Exploring Operation: 61+61=122, Resulting Numbers: [68, 122] Generated Node #0,3,3: 53:[68, 122] Operation: 61+61=122 Exploring Operation: 61/61=1, Resulting Numbers: [68, 1] Generated Node #0,3,4: 53:[68, 1] Operation: 61/61=1 Moving to Node #0,3,1 Current State: 53:[61, 7], Operations: ['15+53=68', '68-61=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,53 unequal: No Solution Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[61, 7], Operations: ['15+53=68', '68-61=7'] Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[68, 1], Operations: ['15+53=68', '61/61=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[68, 0], Operations: ['15+53=68', '61-61=0'] Exploring Operation: 68-0=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 68*0=0, Resulting Numbers: [0] 0,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[68, 122], Operations: ['15+53=68', '61+61=122'] Exploring Operation: 68+122=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 122-68=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 68*122=8296, Resulting Numbers: [8296] 8296,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 53:[61, 53, 76], Operations: ['61+15=76'] Exploring Operation: 76-61=15, Resulting Numbers: [53, 15] Generated Node #0,4,0: 53:[53, 15] Operation: 76-61=15 Exploring Operation: 61+53=114, Resulting Numbers: [76, 114] Generated Node #0,4,1: 53:[76, 114] Operation: 61+53=114 Exploring Operation: 76-53=23, Resulting Numbers: [61, 23] Generated Node #0,4,2: 53:[61, 23] Operation: 76-53=23 Exploring Operation: 61-53=8, Resulting Numbers: [76, 8] Generated Node #0,4,3: 53:[76, 8] Operation: 61-53=8 Exploring Operation: 61+76=137, Resulting Numbers: [53, 137] Generated Node #0,4,4: 53:[53, 137] Operation: 61+76=137 Moving to Node #0,4,0 Current State: 53:[53, 15], Operations: ['61+15=76', '76-61=15'] Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[61, 23], Operations: ['61+15=76', '76-53=23'] Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,53 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[76, 8], Operations: ['61+15=76', '61-53=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,53 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[76, 114], Operations: ['61+15=76', '61+53=114'] Exploring Operation: 76*114=8664, Resulting Numbers: [8664] 8664,53 unequal: No Solution Exploring Operation: 76+114=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 114-76=38, Resulting Numbers: [38] 38,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[53, 137], Operations: ['61+15=76', '61+76=137'] Exploring Operation: 53+137=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 53*137=7261, Resulting Numbers: [7261] 7261,53 unequal: No Solution Exploring Operation: 137-53=84, Resulting Numbers: [84] 84,53 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
[ 36, 42, 49, 70 ]
46
[ "49-42=7", "70/7=10", "36+10=46" ]
Current State: 46:[36, 42, 49, 70], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [36, 70, 7] Generated Node #2: [36, 70, 7] from Operation: 49-42=7 Current State: 46:[36, 70, 7], Operations: ['49-42=7'] Exploring Operation: 70/7=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 70/7=10 Current State: 46:[36, 10], Operations: ['49-42=7', '70/7=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[36, 42, 49, 70], Operations: [] Exploring Operation: 70-49=21, Resulting Numbers: [36, 42, 21] Generated Node #0,0: 46:[36, 42, 21] Operation: 70-49=21 Moving to Node #0,0 Current State: 46:[36, 42, 21], Operations: ['70-49=21'] Exploring Operation: 42-36=6, Resulting Numbers: [21, 6] Generated Node #0,0,0: 46:[21, 6] Operation: 42-36=6 Moving to Node #0,0,0 Current State: 46:[21, 6], Operations: ['70-49=21', '42-36=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 33, 90, 28, 32 ]
70
[ "33-28=5", "32*5=160", "160-90=70" ]
Current State: 70:[33, 90, 28, 32], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [90, 32, 5] Generated Node #2: [90, 32, 5] from Operation: 33-28=5 Current State: 70:[90, 32, 5], Operations: ['33-28=5'] Exploring Operation: 32*5=160, Resulting Numbers: [90, 160] Generated Node #3: [90, 160] from Operation: 32*5=160 Current State: 70:[90, 160], Operations: ['33-28=5', '32*5=160'] Exploring Operation: 160-90=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[33, 90, 28, 32], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [33, 28, 58] Generated Node #0,0: 70:[33, 28, 58] Operation: 90-32=58 Exploring Operation: 90-28=62, Resulting Numbers: [33, 32, 62] Generated Node #0,1: 70:[33, 32, 62] Operation: 90-28=62 Moving to Node #0,1 Current State: 70:[33, 32, 62], Operations: ['90-28=62'] Exploring Operation: 33-32=1, Resulting Numbers: [62, 1] Generated Node #0,1,0: 70:[62, 1] Operation: 33-32=1 Exploring Operation: 62-32=30, Resulting Numbers: [33, 30] Generated Node #0,1,1: 70:[33, 30] Operation: 62-32=30 Moving to Node #0,0 Current State: 70:[33, 28, 58], Operations: ['90-32=58'] Exploring Operation: 58-28=30, Resulting Numbers: [33, 30] Generated Node #0,0,0: 70:[33, 30] Operation: 58-28=30 Exploring Operation: 33-28=5, Resulting Numbers: [58, 5] Generated Node #0,0,1: 70:[58, 5] Operation: 33-28=5 Moving to Node #0,1,1 Current State: 70:[33, 30], Operations: ['90-28=62', '62-32=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[33, 30], Operations: ['90-32=58', '58-28=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[62, 1], Operations: ['90-28=62', '33-32=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[58, 5], Operations: ['90-32=58', '33-28=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,70 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 19, 16, 50, 80 ]
56
[ "19+16=35", "80*35=2800", "2800/50=56" ]
Current State: 56:[19, 16, 50, 80], Operations: [] Exploring Operation: 19+16=35, Resulting Numbers: [50, 80, 35] Generated Node #2: [50, 80, 35] from Operation: 19+16=35 Current State: 56:[50, 80, 35], Operations: ['19+16=35'] Exploring Operation: 80*35=2800, Resulting Numbers: [50, 2800] Generated Node #3: [50, 2800] from Operation: 80*35=2800 Current State: 56:[50, 2800], Operations: ['19+16=35', '80*35=2800'] Exploring Operation: 2800/50=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[19, 16, 50, 80], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [19, 16, 30] Generated Node #0,0: 56:[19, 16, 30] Operation: 80-50=30 Exploring Operation: 80/16=5, Resulting Numbers: [19, 50, 5] Generated Node #0,1: 56:[19, 50, 5] Operation: 80/16=5 Exploring Operation: 80-19=61, Resulting Numbers: [16, 50, 61] Generated Node #0,2: 56:[16, 50, 61] Operation: 80-19=61 Moving to Node #0,0 Current State: 56:[19, 16, 30], Operations: ['80-50=30'] Exploring Operation: 30-16=14, Resulting Numbers: [19, 14] Generated Node #0,0,0: 56:[19, 14] Operation: 30-16=14 Exploring Operation: 19-16=3, Resulting Numbers: [30, 3] Generated Node #0,0,1: 56:[30, 3] Operation: 19-16=3 Exploring Operation: 30-19=11, Resulting Numbers: [16, 11] Generated Node #0,0,2: 56:[16, 11] Operation: 30-19=11 Moving to Node #0,1 Current State: 56:[19, 50, 5], Operations: ['80/16=5'] Exploring Operation: 50-19=31, Resulting Numbers: [5, 31] Generated Node #0,1,0: 56:[5, 31] Operation: 50-19=31 Exploring Operation: 50+5=55, Resulting Numbers: [19, 55] Generated Node #0,1,1: 56:[19, 55] Operation: 50+5=55 Exploring Operation: 19-5=14, Resulting Numbers: [50, 14] Generated Node #0,1,2: 56:[50, 14] Operation: 19-5=14 Moving to Node #0,2 Current State: 56:[16, 50, 61], Operations: ['80-19=61'] Exploring Operation: 50-16=34, Resulting Numbers: [61, 34] Generated Node #0,2,0: 56:[61, 34] Operation: 50-16=34 Exploring Operation: 61-50=11, Resulting Numbers: [16, 11] Generated Node #0,2,1: 56:[16, 11] Operation: 61-50=11 Exploring Operation: 16+50=66, Resulting Numbers: [61, 66] Generated Node #0,2,2: 56:[61, 66] Operation: 16+50=66 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[16, 11], Operations: ['80-19=61', '61-50=11'] Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[61, 34], Operations: ['80-19=61', '50-16=34'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,56 unequal: No Solution Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[61, 66], Operations: ['80-19=61', '16+50=66'] Exploring Operation: 61*66=4026, Resulting Numbers: [4026] 4026,56 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,56 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: 56:[30, 3], Operations: ['80-50=30', '19-16=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[5, 31], Operations: ['80/16=5', '50-19=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[16, 11], Operations: ['80-50=30', '30-19=11'] Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,56 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[19, 14], Operations: ['80-50=30', '30-16=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,56 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[50, 14], Operations: ['80/16=5', '19-5=14'] Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,56 unequal: No Solution Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[19, 55], Operations: ['80/16=5', '50+5=55'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 19*55=1045, Resulting Numbers: [1045] 1045,56 unequal: No Solution Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,56 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 81, 45, 6, 66 ]
10
[ "81+45=126", "126-66=60", "60/6=10" ]
Current State: 10:[81, 45, 6, 66], Operations: [] Exploring Operation: 81+45=126, Resulting Numbers: [6, 66, 126] Generated Node #2: [6, 66, 126] from Operation: 81+45=126 Current State: 10:[6, 66, 126], Operations: ['81+45=126'] Exploring Operation: 126-66=60, Resulting Numbers: [6, 60] Generated Node #3: [6, 60] from Operation: 126-66=60 Current State: 10:[6, 60], Operations: ['81+45=126', '126-66=60'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[81, 45, 6, 66], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [45, 6, 15] Generated Node #0,0: 10:[45, 6, 15] Operation: 81-66=15 Exploring Operation: 66-45=21, Resulting Numbers: [81, 6, 21] Generated Node #0,1: 10:[81, 6, 21] Operation: 66-45=21 Exploring Operation: 81-45=36, Resulting Numbers: [6, 66, 36] Generated Node #0,2: 10:[6, 66, 36] Operation: 81-45=36 Exploring Operation: 66/6=11, Resulting Numbers: [81, 45, 11] Generated Node #0,3: 10:[81, 45, 11] Operation: 66/6=11 Moving to Node #0,0 Current State: 10:[45, 6, 15], Operations: ['81-66=15'] Exploring Operation: 45-6=39, Resulting Numbers: [15, 39] Generated Node #0,0,0: 10:[15, 39] Operation: 45-6=39 Exploring Operation: 45/15=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 10:[6, 3] Operation: 45/15=3 Exploring Operation: 15-6=9, Resulting Numbers: [45, 9] Generated Node #0,0,2: 10:[45, 9] Operation: 15-6=9 Exploring Operation: 45-15=30, Resulting Numbers: [6, 30] Generated Node #0,0,3: 10:[6, 30] Operation: 45-15=30 Moving to Node #0,2 Current State: 10:[6, 66, 36], Operations: ['81-45=36'] Exploring Operation: 66/6=11, Resulting Numbers: [36, 11] Generated Node #0,2,0: 10:[36, 11] Operation: 66/6=11 Exploring Operation: 66-6=60, Resulting Numbers: [36, 60] Generated Node #0,2,1: 10:[36, 60] Operation: 66-6=60 Exploring Operation: 36/6=6, Resulting Numbers: [66, 6] Generated Node #0,2,2: 10:[66, 6] Operation: 36/6=6 Exploring Operation: 66-36=30, Resulting Numbers: [6, 30] Generated Node #0,2,3: 10:[6, 30] Operation: 66-36=30 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[6, 30], Operations: ['81-45=36', '66-36=30'] Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,10 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[36, 11], Operations: ['81-45=36', '66/6=11'] Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,10 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[66, 6], Operations: ['81-45=36', '36/6=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,10 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[36, 60], Operations: ['81-45=36', '66-6=60'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 10:[81, 6, 21], Operations: ['66-45=21'] Exploring Operation: 81+6=87, Resulting Numbers: [21, 87] Generated Node #0,1,0: 10:[21, 87] Operation: 81+6=87 Exploring Operation: 21-6=15, Resulting Numbers: [81, 15] Generated Node #0,1,1: 10:[81, 15] Operation: 21-6=15 Exploring Operation: 81-21=60, Resulting Numbers: [6, 60] Generated Node #0,1,2: 10:[6, 60] Operation: 81-21=60 Exploring Operation: 81-6=75, Resulting Numbers: [21, 75] Generated Node #0,1,3: 10:[21, 75] Operation: 81-6=75 Moving to Node #0,3 Current State: 10:[81, 45, 11], Operations: ['66/6=11'] Exploring Operation: 81-45=36, Resulting Numbers: [11, 36] Generated Node #0,3,0: 10:[11, 36] Operation: 81-45=36 Exploring Operation: 81+45=126, Resulting Numbers: [11, 126] Generated Node #0,3,1: 10:[11, 126] Operation: 81+45=126 Exploring Operation: 81-11=70, Resulting Numbers: [45, 70] Generated Node #0,3,2: 10:[45, 70] Operation: 81-11=70 Exploring Operation: 45-11=34, Resulting Numbers: [81, 34] Generated Node #0,3,3: 10:[81, 34] Operation: 45-11=34 Moving to Node #0,0,1 Current State: 10:[6, 3], Operations: ['81-66=15', '45/15=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[6, 30], Operations: ['81-66=15', '45-15=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,10 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[11, 36], Operations: ['66/6=11', '81-45=36'] Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,10 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[15, 39], Operations: ['81-66=15', '45-6=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,10 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[45, 9], Operations: ['81-66=15', '15-6=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[6, 60], Operations: ['66-45=21', '81-21=60'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,10 unequal: No Solution Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[81, 45, 6, 66], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [81, 6, 21] Generated Node #0,1: 10:[81, 6, 21] Operation: 66-45=21 Moving to Node #0,1 Current State: 10:[81, 6, 21], Operations: ['66-45=21'] Exploring Operation: 81-21=60, Resulting Numbers: [6, 60] Generated Node #0,1,2: 10:[6, 60] Operation: 81-21=60 Moving to Node #0,1,2 Current State: 10:[6, 60], Operations: ['66-45=21', '81-21=60'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.947917
hs_4
sum_heuristic
[ 44, 10, 57, 8 ]
50
[ "57-44=13", "13-8=5", "10*5=50" ]
Current State: 50:[44, 10, 57, 8], Operations: [] Exploring Operation: 57-44=13, Resulting Numbers: [10, 8, 13] Generated Node #2: [10, 8, 13] from Operation: 57-44=13 Current State: 50:[10, 8, 13], Operations: ['57-44=13'] Exploring Operation: 13-8=5, Resulting Numbers: [10, 5] Generated Node #3: [10, 5] from Operation: 13-8=5 Current State: 50:[10, 5], Operations: ['57-44=13', '13-8=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[44, 10, 57, 8], Operations: [] Exploring Operation: 57-44=13, Resulting Numbers: [10, 8, 13] Generated Node #0,0: 50:[10, 8, 13] Operation: 57-44=13 Moving to Node #0,0 Current State: 50:[10, 8, 13], Operations: ['57-44=13'] Exploring Operation: 13-8=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 50:[10, 5] Operation: 13-8=5 Moving to Node #0,0,0 Current State: 50:[10, 5], Operations: ['57-44=13', '13-8=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[44, 10, 57, 8], Operations: [] Exploring Operation: 57-44=13, Resulting Numbers: [10, 8, 13] Generated Node #0,0: 50:[10, 8, 13] Operation: 57-44=13 Moving to Node #0,0 Current State: 50:[10, 8, 13], Operations: ['57-44=13'] Exploring Operation: 13-8=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 50:[10, 5] Operation: 13-8=5 Moving to Node #0,0,0 Current State: 50:[10, 5], Operations: ['57-44=13', '13-8=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 16, 37, 5, 26 ]
17
[ "16*5=80", "37+26=63", "80-63=17" ]
Current State: 17:[16, 37, 5, 26], Operations: [] Exploring Operation: 16*5=80, Resulting Numbers: [37, 26, 80] Generated Node #2: [37, 26, 80] from Operation: 16*5=80 Current State: 17:[37, 26, 80], Operations: ['16*5=80'] Exploring Operation: 37+26=63, Resulting Numbers: [80, 63] Generated Node #3: [80, 63] from Operation: 37+26=63 Current State: 17:[80, 63], Operations: ['16*5=80', '37+26=63'] Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[16, 37, 5, 26], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [16, 5, 11] Generated Node #0,0: 17:[16, 5, 11] Operation: 37-26=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[16, 5, 11], Operations: ['37-26=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16, 16] Generated Node #0,0,0: 17:[16, 16] Operation: 5+11=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[16, 16], Operations: ['37-26=11', '5+11=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 26, 98, 85, 40 ]
20
[ "98-85=13", "26/13=2", "40/2=20" ]
Current State: 20:[26, 98, 85, 40], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [26, 40, 13] Generated Node #2: [26, 40, 13] from Operation: 98-85=13 Current State: 20:[26, 40, 13], Operations: ['98-85=13'] Exploring Operation: 26/13=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 26/13=2 Current State: 20:[40, 2], Operations: ['98-85=13', '26/13=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[26, 98, 85, 40], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [26, 98, 45] Generated Node #0,0: 20:[26, 98, 45] Operation: 85-40=45 Exploring Operation: 98-85=13, Resulting Numbers: [26, 40, 13] Generated Node #0,1: 20:[26, 40, 13] Operation: 98-85=13 Exploring Operation: 98-40=58, Resulting Numbers: [26, 85, 58] Generated Node #0,2: 20:[26, 85, 58] Operation: 98-40=58 Exploring Operation: 98-26=72, Resulting Numbers: [85, 40, 72] Generated Node #0,3: 20:[85, 40, 72] Operation: 98-26=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[26, 40, 13], Operations: ['98-85=13'] Exploring Operation: 26-13=13, Resulting Numbers: [40, 13] Generated Node #0,1,0: 20:[40, 13] Operation: 26-13=13 Exploring Operation: 40-13=27, Resulting Numbers: [26, 27] Generated Node #0,1,1: 20:[26, 27] Operation: 40-13=27 Exploring Operation: 40-26=14, Resulting Numbers: [13, 14] Generated Node #0,1,2: 20:[13, 14] Operation: 40-26=14 Exploring Operation: 26/13=2, Resulting Numbers: [40, 2] Generated Node #0,1,3: 20:[40, 2] Operation: 26/13=2 Moving to Node #0,1,2 Current State: 20:[13, 14], Operations: ['98-85=13', '40-26=14'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,20 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[26, 27], Operations: ['98-85=13', '40-13=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,20 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[40, 2], Operations: ['98-85=13', '26/13=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[26, 98, 85, 40], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [26, 40, 13] Generated Node #0,1: 20:[26, 40, 13] Operation: 98-85=13 Moving to Node #0,1 Current State: 20:[26, 40, 13], Operations: ['98-85=13'] Exploring Operation: 26/13=2, Resulting Numbers: [40, 2] Generated Node #0,1,3: 20:[40, 2] Operation: 26/13=2 Moving to Node #0,1,3 Current State: 20:[40, 2], Operations: ['98-85=13', '26/13=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 46, 97, 5, 17 ]
19
[ "97-5=92", "92/46=2", "17+2=19" ]
Current State: 19:[46, 97, 5, 17], Operations: [] Exploring Operation: 97-5=92, Resulting Numbers: [46, 17, 92] Generated Node #2: [46, 17, 92] from Operation: 97-5=92 Current State: 19:[46, 17, 92], Operations: ['97-5=92'] Exploring Operation: 92/46=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 92/46=2 Current State: 19:[17, 2], Operations: ['97-5=92', '92/46=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[46, 97, 5, 17], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [5, 17, 51] Generated Node #0,0: 19:[5, 17, 51] Operation: 97-46=51 Exploring Operation: 46-5=41, Resulting Numbers: [97, 17, 41] Generated Node #0,1: 19:[97, 17, 41] Operation: 46-5=41 Exploring Operation: 46-17=29, Resulting Numbers: [97, 5, 29] Generated Node #0,2: 19:[97, 5, 29] Operation: 46-17=29 Moving to Node #0,0 Current State: 19:[5, 17, 51], Operations: ['97-46=51'] Exploring Operation: 51-5=46, Resulting Numbers: [17, 46] Generated Node #0,0,0: 19:[17, 46] Operation: 51-5=46 Exploring Operation: 51-17=34, Resulting Numbers: [5, 34] Generated Node #0,0,1: 19:[5, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [5, 3] Generated Node #0,0,2: 19:[5, 3] Operation: 51/17=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[17, 46], Operations: ['97-46=51', '51-5=46'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,19 unequal: No Solution Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[5, 34], Operations: ['97-46=51', '51-17=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,19 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[5, 3], Operations: ['97-46=51', '51/17=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 19:[97, 17, 41], Operations: ['46-5=41'] Exploring Operation: 97-41=56, Resulting Numbers: [17, 56] Generated Node #0,1,0: 19:[17, 56] Operation: 97-41=56 Exploring Operation: 97-17=80, Resulting Numbers: [41, 80] Generated Node #0,1,1: 19:[41, 80] Operation: 97-17=80 Exploring Operation: 41-17=24, Resulting Numbers: [97, 24] Generated Node #0,1,2: 19:[97, 24] Operation: 41-17=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[17, 56], Operations: ['46-5=41', '97-41=56'] Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,19 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[41, 80], Operations: ['46-5=41', '97-17=80'] Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,19 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[97, 24], Operations: ['46-5=41', '41-17=24'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,19 unequal: No Solution Exploring Operation: 97*24=2328, Resulting Numbers: [2328] 2328,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 19:[97, 5, 29], Operations: ['46-17=29'] Exploring Operation: 29-5=24, Resulting Numbers: [97, 24] Generated Node #0,2,0: 19:[97, 24] Operation: 29-5=24 Exploring Operation: 97-29=68, Resulting Numbers: [5, 68] Generated Node #0,2,1: 19:[5, 68] Operation: 97-29=68 Exploring Operation: 97-5=92, Resulting Numbers: [29, 92] Generated Node #0,2,2: 19:[29, 92] Operation: 97-5=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[5, 68], Operations: ['46-17=29', '97-29=68'] Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[97, 24], Operations: ['46-17=29', '29-5=24'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,19 unequal: No Solution Exploring Operation: 97*24=2328, Resulting Numbers: [2328] 2328,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[29, 92], Operations: ['46-17=29', '97-5=92'] Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 29*92=2668, Resulting Numbers: [2668] 2668,19 unequal: No Solution Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 69, 71, 44, 5 ]
93
[ "71-69=2", "44*2=88", "5+88=93" ]
Current State: 93:[69, 71, 44, 5], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [44, 5, 2] Generated Node #2: [44, 5, 2] from Operation: 71-69=2 Current State: 93:[44, 5, 2], Operations: ['71-69=2'] Exploring Operation: 44*2=88, Resulting Numbers: [5, 88] Generated Node #3: [5, 88] from Operation: 44*2=88 Current State: 93:[5, 88], Operations: ['71-69=2', '44*2=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[69, 71, 44, 5], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [69, 5, 27] Generated Node #0,0: 93:[69, 5, 27] Operation: 71-44=27 Exploring Operation: 71-69=2, Resulting Numbers: [44, 5, 2] Generated Node #0,1: 93:[44, 5, 2] Operation: 71-69=2 Exploring Operation: 69+44=113, Resulting Numbers: [71, 5, 113] Generated Node #0,2: 93:[71, 5, 113] Operation: 69+44=113 Exploring Operation: 71+44=115, Resulting Numbers: [69, 5, 115] Generated Node #0,3: 93:[69, 5, 115] Operation: 71+44=115 Exploring Operation: 69-44=25, Resulting Numbers: [71, 5, 25] Generated Node #0,4: 93:[71, 5, 25] Operation: 69-44=25 Moving to Node #0,1 Current State: 93:[44, 5, 2], Operations: ['71-69=2'] Exploring Operation: 44-5=39, Resulting Numbers: [2, 39] Generated Node #0,1,0: 93:[2, 39] Operation: 44-5=39 Exploring Operation: 44/2=22, Resulting Numbers: [5, 22] Generated Node #0,1,1: 93:[5, 22] Operation: 44/2=22 Exploring Operation: 5-2=3, Resulting Numbers: [44, 3] Generated Node #0,1,2: 93:[44, 3] Operation: 5-2=3 Exploring Operation: 44*2=88, Resulting Numbers: [5, 88] Generated Node #0,1,3: 93:[5, 88] Operation: 44*2=88 Exploring Operation: 44-2=42, Resulting Numbers: [5, 42] Generated Node #0,1,4: 93:[5, 42] Operation: 44-2=42 Moving to Node #0,4 Current State: 93:[71, 5, 25], Operations: ['69-44=25'] Exploring Operation: 71+25=96, Resulting Numbers: [5, 96] Generated Node #0,4,0: 93:[5, 96] Operation: 71+25=96 Exploring Operation: 71-25=46, Resulting Numbers: [5, 46] Generated Node #0,4,1: 93:[5, 46] Operation: 71-25=46 Exploring Operation: 71+5=76, Resulting Numbers: [25, 76] Generated Node #0,4,2: 93:[25, 76] Operation: 71+5=76 Exploring Operation: 25/5=5, Resulting Numbers: [71, 5] Generated Node #0,4,3: 93:[71, 5] Operation: 25/5=5 Exploring Operation: 5+25=30, Resulting Numbers: [71, 30] Generated Node #0,4,4: 93:[71, 30] Operation: 5+25=30 Moving to Node #0,0 Current State: 93:[69, 5, 27], Operations: ['71-44=27'] Exploring Operation: 5+27=32, Resulting Numbers: [69, 32] Generated Node #0,0,0: 93:[69, 32] Operation: 5+27=32 Exploring Operation: 69-5=64, Resulting Numbers: [27, 64] Generated Node #0,0,1: 93:[27, 64] Operation: 69-5=64 Exploring Operation: 69+5=74, Resulting Numbers: [27, 74] Generated Node #0,0,2: 93:[27, 74] Operation: 69+5=74 Exploring Operation: 69-27=42, Resulting Numbers: [5, 42] Generated Node #0,0,3: 93:[5, 42] Operation: 69-27=42 Exploring Operation: 69+27=96, Resulting Numbers: [5, 96] Generated Node #0,0,4: 93:[5, 96] Operation: 69+27=96 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 93:[5, 96], Operations: ['71-44=27', '69+27=96'] Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,93 unequal: No Solution No 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: 93:[5, 42], Operations: ['71-44=27', '69-27=42'] Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,93 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,93 unequal: No Solution No 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: 93:[27, 74], Operations: ['71-44=27', '69+5=74'] Exploring Operation: 27*74=1998, Resulting Numbers: [1998] 1998,93 unequal: No Solution Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,93 unequal: No Solution No 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: 93:[69, 32], Operations: ['71-44=27', '5+27=32'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,93 unequal: No Solution No 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: 93:[27, 64], Operations: ['71-44=27', '69-5=64'] Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,93 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,93 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: 93:[71, 5, 113], Operations: ['69+44=113'] Exploring Operation: 113-5=108, Resulting Numbers: [71, 108] Generated Node #0,2,0: 93:[71, 108] Operation: 113-5=108 Exploring Operation: 71+5=76, Resulting Numbers: [113, 76] Generated Node #0,2,1: 93:[113, 76] Operation: 71+5=76 Exploring Operation: 71-5=66, Resulting Numbers: [113, 66] Generated Node #0,2,2: 93:[113, 66] Operation: 71-5=66 Exploring Operation: 5+113=118, Resulting Numbers: [71, 118] Generated Node #0,2,3: 93:[71, 118] Operation: 5+113=118 Exploring Operation: 113-71=42, Resulting Numbers: [5, 42] Generated Node #0,2,4: 93:[5, 42] Operation: 113-71=42 Moving to Node #0,3 Current State: 93:[69, 5, 115], Operations: ['71+44=115'] Exploring Operation: 69-5=64, Resulting Numbers: [115, 64] Generated Node #0,3,0: 93:[115, 64] Operation: 69-5=64 Exploring Operation: 115-5=110, Resulting Numbers: [69, 110] Generated Node #0,3,1: 93:[69, 110] Operation: 115-5=110 Exploring Operation: 115/5=23, Resulting Numbers: [69, 23] Generated Node #0,3,2: 93:[69, 23] Operation: 115/5=23 Exploring Operation: 115-69=46, Resulting Numbers: [5, 46] Generated Node #0,3,3: 93:[5, 46] Operation: 115-69=46 Exploring Operation: 69+5=74, Resulting Numbers: [115, 74] Generated Node #0,3,4: 93:[115, 74] Operation: 69+5=74 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[5, 46], Operations: ['71+44=115', '115-69=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,93 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,93 unequal: No Solution No 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: 93:[69, 23], Operations: ['71+44=115', '115/5=23'] Exploring Operation: 69*23=1587, Resulting Numbers: [1587] 1587,93 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,93 unequal: No Solution No 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: 93:[69, 110], Operations: ['71+44=115', '115-5=110'] Exploring Operation: 110-69=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 69*110=7590, Resulting Numbers: [7590] 7590,93 unequal: No Solution Exploring Operation: 69+110=179, Resulting Numbers: [179] 179,93 unequal: No Solution No 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: 93:[115, 74], Operations: ['71+44=115', '69+5=74'] Exploring Operation: 115-74=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 115+74=189, Resulting Numbers: [189] 189,93 unequal: No Solution Exploring Operation: 115*74=8510, Resulting Numbers: [8510] 8510,93 unequal: No Solution No 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: 93:[115, 64], Operations: ['71+44=115', '69-5=64'] Exploring Operation: 115*64=7360, Resulting Numbers: [7360] 7360,93 unequal: No Solution Exploring Operation: 115+64=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 115-64=51, Resulting Numbers: [51] 51,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 93:[5, 96], Operations: ['69-44=25', '71+25=96'] Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,93 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[5, 88], Operations: ['71-69=2', '44*2=88'] Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,93 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,93 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[69, 71, 44, 5], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [44, 5, 2] Generated Node #0,1: 93:[44, 5, 2] Operation: 71-69=2 Moving to Node #0,1 Current State: 93:[44, 5, 2], Operations: ['71-69=2'] Exploring Operation: 44*2=88, Resulting Numbers: [5, 88] Generated Node #0,1,3: 93:[5, 88] Operation: 44*2=88 Moving to Node #0,1,3 Current State: 93:[5, 88], Operations: ['71-69=2', '44*2=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.938368
hs_5
sum_heuristic
[ 11, 28, 48, 10 ]
90
[ "11+28=39", "48-39=9", "10*9=90" ]
Current State: 90:[11, 28, 48, 10], Operations: [] Exploring Operation: 11+28=39, Resulting Numbers: [48, 10, 39] Generated Node #2: [48, 10, 39] from Operation: 11+28=39 Current State: 90:[48, 10, 39], Operations: ['11+28=39'] Exploring Operation: 48-39=9, Resulting Numbers: [10, 9] Generated Node #3: [10, 9] from Operation: 48-39=9 Current State: 90:[10, 9], Operations: ['11+28=39', '48-39=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[11, 28, 48, 10], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [11, 10, 20] Generated Node #0,0: 90:[11, 10, 20] Operation: 48-28=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[11, 10, 20], Operations: ['48-28=20'] Exploring Operation: 20-11=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 90:[10, 9] Operation: 20-11=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[10, 9], Operations: ['48-28=20', '20-11=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[11, 28, 48, 10], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [11, 10, 20] Generated Node #0,0: 90:[11, 10, 20] Operation: 48-28=20 Moving to Node #0,0 Current State: 90:[11, 10, 20], Operations: ['48-28=20'] Exploring Operation: 20-11=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 90:[10, 9] Operation: 20-11=9 Moving to Node #0,0,0 Current State: 90:[10, 9], Operations: ['48-28=20', '20-11=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 5, 72, 48, 64 ]
91
[ "72*64=4608", "4608/48=96", "96-5=91" ]
Current State: 91:[5, 72, 48, 64], Operations: [] Exploring Operation: 72*64=4608, Resulting Numbers: [5, 48, 4608] Generated Node #2: [5, 48, 4608] from Operation: 72*64=4608 Current State: 91:[5, 48, 4608], Operations: ['72*64=4608'] Exploring Operation: 4608/48=96, Resulting Numbers: [5, 96] Generated Node #3: [5, 96] from Operation: 4608/48=96 Current State: 91:[5, 96], Operations: ['72*64=4608', '4608/48=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[5, 72, 48, 64], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [5, 48, 8] Generated Node #0,0: 91:[5, 48, 8] Operation: 72-64=8 Exploring Operation: 64-48=16, Resulting Numbers: [5, 72, 16] Generated Node #0,1: 91:[5, 72, 16] Operation: 64-48=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[5, 72, 16], Operations: ['64-48=16'] Exploring Operation: 72+16=88, Resulting Numbers: [5, 88] Generated Node #0,1,0: 91:[5, 88] Operation: 72+16=88 Exploring Operation: 5+72=77, Resulting Numbers: [16, 77] Generated Node #0,1,1: 91:[16, 77] Operation: 5+72=77 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[5, 88], Operations: ['64-48=16', '72+16=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,91 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[16, 77], Operations: ['64-48=16', '5+72=77'] Exploring Operation: 16+77=93, Resulting Numbers: [93] 93,91 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 48, 8], Operations: ['72-64=8'] Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 91:[5, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 91:[5, 40] Operation: 48-8=40 Moving to Node #0,0,0 Current State: 91:[5, 6], Operations: ['72-64=8', '48/8=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[5, 40], Operations: ['72-64=8', '48-8=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,91 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
[ 61, 52, 56, 10 ]
56
[ "61-52=9", "10-9=1", "56*1=56" ]
Current State: 56:[61, 52, 56, 10], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [56, 10, 9] Generated Node #2: [56, 10, 9] from Operation: 61-52=9 Current State: 56:[56, 10, 9], Operations: ['61-52=9'] Exploring Operation: 10-9=1, Resulting Numbers: [56, 1] Generated Node #3: [56, 1] from Operation: 10-9=1 Current State: 56:[56, 1], Operations: ['61-52=9', '10-9=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[61, 52, 56, 10], Operations: [] Exploring Operation: 52+10=62, Resulting Numbers: [61, 56, 62] Generated Node #0,0: 56:[61, 56, 62] Operation: 52+10=62 Exploring Operation: 61-56=5, Resulting Numbers: [52, 10, 5] Generated Node #0,1: 56:[52, 10, 5] Operation: 61-56=5 Exploring Operation: 56-52=4, Resulting Numbers: [61, 10, 4] Generated Node #0,2: 56:[61, 10, 4] Operation: 56-52=4 Exploring Operation: 61-10=51, Resulting Numbers: [52, 56, 51] Generated Node #0,3: 56:[52, 56, 51] Operation: 61-10=51 Exploring Operation: 61-52=9, Resulting Numbers: [56, 10, 9] Generated Node #0,4: 56:[56, 10, 9] Operation: 61-52=9 Moving to Node #0,4 Current State: 56:[56, 10, 9], Operations: ['61-52=9'] Exploring Operation: 56-10=46, Resulting Numbers: [9, 46] Generated Node #0,4,0: 56:[9, 46] Operation: 56-10=46 Exploring Operation: 10+9=19, Resulting Numbers: [56, 19] Generated Node #0,4,1: 56:[56, 19] Operation: 10+9=19 Exploring Operation: 56+9=65, Resulting Numbers: [10, 65] Generated Node #0,4,2: 56:[10, 65] Operation: 56+9=65 Exploring Operation: 10-9=1, Resulting Numbers: [56, 1] Generated Node #0,4,3: 56:[56, 1] Operation: 10-9=1 Exploring Operation: 56+10=66, Resulting Numbers: [9, 66] Generated Node #0,4,4: 56:[9, 66] Operation: 56+10=66 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[56, 1], Operations: ['61-52=9', '10-9=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[61, 52, 56, 10], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [56, 10, 9] Generated Node #0,4: 56:[56, 10, 9] Operation: 61-52=9 Moving to Node #0,4 Current State: 56:[56, 10, 9], Operations: ['61-52=9'] Exploring Operation: 10-9=1, Resulting Numbers: [56, 1] Generated Node #0,4,3: 56:[56, 1] Operation: 10-9=1 Moving to Node #0,4,3 Current State: 56:[56, 1], Operations: ['61-52=9', '10-9=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 42, 69, 42, 42 ]
68
[ "42*69=2898", "2898-42=2856", "2856/42=68" ]
Current State: 68:[42, 69, 42, 42], Operations: [] Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,68 equal: Goal Reached Exploring Operation: 2898-42=2856, Resulting Numbers: [2856] 2856,68 equal: Goal Reached Exploring Operation: 2856/42=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[42, 69, 42, 42], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [42, 69, 1] Generated Node #0,0: 68:[42, 69, 1] Operation: 42/42=1 Exploring Operation: 42/42=1, Resulting Numbers: [69, 42, 1] Generated Node #0,1: 68:[69, 42, 1] Operation: 42/42=1 Exploring Operation: 42/42=1, Resulting Numbers: [69, 42, 1] Generated Node #0,2: 68:[69, 42, 1] Operation: 42/42=1 Exploring Operation: 42-42=0, Resulting Numbers: [69, 42, 0] Generated Node #0,3: 68:[69, 42, 0] Operation: 42-42=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[42, 69, 1], Operations: ['42/42=1'] Exploring Operation: 42*1=42, Resulting Numbers: [69, 42] Generated Node #0,0,0: 68:[69, 42] Operation: 42*1=42 Exploring Operation: 69-1=68, Resulting Numbers: [42, 68] Generated Node #0,0,1: 68:[42, 68] Operation: 69-1=68 Exploring Operation: 69-42=27, Resulting Numbers: [1, 27] Generated Node #0,0,2: 68:[1, 27] Operation: 69-42=27 Exploring Operation: 42-1=41, Resulting Numbers: [69, 41] Generated Node #0,0,3: 68:[69, 41] Operation: 42-1=41 Moving to Node #0,0,1 Current State: 68:[42, 68], Operations: ['42/42=1', '69-1=68'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,68 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[69, 41], Operations: ['42/42=1', '42-1=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,68 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[1, 27], Operations: ['42/42=1', '69-42=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[69, 42], Operations: ['42/42=1', '42*1=42'] Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 69*42=2898, Resulting Numbers: [2898] 2898,68 unequal: No Solution Exploring Operation: 69+42=111, Resulting Numbers: [111] 111,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[69, 42, 1], Operations: ['42/42=1'] Exploring Operation: 69-1=68, Resulting Numbers: [42, 68] Generated Node #0,1,0: 68:[42, 68] Operation: 69-1=68 Exploring Operation: 69*1=69, Resulting Numbers: [42, 69] Generated Node #0,1,1: 68:[42, 69] Operation: 69*1=69 Exploring Operation: 69-42=27, Resulting Numbers: [1, 27] Generated Node #0,1,2: 68:[1, 27] Operation: 69-42=27 Exploring Operation: 42-1=41, Resulting Numbers: [69, 41] Generated Node #0,1,3: 68:[69, 41] Operation: 42-1=41 Moving to Node #0,1,0 Current State: 68:[42, 68], Operations: ['42/42=1', '69-1=68'] Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,68 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,68 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[69, 41], Operations: ['42/42=1', '42-1=41'] Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,68 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[1, 27], Operations: ['42/42=1', '69-42=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[42, 69], Operations: ['42/42=1', '69*1=69'] Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,68 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,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 Current State: 68:[69, 42, 1], Operations: ['42/42=1'] Exploring Operation: 69*1=69, Resulting Numbers: [42, 69] Generated Node #0,2,0: 68:[42, 69] Operation: 69*1=69 Exploring Operation: 42-1=41, Resulting Numbers: [69, 41] Generated Node #0,2,1: 68:[69, 41] Operation: 42-1=41 Exploring Operation: 69-1=68, Resulting Numbers: [42, 68] Generated Node #0,2,2: 68:[42, 68] Operation: 69-1=68 Exploring Operation: 69-42=27, Resulting Numbers: [1, 27] Generated Node #0,2,3: 68:[1, 27] Operation: 69-42=27 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[69, 41], Operations: ['42/42=1', '42-1=41'] Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,68 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,68 unequal: No Solution No 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: 68:[42, 68], Operations: ['42/42=1', '69-1=68'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,68 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,68 unequal: No Solution No 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: 68:[1, 27], Operations: ['42/42=1', '69-42=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,68 unequal: No Solution No 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: 68:[42, 69], Operations: ['42/42=1', '69*1=69'] Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,68 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,68 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: 68:[69, 42, 0], Operations: ['42-42=0'] Exploring Operation: 69-42=27, Resulting Numbers: [0, 27] Generated Node #0,3,0: 68:[0, 27] Operation: 69-42=27 Exploring Operation: 69+0=69, Resulting Numbers: [42, 69] Generated Node #0,3,1: 68:[42, 69] Operation: 69+0=69 Exploring Operation: 69-0=69, Resulting Numbers: [42, 69] Generated Node #0,3,2: 68:[42, 69] Operation: 69-0=69 Exploring Operation: 42*0=0, Resulting Numbers: [69, 0] Generated Node #0,3,3: 68:[69, 0] Operation: 42*0=0 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[69, 0], Operations: ['42-42=0', '42*0=0'] Exploring Operation: 69+0=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 69*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 69-0=69, Resulting Numbers: [69] 69,68 unequal: No Solution No 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: 68:[0, 27], Operations: ['42-42=0', '69-42=27'] Exploring Operation: 0+27=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 27-0=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 0*27=0, Resulting Numbers: [0] 0,68 unequal: No Solution No 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: 68:[42, 69], Operations: ['42-42=0', '69+0=69'] Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,68 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,68 unequal: No Solution No 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: 68:[42, 69], Operations: ['42-42=0', '69-0=69'] Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,68 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,68 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
[ 66, 62, 68, 35 ]
18
[ "66-62=4", "68/4=17", "35-17=18" ]
Current State: 18:[66, 62, 68, 35], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [68, 35, 4] Generated Node #2: [68, 35, 4] from Operation: 66-62=4 Current State: 18:[68, 35, 4], Operations: ['66-62=4'] Exploring Operation: 68/4=17, Resulting Numbers: [35, 17] Generated Node #3: [35, 17] from Operation: 68/4=17 Current State: 18:[35, 17], Operations: ['66-62=4', '68/4=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[66, 62, 68, 35], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [62, 35, 2] Generated Node #0,0: 18:[62, 35, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 18:[62, 35, 2], Operations: ['68-66=2'] Exploring Operation: 62-35=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 18:[2, 27] Operation: 62-35=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[2, 27], Operations: ['68-66=2', '62-35=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,18 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
[ 2, 7, 66, 95 ]
44
[ "2*66=132", "95-7=88", "132-88=44" ]
Current State: 44:[2, 7, 66, 95], Operations: [] Exploring Operation: 2*66=132, Resulting Numbers: [7, 95, 132] Generated Node #2: [7, 95, 132] from Operation: 2*66=132 Current State: 44:[7, 95, 132], Operations: ['2*66=132'] Exploring Operation: 95-7=88, Resulting Numbers: [132, 88] Generated Node #3: [132, 88] from Operation: 95-7=88 Current State: 44:[132, 88], Operations: ['2*66=132', '95-7=88'] Exploring Operation: 132-88=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[2, 7, 66, 95], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [2, 7, 29] Generated Node #0,0: 44:[2, 7, 29] Operation: 95-66=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[2, 7, 29], Operations: ['95-66=29'] Exploring Operation: 29-7=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 29-7=22 Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['95-66=29', '29-7=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[2, 7, 66, 95], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [2, 7, 29] Generated Node #0,0: 44:[2, 7, 29] Operation: 95-66=29 Moving to Node #0,0 Current State: 44:[2, 7, 29], Operations: ['95-66=29'] Exploring Operation: 29-7=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 29-7=22 Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['95-66=29', '29-7=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 24, 28, 54, 4 ]
67
[ "24+28=52", "52/4=13", "54+13=67" ]
Current State: 67:[24, 28, 54, 4], Operations: [] Exploring Operation: 24+28=52, Resulting Numbers: [54, 4, 52] Generated Node #2: [54, 4, 52] from Operation: 24+28=52 Current State: 67:[54, 4, 52], Operations: ['24+28=52'] Exploring Operation: 52/4=13, Resulting Numbers: [54, 13] Generated Node #3: [54, 13] from Operation: 52/4=13 Current State: 67:[54, 13], Operations: ['24+28=52', '52/4=13'] Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[24, 28, 54, 4], Operations: [] Exploring Operation: 24+4=28, Resulting Numbers: [28, 54, 28] Generated Node #0,0: 67:[28, 54, 28] Operation: 24+4=28 Exploring Operation: 24*4=96, Resulting Numbers: [28, 54, 96] Generated Node #0,1: 67:[28, 54, 96] Operation: 24*4=96 Exploring Operation: 24+28=52, Resulting Numbers: [54, 4, 52] Generated Node #0,2: 67:[54, 4, 52] Operation: 24+28=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[28, 54, 96], Operations: ['24*4=96'] Exploring Operation: 96-54=42, Resulting Numbers: [28, 42] Generated Node #0,1,0: 67:[28, 42] Operation: 96-54=42 Exploring Operation: 28+54=82, Resulting Numbers: [96, 82] Generated Node #0,1,1: 67:[96, 82] Operation: 28+54=82 Exploring Operation: 96-28=68, Resulting Numbers: [54, 68] Generated Node #0,1,2: 67:[54, 68] Operation: 96-28=68 Moving to Node #0,1,2 Current State: 67:[54, 68], Operations: ['24*4=96', '96-28=68'] Exploring Operation: 54*68=3672, Resulting Numbers: [3672] 3672,67 unequal: No Solution Exploring Operation: 54+68=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[96, 82], Operations: ['24*4=96', '28+54=82'] Exploring Operation: 96*82=7872, Resulting Numbers: [7872] 7872,67 unequal: No Solution Exploring Operation: 96+82=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[28, 42], Operations: ['24*4=96', '96-54=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,67 unequal: No Solution Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[28, 54, 28], Operations: ['24+4=28'] Exploring Operation: 54+28=82, Resulting Numbers: [28, 82] Generated Node #0,0,0: 67:[28, 82] Operation: 54+28=82 Exploring Operation: 28+54=82, Resulting Numbers: [28, 82] Generated Node #0,0,1: 67:[28, 82] Operation: 28+54=82 Exploring Operation: 28+28=56, Resulting Numbers: [54, 56] Generated Node #0,0,2: 67:[54, 56] Operation: 28+28=56 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[54, 56], Operations: ['24+4=28', '28+28=56'] Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,67 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[28, 82], Operations: ['24+4=28', '54+28=82'] Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[28, 82], Operations: ['24+4=28', '28+54=82'] Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,67 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[54, 4, 52], Operations: ['24+28=52'] Exploring Operation: 54+4=58, Resulting Numbers: [52, 58] Generated Node #0,2,0: 67:[52, 58] Operation: 54+4=58 Exploring Operation: 4+52=56, Resulting Numbers: [54, 56] Generated Node #0,2,1: 67:[54, 56] Operation: 4+52=56 Exploring Operation: 54-4=50, Resulting Numbers: [52, 50] Generated Node #0,2,2: 67:[52, 50] Operation: 54-4=50 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[52, 58], Operations: ['24+28=52', '54+4=58'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[54, 56], Operations: ['24+28=52', '4+52=56'] Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,67 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[52, 50], Operations: ['24+28=52', '54-4=50'] Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,67 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 36, 19, 29, 34 ]
77
[ "36-34=2", "29*2=58", "19+58=77" ]
Current State: 77:[36, 19, 29, 34], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [19, 29, 2] Generated Node #2: [19, 29, 2] from Operation: 36-34=2 Current State: 77:[19, 29, 2], Operations: ['36-34=2'] Exploring Operation: 29*2=58, Resulting Numbers: [19, 58] Generated Node #3: [19, 58] from Operation: 29*2=58 Current State: 77:[19, 58], Operations: ['36-34=2', '29*2=58'] Exploring Operation: 19+58=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[36, 19, 29, 34], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [19, 34, 7] Generated Node #0,0: 77:[19, 34, 7] Operation: 36-29=7 Exploring Operation: 36+34=70, Resulting Numbers: [19, 29, 70] Generated Node #0,1: 77:[19, 29, 70] Operation: 36+34=70 Exploring Operation: 36-34=2, Resulting Numbers: [19, 29, 2] Generated Node #0,2: 77:[19, 29, 2] Operation: 36-34=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[19, 34, 7], Operations: ['36-29=7'] Exploring Operation: 19+34=53, Resulting Numbers: [7, 53] Generated Node #0,0,0: 77:[7, 53] Operation: 19+34=53 Exploring Operation: 19-7=12, Resulting Numbers: [34, 12] Generated Node #0,0,1: 77:[34, 12] Operation: 19-7=12 Exploring Operation: 34-19=15, Resulting Numbers: [7, 15] Generated Node #0,0,2: 77:[7, 15] Operation: 34-19=15 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 77:[7, 15], Operations: ['36-29=7', '34-19=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,77 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,77 unequal: No Solution No 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: 77:[7, 53], Operations: ['36-29=7', '19+34=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,77 unequal: No Solution Exploring Operation: 7*53=371, Resulting Numbers: [371] 371,77 unequal: No Solution Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,77 unequal: No Solution No 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: 77:[34, 12], Operations: ['36-29=7', '19-7=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,77 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,77 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,77 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: 77:[19, 29, 2], Operations: ['36-34=2'] Exploring Operation: 29-19=10, Resulting Numbers: [2, 10] Generated Node #0,2,0: 77:[2, 10] Operation: 29-19=10 Exploring Operation: 19-2=17, Resulting Numbers: [29, 17] Generated Node #0,2,1: 77:[29, 17] Operation: 19-2=17 Exploring Operation: 29-2=27, Resulting Numbers: [19, 27] Generated Node #0,2,2: 77:[19, 27] Operation: 29-2=27 Moving to Node #0,2,0 Current State: 77:[2, 10], Operations: ['36-34=2', '29-19=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[29, 17], Operations: ['36-34=2', '19-2=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,77 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[19, 27], Operations: ['36-34=2', '29-2=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,77 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,77 unequal: No Solution No solution 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: 77:[19, 29, 70], Operations: ['36+34=70'] Exploring Operation: 29+70=99, Resulting Numbers: [19, 99] Generated Node #0,1,0: 77:[19, 99] Operation: 29+70=99 Exploring Operation: 29-19=10, Resulting Numbers: [70, 10] Generated Node #0,1,1: 77:[70, 10] Operation: 29-19=10 Exploring Operation: 19+70=89, Resulting Numbers: [29, 89] Generated Node #0,1,2: 77:[29, 89] Operation: 19+70=89 Moving to Node #0,1,1 Current State: 77:[70, 10], Operations: ['36+34=70', '29-19=10'] Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[19, 99], Operations: ['36+34=70', '29+70=99'] Exploring Operation: 19*99=1881, Resulting Numbers: [1881] 1881,77 unequal: No Solution Exploring Operation: 19+99=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[29, 89], Operations: ['36+34=70', '19+70=89'] Exploring Operation: 29+89=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 29*89=2581, Resulting Numbers: [2581] 2581,77 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,77 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
[ 82, 94, 5, 25 ]
85
[ "94-82=12", "5*12=60", "25+60=85" ]
Current State: 85:[82, 94, 5, 25], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [5, 25, 12] Generated Node #2: [5, 25, 12] from Operation: 94-82=12 Current State: 85:[5, 25, 12], Operations: ['94-82=12'] Exploring Operation: 5*12=60, Resulting Numbers: [25, 60] Generated Node #3: [25, 60] from Operation: 5*12=60 Current State: 85:[25, 60], Operations: ['94-82=12', '5*12=60'] Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[82, 94, 5, 25], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [82, 94, 5] Generated Node #0,0: 85:[82, 94, 5] Operation: 25/5=5 Moving to Node #0,0 Current State: 85:[82, 94, 5], Operations: ['25/5=5'] Exploring Operation: 94-82=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 85:[5, 12] Operation: 94-82=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[5, 12], Operations: ['25/5=5', '94-82=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,85 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
[ 73, 76, 30, 19 ]
27
[ "76-73=3", "19*3=57", "57-30=27" ]
Current State: 27:[73, 76, 30, 19], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [30, 19, 3] Generated Node #2: [30, 19, 3] from Operation: 76-73=3 Current State: 27:[30, 19, 3], Operations: ['76-73=3'] Exploring Operation: 19*3=57, Resulting Numbers: [30, 57] Generated Node #3: [30, 57] from Operation: 19*3=57 Current State: 27:[30, 57], Operations: ['76-73=3', '19*3=57'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[73, 76, 30, 19], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [30, 19, 3] Generated Node #0,0: 27:[30, 19, 3] Operation: 76-73=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[30, 19, 3], Operations: ['76-73=3'] Exploring Operation: 30-19=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 27:[3, 11] Operation: 30-19=11 Moving to Node #0,0,0 Current State: 27:[3, 11], Operations: ['76-73=3', '30-19=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,27 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
[ 68, 25, 91, 42 ]
87
[ "42-25=17", "68/17=4", "91-4=87" ]
Current State: 87:[68, 25, 91, 42], Operations: [] Exploring Operation: 42-25=17, Resulting Numbers: [68, 91, 17] Generated Node #2: [68, 91, 17] from Operation: 42-25=17 Current State: 87:[68, 91, 17], Operations: ['42-25=17'] Exploring Operation: 68/17=4, Resulting Numbers: [91, 4] Generated Node #3: [91, 4] from Operation: 68/17=4 Current State: 87:[91, 4], Operations: ['42-25=17', '68/17=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[68, 25, 91, 42], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [25, 91, 26] Generated Node #0,0: 87:[25, 91, 26] Operation: 68-42=26 Exploring Operation: 68+25=93, Resulting Numbers: [91, 42, 93] Generated Node #0,1: 87:[91, 42, 93] Operation: 68+25=93 Moving to Node #0,0 Current State: 87:[25, 91, 26], Operations: ['68-42=26'] Exploring Operation: 91-25=66, Resulting Numbers: [26, 66] Generated Node #0,0,0: 87:[26, 66] Operation: 91-25=66 Exploring Operation: 26-25=1, Resulting Numbers: [91, 1] Generated Node #0,0,1: 87:[91, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[91, 1], Operations: ['68-42=26', '26-25=1'] Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[26, 66], Operations: ['68-42=26', '91-25=66'] Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,87 unequal: No Solution Exploring Operation: 26+66=92, Resulting Numbers: [92] 92,87 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: 87:[91, 42, 93], Operations: ['68+25=93'] Exploring Operation: 93-91=2, Resulting Numbers: [42, 2] Generated Node #0,1,0: 87:[42, 2] Operation: 93-91=2 Exploring Operation: 91-42=49, Resulting Numbers: [93, 49] Generated Node #0,1,1: 87:[93, 49] Operation: 91-42=49 Moving to Node #0,1,0 Current State: 87:[42, 2], Operations: ['68+25=93', '93-91=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,87 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[93, 49], Operations: ['68+25=93', '91-42=49'] Exploring Operation: 93+49=142, Resulting Numbers: [142] 142,87 unequal: No Solution Exploring Operation: 93-49=44, Resulting Numbers: [44] 44,87 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 88, 70, 26 ]
10
[ "88-55=33", "33-26=7", "70/7=10" ]
Current State: 10:[55, 88, 70, 26], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [70, 26, 33] Generated Node #2: [70, 26, 33] from Operation: 88-55=33 Current State: 10:[70, 26, 33], Operations: ['88-55=33'] Exploring Operation: 33-26=7, Resulting Numbers: [70, 7] Generated Node #3: [70, 7] from Operation: 33-26=7 Current State: 10:[70, 7], Operations: ['88-55=33', '33-26=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[55, 88, 70, 26], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [55, 26, 18] Generated Node #0,0: 10:[55, 26, 18] Operation: 88-70=18 Exploring Operation: 55-26=29, Resulting Numbers: [88, 70, 29] Generated Node #0,1: 10:[88, 70, 29] Operation: 55-26=29 Exploring Operation: 70-55=15, Resulting Numbers: [88, 26, 15] Generated Node #0,2: 10:[88, 26, 15] Operation: 70-55=15 Exploring Operation: 88-55=33, Resulting Numbers: [70, 26, 33] Generated Node #0,3: 10:[70, 26, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[55, 26, 18], Operations: ['88-70=18'] Exploring Operation: 26-18=8, Resulting Numbers: [55, 8] Generated Node #0,0,0: 10:[55, 8] Operation: 26-18=8 Exploring Operation: 55+26=81, Resulting Numbers: [18, 81] Generated Node #0,0,1: 10:[18, 81] Operation: 55+26=81 Exploring Operation: 55-18=37, Resulting Numbers: [26, 37] Generated Node #0,0,2: 10:[26, 37] Operation: 55-18=37 Exploring Operation: 55-26=29, Resulting Numbers: [18, 29] Generated Node #0,0,3: 10:[18, 29] Operation: 55-26=29 Moving to Node #0,0,3 Current State: 10:[18, 29], Operations: ['88-70=18', '55-26=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[26, 37], Operations: ['88-70=18', '55-18=37'] Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[55, 8], Operations: ['88-70=18', '26-18=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[18, 81], Operations: ['88-70=18', '55+26=81'] Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 18*81=1458, Resulting Numbers: [1458] 1458,10 unequal: No Solution Exploring Operation: 18+81=99, Resulting Numbers: [99] 99,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[88, 26, 15], Operations: ['70-55=15'] Exploring Operation: 88+26=114, Resulting Numbers: [15, 114] Generated Node #0,2,0: 10:[15, 114] Operation: 88+26=114 Exploring Operation: 88-26=62, Resulting Numbers: [15, 62] Generated Node #0,2,1: 10:[15, 62] Operation: 88-26=62 Exploring Operation: 88-15=73, Resulting Numbers: [26, 73] Generated Node #0,2,2: 10:[26, 73] Operation: 88-15=73 Exploring Operation: 26-15=11, Resulting Numbers: [88, 11] Generated Node #0,2,3: 10:[88, 11] Operation: 26-15=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[15, 62], Operations: ['70-55=15', '88-26=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,10 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[26, 73], Operations: ['70-55=15', '88-15=73'] Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,10 unequal: No Solution Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 10:[88, 11], Operations: ['70-55=15', '26-15=11'] Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 88*11=968, Resulting Numbers: [968] 968,10 unequal: No Solution Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[15, 114], Operations: ['70-55=15', '88+26=114'] Exploring Operation: 15+114=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 15*114=1710, Resulting Numbers: [1710] 1710,10 unequal: No Solution Exploring Operation: 114-15=99, Resulting Numbers: [99] 99,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[70, 26, 33], Operations: ['88-55=33'] Exploring Operation: 33-26=7, Resulting Numbers: [70, 7] Generated Node #0,3,0: 10:[70, 7] Operation: 33-26=7 Exploring Operation: 70+26=96, Resulting Numbers: [33, 96] Generated Node #0,3,1: 10:[33, 96] Operation: 70+26=96 Exploring Operation: 70-26=44, Resulting Numbers: [33, 44] Generated Node #0,3,2: 10:[33, 44] Operation: 70-26=44 Exploring Operation: 70-33=37, Resulting Numbers: [26, 37] Generated Node #0,3,3: 10:[26, 37] Operation: 70-33=37 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[26, 37], Operations: ['88-55=33', '70-33=37'] Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,10 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[33, 44], Operations: ['88-55=33', '70-26=44'] Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[70, 7], Operations: ['88-55=33', '33-26=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,10 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[55, 88, 70, 26], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [70, 26, 33] Generated Node #0,3: 10:[70, 26, 33] Operation: 88-55=33 Moving to Node #0,3 Current State: 10:[70, 26, 33], Operations: ['88-55=33'] Exploring Operation: 33-26=7, Resulting Numbers: [70, 7] Generated Node #0,3,0: 10:[70, 7] Operation: 33-26=7 Moving to Node #0,3,0 Current State: 10:[70, 7], Operations: ['88-55=33', '33-26=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.952257
hs_4
sum_heuristic
[ 27, 88, 41, 56 ]
100
[ "27+88=115", "56-41=15", "115-15=100" ]
Current State: 100:[27, 88, 41, 56], Operations: [] Exploring Operation: 27+88=115, Resulting Numbers: [41, 56, 115] Generated Node #2: [41, 56, 115] from Operation: 27+88=115 Current State: 100:[41, 56, 115], Operations: ['27+88=115'] Exploring Operation: 56-41=15, Resulting Numbers: [115, 15] Generated Node #3: [115, 15] from Operation: 56-41=15 Current State: 100:[115, 15], Operations: ['27+88=115', '56-41=15'] Exploring Operation: 115-15=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[27, 88, 41, 56], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [27, 56, 47] Generated Node #0,0: 100:[27, 56, 47] Operation: 88-41=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[27, 56, 47], Operations: ['88-41=47'] Exploring Operation: 56-47=9, Resulting Numbers: [27, 9] Generated Node #0,0,0: 100:[27, 9] Operation: 56-47=9 Moving to Node #0,0,0 Current State: 100:[27, 9], Operations: ['88-41=47', '56-47=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 65, 38, 42, 32 ]
47
[ "65-38=27", "42+32=74", "74-27=47" ]
Current State: 47:[65, 38, 42, 32], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [42, 32, 27] Generated Node #2: [42, 32, 27] from Operation: 65-38=27 Current State: 47:[42, 32, 27], Operations: ['65-38=27'] Exploring Operation: 42+32=74, Resulting Numbers: [27, 74] Generated Node #3: [27, 74] from Operation: 42+32=74 Current State: 47:[27, 74], Operations: ['65-38=27', '42+32=74'] Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[65, 38, 42, 32], Operations: [] Exploring Operation: 38+32=70, Resulting Numbers: [65, 42, 70] Generated Node #0,0: 47:[65, 42, 70] Operation: 38+32=70 Exploring Operation: 65-38=27, Resulting Numbers: [42, 32, 27] Generated Node #0,1: 47:[42, 32, 27] Operation: 65-38=27 Exploring Operation: 65-32=33, Resulting Numbers: [38, 42, 33] Generated Node #0,2: 47:[38, 42, 33] Operation: 65-32=33 Exploring Operation: 65-42=23, Resulting Numbers: [38, 32, 23] Generated Node #0,3: 47:[38, 32, 23] Operation: 65-42=23 Moving to Node #0,2 Current State: 47:[38, 42, 33], Operations: ['65-32=33'] Exploring Operation: 38+33=71, Resulting Numbers: [42, 71] Generated Node #0,2,0: 47:[42, 71] Operation: 38+33=71 Exploring Operation: 38+42=80, Resulting Numbers: [33, 80] Generated Node #0,2,1: 47:[33, 80] Operation: 38+42=80 Exploring Operation: 38-33=5, Resulting Numbers: [42, 5] Generated Node #0,2,2: 47:[42, 5] Operation: 38-33=5 Exploring Operation: 42+33=75, Resulting Numbers: [38, 75] Generated Node #0,2,3: 47:[38, 75] Operation: 42+33=75 Moving to Node #0,1 Current State: 47:[42, 32, 27], Operations: ['65-38=27'] Exploring Operation: 32+27=59, Resulting Numbers: [42, 59] Generated Node #0,1,0: 47:[42, 59] Operation: 32+27=59 Exploring Operation: 42-27=15, Resulting Numbers: [32, 15] Generated Node #0,1,1: 47:[32, 15] Operation: 42-27=15 Exploring Operation: 42+32=74, Resulting Numbers: [27, 74] Generated Node #0,1,2: 47:[27, 74] Operation: 42+32=74 Exploring Operation: 42+27=69, Resulting Numbers: [32, 69] Generated Node #0,1,3: 47:[32, 69] Operation: 42+27=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[42, 59], Operations: ['65-38=27', '32+27=59'] Exploring Operation: 42+59=101, Resulting Numbers: [101] 101,47 unequal: No Solution Exploring Operation: 42*59=2478, Resulting Numbers: [2478] 2478,47 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[32, 69], Operations: ['65-38=27', '42+27=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,47 unequal: No Solution Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[32, 15], Operations: ['65-38=27', '42-27=15'] Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[65, 38, 42, 32], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [42, 32, 27] Generated Node #0,1: 47:[42, 32, 27] Operation: 65-38=27 Moving to Node #0,1 Current State: 47:[42, 32, 27], Operations: ['65-38=27'] Exploring Operation: 42-27=15, Resulting Numbers: [32, 15] Generated Node #0,1,1: 47:[32, 15] Operation: 42-27=15 Moving to Node #0,1,1 Current State: 47:[32, 15], Operations: ['65-38=27', '42-27=15'] Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 46, 2, 42, 78 ]
34
[ "46+42=88", "88/2=44", "78-44=34" ]
Current State: 34:[46, 2, 42, 78], Operations: [] Exploring Operation: 46+42=88, Resulting Numbers: [2, 78, 88] Generated Node #2: [2, 78, 88] from Operation: 46+42=88 Current State: 34:[2, 78, 88], Operations: ['46+42=88'] Exploring Operation: 88/2=44, Resulting Numbers: [78, 44] Generated Node #3: [78, 44] from Operation: 88/2=44 Current State: 34:[78, 44], Operations: ['46+42=88', '88/2=44'] Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[46, 2, 42, 78], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [46, 2, 36] Generated Node #0,0: 34:[46, 2, 36] Operation: 78-42=36 Exploring Operation: 46-42=4, Resulting Numbers: [2, 78, 4] Generated Node #0,1: 34:[2, 78, 4] Operation: 46-42=4 Exploring Operation: 78-46=32, Resulting Numbers: [2, 42, 32] Generated Node #0,2: 34:[2, 42, 32] Operation: 78-46=32 Exploring Operation: 78/2=39, Resulting Numbers: [46, 42, 39] Generated Node #0,3: 34:[46, 42, 39] Operation: 78/2=39 Moving to Node #0,2 Current State: 34:[2, 42, 32], Operations: ['78-46=32'] Exploring Operation: 2+32=34, Resulting Numbers: [42, 34] Generated Node #0,2,0: 34:[42, 34] Operation: 2+32=34 Exploring Operation: 42/2=21, Resulting Numbers: [32, 21] Generated Node #0,2,1: 34:[32, 21] Operation: 42/2=21 Exploring Operation: 42-32=10, Resulting Numbers: [2, 10] Generated Node #0,2,2: 34:[2, 10] Operation: 42-32=10 Exploring Operation: 42-2=40, Resulting Numbers: [32, 40] Generated Node #0,2,3: 34:[32, 40] Operation: 42-2=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[32, 21], Operations: ['78-46=32', '42/2=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,34 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,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,2 Current State: 34:[2, 10], Operations: ['78-46=32', '42-32=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,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,0 Current State: 34:[42, 34], Operations: ['78-46=32', '2+32=34'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 42*34=1428, Resulting Numbers: [1428] 1428,34 unequal: No Solution Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,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,3 Current State: 34:[32, 40], Operations: ['78-46=32', '42-2=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,34 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: 34:[46, 2, 36], Operations: ['78-42=36'] Exploring Operation: 36-2=34, Resulting Numbers: [46, 34] Generated Node #0,0,0: 34:[46, 34] Operation: 36-2=34 Exploring Operation: 46-36=10, Resulting Numbers: [2, 10] Generated Node #0,0,1: 34:[2, 10] Operation: 46-36=10 Exploring Operation: 46/2=23, Resulting Numbers: [36, 23] Generated Node #0,0,2: 34:[36, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [36, 44] Generated Node #0,0,3: 34:[36, 44] Operation: 46-2=44 Moving to Node #0,3 Current State: 34:[46, 42, 39], Operations: ['78/2=39'] Exploring Operation: 46-42=4, Resulting Numbers: [39, 4] Generated Node #0,3,0: 34:[39, 4] Operation: 46-42=4 Exploring Operation: 46+42=88, Resulting Numbers: [39, 88] Generated Node #0,3,1: 34:[39, 88] Operation: 46+42=88 Exploring Operation: 46-39=7, Resulting Numbers: [42, 7] Generated Node #0,3,2: 34:[42, 7] Operation: 46-39=7 Exploring Operation: 42-39=3, Resulting Numbers: [46, 3] Generated Node #0,3,3: 34:[46, 3] Operation: 42-39=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[39, 4], Operations: ['78/2=39', '46-42=4'] Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,34 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,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,2 Current State: 34:[42, 7], Operations: ['78/2=39', '46-39=7'] Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,34 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,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,3 Current State: 34:[46, 3], Operations: ['78/2=39', '42-39=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,34 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,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,1 Current State: 34:[39, 88], Operations: ['78/2=39', '46+42=88'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,34 unequal: No Solution Exploring Operation: 39+88=127, Resulting Numbers: [127] 127,34 unequal: No Solution Exploring Operation: 39*88=3432, Resulting Numbers: [3432] 3432,34 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: 34:[2, 78, 4], Operations: ['46-42=4'] Exploring Operation: 4-2=2, Resulting Numbers: [78, 2] Generated Node #0,1,0: 34:[78, 2] Operation: 4-2=2 Exploring Operation: 78-2=76, Resulting Numbers: [4, 76] Generated Node #0,1,1: 34:[4, 76] Operation: 78-2=76 Exploring Operation: 78/2=39, Resulting Numbers: [4, 39] Generated Node #0,1,2: 34:[4, 39] Operation: 78/2=39 Exploring Operation: 78-4=74, Resulting Numbers: [2, 74] Generated Node #0,1,3: 34:[2, 74] Operation: 78-4=74 Moving to Node #0,0,1 Current State: 34:[2, 10], Operations: ['78-42=36', '46-36=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[4, 39], Operations: ['46-42=4', '78/2=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[36, 23], Operations: ['78-42=36', '46/2=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,34 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[46, 34], Operations: ['78-42=36', '36-2=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[36, 44], Operations: ['78-42=36', '46-2=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[2, 74], Operations: ['46-42=4', '78-4=74'] Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,34 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,34 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[78, 2], Operations: ['46-42=4', '4-2=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,34 unequal: No Solution Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,34 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[4, 76], Operations: ['46-42=4', '78-2=76'] Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 4*76=304, Resulting Numbers: [304] 304,34 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,34 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 73, 79, 54, 98 ]
89
[ "79-73=6", "54/6=9", "98-9=89" ]
Current State: 89:[73, 79, 54, 98], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [54, 98, 6] Generated Node #2: [54, 98, 6] from Operation: 79-73=6 Current State: 89:[54, 98, 6], Operations: ['79-73=6'] Exploring Operation: 54/6=9, Resulting Numbers: [98, 9] Generated Node #3: [98, 9] from Operation: 54/6=9 Current State: 89:[98, 9], Operations: ['79-73=6', '54/6=9'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[73, 79, 54, 98], Operations: [] Exploring Operation: 79+54=133, Resulting Numbers: [73, 98, 133] Generated Node #0,0: 89:[73, 98, 133] Operation: 79+54=133 Exploring Operation: 79-54=25, Resulting Numbers: [73, 98, 25] Generated Node #0,1: 89:[73, 98, 25] Operation: 79-54=25 Exploring Operation: 73-54=19, Resulting Numbers: [79, 98, 19] Generated Node #0,2: 89:[79, 98, 19] Operation: 73-54=19 Exploring Operation: 73+54=127, Resulting Numbers: [79, 98, 127] Generated Node #0,3: 89:[79, 98, 127] Operation: 73+54=127 Exploring Operation: 98-54=44, Resulting Numbers: [73, 79, 44] Generated Node #0,4: 89:[73, 79, 44] Operation: 98-54=44 Moving to Node #0,3 Current State: 89:[79, 98, 127], Operations: ['73+54=127'] Exploring Operation: 98-79=19, Resulting Numbers: [127, 19] Generated Node #0,3,0: 89:[127, 19] Operation: 98-79=19 Exploring Operation: 79+127=206, Resulting Numbers: [98, 206] Generated Node #0,3,1: 89:[98, 206] Operation: 79+127=206 Exploring Operation: 79+98=177, Resulting Numbers: [127, 177] Generated Node #0,3,2: 89:[127, 177] Operation: 79+98=177 Exploring Operation: 127-79=48, Resulting Numbers: [98, 48] Generated Node #0,3,3: 89:[98, 48] Operation: 127-79=48 Exploring Operation: 127-98=29, Resulting Numbers: [79, 29] Generated Node #0,3,4: 89:[79, 29] Operation: 127-98=29 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[98, 48], Operations: ['73+54=127', '127-79=48'] Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,89 unequal: No Solution Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,89 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 89:[79, 29], Operations: ['73+54=127', '127-98=29'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 79*29=2291, Resulting Numbers: [2291] 2291,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[127, 19], Operations: ['73+54=127', '98-79=19'] Exploring Operation: 127-19=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 127*19=2413, Resulting Numbers: [2413] 2413,89 unequal: No Solution Exploring Operation: 127+19=146, Resulting Numbers: [146] 146,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[98, 206], Operations: ['73+54=127', '79+127=206'] Exploring Operation: 98+206=304, Resulting Numbers: [304] 304,89 unequal: No Solution Exploring Operation: 98*206=20188, Resulting Numbers: [20188] 20188,89 unequal: No Solution Exploring Operation: 206-98=108, Resulting Numbers: [108] 108,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[127, 177], Operations: ['73+54=127', '79+98=177'] Exploring Operation: 127*177=22479, Resulting Numbers: [22479] 22479,89 unequal: No Solution Exploring Operation: 177-127=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 127+177=304, Resulting Numbers: [304] 304,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 89:[73, 98, 133], Operations: ['79+54=133'] Exploring Operation: 73+98=171, Resulting Numbers: [133, 171] Generated Node #0,0,0: 89:[133, 171] Operation: 73+98=171 Exploring Operation: 133-73=60, Resulting Numbers: [98, 60] Generated Node #0,0,1: 89:[98, 60] Operation: 133-73=60 Exploring Operation: 133-98=35, Resulting Numbers: [73, 35] Generated Node #0,0,2: 89:[73, 35] Operation: 133-98=35 Exploring Operation: 98-73=25, Resulting Numbers: [133, 25] Generated Node #0,0,3: 89:[133, 25] Operation: 98-73=25 Exploring Operation: 73+133=206, Resulting Numbers: [98, 206] Generated Node #0,0,4: 89:[98, 206] Operation: 73+133=206 Moving to Node #0,4 Current State: 89:[73, 79, 44], Operations: ['98-54=44'] Exploring Operation: 79-44=35, Resulting Numbers: [73, 35] Generated Node #0,4,0: 89:[73, 35] Operation: 79-44=35 Exploring Operation: 73+79=152, Resulting Numbers: [44, 152] Generated Node #0,4,1: 89:[44, 152] Operation: 73+79=152 Exploring Operation: 79+44=123, Resulting Numbers: [73, 123] Generated Node #0,4,2: 89:[73, 123] Operation: 79+44=123 Exploring Operation: 73+44=117, Resulting Numbers: [79, 117] Generated Node #0,4,3: 89:[79, 117] Operation: 73+44=117 Exploring Operation: 73-44=29, Resulting Numbers: [79, 29] Generated Node #0,4,4: 89:[79, 29] Operation: 73-44=29 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 89:[79, 117], Operations: ['98-54=44', '73+44=117'] Exploring Operation: 79*117=9243, Resulting Numbers: [9243] 9243,89 unequal: No Solution Exploring Operation: 79+117=196, Resulting Numbers: [196] 196,89 unequal: No Solution Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,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,4,2 Current State: 89:[73, 123], Operations: ['98-54=44', '79+44=123'] Exploring Operation: 73+123=196, Resulting Numbers: [196] 196,89 unequal: No Solution Exploring Operation: 73*123=8979, Resulting Numbers: [8979] 8979,89 unequal: No Solution Exploring Operation: 123-73=50, Resulting Numbers: [50] 50,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,4,0 Current State: 89:[73, 35], Operations: ['98-54=44', '79-44=35'] Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,89 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,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,4,4 Current State: 89:[79, 29], Operations: ['98-54=44', '73-44=29'] Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 79*29=2291, Resulting Numbers: [2291] 2291,89 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,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,4,1 Current State: 89:[44, 152], Operations: ['98-54=44', '73+79=152'] Exploring Operation: 152-44=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 44*152=6688, Resulting Numbers: [6688] 6688,89 unequal: No Solution Exploring Operation: 44+152=196, Resulting Numbers: [196] 196,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[73, 98, 25], Operations: ['79-54=25'] Exploring Operation: 73-25=48, Resulting Numbers: [98, 48] Generated Node #0,1,0: 89:[98, 48] Operation: 73-25=48 Exploring Operation: 73+25=98, Resulting Numbers: [98, 98] Generated Node #0,1,1: 89:[98, 98] Operation: 73+25=98 Exploring Operation: 98+25=123, Resulting Numbers: [73, 123] Generated Node #0,1,2: 89:[73, 123] Operation: 98+25=123 Exploring Operation: 98-73=25, Resulting Numbers: [25, 25] Generated Node #0,1,3: 89:[25, 25] Operation: 98-73=25 Exploring Operation: 98-25=73, Resulting Numbers: [73, 73] Generated Node #0,1,4: 89:[73, 73] Operation: 98-25=73 Moving to Node #0,2 Current State: 89:[79, 98, 19], Operations: ['73-54=19'] Exploring Operation: 79-19=60, Resulting Numbers: [98, 60] Generated Node #0,2,0: 89:[98, 60] Operation: 79-19=60 Exploring Operation: 79+19=98, Resulting Numbers: [98, 98] Generated Node #0,2,1: 89:[98, 98] Operation: 79+19=98 Exploring Operation: 98+19=117, Resulting Numbers: [79, 117] Generated Node #0,2,2: 89:[79, 117] Operation: 98+19=117 Exploring Operation: 98-79=19, Resulting Numbers: [19, 19] Generated Node #0,2,3: 89:[19, 19] Operation: 98-79=19 Exploring Operation: 98-19=79, Resulting Numbers: [79, 79] Generated Node #0,2,4: 89:[79, 79] Operation: 98-19=79 Moving to Node #0,1,1 Current State: 89:[98, 98], Operations: ['79-54=25', '73+25=98'] Exploring Operation: 98*98=9604, Resulting Numbers: [9604] 9604,89 unequal: No Solution Exploring Operation: 98-98=0, Resulting Numbers: [0] 0,89 unequal: No Solution Exploring Operation: 98/98=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 98+98=196, Resulting Numbers: [196] 196,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[98, 98], Operations: ['73-54=19', '79+19=98'] Exploring Operation: 98/98=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 98-98=0, Resulting Numbers: [0] 0,89 unequal: No Solution Exploring Operation: 98*98=9604, Resulting Numbers: [9604] 9604,89 unequal: No Solution Exploring Operation: 98+98=196, Resulting Numbers: [196] 196,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[79, 79], Operations: ['73-54=19', '98-19=79'] Exploring Operation: 79-79=0, Resulting Numbers: [0] 0,89 unequal: No Solution Exploring Operation: 79*79=6241, Resulting Numbers: [6241] 6241,89 unequal: No Solution Exploring Operation: 79/79=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 79+79=158, Resulting Numbers: [158] 158,89 unequal: No Solution Moving to Node #0,1,4 Current State: 89:[73, 73], Operations: ['79-54=25', '98-25=73'] Exploring Operation: 73+73=146, Resulting Numbers: [146] 146,89 unequal: No Solution Exploring Operation: 73*73=5329, Resulting Numbers: [5329] 5329,89 unequal: No Solution Exploring Operation: 73/73=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 73-73=0, Resulting Numbers: [0] 0,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[98, 60], Operations: ['79+54=133', '133-73=60'] Exploring Operation: 98+60=158, Resulting Numbers: [158] 158,89 unequal: No Solution Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 98*60=5880, Resulting Numbers: [5880] 5880,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[79, 117], Operations: ['73-54=19', '98+19=117'] Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 79*117=9243, Resulting Numbers: [9243] 9243,89 unequal: No Solution Exploring Operation: 79+117=196, Resulting Numbers: [196] 196,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[98, 60], Operations: ['73-54=19', '79-19=60'] Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 98+60=158, Resulting Numbers: [158] 158,89 unequal: No Solution Exploring Operation: 98*60=5880, Resulting Numbers: [5880] 5880,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[98, 48], Operations: ['79-54=25', '73-25=48'] Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,89 unequal: No Solution Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[73, 123], Operations: ['79-54=25', '98+25=123'] Exploring Operation: 73*123=8979, Resulting Numbers: [8979] 8979,89 unequal: No Solution Exploring Operation: 123-73=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 73+123=196, Resulting Numbers: [196] 196,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[73, 35], Operations: ['79+54=133', '133-98=35'] Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[133, 25], Operations: ['79+54=133', '98-73=25'] Exploring Operation: 133-25=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 133*25=3325, Resulting Numbers: [3325] 3325,89 unequal: No Solution Exploring Operation: 133+25=158, Resulting Numbers: [158] 158,89 unequal: No Solution Moving to Node #0,0,4 Current State: 89:[98, 206], Operations: ['79+54=133', '73+133=206'] Exploring Operation: 98*206=20188, Resulting Numbers: [20188] 20188,89 unequal: No Solution Exploring Operation: 206-98=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 98+206=304, Resulting Numbers: [304] 304,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[133, 171], Operations: ['79+54=133', '73+98=171'] Exploring Operation: 171-133=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 133+171=304, Resulting Numbers: [304] 304,89 unequal: No Solution Exploring Operation: 133*171=22743, Resulting Numbers: [22743] 22743,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[25, 25], Operations: ['79-54=25', '98-73=25'] Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,89 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,89 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[19, 19], Operations: ['73-54=19', '98-79=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,89 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,89 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,89 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 11, 32, 6 ]
28
[ "22/11=2", "32-6=26", "2+26=28" ]
Current State: 28:[22, 11, 32, 6], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [32, 6, 2] Generated Node #2: [32, 6, 2] from Operation: 22/11=2 Current State: 28:[32, 6, 2], Operations: ['22/11=2'] Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 32-6=26 Current State: 28:[2, 26], Operations: ['22/11=2', '32-6=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[22, 11, 32, 6], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [11, 6, 10] Generated Node #0,0: 28:[11, 6, 10] Operation: 32-22=10 Exploring Operation: 22+6=28, Resulting Numbers: [11, 32, 28] Generated Node #0,1: 28:[11, 32, 28] Operation: 22+6=28 Exploring Operation: 22/11=2, Resulting Numbers: [32, 6, 2] Generated Node #0,2: 28:[32, 6, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[32, 6, 2], Operations: ['22/11=2'] Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #0,2,0: 28:[2, 26] Operation: 32-6=26 Exploring Operation: 32/2=16, Resulting Numbers: [6, 16] Generated Node #0,2,1: 28:[6, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [6, 30] Generated Node #0,2,2: 28:[6, 30] Operation: 32-2=30 Moving to Node #0,2,0 Current State: 28:[2, 26], Operations: ['22/11=2', '32-6=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[22, 11, 32, 6], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [32, 6, 2] Generated Node #0,2: 28:[32, 6, 2] Operation: 22/11=2 Moving to Node #0,2 Current State: 28:[32, 6, 2], Operations: ['22/11=2'] Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #0,2,0: 28:[2, 26] Operation: 32-6=26 Moving to Node #0,2,0 Current State: 28:[2, 26], Operations: ['22/11=2', '32-6=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 11, 20, 60, 86 ]
35
[ "20-11=9", "86-60=26", "9+26=35" ]
Current State: 35:[11, 20, 60, 86], Operations: [] Exploring Operation: 20-11=9, Resulting Numbers: [60, 86, 9] Generated Node #2: [60, 86, 9] from Operation: 20-11=9 Current State: 35:[60, 86, 9], Operations: ['20-11=9'] Exploring Operation: 86-60=26, Resulting Numbers: [9, 26] Generated Node #3: [9, 26] from Operation: 86-60=26 Current State: 35:[9, 26], Operations: ['20-11=9', '86-60=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[11, 20, 60, 86], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [11, 86, 40] Generated Node #0,0: 35:[11, 86, 40] Operation: 60-20=40 Exploring Operation: 86-60=26, Resulting Numbers: [11, 20, 26] Generated Node #0,1: 35:[11, 20, 26] Operation: 86-60=26 Exploring Operation: 86-20=66, Resulting Numbers: [11, 60, 66] Generated Node #0,2: 35:[11, 60, 66] Operation: 86-20=66 Exploring Operation: 60/20=3, Resulting Numbers: [11, 86, 3] Generated Node #0,3: 35:[11, 86, 3] Operation: 60/20=3 Moving to Node #0,1 Current State: 35:[11, 20, 26], Operations: ['86-60=26'] Exploring Operation: 11+26=37, Resulting Numbers: [20, 37] Generated Node #0,1,0: 35:[20, 37] Operation: 11+26=37 Exploring Operation: 11+20=31, Resulting Numbers: [26, 31] Generated Node #0,1,1: 35:[26, 31] Operation: 11+20=31 Exploring Operation: 20-11=9, Resulting Numbers: [26, 9] Generated Node #0,1,2: 35:[26, 9] Operation: 20-11=9 Exploring Operation: 26-20=6, Resulting Numbers: [11, 6] Generated Node #0,1,3: 35:[11, 6] Operation: 26-20=6 Moving to Node #0,3 Current State: 35:[11, 86, 3], Operations: ['60/20=3'] Exploring Operation: 86-3=83, Resulting Numbers: [11, 83] Generated Node #0,3,0: 35:[11, 83] Operation: 86-3=83 Exploring Operation: 11-3=8, Resulting Numbers: [86, 8] Generated Node #0,3,1: 35:[86, 8] Operation: 11-3=8 Exploring Operation: 86-11=75, Resulting Numbers: [3, 75] Generated Node #0,3,2: 35:[3, 75] Operation: 86-11=75 Exploring Operation: 11*3=33, Resulting Numbers: [86, 33] Generated Node #0,3,3: 35:[86, 33] Operation: 11*3=33 Moving to Node #0,2 Current State: 35:[11, 60, 66], Operations: ['86-20=66'] Exploring Operation: 60-11=49, Resulting Numbers: [66, 49] Generated Node #0,2,0: 35:[66, 49] Operation: 60-11=49 Exploring Operation: 66-60=6, Resulting Numbers: [11, 6] Generated Node #0,2,1: 35:[11, 6] Operation: 66-60=6 Exploring Operation: 66/11=6, Resulting Numbers: [60, 6] Generated Node #0,2,2: 35:[60, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [60, 55] Generated Node #0,2,3: 35:[60, 55] Operation: 66-11=55 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[11, 6], Operations: ['86-20=66', '66-60=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[60, 6], Operations: ['86-20=66', '66/11=6'] Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,35 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[66, 49], Operations: ['86-20=66', '60-11=49'] Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,35 unequal: No Solution Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,35 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 35:[60, 55], Operations: ['86-20=66', '66-11=55'] Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,35 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,35 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 35:[11, 86, 40], Operations: ['60-20=40'] Exploring Operation: 86-11=75, Resulting Numbers: [40, 75] Generated Node #0,0,0: 35:[40, 75] Operation: 86-11=75 Exploring Operation: 11+86=97, Resulting Numbers: [40, 97] Generated Node #0,0,1: 35:[40, 97] Operation: 11+86=97 Exploring Operation: 86-40=46, Resulting Numbers: [11, 46] Generated Node #0,0,2: 35:[11, 46] Operation: 86-40=46 Exploring Operation: 40-11=29, Resulting Numbers: [86, 29] Generated Node #0,0,3: 35:[86, 29] Operation: 40-11=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[11, 46], Operations: ['60-20=40', '86-40=46'] Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,35 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[11, 20, 60, 86], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [11, 86, 40] Generated Node #0,0: 35:[11, 86, 40] Operation: 60-20=40 Moving to Node #0,0 Current State: 35:[11, 86, 40], Operations: ['60-20=40'] Exploring Operation: 86-40=46, Resulting Numbers: [11, 46] Generated Node #0,0,2: 35:[11, 46] Operation: 86-40=46 Moving to Node #0,0,2 Current State: 35:[11, 46], Operations: ['60-20=40', '86-40=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 59, 53, 51, 81 ]
82
[ "59+53=112", "81-51=30", "112-30=82" ]
Current State: 82:[59, 53, 51, 81], Operations: [] Exploring Operation: 59+53=112, Resulting Numbers: [51, 81, 112] Generated Node #2: [51, 81, 112] from Operation: 59+53=112 Current State: 82:[51, 81, 112], Operations: ['59+53=112'] Exploring Operation: 81-51=30, Resulting Numbers: [112, 30] Generated Node #3: [112, 30] from Operation: 81-51=30 Current State: 82:[112, 30], Operations: ['59+53=112', '81-51=30'] Exploring Operation: 112-30=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[59, 53, 51, 81], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [53, 81, 8] Generated Node #0,0: 82:[53, 81, 8] Operation: 59-51=8 Exploring Operation: 59+53=112, Resulting Numbers: [51, 81, 112] Generated Node #0,1: 82:[51, 81, 112] Operation: 59+53=112 Exploring Operation: 53-51=2, Resulting Numbers: [59, 81, 2] Generated Node #0,2: 82:[59, 81, 2] Operation: 53-51=2 Exploring Operation: 59-53=6, Resulting Numbers: [51, 81, 6] Generated Node #0,3: 82:[51, 81, 6] Operation: 59-53=6 Exploring Operation: 59+51=110, Resulting Numbers: [53, 81, 110] Generated Node #0,4: 82:[53, 81, 110] Operation: 59+51=110 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[51, 81, 6], Operations: ['59-53=6'] Exploring Operation: 81-6=75, Resulting Numbers: [51, 75] Generated Node #0,3,0: 82:[51, 75] Operation: 81-6=75 Exploring Operation: 51-6=45, Resulting Numbers: [81, 45] Generated Node #0,3,1: 82:[81, 45] Operation: 51-6=45 Exploring Operation: 81-51=30, Resulting Numbers: [6, 30] Generated Node #0,3,2: 82:[6, 30] Operation: 81-51=30 Exploring Operation: 51+6=57, Resulting Numbers: [81, 57] Generated Node #0,3,3: 82:[81, 57] Operation: 51+6=57 Exploring Operation: 81+6=87, Resulting Numbers: [51, 87] Generated Node #0,3,4: 82:[51, 87] Operation: 81+6=87 Moving to Node #0,3,1 Current State: 82:[81, 45], Operations: ['59-53=6', '51-6=45'] Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,82 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[51, 87], Operations: ['59-53=6', '81+6=87'] Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[6, 30], Operations: ['59-53=6', '81-51=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,82 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[51, 75], Operations: ['59-53=6', '81-6=75'] Exploring Operation: 51+75=126, Resulting Numbers: [126] 126,82 unequal: No Solution Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 51*75=3825, Resulting Numbers: [3825] 3825,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[81, 57], Operations: ['59-53=6', '51+6=57'] Exploring Operation: 81*57=4617, Resulting Numbers: [4617] 4617,82 unequal: No Solution Exploring Operation: 81+57=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,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:[53, 81, 8], Operations: ['59-51=8'] Exploring Operation: 81-8=73, Resulting Numbers: [53, 73] Generated Node #0,0,0: 82:[53, 73] Operation: 81-8=73 Exploring Operation: 81-53=28, Resulting Numbers: [8, 28] Generated Node #0,0,1: 82:[8, 28] Operation: 81-53=28 Exploring Operation: 81+8=89, Resulting Numbers: [53, 89] Generated Node #0,0,2: 82:[53, 89] Operation: 81+8=89 Exploring Operation: 53-8=45, Resulting Numbers: [81, 45] Generated Node #0,0,3: 82:[81, 45] Operation: 53-8=45 Exploring Operation: 53+8=61, Resulting Numbers: [81, 61] Generated Node #0,0,4: 82:[81, 61] Operation: 53+8=61 Moving to Node #0,0,3 Current State: 82:[81, 45], Operations: ['59-51=8', '53-8=45'] Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,82 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,82 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[53, 89], Operations: ['59-51=8', '81+8=89'] Exploring Operation: 53*89=4717, Resulting Numbers: [4717] 4717,82 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 53+89=142, Resulting Numbers: [142] 142,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[8, 28], Operations: ['59-51=8', '81-53=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,82 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[53, 73], Operations: ['59-51=8', '81-8=73'] Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 53*73=3869, Resulting Numbers: [3869] 3869,82 unequal: No Solution Exploring Operation: 53+73=126, Resulting Numbers: [126] 126,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[81, 61], Operations: ['59-51=8', '53+8=61'] Exploring Operation: 81+61=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 81*61=4941, Resulting Numbers: [4941] 4941,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:[59, 81, 2], Operations: ['53-51=2'] Exploring Operation: 81-59=22, Resulting Numbers: [2, 22] Generated Node #0,2,0: 82:[2, 22] Operation: 81-59=22 Exploring Operation: 81+2=83, Resulting Numbers: [59, 83] Generated Node #0,2,1: 82:[59, 83] Operation: 81+2=83 Exploring Operation: 81-2=79, Resulting Numbers: [59, 79] Generated Node #0,2,2: 82:[59, 79] Operation: 81-2=79 Exploring Operation: 59-2=57, Resulting Numbers: [81, 57] Generated Node #0,2,3: 82:[81, 57] Operation: 59-2=57 Exploring Operation: 59+2=61, Resulting Numbers: [81, 61] Generated Node #0,2,4: 82:[81, 61] Operation: 59+2=61 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[81, 57], Operations: ['53-51=2', '59-2=57'] Exploring Operation: 81+57=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 81*57=4617, Resulting Numbers: [4617] 4617,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:[2, 22], Operations: ['53-51=2', '81-59=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[59, 83], Operations: ['53-51=2', '81+2=83'] Exploring Operation: 59+83=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 59*83=4897, Resulting Numbers: [4897] 4897,82 unequal: No Solution Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,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,2 Current State: 82:[59, 79], Operations: ['53-51=2', '81-2=79'] Exploring Operation: 59*79=4661, Resulting Numbers: [4661] 4661,82 unequal: No Solution Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 59+79=138, Resulting Numbers: [138] 138,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:[81, 61], Operations: ['53-51=2', '59+2=61'] Exploring Operation: 81*61=4941, Resulting Numbers: [4941] 4941,82 unequal: No Solution Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 81+61=142, Resulting Numbers: [142] 142,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:[51, 81, 112], Operations: ['59+53=112'] Exploring Operation: 112-51=61, Resulting Numbers: [81, 61] Generated Node #0,1,0: 82:[81, 61] Operation: 112-51=61 Exploring Operation: 51+112=163, Resulting Numbers: [81, 163] Generated Node #0,1,1: 82:[81, 163] Operation: 51+112=163 Exploring Operation: 81-51=30, Resulting Numbers: [112, 30] Generated Node #0,1,2: 82:[112, 30] Operation: 81-51=30 Exploring Operation: 112-81=31, Resulting Numbers: [51, 31] Generated Node #0,1,3: 82:[51, 31] Operation: 112-81=31 Exploring Operation: 51+81=132, Resulting Numbers: [112, 132] Generated Node #0,1,4: 82:[112, 132] Operation: 51+81=132 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[51, 31], Operations: ['59+53=112', '112-81=31'] Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,82 unequal: No Solution Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[59, 53, 51, 81], Operations: [] Exploring Operation: 59+53=112, Resulting Numbers: [51, 81, 112] Generated Node #0,1: 82:[51, 81, 112] Operation: 59+53=112 Moving to Node #0,1 Current State: 82:[51, 81, 112], Operations: ['59+53=112'] Exploring Operation: 112-81=31, Resulting Numbers: [51, 31] Generated Node #0,1,3: 82:[51, 31] Operation: 112-81=31 Moving to Node #0,1,3 Current State: 82:[51, 31], Operations: ['59+53=112', '112-81=31'] Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.932292
hs_5
mult_heuristic
[ 81, 75, 81, 15 ]
60
[ "81+75=156", "81+15=96", "156-96=60" ]
Current State: 60:[81, 75, 81, 15], Operations: [] Exploring Operation: 81+75=156, Resulting Numbers: [15, 156] Generated Node #2: [15, 156] from Operation: 81+75=156 Current State: 60:[15, 156], Operations: ['81+75=156'] Exploring Operation: 81+15=96, Resulting Numbers: [156, 96] Generated Node #3: [156, 96] from Operation: 81+15=96 Current State: 60:[156, 96], Operations: ['81+75=156', '81+15=96'] Exploring Operation: 156-96=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[81, 75, 81, 15], Operations: [] Exploring Operation: 81-81=0, Resulting Numbers: [75, 15, 0] Generated Node #0,0: 60:[75, 15, 0] Operation: 81-81=0 Exploring Operation: 81-75=6, Resulting Numbers: [81, 15, 6] Generated Node #0,1: 60:[81, 15, 6] Operation: 81-75=6 Exploring Operation: 81-75=6, Resulting Numbers: [81, 15, 6] Generated Node #0,2: 60:[81, 15, 6] Operation: 81-75=6 Exploring Operation: 81-15=66, Resulting Numbers: [75, 81, 66] Generated Node #0,3: 60:[75, 81, 66] Operation: 81-15=66 Exploring Operation: 81/81=1, Resulting Numbers: [75, 15, 1] Generated Node #0,4: 60:[75, 15, 1] Operation: 81/81=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 60:[75, 15, 1], Operations: ['81/81=1'] Exploring Operation: 75*1=75, Resulting Numbers: [15, 75] Generated Node #0,4,0: 60:[15, 75] Operation: 75*1=75 Exploring Operation: 75-1=74, Resulting Numbers: [15, 74] Generated Node #0,4,1: 60:[15, 74] Operation: 75-1=74 Exploring Operation: 75-15=60, Resulting Numbers: [1, 60] Generated Node #0,4,2: 60:[1, 60] Operation: 75-15=60 Exploring Operation: 75/15=5, Resulting Numbers: [1, 5] Generated Node #0,4,3: 60:[1, 5] Operation: 75/15=5 Exploring Operation: 75/1=75, Resulting Numbers: [15, 75] Generated Node #0,4,4: 60:[15, 75] Operation: 75/1=75 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 60:[1, 60], Operations: ['81/81=1', '75-15=60'] Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[81, 75, 81, 15], Operations: [] Exploring Operation: 81/81=1, Resulting Numbers: [75, 15, 1] Generated Node #0,4: 60:[75, 15, 1] Operation: 81/81=1 Moving to Node #0,4 Current State: 60:[75, 15, 1], Operations: ['81/81=1'] Exploring Operation: 75-15=60, Resulting Numbers: [1, 60] Generated Node #0,4,2: 60:[1, 60] Operation: 75-15=60 Moving to Node #0,4,2 Current State: 60:[1, 60], Operations: ['81/81=1', '75-15=60'] Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 44, 14, 71, 10 ]
25
[ "44+71=115", "14*10=140", "140-115=25" ]
Current State: 25:[44, 14, 71, 10], Operations: [] Exploring Operation: 44+71=115, Resulting Numbers: [14, 10, 115] Generated Node #2: [14, 10, 115] from Operation: 44+71=115 Current State: 25:[14, 10, 115], Operations: ['44+71=115'] Exploring Operation: 14*10=140, Resulting Numbers: [115, 140] Generated Node #3: [115, 140] from Operation: 14*10=140 Current State: 25:[115, 140], Operations: ['44+71=115', '14*10=140'] Exploring Operation: 140-115=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[44, 14, 71, 10], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [14, 10, 27] Generated Node #0,0: 25:[14, 10, 27] Operation: 71-44=27 Exploring Operation: 71-14=57, Resulting Numbers: [44, 10, 57] Generated Node #0,1: 25:[44, 10, 57] Operation: 71-14=57 Exploring Operation: 44-14=30, Resulting Numbers: [71, 10, 30] Generated Node #0,2: 25:[71, 10, 30] Operation: 44-14=30 Moving to Node #0,0 Current State: 25:[14, 10, 27], Operations: ['71-44=27'] Exploring Operation: 27-14=13, Resulting Numbers: [10, 13] Generated Node #0,0,0: 25:[10, 13] Operation: 27-14=13 Exploring Operation: 14-10=4, Resulting Numbers: [27, 4] Generated Node #0,0,1: 25:[27, 4] Operation: 14-10=4 Exploring Operation: 14+10=24, Resulting Numbers: [27, 24] Generated Node #0,0,2: 25:[27, 24] Operation: 14+10=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[27, 4], Operations: ['71-44=27', '14-10=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,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,2 Current State: 25:[27, 24], Operations: ['71-44=27', '14+10=24'] Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,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:[10, 13], Operations: ['71-44=27', '27-14=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,25 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: 25:[44, 10, 57], Operations: ['71-14=57'] Exploring Operation: 57-10=47, Resulting Numbers: [44, 47] Generated Node #0,1,0: 25:[44, 47] Operation: 57-10=47 Exploring Operation: 57-44=13, Resulting Numbers: [10, 13] Generated Node #0,1,1: 25:[10, 13] Operation: 57-44=13 Exploring Operation: 44-10=34, Resulting Numbers: [57, 34] Generated Node #0,1,2: 25:[57, 34] Operation: 44-10=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[10, 13], Operations: ['71-14=57', '57-44=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,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:[44, 47], Operations: ['71-14=57', '57-10=47'] Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,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:[57, 34], Operations: ['71-14=57', '44-10=34'] Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,25 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,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:[71, 10, 30], Operations: ['44-14=30'] Exploring Operation: 71-30=41, Resulting Numbers: [10, 41] Generated Node #0,2,0: 25:[10, 41] Operation: 71-30=41 Exploring Operation: 71-10=61, Resulting Numbers: [30, 61] Generated Node #0,2,1: 25:[30, 61] Operation: 71-10=61 Exploring Operation: 30/10=3, Resulting Numbers: [71, 3] Generated Node #0,2,2: 25:[71, 3] Operation: 30/10=3 Moving to Node #0,2,0 Current State: 25:[10, 41], Operations: ['44-14=30', '71-30=41'] Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,25 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[30, 61], Operations: ['44-14=30', '71-10=61'] Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 30*61=1830, Resulting Numbers: [1830] 1830,25 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[71, 3], Operations: ['44-14=30', '30/10=3'] Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,25 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,25 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 45, 29, 2, 23 ]
62
[ "45-29=16", "2*23=46", "16+46=62" ]
Current State: 62:[45, 29, 2, 23], Operations: [] Exploring Operation: 45-29=16, Resulting Numbers: [2, 23, 16] Generated Node #2: [2, 23, 16] from Operation: 45-29=16 Current State: 62:[2, 23, 16], Operations: ['45-29=16'] Exploring Operation: 2*23=46, Resulting Numbers: [16, 46] Generated Node #3: [16, 46] from Operation: 2*23=46 Current State: 62:[16, 46], Operations: ['45-29=16', '2*23=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[45, 29, 2, 23], Operations: [] Exploring Operation: 45+23=68, Resulting Numbers: [29, 2, 68] Generated Node #0,0: 62:[29, 2, 68] Operation: 45+23=68 Exploring Operation: 29-23=6, Resulting Numbers: [45, 2, 6] Generated Node #0,1: 62:[45, 2, 6] Operation: 29-23=6 Exploring Operation: 45-23=22, Resulting Numbers: [29, 2, 22] Generated Node #0,2: 62:[29, 2, 22] Operation: 45-23=22 Moving to Node #0,0 Current State: 62:[29, 2, 68], Operations: ['45+23=68'] Exploring Operation: 68/2=34, Resulting Numbers: [29, 34] Generated Node #0,0,0: 62:[29, 34] Operation: 68/2=34 Exploring Operation: 68-2=66, Resulting Numbers: [29, 66] Generated Node #0,0,1: 62:[29, 66] Operation: 68-2=66 Exploring Operation: 29+2=31, Resulting Numbers: [68, 31] Generated Node #0,0,2: 62:[68, 31] Operation: 29+2=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[29, 34], Operations: ['45+23=68', '68/2=34'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,62 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,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,0,1 Current State: 62:[29, 66], Operations: ['45+23=68', '68-2=66'] Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,62 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,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,0,2 Current State: 62:[68, 31], Operations: ['45+23=68', '29+2=31'] Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,62 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,62 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: 62:[29, 2, 22], Operations: ['45-23=22'] Exploring Operation: 29+2=31, Resulting Numbers: [22, 31] Generated Node #0,2,0: 62:[22, 31] Operation: 29+2=31 Exploring Operation: 2+22=24, Resulting Numbers: [29, 24] Generated Node #0,2,1: 62:[29, 24] Operation: 2+22=24 Exploring Operation: 29-22=7, Resulting Numbers: [2, 7] Generated Node #0,2,2: 62:[2, 7] Operation: 29-22=7 Moving to Node #0,1 Current State: 62:[45, 2, 6], Operations: ['29-23=6'] Exploring Operation: 45+6=51, Resulting Numbers: [2, 51] Generated Node #0,1,0: 62:[2, 51] Operation: 45+6=51 Exploring Operation: 45-6=39, Resulting Numbers: [2, 39] Generated Node #0,1,1: 62:[2, 39] Operation: 45-6=39 Exploring Operation: 6/2=3, Resulting Numbers: [45, 3] Generated Node #0,1,2: 62:[45, 3] Operation: 6/2=3 Moving to Node #0,2,2 Current State: 62:[2, 7], Operations: ['45-23=22', '29-22=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[2, 39], Operations: ['29-23=6', '45-6=39'] Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,62 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[29, 24], Operations: ['45-23=22', '2+22=24'] Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,62 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,62 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[22, 31], Operations: ['45-23=22', '29+2=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,62 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,62 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[2, 51], Operations: ['29-23=6', '45+6=51'] Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[45, 3], Operations: ['29-23=6', '6/2=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,62 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 3, 41, 26, 96 ]
91
[ "41-26=15", "15/3=5", "96-5=91" ]
Current State: 91:[3, 41, 26, 96], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [3, 96, 15] Generated Node #2: [3, 96, 15] from Operation: 41-26=15 Current State: 91:[3, 96, 15], Operations: ['41-26=15'] Exploring Operation: 15/3=5, Resulting Numbers: [96, 5] Generated Node #3: [96, 5] from Operation: 15/3=5 Current State: 91:[96, 5], Operations: ['41-26=15', '15/3=5'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[3, 41, 26, 96], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [3, 96, 15] Generated Node #0,0: 91:[3, 96, 15] Operation: 41-26=15 Exploring Operation: 41+26=67, Resulting Numbers: [3, 96, 67] Generated Node #0,1: 91:[3, 96, 67] Operation: 41+26=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[3, 96, 15], Operations: ['41-26=15'] Exploring Operation: 96-3=93, Resulting Numbers: [15, 93] Generated Node #0,0,0: 91:[15, 93] Operation: 96-3=93 Exploring Operation: 15-3=12, Resulting Numbers: [96, 12] Generated Node #0,0,1: 91:[96, 12] Operation: 15-3=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[15, 93], Operations: ['41-26=15', '96-3=93'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,91 unequal: No Solution Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[96, 12], Operations: ['41-26=15', '15-3=12'] Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,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:[3, 96, 67], Operations: ['41+26=67'] Exploring Operation: 96-3=93, Resulting Numbers: [67, 93] Generated Node #0,1,0: 91:[67, 93] Operation: 96-3=93 Exploring Operation: 96-67=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 91:[3, 29] Operation: 96-67=29 Moving to Node #0,1,1 Current State: 91:[3, 29], Operations: ['41+26=67', '96-67=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[67, 93], Operations: ['41+26=67', '96-3=93'] Exploring Operation: 93-67=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 67+93=160, Resulting Numbers: [160] 160,91 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
[ 47, 21, 16, 24 ]
39
[ "47-21=26", "24*26=624", "624/16=39" ]
Current State: 39:[47, 21, 16, 24], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [16, 24, 26] Generated Node #2: [16, 24, 26] from Operation: 47-21=26 Current State: 39:[16, 24, 26], Operations: ['47-21=26'] Exploring Operation: 24*26=624, Resulting Numbers: [16, 624] Generated Node #3: [16, 624] from Operation: 24*26=624 Current State: 39:[16, 624], Operations: ['47-21=26', '24*26=624'] Exploring Operation: 624/16=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[47, 21, 16, 24], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [47, 16, 3] Generated Node #0,0: 39:[47, 16, 3] Operation: 24-21=3 Moving to Node #0,0 Current State: 39:[47, 16, 3], Operations: ['24-21=3'] Exploring Operation: 47-16=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 39:[3, 31] Operation: 47-16=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[3, 31], Operations: ['24-21=3', '47-16=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 52, 10, 32, 83 ]
53
[ "52+10=62", "32+83=115", "115-62=53" ]
Current State: 53:[52, 10, 32, 83], Operations: [] Exploring Operation: 52+10=62, Resulting Numbers: [32, 83, 62] Generated Node #2: [32, 83, 62] from Operation: 52+10=62 Current State: 53:[32, 83, 62], Operations: ['52+10=62'] Exploring Operation: 32+83=115, Resulting Numbers: [62, 115] Generated Node #3: [62, 115] from Operation: 32+83=115 Current State: 53:[62, 115], Operations: ['52+10=62', '32+83=115'] Exploring Operation: 115-62=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[52, 10, 32, 83], Operations: [] Exploring Operation: 83-10=73, Resulting Numbers: [52, 32, 73] Generated Node #0,0: 53:[52, 32, 73] Operation: 83-10=73 Exploring Operation: 83-32=51, Resulting Numbers: [52, 10, 51] Generated Node #0,1: 53:[52, 10, 51] Operation: 83-32=51 Exploring Operation: 52+10=62, Resulting Numbers: [32, 83, 62] Generated Node #0,2: 53:[32, 83, 62] Operation: 52+10=62 Exploring Operation: 10+32=42, Resulting Numbers: [52, 83, 42] Generated Node #0,3: 53:[52, 83, 42] Operation: 10+32=42 Exploring Operation: 52-10=42, Resulting Numbers: [32, 83, 42] Generated Node #0,4: 53:[32, 83, 42] Operation: 52-10=42 Moving to Node #0,0 Current State: 53:[52, 32, 73], Operations: ['83-10=73'] Exploring Operation: 73-32=41, Resulting Numbers: [52, 41] Generated Node #0,0,0: 53:[52, 41] Operation: 73-32=41 Exploring Operation: 52-32=20, Resulting Numbers: [73, 20] Generated Node #0,0,1: 53:[73, 20] Operation: 52-32=20 Exploring Operation: 32+73=105, Resulting Numbers: [52, 105] Generated Node #0,0,2: 53:[52, 105] Operation: 32+73=105 Exploring Operation: 52+32=84, Resulting Numbers: [73, 84] Generated Node #0,0,3: 53:[73, 84] Operation: 52+32=84 Exploring Operation: 73-52=21, Resulting Numbers: [32, 21] Generated Node #0,0,4: 53:[32, 21] Operation: 73-52=21 Moving to Node #0,3 Current State: 53:[52, 83, 42], Operations: ['10+32=42'] Exploring Operation: 83-42=41, Resulting Numbers: [52, 41] Generated Node #0,3,0: 53:[52, 41] Operation: 83-42=41 Exploring Operation: 83+42=125, Resulting Numbers: [52, 125] Generated Node #0,3,1: 53:[52, 125] Operation: 83+42=125 Exploring Operation: 52+42=94, Resulting Numbers: [83, 94] Generated Node #0,3,2: 53:[83, 94] Operation: 52+42=94 Exploring Operation: 83-52=31, Resulting Numbers: [42, 31] Generated Node #0,3,3: 53:[42, 31] Operation: 83-52=31 Exploring Operation: 52-42=10, Resulting Numbers: [83, 10] Generated Node #0,3,4: 53:[83, 10] Operation: 52-42=10 Moving to Node #0,1 Current State: 53:[52, 10, 51], Operations: ['83-32=51'] Exploring Operation: 52+51=103, Resulting Numbers: [10, 103] Generated Node #0,1,0: 53:[10, 103] Operation: 52+51=103 Exploring Operation: 10+51=61, Resulting Numbers: [52, 61] Generated Node #0,1,1: 53:[52, 61] Operation: 10+51=61 Exploring Operation: 51-10=41, Resulting Numbers: [52, 41] Generated Node #0,1,2: 53:[52, 41] Operation: 51-10=41 Exploring Operation: 52+10=62, Resulting Numbers: [51, 62] Generated Node #0,1,3: 53:[51, 62] Operation: 52+10=62 Exploring Operation: 52-10=42, Resulting Numbers: [51, 42] Generated Node #0,1,4: 53:[51, 42] Operation: 52-10=42 Moving to Node #0,2 Current State: 53:[32, 83, 62], Operations: ['52+10=62'] Exploring Operation: 83-32=51, Resulting Numbers: [62, 51] Generated Node #0,2,0: 53:[62, 51] Operation: 83-32=51 Exploring Operation: 32+83=115, Resulting Numbers: [62, 115] Generated Node #0,2,1: 53:[62, 115] Operation: 32+83=115 Exploring Operation: 62-32=30, Resulting Numbers: [83, 30] Generated Node #0,2,2: 53:[83, 30] Operation: 62-32=30 Exploring Operation: 32+62=94, Resulting Numbers: [83, 94] Generated Node #0,2,3: 53:[83, 94] Operation: 32+62=94 Exploring Operation: 83-62=21, Resulting Numbers: [32, 21] Generated Node #0,2,4: 53:[32, 21] Operation: 83-62=21 Moving to Node #0,4 Current State: 53:[32, 83, 42], Operations: ['52-10=42'] Exploring Operation: 42-32=10, Resulting Numbers: [83, 10] Generated Node #0,4,0: 53:[83, 10] Operation: 42-32=10 Exploring Operation: 32+42=74, Resulting Numbers: [83, 74] Generated Node #0,4,1: 53:[83, 74] Operation: 32+42=74 Exploring Operation: 83-32=51, Resulting Numbers: [42, 51] Generated Node #0,4,2: 53:[42, 51] Operation: 83-32=51 Exploring Operation: 32+83=115, Resulting Numbers: [42, 115] Generated Node #0,4,3: 53:[42, 115] Operation: 32+83=115 Exploring Operation: 83-42=41, Resulting Numbers: [32, 41] Generated Node #0,4,4: 53:[32, 41] Operation: 83-42=41 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[42, 51], Operations: ['52-10=42', '83-32=51'] Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,53 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[32, 41], Operations: ['52-10=42', '83-42=41'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[83, 74], Operations: ['52-10=42', '32+42=74'] Exploring Operation: 83+74=157, Resulting Numbers: [157] 157,53 unequal: No Solution Exploring Operation: 83*74=6142, Resulting Numbers: [6142] 6142,53 unequal: No Solution Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[83, 10], Operations: ['52-10=42', '42-32=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,53 unequal: No Solution Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[42, 115], Operations: ['52-10=42', '32+83=115'] Exploring Operation: 42*115=4830, Resulting Numbers: [4830] 4830,53 unequal: No Solution Exploring Operation: 115-42=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 42+115=157, Resulting Numbers: [157] 157,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 53:[52, 61], Operations: ['83-32=51', '10+51=61'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 52*61=3172, Resulting Numbers: [3172] 3172,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[51, 62], Operations: ['83-32=51', '52+10=62'] Exploring Operation: 51*62=3162, Resulting Numbers: [3162] 3162,53 unequal: No Solution Exploring Operation: 51+62=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[62, 51], Operations: ['52+10=62', '83-32=51'] Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,53 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[51, 42], Operations: ['83-32=51', '52-10=42'] Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,53 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[52, 41], Operations: ['10+32=42', '83-42=41'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[52, 41], Operations: ['83-32=51', '51-10=41'] Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,53 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[52, 41], Operations: ['83-10=73', '73-32=41'] Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,53 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[42, 31], Operations: ['10+32=42', '83-52=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[73, 84], Operations: ['83-10=73', '52+32=84'] Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,53 unequal: No Solution Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,53 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[73, 20], Operations: ['83-10=73', '52-32=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[52, 10, 32, 83], Operations: [] Exploring Operation: 83-10=73, Resulting Numbers: [52, 32, 73] Generated Node #0,0: 53:[52, 32, 73] Operation: 83-10=73 Moving to Node #0,0 Current State: 53:[52, 32, 73], Operations: ['83-10=73'] Exploring Operation: 52-32=20, Resulting Numbers: [73, 20] Generated Node #0,0,1: 53:[73, 20] Operation: 52-32=20 Moving to Node #0,0,1 Current State: 53:[73, 20], Operations: ['83-10=73', '52-32=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.93316
hs_5
mult_heuristic
[ 20, 52, 42, 5 ]
29
[ "20/5=4", "52/4=13", "42-13=29" ]
Current State: 29:[20, 52, 42, 5], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [52, 42, 4] Generated Node #2: [52, 42, 4] from Operation: 20/5=4 Current State: 29:[52, 42, 4], Operations: ['20/5=4'] Exploring Operation: 52/4=13, Resulting Numbers: [42, 13] Generated Node #3: [42, 13] from Operation: 52/4=13 Current State: 29:[42, 13], Operations: ['20/5=4', '52/4=13'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[20, 52, 42, 5], Operations: [] Exploring Operation: 52-20=32, Resulting Numbers: [42, 5, 32] Generated Node #0,0: 29:[42, 5, 32] Operation: 52-20=32 Exploring Operation: 20+5=25, Resulting Numbers: [52, 42, 25] Generated Node #0,1: 29:[52, 42, 25] Operation: 20+5=25 Exploring Operation: 52-5=47, Resulting Numbers: [20, 42, 47] Generated Node #0,2: 29:[20, 42, 47] Operation: 52-5=47 Exploring Operation: 42-5=37, Resulting Numbers: [20, 52, 37] Generated Node #0,3: 29:[20, 52, 37] Operation: 42-5=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[42, 5, 32], Operations: ['52-20=32'] Exploring Operation: 42+5=47, Resulting Numbers: [32, 47] Generated Node #0,0,0: 29:[32, 47] Operation: 42+5=47 Exploring Operation: 5+32=37, Resulting Numbers: [42, 37] Generated Node #0,0,1: 29:[42, 37] Operation: 5+32=37 Exploring Operation: 32-5=27, Resulting Numbers: [42, 27] Generated Node #0,0,2: 29:[42, 27] Operation: 32-5=27 Exploring Operation: 42-5=37, Resulting Numbers: [32, 37] Generated Node #0,0,3: 29:[32, 37] Operation: 42-5=37 Moving to Node #0,0,3 Current State: 29:[32, 37], Operations: ['52-20=32', '42-5=37'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,29 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[42, 27], Operations: ['52-20=32', '32-5=27'] Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,29 unequal: No Solution Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[42, 37], Operations: ['52-20=32', '5+32=37'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[32, 47], Operations: ['52-20=32', '42+5=47'] Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,29 unequal: No Solution Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,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,1 Current State: 29:[52, 42, 25], Operations: ['20+5=25'] Exploring Operation: 52-42=10, Resulting Numbers: [25, 10] Generated Node #0,1,0: 29:[25, 10] Operation: 52-42=10 Exploring Operation: 52-25=27, Resulting Numbers: [42, 27] Generated Node #0,1,1: 29:[42, 27] Operation: 52-25=27 Exploring Operation: 52+25=77, Resulting Numbers: [42, 77] Generated Node #0,1,2: 29:[42, 77] Operation: 52+25=77 Exploring Operation: 42-25=17, Resulting Numbers: [52, 17] Generated Node #0,1,3: 29:[52, 17] Operation: 42-25=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[42, 27], Operations: ['20+5=25', '52-25=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,29 unequal: No Solution Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,29 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[25, 10], Operations: ['20+5=25', '52-42=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[52, 17], Operations: ['20+5=25', '42-25=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,29 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[42, 77], Operations: ['20+5=25', '52+25=77'] Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,29 unequal: No Solution Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,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,2 Current State: 29:[20, 42, 47], Operations: ['52-5=47'] Exploring Operation: 42-20=22, Resulting Numbers: [47, 22] Generated Node #0,2,0: 29:[47, 22] Operation: 42-20=22 Exploring Operation: 47-42=5, Resulting Numbers: [20, 5] Generated Node #0,2,1: 29:[20, 5] Operation: 47-42=5 Exploring Operation: 20+42=62, Resulting Numbers: [47, 62] Generated Node #0,2,2: 29:[47, 62] Operation: 20+42=62 Exploring Operation: 47-20=27, Resulting Numbers: [42, 27] Generated Node #0,2,3: 29:[42, 27] Operation: 47-20=27 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[42, 27], Operations: ['52-5=47', '47-20=27'] Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,29 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,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:[47, 22], Operations: ['52-5=47', '42-20=22'] Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,29 unequal: No Solution Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,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:[20, 5], Operations: ['52-5=47', '47-42=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,29 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 20/5=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:[47, 62], Operations: ['52-5=47', '20+42=62'] Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 47+62=109, Resulting Numbers: [109] 109,29 unequal: No Solution Exploring Operation: 47*62=2914, Resulting Numbers: [2914] 2914,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:[20, 52, 37], Operations: ['42-5=37'] Exploring Operation: 52-37=15, Resulting Numbers: [20, 15] Generated Node #0,3,0: 29:[20, 15] Operation: 52-37=15 Exploring Operation: 37-20=17, Resulting Numbers: [52, 17] Generated Node #0,3,1: 29:[52, 17] Operation: 37-20=17 Exploring Operation: 52-20=32, Resulting Numbers: [37, 32] Generated Node #0,3,2: 29:[37, 32] Operation: 52-20=32 Exploring Operation: 20+52=72, Resulting Numbers: [37, 72] Generated Node #0,3,3: 29:[37, 72] Operation: 20+52=72 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[37, 32], Operations: ['42-5=37', '52-20=32'] Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,29 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,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:[20, 15], Operations: ['42-5=37', '52-37=15'] Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,29 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,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:[52, 17], Operations: ['42-5=37', '37-20=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,29 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,29 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,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:[37, 72], Operations: ['42-5=37', '20+52=72'] Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,29 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,29 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,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_4
mult_heuristic
[ 21, 27, 56, 7 ]
56
[ "21+27=48", "56/7=8", "48+8=56" ]
Current State: 56:[21, 27, 56, 7], Operations: [] Exploring Operation: 21+27=48, Resulting Numbers: [56, 7, 48] Generated Node #2: [56, 7, 48] from Operation: 21+27=48 Current State: 56:[56, 7, 48], Operations: ['21+27=48'] Exploring Operation: 56/7=8, Resulting Numbers: [48, 8] Generated Node #3: [48, 8] from Operation: 56/7=8 Current State: 56:[48, 8], Operations: ['21+27=48', '56/7=8'] Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[21, 27, 56, 7], Operations: [] Exploring Operation: 21/7=3, Resulting Numbers: [27, 56, 3] Generated Node #0,0: 56:[27, 56, 3] Operation: 21/7=3 Exploring Operation: 27-21=6, Resulting Numbers: [56, 7, 6] Generated Node #0,1: 56:[56, 7, 6] Operation: 27-21=6 Exploring Operation: 21-7=14, Resulting Numbers: [27, 56, 14] Generated Node #0,2: 56:[27, 56, 14] Operation: 21-7=14 Exploring Operation: 21+7=28, Resulting Numbers: [27, 56, 28] Generated Node #0,3: 56:[27, 56, 28] Operation: 21+7=28 Moving to Node #0,1 Current State: 56:[56, 7, 6], Operations: ['27-21=6'] Exploring Operation: 7+6=13, Resulting Numbers: [56, 13] Generated Node #0,1,0: 56:[56, 13] Operation: 7+6=13 Exploring Operation: 7-6=1, Resulting Numbers: [56, 1] Generated Node #0,1,1: 56:[56, 1] Operation: 7-6=1 Exploring Operation: 56+6=62, Resulting Numbers: [7, 62] Generated Node #0,1,2: 56:[7, 62] Operation: 56+6=62 Exploring Operation: 56/7=8, Resulting Numbers: [6, 8] Generated Node #0,1,3: 56:[6, 8] Operation: 56/7=8 Moving to Node #0,3 Current State: 56:[27, 56, 28], Operations: ['21+7=28'] Exploring Operation: 56-28=28, Resulting Numbers: [27, 28] Generated Node #0,3,0: 56:[27, 28] Operation: 56-28=28 Exploring Operation: 27+28=55, Resulting Numbers: [56, 55] Generated Node #0,3,1: 56:[56, 55] Operation: 27+28=55 Exploring Operation: 28-27=1, Resulting Numbers: [56, 1] Generated Node #0,3,2: 56:[56, 1] Operation: 28-27=1 Exploring Operation: 56-27=29, Resulting Numbers: [28, 29] Generated Node #0,3,3: 56:[28, 29] Operation: 56-27=29 Moving to Node #0,2 Current State: 56:[27, 56, 14], Operations: ['21-7=14'] Exploring Operation: 56/14=4, Resulting Numbers: [27, 4] Generated Node #0,2,0: 56:[27, 4] Operation: 56/14=4 Exploring Operation: 56-27=29, Resulting Numbers: [14, 29] Generated Node #0,2,1: 56:[14, 29] Operation: 56-27=29 Exploring Operation: 27-14=13, Resulting Numbers: [56, 13] Generated Node #0,2,2: 56:[56, 13] Operation: 27-14=13 Exploring Operation: 27+14=41, Resulting Numbers: [56, 41] Generated Node #0,2,3: 56:[56, 41] Operation: 27+14=41 Moving to Node #0,0 Current State: 56:[27, 56, 3], Operations: ['21/7=3'] Exploring Operation: 27-3=24, Resulting Numbers: [56, 24] Generated Node #0,0,0: 56:[56, 24] Operation: 27-3=24 Exploring Operation: 27+3=30, Resulting Numbers: [56, 30] Generated Node #0,0,1: 56:[56, 30] Operation: 27+3=30 Exploring Operation: 56-27=29, Resulting Numbers: [3, 29] Generated Node #0,0,2: 56:[3, 29] Operation: 56-27=29 Exploring Operation: 27/3=9, Resulting Numbers: [56, 9] Generated Node #0,0,3: 56:[56, 9] Operation: 27/3=9 Moving to Node #0,1,0 Current State: 56:[56, 13], Operations: ['27-21=6', '7+6=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,56 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[6, 8], Operations: ['27-21=6', '56/7=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[56, 1], Operations: ['21+7=28', '28-27=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[21, 27, 56, 7], Operations: [] Exploring Operation: 21+7=28, Resulting Numbers: [27, 56, 28] Generated Node #0,3: 56:[27, 56, 28] Operation: 21+7=28 Moving to Node #0,3 Current State: 56:[27, 56, 28], Operations: ['21+7=28'] Exploring Operation: 28-27=1, Resulting Numbers: [56, 1] Generated Node #0,3,2: 56:[56, 1] Operation: 28-27=1 Moving to Node #0,3,2 Current State: 56:[56, 1], Operations: ['21+7=28', '28-27=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.97309
hs_4
mult_heuristic
[ 44, 93, 37, 88 ]
100
[ "93-44=49", "88-37=51", "49+51=100" ]
Current State: 100:[44, 93, 37, 88], Operations: [] Exploring Operation: 93-44=49, Resulting Numbers: [37, 88, 49] Generated Node #2: [37, 88, 49] from Operation: 93-44=49 Current State: 100:[37, 88, 49], Operations: ['93-44=49'] Exploring Operation: 88-37=51, Resulting Numbers: [49, 51] Generated Node #3: [49, 51] from Operation: 88-37=51 Current State: 100:[49, 51], Operations: ['93-44=49', '88-37=51'] Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[44, 93, 37, 88], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [44, 93, 51] Generated Node #0,0: 100:[44, 93, 51] Operation: 88-37=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[44, 93, 51], Operations: ['88-37=51'] Exploring Operation: 93-44=49, Resulting Numbers: [51, 49] Generated Node #0,0,0: 100:[51, 49] Operation: 93-44=49 Moving to Node #0,0,0 Current State: 100:[51, 49], Operations: ['88-37=51', '93-44=49'] Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[44, 93, 37, 88], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [44, 93, 51] Generated Node #0,0: 100:[44, 93, 51] Operation: 88-37=51 Moving to Node #0,0 Current State: 100:[44, 93, 51], Operations: ['88-37=51'] Exploring Operation: 93-44=49, Resulting Numbers: [51, 49] Generated Node #0,0,0: 100:[51, 49] Operation: 93-44=49 Moving to Node #0,0,0 Current State: 100:[51, 49], Operations: ['88-37=51', '93-44=49'] Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 78, 22, 15, 15 ]
55
[ "78-22=56", "15/15=1", "56-1=55" ]
Current State: 55:[78, 22, 15, 15], Operations: [] Exploring Operation: 78-22=56, Resulting Numbers: [15, 15, 56] Generated Node #2: [15, 15, 56] from Operation: 78-22=56 Current State: 55:[15, 15, 56], Operations: ['78-22=56'] Exploring Operation: 15/15=1, Resulting Numbers: [56, 1] Generated Node #3: [56, 1] from Operation: 15/15=1 Current State: 55:[56, 1], Operations: ['78-22=56', '15/15=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[78, 22, 15, 15], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [78, 15, 7] Generated Node #0,0: 55:[78, 15, 7] Operation: 22-15=7 Exploring Operation: 78-15=63, Resulting Numbers: [22, 15, 63] Generated Node #0,1: 55:[22, 15, 63] Operation: 78-15=63 Exploring Operation: 78-15=63, Resulting Numbers: [22, 15, 63] Generated Node #0,2: 55:[22, 15, 63] Operation: 78-15=63 Exploring Operation: 22-15=7, Resulting Numbers: [78, 15, 7] Generated Node #0,3: 55:[78, 15, 7] Operation: 22-15=7 Exploring Operation: 78-22=56, Resulting Numbers: [15, 15, 56] Generated Node #0,4: 55:[15, 15, 56] Operation: 78-22=56 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[15, 15, 56], Operations: ['78-22=56'] Exploring Operation: 15-15=0, Resulting Numbers: [56, 0] Generated Node #0,4,0: 55:[56, 0] Operation: 15-15=0 Exploring Operation: 15/15=1, Resulting Numbers: [56, 1] Generated Node #0,4,1: 55:[56, 1] Operation: 15/15=1 Exploring Operation: 15+15=30, Resulting Numbers: [56, 30] Generated Node #0,4,2: 55:[56, 30] Operation: 15+15=30 Exploring Operation: 56-15=41, Resulting Numbers: [15, 41] Generated Node #0,4,3: 55:[15, 41] Operation: 56-15=41 Exploring Operation: 56-15=41, Resulting Numbers: [15, 41] Generated Node #0,4,4: 55:[15, 41] Operation: 56-15=41 Moving to Node #0,4,1 Current State: 55:[56, 1], Operations: ['78-22=56', '15/15=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[78, 22, 15, 15], Operations: [] Exploring Operation: 78-22=56, Resulting Numbers: [15, 15, 56] Generated Node #0,4: 55:[15, 15, 56] Operation: 78-22=56 Moving to Node #0,4 Current State: 55:[15, 15, 56], Operations: ['78-22=56'] Exploring Operation: 15/15=1, Resulting Numbers: [56, 1] Generated Node #0,4,1: 55:[56, 1] Operation: 15/15=1 Moving to Node #0,4,1 Current State: 55:[56, 1], Operations: ['78-22=56', '15/15=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 43, 46, 35, 62 ]
49
[ "43+62=105", "105/35=3", "46+3=49" ]
Current State: 49:[43, 46, 35, 62], Operations: [] Exploring Operation: 43+62=105, Resulting Numbers: [46, 35, 105] Generated Node #2: [46, 35, 105] from Operation: 43+62=105 Current State: 49:[46, 35, 105], Operations: ['43+62=105'] Exploring Operation: 105/35=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 105/35=3 Current State: 49:[46, 3], Operations: ['43+62=105', '105/35=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[43, 46, 35, 62], Operations: [] Exploring Operation: 43-35=8, Resulting Numbers: [46, 62, 8] Generated Node #0,0: 49:[46, 62, 8] Operation: 43-35=8 Moving to Node #0,0 Current State: 49:[46, 62, 8], Operations: ['43-35=8'] Exploring Operation: 62-8=54, Resulting Numbers: [46, 54] Generated Node #0,0,0: 49:[46, 54] Operation: 62-8=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[46, 54], Operations: ['43-35=8', '62-8=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,49 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
[ 86, 4, 58, 12 ]
25
[ "86-58=28", "12/4=3", "28-3=25" ]
Current State: 25:[86, 4, 58, 12], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [4, 12, 28] Generated Node #2: [4, 12, 28] from Operation: 86-58=28 Current State: 25:[4, 12, 28], Operations: ['86-58=28'] Exploring Operation: 12/4=3, Resulting Numbers: [28, 3] Generated Node #3: [28, 3] from Operation: 12/4=3 Current State: 25:[28, 3], Operations: ['86-58=28', '12/4=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[86, 4, 58, 12], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [4, 12, 28] Generated Node #0,0: 25:[4, 12, 28] Operation: 86-58=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[4, 12, 28], Operations: ['86-58=28'] Exploring Operation: 12/4=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 25:[28, 3] Operation: 12/4=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[28, 3], Operations: ['86-58=28', '12/4=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[86, 4, 58, 12], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [4, 12, 28] Generated Node #0,0: 25:[4, 12, 28] Operation: 86-58=28 Moving to Node #0,0 Current State: 25:[4, 12, 28], Operations: ['86-58=28'] Exploring Operation: 12/4=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 25:[28, 3] Operation: 12/4=3 Moving to Node #0,0,0 Current State: 25:[28, 3], Operations: ['86-58=28', '12/4=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 61, 76, 62, 88 ]
12
[ "62-61=1", "88-76=12", "1*12=12" ]
Current State: 12:[61, 76, 62, 88], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [76, 88, 1] Generated Node #2: [76, 88, 1] from Operation: 62-61=1 Current State: 12:[76, 88, 1], Operations: ['62-61=1'] Exploring Operation: 88-76=12, Resulting Numbers: [1, 12] Generated Node #3: [1, 12] from Operation: 88-76=12 Current State: 12:[1, 12], Operations: ['62-61=1', '88-76=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[61, 76, 62, 88], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [61, 88, 14] Generated Node #0,0: 12:[61, 88, 14] Operation: 76-62=14 Exploring Operation: 88-76=12, Resulting Numbers: [61, 62, 12] Generated Node #0,1: 12:[61, 62, 12] Operation: 88-76=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[61, 62, 12], Operations: ['88-76=12'] Exploring Operation: 62-61=1, Resulting Numbers: [12, 1] Generated Node #0,1,0: 12:[12, 1] Operation: 62-61=1 Exploring Operation: 61-12=49, Resulting Numbers: [62, 49] Generated Node #0,1,1: 12:[62, 49] Operation: 61-12=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[12, 1], Operations: ['88-76=12', '62-61=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[61, 76, 62, 88], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [61, 62, 12] Generated Node #0,1: 12:[61, 62, 12] Operation: 88-76=12 Moving to Node #0,1 Current State: 12:[61, 62, 12], Operations: ['88-76=12'] Exploring Operation: 62-61=1, Resulting Numbers: [12, 1] Generated Node #0,1,0: 12:[12, 1] Operation: 62-61=1 Moving to Node #0,1,0 Current State: 12:[12, 1], Operations: ['88-76=12', '62-61=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 42, 99, 20, 28 ]
46
[ "99*28=2772", "2772/42=66", "66-20=46" ]
Current State: 46:[42, 99, 20, 28], Operations: [] Exploring Operation: 99*28=2772, Resulting Numbers: [42, 20, 2772] Generated Node #2: [42, 20, 2772] from Operation: 99*28=2772 Current State: 46:[42, 20, 2772], Operations: ['99*28=2772'] Exploring Operation: 2772/42=66, Resulting Numbers: [20, 66] Generated Node #3: [20, 66] from Operation: 2772/42=66 Current State: 46:[20, 66], Operations: ['99*28=2772', '2772/42=66'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[42, 99, 20, 28], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [20, 28, 57] Generated Node #0,0: 46:[20, 28, 57] Operation: 99-42=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[20, 28, 57], Operations: ['99-42=57'] Exploring Operation: 57-28=29, Resulting Numbers: [20, 29] Generated Node #0,0,0: 46:[20, 29] Operation: 57-28=29 Moving to Node #0,0,0 Current State: 46:[20, 29], Operations: ['99-42=57', '57-28=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,46 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
[ 58, 52, 16, 13 ]
98
[ "58+52=110", "16*13=208", "208-110=98" ]
Current State: 98:[58, 52, 16, 13], Operations: [] Exploring Operation: 58+52=110, Resulting Numbers: [16, 13, 110] Generated Node #2: [16, 13, 110] from Operation: 58+52=110 Current State: 98:[16, 13, 110], Operations: ['58+52=110'] Exploring Operation: 16*13=208, Resulting Numbers: [110, 208] Generated Node #3: [110, 208] from Operation: 16*13=208 Current State: 98:[110, 208], Operations: ['58+52=110', '16*13=208'] Exploring Operation: 208-110=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[58, 52, 16, 13], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [16, 13, 6] Generated Node #0,0: 98:[16, 13, 6] Operation: 58-52=6 Exploring Operation: 58-13=45, Resulting Numbers: [52, 16, 45] Generated Node #0,1: 98:[52, 16, 45] Operation: 58-13=45 Exploring Operation: 52/13=4, Resulting Numbers: [58, 16, 4] Generated Node #0,2: 98:[58, 16, 4] Operation: 52/13=4 Exploring Operation: 58-16=42, Resulting Numbers: [52, 13, 42] Generated Node #0,3: 98:[52, 13, 42] Operation: 58-16=42 Exploring Operation: 16-13=3, Resulting Numbers: [58, 52, 3] Generated Node #0,4: 98:[58, 52, 3] Operation: 16-13=3 Moving to Node #0,0 Current State: 98:[16, 13, 6], Operations: ['58-52=6'] Exploring Operation: 16-6=10, Resulting Numbers: [13, 10] Generated Node #0,0,0: 98:[13, 10] Operation: 16-6=10 Exploring Operation: 13+6=19, Resulting Numbers: [16, 19] Generated Node #0,0,1: 98:[16, 19] Operation: 13+6=19 Exploring Operation: 16*6=96, Resulting Numbers: [13, 96] Generated Node #0,0,2: 98:[13, 96] Operation: 16*6=96 Exploring Operation: 16-13=3, Resulting Numbers: [6, 3] Generated Node #0,0,3: 98:[6, 3] Operation: 16-13=3 Exploring Operation: 13-6=7, Resulting Numbers: [16, 7] Generated Node #0,0,4: 98:[16, 7] Operation: 13-6=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 98:[6, 3], Operations: ['58-52=6', '16-13=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 98:[16, 7], Operations: ['58-52=6', '13-6=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[13, 96], Operations: ['58-52=6', '16*6=96'] Exploring Operation: 13+96=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 13*96=1248, Resulting Numbers: [1248] 1248,98 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[13, 10], Operations: ['58-52=6', '16-6=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,98 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[16, 19], Operations: ['58-52=6', '13+6=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,98 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,98 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: 98:[52, 16, 45], Operations: ['58-13=45'] Exploring Operation: 52-45=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 98:[16, 7] Operation: 52-45=7 Exploring Operation: 52-16=36, Resulting Numbers: [45, 36] Generated Node #0,1,1: 98:[45, 36] Operation: 52-16=36 Exploring Operation: 45-16=29, Resulting Numbers: [52, 29] Generated Node #0,1,2: 98:[52, 29] Operation: 45-16=29 Exploring Operation: 52+45=97, Resulting Numbers: [16, 97] Generated Node #0,1,3: 98:[16, 97] Operation: 52+45=97 Exploring Operation: 16+45=61, Resulting Numbers: [52, 61] Generated Node #0,1,4: 98:[52, 61] Operation: 16+45=61 Moving to Node #0,3 Current State: 98:[52, 13, 42], Operations: ['58-16=42'] Exploring Operation: 13+42=55, Resulting Numbers: [52, 55] Generated Node #0,3,0: 98:[52, 55] Operation: 13+42=55 Exploring Operation: 52/13=4, Resulting Numbers: [42, 4] Generated Node #0,3,1: 98:[42, 4] Operation: 52/13=4 Exploring Operation: 52+42=94, Resulting Numbers: [13, 94] Generated Node #0,3,2: 98:[13, 94] Operation: 52+42=94 Exploring Operation: 52-42=10, Resulting Numbers: [13, 10] Generated Node #0,3,3: 98:[13, 10] Operation: 52-42=10 Exploring Operation: 52-13=39, Resulting Numbers: [42, 39] Generated Node #0,3,4: 98:[42, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[13, 10], Operations: ['58-16=42', '52-42=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,98 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[13, 94], Operations: ['58-16=42', '52+42=94'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 13*94=1222, Resulting Numbers: [1222] 1222,98 unequal: No Solution Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[52, 55], Operations: ['58-16=42', '13+42=55'] Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,98 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[42, 4], Operations: ['58-16=42', '52/13=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 98:[42, 39], Operations: ['58-16=42', '52-13=39'] Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,98 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,98 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: 98:[58, 16, 4], Operations: ['52/13=4'] Exploring Operation: 16-4=12, Resulting Numbers: [58, 12] Generated Node #0,2,0: 98:[58, 12] Operation: 16-4=12 Exploring Operation: 58-4=54, Resulting Numbers: [16, 54] Generated Node #0,2,1: 98:[16, 54] Operation: 58-4=54 Exploring Operation: 58+4=62, Resulting Numbers: [16, 62] Generated Node #0,2,2: 98:[16, 62] Operation: 58+4=62 Exploring Operation: 16/4=4, Resulting Numbers: [58, 4] Generated Node #0,2,3: 98:[58, 4] Operation: 16/4=4 Exploring Operation: 58-16=42, Resulting Numbers: [4, 42] Generated Node #0,2,4: 98:[4, 42] Operation: 58-16=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[16, 54], Operations: ['52/13=4', '58-4=54'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,98 unequal: No Solution Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 98:[4, 42], Operations: ['52/13=4', '58-16=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[58, 12], Operations: ['52/13=4', '16-4=12'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,98 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 98:[58, 4], Operations: ['52/13=4', '16/4=4'] Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,98 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[16, 62], Operations: ['52/13=4', '58+4=62'] Exploring Operation: 16*62=992, Resulting Numbers: [992] 992,98 unequal: No Solution Exploring Operation: 16+62=78, Resulting Numbers: [78] 78,98 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,98 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: 98:[58, 52, 3], Operations: ['16-13=3'] Exploring Operation: 58-3=55, Resulting Numbers: [52, 55] Generated Node #0,4,0: 98:[52, 55] Operation: 58-3=55 Exploring Operation: 58-52=6, Resulting Numbers: [3, 6] Generated Node #0,4,1: 98:[3, 6] Operation: 58-52=6 Exploring Operation: 58+52=110, Resulting Numbers: [3, 110] Generated Node #0,4,2: 98:[3, 110] Operation: 58+52=110 Exploring Operation: 52-3=49, Resulting Numbers: [58, 49] Generated Node #0,4,3: 98:[58, 49] Operation: 52-3=49 Exploring Operation: 58+3=61, Resulting Numbers: [52, 61] Generated Node #0,4,4: 98:[52, 61] Operation: 58+3=61 Moving to Node #0,1,0 Current State: 98:[16, 7], Operations: ['58-13=45', '52-45=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[3, 6], Operations: ['16-13=3', '58-52=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[16, 97], Operations: ['58-13=45', '52+45=97'] Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,98 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[52, 55], Operations: ['16-13=3', '58-3=55'] Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[58, 49], Operations: ['16-13=3', '52-3=49'] Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 58*49=2842, Resulting Numbers: [2842] 2842,98 unequal: No Solution Exploring Operation: 58+49=107, Resulting Numbers: [107] 107,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[3, 110], Operations: ['16-13=3', '58+52=110'] Exploring Operation: 3+110=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 110-3=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 3*110=330, Resulting Numbers: [330] 330,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[52, 61], Operations: ['58-13=45', '16+45=61'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 52*61=3172, Resulting Numbers: [3172] 3172,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[52, 61], Operations: ['16-13=3', '58+3=61'] Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 52*61=3172, Resulting Numbers: [3172] 3172,98 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[45, 36], Operations: ['58-13=45', '52-16=36'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[52, 29], Operations: ['58-13=45', '45-16=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,98 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,98 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 56, 24, 30, 70 ]
35
[ "56-24=32", "32-30=2", "70/2=35" ]
Current State: 35:[56, 24, 30, 70], Operations: [] Exploring Operation: 56-24=32, Resulting Numbers: [30, 70, 32] Generated Node #2: [30, 70, 32] from Operation: 56-24=32 Current State: 35:[30, 70, 32], Operations: ['56-24=32'] Exploring Operation: 32-30=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 32-30=2 Current State: 35:[70, 2], Operations: ['56-24=32', '32-30=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[56, 24, 30, 70], Operations: [] Exploring Operation: 70-24=46, Resulting Numbers: [56, 30, 46] Generated Node #0,0: 35:[56, 30, 46] Operation: 70-24=46 Exploring Operation: 56-30=26, Resulting Numbers: [24, 70, 26] Generated Node #0,1: 35:[24, 70, 26] Operation: 56-30=26 Exploring Operation: 70-30=40, Resulting Numbers: [56, 24, 40] Generated Node #0,2: 35:[56, 24, 40] Operation: 70-30=40 Exploring Operation: 56-24=32, Resulting Numbers: [30, 70, 32] Generated Node #0,3: 35:[30, 70, 32] Operation: 56-24=32 Exploring Operation: 70-56=14, Resulting Numbers: [24, 30, 14] Generated Node #0,4: 35:[24, 30, 14] Operation: 70-56=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[24, 30, 14], Operations: ['70-56=14'] Exploring Operation: 30+14=44, Resulting Numbers: [24, 44] Generated Node #0,4,0: 35:[24, 44] Operation: 30+14=44 Exploring Operation: 24-14=10, Resulting Numbers: [30, 10] Generated Node #0,4,1: 35:[30, 10] Operation: 24-14=10 Exploring Operation: 30-14=16, Resulting Numbers: [24, 16] Generated Node #0,4,2: 35:[24, 16] Operation: 30-14=16 Exploring Operation: 30-24=6, Resulting Numbers: [14, 6] Generated Node #0,4,3: 35:[14, 6] Operation: 30-24=6 Exploring Operation: 24+14=38, Resulting Numbers: [30, 38] Generated Node #0,4,4: 35:[30, 38] Operation: 24+14=38 Moving to Node #0,4,1 Current State: 35:[30, 10], Operations: ['70-56=14', '24-14=10'] Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,35 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,35 unequal: No Solution Moving to Node #0,4,4 Current State: 35:[30, 38], Operations: ['70-56=14', '24+14=38'] Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,35 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,35 unequal: No Solution Moving to Node #0,4,3 Current State: 35:[14, 6], Operations: ['70-56=14', '30-24=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,35 unequal: No Solution Moving to Node #0,4,0 Current State: 35:[24, 44], Operations: ['70-56=14', '30+14=44'] Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,35 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,35 unequal: No Solution Moving to Node #0,4,2 Current State: 35:[24, 16], Operations: ['70-56=14', '30-14=16'] Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,35 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[56, 30, 46], Operations: ['70-24=46'] Exploring Operation: 46-30=16, Resulting Numbers: [56, 16] Generated Node #0,0,0: 35:[56, 16] Operation: 46-30=16 Exploring Operation: 56-46=10, Resulting Numbers: [30, 10] Generated Node #0,0,1: 35:[30, 10] Operation: 56-46=10 Exploring Operation: 56+30=86, Resulting Numbers: [46, 86] Generated Node #0,0,2: 35:[46, 86] Operation: 56+30=86 Exploring Operation: 56-30=26, Resulting Numbers: [46, 26] Generated Node #0,0,3: 35:[46, 26] Operation: 56-30=26 Exploring Operation: 30+46=76, Resulting Numbers: [56, 76] Generated Node #0,0,4: 35:[56, 76] Operation: 30+46=76 Moving to Node #0,0,1 Current State: 35:[30, 10], Operations: ['70-24=46', '56-46=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,35 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[46, 26], Operations: ['70-24=46', '56-30=26'] Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,35 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[56, 16], Operations: ['70-24=46', '46-30=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,35 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[46, 86], Operations: ['70-24=46', '56+30=86'] Exploring Operation: 46+86=132, Resulting Numbers: [132] 132,35 unequal: No Solution Exploring Operation: 46*86=3956, Resulting Numbers: [3956] 3956,35 unequal: No Solution Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[56, 76], Operations: ['70-24=46', '30+46=76'] Exploring Operation: 56+76=132, Resulting Numbers: [132] 132,35 unequal: No Solution Exploring Operation: 56*76=4256, Resulting Numbers: [4256] 4256,35 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[56, 24, 40], Operations: ['70-30=40'] Exploring Operation: 24+40=64, Resulting Numbers: [56, 64] Generated Node #0,2,0: 35:[56, 64] Operation: 24+40=64 Exploring Operation: 56-24=32, Resulting Numbers: [40, 32] Generated Node #0,2,1: 35:[40, 32] Operation: 56-24=32 Exploring Operation: 40-24=16, Resulting Numbers: [56, 16] Generated Node #0,2,2: 35:[56, 16] Operation: 40-24=16 Exploring Operation: 56+24=80, Resulting Numbers: [40, 80] Generated Node #0,2,3: 35:[40, 80] Operation: 56+24=80 Exploring Operation: 56-40=16, Resulting Numbers: [24, 16] Generated Node #0,2,4: 35:[24, 16] Operation: 56-40=16 Moving to Node #0,2,1 Current State: 35:[40, 32], Operations: ['70-30=40', '56-24=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[24, 16], Operations: ['70-30=40', '56-40=16'] Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,35 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[56, 16], Operations: ['70-30=40', '40-24=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,35 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[56, 64], Operations: ['70-30=40', '24+40=64'] Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,35 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[40, 80], Operations: ['70-30=40', '56+24=80'] Exploring Operation: 40+80=120, Resulting Numbers: [120] 120,35 unequal: No Solution Exploring Operation: 40*80=3200, Resulting Numbers: [3200] 3200,35 unequal: No Solution Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[30, 70, 32], Operations: ['56-24=32'] Exploring Operation: 70-30=40, Resulting Numbers: [32, 40] Generated Node #0,3,0: 35:[32, 40] Operation: 70-30=40 Exploring Operation: 32-30=2, Resulting Numbers: [70, 2] Generated Node #0,3,1: 35:[70, 2] Operation: 32-30=2 Exploring Operation: 30+70=100, Resulting Numbers: [32, 100] Generated Node #0,3,2: 35:[32, 100] Operation: 30+70=100 Exploring Operation: 70-32=38, Resulting Numbers: [30, 38] Generated Node #0,3,3: 35:[30, 38] Operation: 70-32=38 Exploring Operation: 30+32=62, Resulting Numbers: [70, 62] Generated Node #0,3,4: 35:[70, 62] Operation: 30+32=62 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[32, 40], Operations: ['56-24=32', '70-30=40'] Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,35 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,35 unequal: No Solution No 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: 35:[30, 38], Operations: ['56-24=32', '70-32=38'] Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,35 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,35 unequal: No Solution No 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: 35:[70, 2], Operations: ['56-24=32', '32-30=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[56, 24, 30, 70], Operations: [] Exploring Operation: 56-24=32, Resulting Numbers: [30, 70, 32] Generated Node #0,3: 35:[30, 70, 32] Operation: 56-24=32 Moving to Node #0,3 Current State: 35:[30, 70, 32], Operations: ['56-24=32'] Exploring Operation: 32-30=2, Resulting Numbers: [70, 2] Generated Node #0,3,1: 35:[70, 2] Operation: 32-30=2 Moving to Node #0,3,1 Current State: 35:[70, 2], Operations: ['56-24=32', '32-30=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.926215
hs_5
mult_heuristic
[ 31, 70, 3, 83 ]
82
[ "70+83=153", "153/3=51", "31+51=82" ]
Current State: 82:[31, 70, 3, 83], Operations: [] Exploring Operation: 70+83=153, Resulting Numbers: [31, 3, 153] Generated Node #2: [31, 3, 153] from Operation: 70+83=153 Current State: 82:[31, 3, 153], Operations: ['70+83=153'] Exploring Operation: 153/3=51, Resulting Numbers: [31, 51] Generated Node #3: [31, 51] from Operation: 153/3=51 Current State: 82:[31, 51], Operations: ['70+83=153', '153/3=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[31, 70, 3, 83], Operations: [] Exploring Operation: 31+3=34, Resulting Numbers: [70, 83, 34] Generated Node #0,0: 82:[70, 83, 34] Operation: 31+3=34 Exploring Operation: 70-31=39, Resulting Numbers: [3, 83, 39] Generated Node #0,1: 82:[3, 83, 39] Operation: 70-31=39 Moving to Node #0,1 Current State: 82:[3, 83, 39], Operations: ['70-31=39'] Exploring Operation: 83-3=80, Resulting Numbers: [39, 80] Generated Node #0,1,0: 82:[39, 80] Operation: 83-3=80 Exploring Operation: 3+39=42, Resulting Numbers: [83, 42] Generated Node #0,1,1: 82:[83, 42] Operation: 3+39=42 Moving to Node #0,0 Current State: 82:[70, 83, 34], Operations: ['31+3=34'] Exploring Operation: 83-70=13, Resulting Numbers: [34, 13] Generated Node #0,0,0: 82:[34, 13] Operation: 83-70=13 Exploring Operation: 70-34=36, Resulting Numbers: [83, 36] Generated Node #0,0,1: 82:[83, 36] Operation: 70-34=36 Moving to Node #0,1,1 Current State: 82:[83, 42], Operations: ['70-31=39', '3+39=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[39, 80], Operations: ['70-31=39', '83-3=80'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 39+80=119, Resulting Numbers: [119] 119,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[83, 36], Operations: ['31+3=34', '70-34=36'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[34, 13], Operations: ['31+3=34', '83-70=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,82 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 75, 1, 31, 91 ]
16
[ "75+1=76", "91-31=60", "76-60=16" ]
Current State: 16:[75, 1, 31, 91], Operations: [] Exploring Operation: 75+1=76, Resulting Numbers: [31, 91, 76] Generated Node #2: [31, 91, 76] from Operation: 75+1=76 Current State: 16:[31, 91, 76], Operations: ['75+1=76'] Exploring Operation: 91-31=60, Resulting Numbers: [76, 60] Generated Node #3: [76, 60] from Operation: 91-31=60 Current State: 16:[76, 60], Operations: ['75+1=76', '91-31=60'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[75, 1, 31, 91], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [1, 91, 44] Generated Node #0,0: 16:[1, 91, 44] Operation: 75-31=44 Exploring Operation: 91-31=60, Resulting Numbers: [75, 1, 60] Generated Node #0,1: 16:[75, 1, 60] Operation: 91-31=60 Exploring Operation: 91-75=16, Resulting Numbers: [1, 31, 16] Generated Node #0,2: 16:[1, 31, 16] Operation: 91-75=16 Exploring Operation: 75-1=74, Resulting Numbers: [31, 91, 74] Generated Node #0,3: 16:[31, 91, 74] Operation: 75-1=74 Moving to Node #0,2 Current State: 16:[1, 31, 16], Operations: ['91-75=16'] Exploring Operation: 1*31=31, Resulting Numbers: [16, 31] Generated Node #0,2,0: 16:[16, 31] Operation: 1*31=31 Exploring Operation: 31-1=30, Resulting Numbers: [16, 30] Generated Node #0,2,1: 16:[16, 30] Operation: 31-1=30 Exploring Operation: 31/1=31, Resulting Numbers: [16, 31] Generated Node #0,2,2: 16:[16, 31] Operation: 31/1=31 Exploring Operation: 31-16=15, Resulting Numbers: [1, 15] Generated Node #0,2,3: 16:[1, 15] Operation: 31-16=15 Moving to Node #0,1 Current State: 16:[75, 1, 60], Operations: ['91-31=60'] Exploring Operation: 75-1=74, Resulting Numbers: [60, 74] Generated Node #0,1,0: 16:[60, 74] Operation: 75-1=74 Exploring Operation: 75-60=15, Resulting Numbers: [1, 15] Generated Node #0,1,1: 16:[1, 15] Operation: 75-60=15 Exploring Operation: 60-1=59, Resulting Numbers: [75, 59] Generated Node #0,1,2: 16:[75, 59] Operation: 60-1=59 Exploring Operation: 75*1=75, Resulting Numbers: [60, 75] Generated Node #0,1,3: 16:[60, 75] Operation: 75*1=75 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[1, 15], Operations: ['91-31=60', '75-60=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[75, 1, 31, 91], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [75, 1, 60] Generated Node #0,1: 16:[75, 1, 60] Operation: 91-31=60 Moving to Node #0,1 Current State: 16:[75, 1, 60], Operations: ['91-31=60'] Exploring Operation: 75-60=15, Resulting Numbers: [1, 15] Generated Node #0,1,1: 16:[1, 15] Operation: 75-60=15 Moving to Node #0,1,1 Current State: 16:[1, 15], Operations: ['91-31=60', '75-60=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 6, 91, 77, 14 ]
14
[ "91+77=168", "168/6=28", "28-14=14" ]
Current State: 14:[6, 91, 77, 14], Operations: [] Exploring Operation: 91+77=168, Resulting Numbers: [6, 14, 168] Generated Node #2: [6, 14, 168] from Operation: 91+77=168 Current State: 14:[6, 14, 168], Operations: ['91+77=168'] Exploring Operation: 168/6=28, Resulting Numbers: [14, 28] Generated Node #3: [14, 28] from Operation: 168/6=28 Current State: 14:[14, 28], Operations: ['91+77=168', '168/6=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[6, 91, 77, 14], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [6, 14, 14] Generated Node #0,0: 14:[6, 14, 14] Operation: 91-77=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[6, 14, 14], Operations: ['91-77=14'] Exploring Operation: 14-6=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 14:[14, 8] Operation: 14-6=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[14, 8], Operations: ['91-77=14', '14-6=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 17, 64, 17, 48 ]
15
[ "17/17=1", "64-48=16", "16-1=15" ]
Current State: 15:[17, 64, 17, 48], Operations: [] Exploring Operation: 17/17=1, Resulting Numbers: [64, 48, 1] Generated Node #2: [64, 48, 1] from Operation: 17/17=1 Current State: 15:[64, 48, 1], Operations: ['17/17=1'] Exploring Operation: 64-48=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 64-48=16 Current State: 15:[1, 16], Operations: ['17/17=1', '64-48=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[17, 64, 17, 48], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [17, 48, 47] Generated Node #0,0: 15:[17, 48, 47] Operation: 64-17=47 Exploring Operation: 64-48=16, Resulting Numbers: [17, 17, 16] Generated Node #0,1: 15:[17, 17, 16] Operation: 64-48=16 Moving to Node #0,1 Current State: 15:[17, 17, 16], Operations: ['64-48=16'] Exploring Operation: 17/17=1, Resulting Numbers: [16, 1] Generated Node #0,1,0: 15:[16, 1] Operation: 17/17=1 Exploring Operation: 17-17=0, Resulting Numbers: [16, 0] Generated Node #0,1,1: 15:[16, 0] Operation: 17-17=0 Moving to Node #0,0 Current State: 15:[17, 48, 47], Operations: ['64-17=47'] Exploring Operation: 48-17=31, Resulting Numbers: [47, 31] Generated Node #0,0,0: 15:[47, 31] Operation: 48-17=31 Exploring Operation: 48-47=1, Resulting Numbers: [17, 1] Generated Node #0,0,1: 15:[17, 1] Operation: 48-47=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[17, 1], Operations: ['64-17=47', '48-47=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[47, 31], Operations: ['64-17=47', '48-17=31'] Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,15 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 15:[16, 1], Operations: ['64-48=16', '17/17=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[17, 64, 17, 48], Operations: [] Exploring Operation: 64-48=16, Resulting Numbers: [17, 17, 16] Generated Node #0,1: 15:[17, 17, 16] Operation: 64-48=16 Moving to Node #0,1 Current State: 15:[17, 17, 16], Operations: ['64-48=16'] Exploring Operation: 17/17=1, Resulting Numbers: [16, 1] Generated Node #0,1,0: 15:[16, 1] Operation: 17/17=1 Moving to Node #0,1,0 Current State: 15:[16, 1], Operations: ['64-48=16', '17/17=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 57, 29, 42, 29 ]
100
[ "57+42=99", "29/29=1", "99+1=100" ]
Current State: 100:[57, 29, 42, 29], Operations: [] Exploring Operation: 57+42=99, Resulting Numbers: [29, 29, 99] Generated Node #2: [29, 29, 99] from Operation: 57+42=99 Current State: 100:[29, 29, 99], Operations: ['57+42=99'] Exploring Operation: 29/29=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 29/29=1 Current State: 100:[99, 1], Operations: ['57+42=99', '29/29=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[57, 29, 42, 29], Operations: [] Exploring Operation: 57+42=99, Resulting Numbers: [29, 29, 99] Generated Node #0,0: 100:[29, 29, 99] Operation: 57+42=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[29, 29, 99], Operations: ['57+42=99'] Exploring Operation: 29/29=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 100:[99, 1] Operation: 29/29=1 Moving to Node #0,0,0 Current State: 100:[99, 1], Operations: ['57+42=99', '29/29=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[57, 29, 42, 29], Operations: [] Exploring Operation: 57+42=99, Resulting Numbers: [29, 29, 99] Generated Node #0,0: 100:[29, 29, 99] Operation: 57+42=99 Moving to Node #0,0 Current State: 100:[29, 29, 99], Operations: ['57+42=99'] Exploring Operation: 29/29=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 100:[99, 1] Operation: 29/29=1 Moving to Node #0,0,0 Current State: 100:[99, 1], Operations: ['57+42=99', '29/29=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 56, 99, 5, 62 ]
69
[ "62-56=6", "5*6=30", "99-30=69" ]
Current State: 69:[56, 99, 5, 62], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [99, 5, 6] Generated Node #2: [99, 5, 6] from Operation: 62-56=6 Current State: 69:[99, 5, 6], Operations: ['62-56=6'] Exploring Operation: 5*6=30, Resulting Numbers: [99, 30] Generated Node #3: [99, 30] from Operation: 5*6=30 Current State: 69:[99, 30], Operations: ['62-56=6', '5*6=30'] Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[56, 99, 5, 62], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [99, 5, 6] Generated Node #0,0: 69:[99, 5, 6] Operation: 62-56=6 Exploring Operation: 99-56=43, Resulting Numbers: [5, 62, 43] Generated Node #0,1: 69:[5, 62, 43] Operation: 99-56=43 Exploring Operation: 56+5=61, Resulting Numbers: [99, 62, 61] Generated Node #0,2: 69:[99, 62, 61] Operation: 56+5=61 Exploring Operation: 99-62=37, Resulting Numbers: [56, 5, 37] Generated Node #0,3: 69:[56, 5, 37] Operation: 99-62=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[5, 62, 43], Operations: ['99-56=43'] Exploring Operation: 62-43=19, Resulting Numbers: [5, 19] Generated Node #0,1,0: 69:[5, 19] Operation: 62-43=19 Exploring Operation: 43-5=38, Resulting Numbers: [62, 38] Generated Node #0,1,1: 69:[62, 38] Operation: 43-5=38 Exploring Operation: 5+62=67, Resulting Numbers: [43, 67] Generated Node #0,1,2: 69:[43, 67] Operation: 5+62=67 Exploring Operation: 5+43=48, Resulting Numbers: [62, 48] Generated Node #0,1,3: 69:[62, 48] Operation: 5+43=48 Moving to Node #0,1,0 Current State: 69:[5, 19], Operations: ['99-56=43', '62-43=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[43, 67], Operations: ['99-56=43', '5+62=67'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,69 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[62, 38], Operations: ['99-56=43', '43-5=38'] Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,69 unequal: No Solution Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[62, 48], Operations: ['99-56=43', '5+43=48'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,69 unequal: No Solution Exploring Operation: 62*48=2976, Resulting Numbers: [2976] 2976,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[56, 5, 37], Operations: ['99-62=37'] Exploring Operation: 56-37=19, Resulting Numbers: [5, 19] Generated Node #0,3,0: 69:[5, 19] Operation: 56-37=19 Exploring Operation: 56+37=93, Resulting Numbers: [5, 93] Generated Node #0,3,1: 69:[5, 93] Operation: 56+37=93 Exploring Operation: 56+5=61, Resulting Numbers: [37, 61] Generated Node #0,3,2: 69:[37, 61] Operation: 56+5=61 Exploring Operation: 37-5=32, Resulting Numbers: [56, 32] Generated Node #0,3,3: 69:[56, 32] Operation: 37-5=32 Moving to Node #0,3,0 Current State: 69:[5, 19], Operations: ['99-62=37', '56-37=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[56, 32], Operations: ['99-62=37', '37-5=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,69 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[37, 61], Operations: ['99-62=37', '56+5=61'] Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,69 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[5, 93], Operations: ['99-62=37', '56+37=93'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,69 unequal: No Solution Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[99, 5, 6], Operations: ['62-56=6'] Exploring Operation: 99-5=94, Resulting Numbers: [6, 94] Generated Node #0,0,0: 69:[6, 94] Operation: 99-5=94 Exploring Operation: 99-6=93, Resulting Numbers: [5, 93] Generated Node #0,0,1: 69:[5, 93] Operation: 99-6=93 Exploring Operation: 5*6=30, Resulting Numbers: [99, 30] Generated Node #0,0,2: 69:[99, 30] Operation: 5*6=30 Exploring Operation: 6-5=1, Resulting Numbers: [99, 1] Generated Node #0,0,3: 69:[99, 1] Operation: 6-5=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[5, 93], Operations: ['62-56=6', '99-6=93'] Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,69 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[6, 94], Operations: ['62-56=6', '99-5=94'] Exploring Operation: 6+94=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 6*94=564, Resulting Numbers: [564] 564,69 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[99, 1], Operations: ['62-56=6', '6-5=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,69 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[99, 30], Operations: ['62-56=6', '5*6=30'] Exploring Operation: 99+30=129, Resulting Numbers: [129] 129,69 unequal: No Solution Exploring Operation: 99*30=2970, Resulting Numbers: [2970] 2970,69 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[56, 99, 5, 62], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [99, 5, 6] Generated Node #0,0: 69:[99, 5, 6] Operation: 62-56=6 Moving to Node #0,0 Current State: 69:[99, 5, 6], Operations: ['62-56=6'] Exploring Operation: 5*6=30, Resulting Numbers: [99, 30] Generated Node #0,0,2: 69:[99, 30] Operation: 5*6=30 Moving to Node #0,0,2 Current State: 69:[99, 30], Operations: ['62-56=6', '5*6=30'] Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.950521
hs_4
mult_heuristic
[ 67, 5, 53, 10 ]
17
[ "67+53=120", "120/10=12", "5+12=17" ]
Current State: 17:[67, 5, 53, 10], Operations: [] Exploring Operation: 67+53=120, Resulting Numbers: [5, 10, 120] Generated Node #2: [5, 10, 120] from Operation: 67+53=120 Current State: 17:[5, 10, 120], Operations: ['67+53=120'] Exploring Operation: 120/10=12, Resulting Numbers: [5, 12] Generated Node #3: [5, 12] from Operation: 120/10=12 Current State: 17:[5, 12], Operations: ['67+53=120', '120/10=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[67, 5, 53, 10], Operations: [] Exploring Operation: 67-10=57, Resulting Numbers: [5, 53, 57] Generated Node #0,0: 17:[5, 53, 57] Operation: 67-10=57 Exploring Operation: 5+10=15, Resulting Numbers: [67, 53, 15] Generated Node #0,1: 17:[67, 53, 15] Operation: 5+10=15 Exploring Operation: 53-5=48, Resulting Numbers: [67, 10, 48] Generated Node #0,2: 17:[67, 10, 48] Operation: 53-5=48 Exploring Operation: 67-5=62, Resulting Numbers: [53, 10, 62] Generated Node #0,3: 17:[53, 10, 62] Operation: 67-5=62 Exploring Operation: 67-53=14, Resulting Numbers: [5, 10, 14] Generated Node #0,4: 17:[5, 10, 14] Operation: 67-53=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[5, 10, 14], Operations: ['67-53=14'] Exploring Operation: 10/5=2, Resulting Numbers: [14, 2] Generated Node #0,4,0: 17:[14, 2] Operation: 10/5=2 Exploring Operation: 5+10=15, Resulting Numbers: [14, 15] Generated Node #0,4,1: 17:[14, 15] Operation: 5+10=15 Exploring Operation: 14-5=9, Resulting Numbers: [10, 9] Generated Node #0,4,2: 17:[10, 9] Operation: 14-5=9 Exploring Operation: 5+14=19, Resulting Numbers: [10, 19] Generated Node #0,4,3: 17:[10, 19] Operation: 5+14=19 Exploring Operation: 10-5=5, Resulting Numbers: [14, 5] Generated Node #0,4,4: 17:[14, 5] Operation: 10-5=5 Moving to Node #0,4,1 Current State: 17:[14, 15], Operations: ['67-53=14', '5+10=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[10, 19], Operations: ['67-53=14', '5+14=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[10, 9], Operations: ['67-53=14', '14-5=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[14, 5], Operations: ['67-53=14', '10-5=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[14, 2], Operations: ['67-53=14', '10/5=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[5, 53, 57], Operations: ['67-10=57'] Exploring Operation: 57-53=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 17:[5, 4] Operation: 57-53=4 Exploring Operation: 53-5=48, Resulting Numbers: [57, 48] Generated Node #0,0,1: 17:[57, 48] Operation: 53-5=48 Exploring Operation: 5+57=62, Resulting Numbers: [53, 62] Generated Node #0,0,2: 17:[53, 62] Operation: 5+57=62 Exploring Operation: 5+53=58, Resulting Numbers: [57, 58] Generated Node #0,0,3: 17:[57, 58] Operation: 5+53=58 Exploring Operation: 57-5=52, Resulting Numbers: [53, 52] Generated Node #0,0,4: 17:[53, 52] Operation: 57-5=52 Moving to Node #0,0,0 Current State: 17:[5, 4], Operations: ['67-10=57', '57-53=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[53, 52], Operations: ['67-10=57', '57-5=52'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[57, 48], Operations: ['67-10=57', '53-5=48'] Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[53, 62], Operations: ['67-10=57', '5+57=62'] Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,17 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[57, 58], Operations: ['67-10=57', '5+53=58'] Exploring Operation: 57*58=3306, Resulting Numbers: [3306] 3306,17 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[67, 53, 15], Operations: ['5+10=15'] Exploring Operation: 53+15=68, Resulting Numbers: [67, 68] Generated Node #0,1,0: 17:[67, 68] Operation: 53+15=68 Exploring Operation: 67-53=14, Resulting Numbers: [15, 14] Generated Node #0,1,1: 17:[15, 14] Operation: 67-53=14 Exploring Operation: 67+15=82, Resulting Numbers: [53, 82] Generated Node #0,1,2: 17:[53, 82] Operation: 67+15=82 Exploring Operation: 53-15=38, Resulting Numbers: [67, 38] Generated Node #0,1,3: 17:[67, 38] Operation: 53-15=38 Exploring Operation: 67-15=52, Resulting Numbers: [53, 52] Generated Node #0,1,4: 17:[53, 52] Operation: 67-15=52 Moving to Node #0,1,1 Current State: 17:[15, 14], Operations: ['5+10=15', '67-53=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,17 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[53, 52], Operations: ['5+10=15', '67-15=52'] Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[67, 38], Operations: ['5+10=15', '53-15=38'] Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,17 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[67, 68], Operations: ['5+10=15', '53+15=68'] Exploring Operation: 67+68=135, Resulting Numbers: [135] 135,17 unequal: No Solution Exploring Operation: 67*68=4556, Resulting Numbers: [4556] 4556,17 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[53, 82], Operations: ['5+10=15', '67+15=82'] Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 53*82=4346, Resulting Numbers: [4346] 4346,17 unequal: No Solution Exploring Operation: 53+82=135, Resulting Numbers: [135] 135,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[67, 10, 48], Operations: ['53-5=48'] Exploring Operation: 48-10=38, Resulting Numbers: [67, 38] Generated Node #0,2,0: 17:[67, 38] Operation: 48-10=38 Exploring Operation: 67-10=57, Resulting Numbers: [48, 57] Generated Node #0,2,1: 17:[48, 57] Operation: 67-10=57 Exploring Operation: 67-48=19, Resulting Numbers: [10, 19] Generated Node #0,2,2: 17:[10, 19] Operation: 67-48=19 Exploring Operation: 67+10=77, Resulting Numbers: [48, 77] Generated Node #0,2,3: 17:[48, 77] Operation: 67+10=77 Exploring Operation: 10+48=58, Resulting Numbers: [67, 58] Generated Node #0,2,4: 17:[67, 58] Operation: 10+48=58 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[10, 19], Operations: ['53-5=48', '67-48=19'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[67, 38], Operations: ['53-5=48', '48-10=38'] Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,17 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 17:[48, 57], Operations: ['53-5=48', '67-10=57'] Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,17 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[48, 77], Operations: ['53-5=48', '67+10=77'] Exploring Operation: 48+77=125, Resulting Numbers: [125] 125,17 unequal: No Solution Exploring Operation: 48*77=3696, Resulting Numbers: [3696] 3696,17 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 17:[67, 58], Operations: ['53-5=48', '10+48=58'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,17 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[53, 10, 62], Operations: ['67-5=62'] Exploring Operation: 10+62=72, Resulting Numbers: [53, 72] Generated Node #0,3,0: 17:[53, 72] Operation: 10+62=72 Exploring Operation: 53-10=43, Resulting Numbers: [62, 43] Generated Node #0,3,1: 17:[62, 43] Operation: 53-10=43 Exploring Operation: 53+10=63, Resulting Numbers: [62, 63] Generated Node #0,3,2: 17:[62, 63] Operation: 53+10=63 Exploring Operation: 62-53=9, Resulting Numbers: [10, 9] Generated Node #0,3,3: 17:[10, 9] Operation: 62-53=9 Exploring Operation: 62-10=52, Resulting Numbers: [53, 52] Generated Node #0,3,4: 17:[53, 52] Operation: 62-10=52 Moving to Node #0,3,3 Current State: 17:[10, 9], Operations: ['67-5=62', '62-53=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[53, 52], Operations: ['67-5=62', '62-10=52'] Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,17 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[62, 43], Operations: ['67-5=62', '53-10=43'] Exploring Operation: 62*43=2666, Resulting Numbers: [2666] 2666,17 unequal: No Solution Exploring Operation: 62+43=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[53, 72], Operations: ['67-5=62', '10+62=72'] Exploring Operation: 53+72=125, Resulting Numbers: [125] 125,17 unequal: No Solution Exploring Operation: 53*72=3816, Resulting Numbers: [3816] 3816,17 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[62, 63], Operations: ['67-5=62', '53+10=63'] Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,17 unequal: No Solution Exploring Operation: 62*63=3906, Resulting Numbers: [3906] 3906,17 unequal: No Solution Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,17 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
[ 15, 51, 68, 31 ]
63
[ "51-15=36", "68+31=99", "99-36=63" ]
Current State: 63:[15, 51, 68, 31], Operations: [] Exploring Operation: 51-15=36, Resulting Numbers: [68, 31, 36] Generated Node #2: [68, 31, 36] from Operation: 51-15=36 Current State: 63:[68, 31, 36], Operations: ['51-15=36'] Exploring Operation: 68+31=99, Resulting Numbers: [36, 99] Generated Node #3: [36, 99] from Operation: 68+31=99 Current State: 63:[36, 99], Operations: ['51-15=36', '68+31=99'] Exploring Operation: 99-36=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[15, 51, 68, 31], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [15, 68, 20] Generated Node #0,0: 63:[15, 68, 20] Operation: 51-31=20 Exploring Operation: 68-51=17, Resulting Numbers: [15, 31, 17] Generated Node #0,1: 63:[15, 31, 17] Operation: 68-51=17 Exploring Operation: 15+51=66, Resulting Numbers: [68, 31, 66] Generated Node #0,2: 63:[68, 31, 66] Operation: 15+51=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[15, 68, 20], Operations: ['51-31=20'] Exploring Operation: 15+20=35, Resulting Numbers: [68, 35] Generated Node #0,0,0: 63:[68, 35] Operation: 15+20=35 Exploring Operation: 20-15=5, Resulting Numbers: [68, 5] Generated Node #0,0,1: 63:[68, 5] Operation: 20-15=5 Exploring Operation: 68-15=53, Resulting Numbers: [20, 53] Generated Node #0,0,2: 63:[20, 53] Operation: 68-15=53 Moving to Node #0,0,1 Current State: 63:[68, 5], Operations: ['51-31=20', '20-15=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,63 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[15, 51, 68, 31], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [15, 68, 20] Generated Node #0,0: 63:[15, 68, 20] Operation: 51-31=20 Moving to Node #0,0 Current State: 63:[15, 68, 20], Operations: ['51-31=20'] Exploring Operation: 20-15=5, Resulting Numbers: [68, 5] Generated Node #0,0,1: 63:[68, 5] Operation: 20-15=5 Moving to Node #0,0,1 Current State: 63:[68, 5], Operations: ['51-31=20', '20-15=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 93, 48, 51, 46 ]
49
[ "93+51=144", "144/48=3", "46+3=49" ]
Current State: 49:[93, 48, 51, 46], Operations: [] Exploring Operation: 93+51=144, Resulting Numbers: [48, 46, 144] Generated Node #2: [48, 46, 144] from Operation: 93+51=144 Current State: 49:[48, 46, 144], Operations: ['93+51=144'] Exploring Operation: 144/48=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 144/48=3 Current State: 49:[46, 3], Operations: ['93+51=144', '144/48=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[93, 48, 51, 46], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [51, 46, 45] Generated Node #0,0: 49:[51, 46, 45] Operation: 93-48=45 Exploring Operation: 93-51=42, Resulting Numbers: [48, 46, 42] Generated Node #0,1: 49:[48, 46, 42] Operation: 93-51=42 Exploring Operation: 93-46=47, Resulting Numbers: [48, 51, 47] Generated Node #0,2: 49:[48, 51, 47] Operation: 93-46=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[48, 51, 47], Operations: ['93-46=47'] Exploring Operation: 51-48=3, Resulting Numbers: [47, 3] Generated Node #0,2,0: 49:[47, 3] Operation: 51-48=3 Exploring Operation: 48-47=1, Resulting Numbers: [51, 1] Generated Node #0,2,1: 49:[51, 1] Operation: 48-47=1 Exploring Operation: 51-47=4, Resulting Numbers: [48, 4] Generated Node #0,2,2: 49:[48, 4] Operation: 51-47=4 Moving to Node #0,2,2 Current State: 49:[48, 4], Operations: ['93-46=47', '51-47=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[47, 3], Operations: ['93-46=47', '51-48=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,49 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[51, 1], Operations: ['93-46=47', '48-47=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51-1=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,0 Current State: 49:[51, 46, 45], Operations: ['93-48=45'] Exploring Operation: 51-45=6, Resulting Numbers: [46, 6] Generated Node #0,0,0: 49:[46, 6] Operation: 51-45=6 Exploring Operation: 46-45=1, Resulting Numbers: [51, 1] Generated Node #0,0,1: 49:[51, 1] Operation: 46-45=1 Exploring Operation: 51-46=5, Resulting Numbers: [45, 5] Generated Node #0,0,2: 49:[45, 5] Operation: 51-46=5 Moving to Node #0,0,0 Current State: 49:[46, 6], Operations: ['93-48=45', '51-45=6'] Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,49 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[45, 5], Operations: ['93-48=45', '51-46=5'] 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 Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[51, 1], Operations: ['93-48=45', '46-45=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51-1=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,1 Current State: 49:[48, 46, 42], Operations: ['93-51=42'] Exploring Operation: 48-46=2, Resulting Numbers: [42, 2] Generated Node #0,1,0: 49:[42, 2] Operation: 48-46=2 Exploring Operation: 46-42=4, Resulting Numbers: [48, 4] Generated Node #0,1,1: 49:[48, 4] Operation: 46-42=4 Exploring Operation: 48-42=6, Resulting Numbers: [46, 6] Generated Node #0,1,2: 49:[46, 6] Operation: 48-42=6 Moving to Node #0,1,1 Current State: 49:[48, 4], Operations: ['93-51=42', '46-42=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[46, 6], Operations: ['93-51=42', '48-42=6'] Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,49 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[42, 2], Operations: ['93-51=42', '48-46=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,49 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
[ 37, 48, 2, 12 ]
38
[ "37*2=74", "48-12=36", "74-36=38" ]
Current State: 38:[37, 48, 2, 12], Operations: [] Exploring Operation: 37*2=74, Resulting Numbers: [48, 12, 74] Generated Node #2: [48, 12, 74] from Operation: 37*2=74 Current State: 38:[48, 12, 74], Operations: ['37*2=74'] Exploring Operation: 48-12=36, Resulting Numbers: [74, 36] Generated Node #3: [74, 36] from Operation: 48-12=36 Current State: 38:[74, 36], Operations: ['37*2=74', '48-12=36'] Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[37, 48, 2, 12], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [2, 12, 11] Generated Node #0,0: 38:[2, 12, 11] Operation: 48-37=11 Exploring Operation: 48/12=4, Resulting Numbers: [37, 2, 4] Generated Node #0,1: 38:[37, 2, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [37, 2, 36] Generated Node #0,2: 38:[37, 2, 36] Operation: 48-12=36 Exploring Operation: 48/2=24, Resulting Numbers: [37, 12, 24] Generated Node #0,3: 38:[37, 12, 24] Operation: 48/2=24 Exploring Operation: 12/2=6, Resulting Numbers: [37, 48, 6] Generated Node #0,4: 38:[37, 48, 6] Operation: 12/2=6 Moving to Node #0,1 Current State: 38:[37, 2, 4], Operations: ['48/12=4'] Exploring Operation: 4/2=2, Resulting Numbers: [37, 2] Generated Node #0,1,0: 38:[37, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 38:[37, 2] Operation: 4-2=2 Exploring Operation: 37-2=35, Resulting Numbers: [4, 35] Generated Node #0,1,2: 38:[4, 35] Operation: 37-2=35 Exploring Operation: 37+2=39, Resulting Numbers: [4, 39] Generated Node #0,1,3: 38:[4, 39] Operation: 37+2=39 Exploring Operation: 37+4=41, Resulting Numbers: [2, 41] Generated Node #0,1,4: 38:[2, 41] Operation: 37+4=41 Moving to Node #0,2 Current State: 38:[37, 2, 36], Operations: ['48-12=36'] Exploring Operation: 37+2=39, Resulting Numbers: [36, 39] Generated Node #0,2,0: 38:[36, 39] Operation: 37+2=39 Exploring Operation: 37-2=35, Resulting Numbers: [36, 35] Generated Node #0,2,1: 38:[36, 35] Operation: 37-2=35 Exploring Operation: 2+36=38, Resulting Numbers: [37, 38] Generated Node #0,2,2: 38:[37, 38] Operation: 2+36=38 Exploring Operation: 37-36=1, Resulting Numbers: [2, 1] Generated Node #0,2,3: 38:[2, 1] Operation: 37-36=1 Exploring Operation: 36/2=18, Resulting Numbers: [37, 18] Generated Node #0,2,4: 38:[37, 18] Operation: 36/2=18 Moving to Node #0,3 Current State: 38:[37, 12, 24], Operations: ['48/2=24'] Exploring Operation: 37-24=13, Resulting Numbers: [12, 13] Generated Node #0,3,0: 38:[12, 13] Operation: 37-24=13 Exploring Operation: 37-12=25, Resulting Numbers: [24, 25] Generated Node #0,3,1: 38:[24, 25] Operation: 37-12=25 Exploring Operation: 24/12=2, Resulting Numbers: [37, 2] Generated Node #0,3,2: 38:[37, 2] Operation: 24/12=2 Exploring Operation: 12+24=36, Resulting Numbers: [37, 36] Generated Node #0,3,3: 38:[37, 36] Operation: 12+24=36 Exploring Operation: 24-12=12, Resulting Numbers: [37, 12] Generated Node #0,3,4: 38:[37, 12] Operation: 24-12=12 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 38:[37, 2], Operations: ['48/2=24', '24/12=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 38:[37, 36], Operations: ['48/2=24', '12+24=36'] Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,38 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 38:[37, 12], Operations: ['48/2=24', '24-12=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,38 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 38:[24, 25], Operations: ['48/2=24', '37-12=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,38 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[12, 13], Operations: ['48/2=24', '37-24=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,38 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,38 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: 38:[2, 12, 11], Operations: ['48-37=11'] Exploring Operation: 12-11=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 38:[2, 1] Operation: 12-11=1 Exploring Operation: 2+12=14, Resulting Numbers: [11, 14] Generated Node #0,0,1: 38:[11, 14] Operation: 2+12=14 Exploring Operation: 2*11=22, Resulting Numbers: [12, 22] Generated Node #0,0,2: 38:[12, 22] Operation: 2*11=22 Exploring Operation: 12/2=6, Resulting Numbers: [11, 6] Generated Node #0,0,3: 38:[11, 6] Operation: 12/2=6 Exploring Operation: 12+11=23, Resulting Numbers: [2, 23] Generated Node #0,0,4: 38:[2, 23] Operation: 12+11=23 Moving to Node #0,4 Current State: 38:[37, 48, 6], Operations: ['12/2=6'] Exploring Operation: 48/6=8, Resulting Numbers: [37, 8] Generated Node #0,4,0: 38:[37, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [37, 42] Generated Node #0,4,1: 38:[37, 42] Operation: 48-6=42 Exploring Operation: 37+6=43, Resulting Numbers: [48, 43] Generated Node #0,4,2: 38:[48, 43] Operation: 37+6=43 Exploring Operation: 48-37=11, Resulting Numbers: [6, 11] Generated Node #0,4,3: 38:[6, 11] Operation: 48-37=11 Exploring Operation: 37-6=31, Resulting Numbers: [48, 31] Generated Node #0,4,4: 38:[48, 31] Operation: 37-6=31 Moving to Node #0,1,0 Current State: 38:[37, 2], Operations: ['48/12=4', '4/2=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[37, 38], Operations: ['48-12=36', '2+36=38'] Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,38 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[2, 1], Operations: ['48-12=36', '37-36=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[37, 2], Operations: ['48/12=4', '4-2=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[2, 1], Operations: ['48-37=11', '12-11=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[37, 18], Operations: ['48-12=36', '36/2=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,38 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[4, 39], Operations: ['48/12=4', '37+2=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[36, 39], Operations: ['48-12=36', '37+2=39'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,38 unequal: No Solution Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,38 unequal: No Solution Moving to Node #0,1,4 Current State: 38:[2, 41], Operations: ['48/12=4', '37+4=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,38 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[2, 23], Operations: ['48-37=11', '12+11=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,38 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[4, 35], Operations: ['48/12=4', '37-2=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,38 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[36, 35], Operations: ['48-12=36', '37-2=35'] Exploring Operation: 36*35=1260, Resulting Numbers: [1260] 1260,38 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,38 unequal: No Solution Moving to Node #0,4,1 Current State: 38:[37, 42], Operations: ['12/2=6', '48-6=42'] Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,38 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,38 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,4,0 Current State: 38:[37, 8], Operations: ['12/2=6', '48/6=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,38 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[12, 22], Operations: ['48-37=11', '2*11=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,38 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[11, 6], Operations: ['48-37=11', '12/2=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,38 unequal: No Solution Moving to Node #0,4,3 Current State: 38:[6, 11], Operations: ['12/2=6', '48-37=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[11, 14], Operations: ['48-37=11', '2+12=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,38 unequal: No Solution Moving to Node #0,4,2 Current State: 38:[48, 43], Operations: ['12/2=6', '37+6=43'] Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,38 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,38 unequal: No Solution Moving to Node #0,4,4 Current State: 38:[48, 31], Operations: ['12/2=6', '37-6=31'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,38 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,38 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 18, 82, 1, 41 ]
58
[ "18+82=100", "1+41=42", "100-42=58" ]
Current State: 58:[18, 82, 1, 41], Operations: [] Exploring Operation: 18+82=100, Resulting Numbers: [1, 41, 100] Generated Node #2: [1, 41, 100] from Operation: 18+82=100 Current State: 58:[1, 41, 100], Operations: ['18+82=100'] Exploring Operation: 1+41=42, Resulting Numbers: [100, 42] Generated Node #3: [100, 42] from Operation: 1+41=42 Current State: 58:[100, 42], Operations: ['18+82=100', '1+41=42'] Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[18, 82, 1, 41], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [18, 1, 2] Generated Node #0,0: 58:[18, 1, 2] Operation: 82/41=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[18, 1, 2], Operations: ['82/41=2'] Exploring Operation: 18*2=36, Resulting Numbers: [1, 36] Generated Node #0,0,0: 58:[1, 36] Operation: 18*2=36 Moving to Node #0,0,0 Current State: 58:[1, 36], Operations: ['82/41=2', '18*2=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 71, 83, 83 ]
16
[ "71-56=15", "83/83=1", "15+1=16" ]
Current State: 16:[56, 71, 83, 83], Operations: [] Exploring Operation: 71-56=15, Resulting Numbers: [83, 83, 15] Generated Node #2: [83, 83, 15] from Operation: 71-56=15 Current State: 16:[83, 83, 15], Operations: ['71-56=15'] Exploring Operation: 83/83=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 83/83=1 Current State: 16:[15, 1], Operations: ['71-56=15', '83/83=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[56, 71, 83, 83], Operations: [] Exploring Operation: 83-71=12, Resulting Numbers: [56, 83, 12] Generated Node #0,0: 16:[56, 83, 12] Operation: 83-71=12 Exploring Operation: 83-83=0, Resulting Numbers: [56, 71, 0] Generated Node #0,1: 16:[56, 71, 0] Operation: 83-83=0 Exploring Operation: 83/83=1, Resulting Numbers: [56, 71, 1] Generated Node #0,2: 16:[56, 71, 1] Operation: 83/83=1 Exploring Operation: 83-71=12, Resulting Numbers: [56, 83, 12] Generated Node #0,3: 16:[56, 83, 12] Operation: 83-71=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[56, 71, 1], Operations: ['83/83=1'] Exploring Operation: 71-1=70, Resulting Numbers: [56, 70] Generated Node #0,2,0: 16:[56, 70] Operation: 71-1=70 Exploring Operation: 56-1=55, Resulting Numbers: [71, 55] Generated Node #0,2,1: 16:[71, 55] Operation: 56-1=55 Exploring Operation: 71-56=15, Resulting Numbers: [1, 15] Generated Node #0,2,2: 16:[1, 15] Operation: 71-56=15 Exploring Operation: 56*1=56, Resulting Numbers: [71, 56] Generated Node #0,2,3: 16:[71, 56] Operation: 56*1=56 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[1, 15], Operations: ['83/83=1', '71-56=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[56, 71, 83, 83], Operations: [] Exploring Operation: 83/83=1, Resulting Numbers: [56, 71, 1] Generated Node #0,2: 16:[56, 71, 1] Operation: 83/83=1 Moving to Node #0,2 Current State: 16:[56, 71, 1], Operations: ['83/83=1'] Exploring Operation: 71-56=15, Resulting Numbers: [1, 15] Generated Node #0,2,2: 16:[1, 15] Operation: 71-56=15 Moving to Node #0,2,2 Current State: 16:[1, 15], Operations: ['83/83=1', '71-56=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 12, 69, 52, 34 ]
10
[ "69-52=17", "34/17=2", "12-2=10" ]
Current State: 10:[12, 69, 52, 34], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [12, 34, 17] Generated Node #2: [12, 34, 17] from Operation: 69-52=17 Current State: 10:[12, 34, 17], Operations: ['69-52=17'] Exploring Operation: 34/17=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 34/17=2 Current State: 10:[12, 2], Operations: ['69-52=17', '34/17=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[12, 69, 52, 34], Operations: [] Exploring Operation: 69-34=35, Resulting Numbers: [12, 52, 35] Generated Node #0,0: 10:[12, 52, 35] Operation: 69-34=35 Exploring Operation: 52-12=40, Resulting Numbers: [69, 34, 40] Generated Node #0,1: 10:[69, 34, 40] Operation: 52-12=40 Exploring Operation: 52-34=18, Resulting Numbers: [12, 69, 18] Generated Node #0,2: 10:[12, 69, 18] Operation: 52-34=18 Exploring Operation: 69-12=57, Resulting Numbers: [52, 34, 57] Generated Node #0,3: 10:[52, 34, 57] Operation: 69-12=57 Exploring Operation: 69-52=17, Resulting Numbers: [12, 34, 17] Generated Node #0,4: 10:[12, 34, 17] Operation: 69-52=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 10:[12, 34, 17], Operations: ['69-52=17'] Exploring Operation: 34-17=17, Resulting Numbers: [12, 17] Generated Node #0,4,0: 10:[12, 17] Operation: 34-17=17 Exploring Operation: 17-12=5, Resulting Numbers: [34, 5] Generated Node #0,4,1: 10:[34, 5] Operation: 17-12=5 Exploring Operation: 34/17=2, Resulting Numbers: [12, 2] Generated Node #0,4,2: 10:[12, 2] Operation: 34/17=2 Exploring Operation: 12+34=46, Resulting Numbers: [17, 46] Generated Node #0,4,3: 10:[17, 46] Operation: 12+34=46 Exploring Operation: 34-12=22, Resulting Numbers: [17, 22] Generated Node #0,4,4: 10:[17, 22] Operation: 34-12=22 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 10:[12, 2], Operations: ['69-52=17', '34/17=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[12, 69, 52, 34], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [12, 34, 17] Generated Node #0,4: 10:[12, 34, 17] Operation: 69-52=17 Moving to Node #0,4 Current State: 10:[12, 34, 17], Operations: ['69-52=17'] Exploring Operation: 34/17=2, Resulting Numbers: [12, 2] Generated Node #0,4,2: 10:[12, 2] Operation: 34/17=2 Moving to Node #0,4,2 Current State: 10:[12, 2], Operations: ['69-52=17', '34/17=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 10, 66, 23, 76 ]
88
[ "10*23=230", "66+76=142", "230-142=88" ]
Current State: 88:[10, 66, 23, 76], Operations: [] Exploring Operation: 10*23=230, Resulting Numbers: [66, 76, 230] Generated Node #2: [66, 76, 230] from Operation: 10*23=230 Current State: 88:[66, 76, 230], Operations: ['10*23=230'] Exploring Operation: 66+76=142, Resulting Numbers: [230, 142] Generated Node #3: [230, 142] from Operation: 66+76=142 Current State: 88:[230, 142], Operations: ['10*23=230', '66+76=142'] Exploring Operation: 230-142=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[10, 66, 23, 76], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [10, 76, 43] Generated Node #0,0: 88:[10, 76, 43] Operation: 66-23=43 Exploring Operation: 66+23=89, Resulting Numbers: [10, 76, 89] Generated Node #0,1: 88:[10, 76, 89] Operation: 66+23=89 Exploring Operation: 76-66=10, Resulting Numbers: [10, 23, 10] Generated Node #0,2: 88:[10, 23, 10] Operation: 76-66=10 Moving to Node #0,2 Current State: 88:[10, 23, 10], Operations: ['76-66=10'] Exploring Operation: 10/10=1, Resulting Numbers: [23, 1] Generated Node #0,2,0: 88:[23, 1] Operation: 10/10=1 Exploring Operation: 10+10=20, Resulting Numbers: [23, 20] Generated Node #0,2,1: 88:[23, 20] Operation: 10+10=20 Exploring Operation: 23-10=13, Resulting Numbers: [10, 13] Generated Node #0,2,2: 88:[10, 13] Operation: 23-10=13 Moving to Node #0,0 Current State: 88:[10, 76, 43], Operations: ['66-23=43'] Exploring Operation: 10+76=86, Resulting Numbers: [43, 86] Generated Node #0,0,0: 88:[43, 86] Operation: 10+76=86 Exploring Operation: 10+43=53, Resulting Numbers: [76, 53] Generated Node #0,0,1: 88:[76, 53] Operation: 10+43=53 Exploring Operation: 76-43=33, Resulting Numbers: [10, 33] Generated Node #0,0,2: 88:[10, 33] Operation: 76-43=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[43, 86], Operations: ['66-23=43', '10+76=86'] Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,88 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,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,2 Current State: 88:[10, 33], Operations: ['66-23=43', '76-43=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,88 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[76, 53], Operations: ['66-23=43', '10+43=53'] Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,88 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,88 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,88 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: 88:[10, 76, 89], Operations: ['66+23=89'] Exploring Operation: 89-76=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 88:[10, 13] Operation: 89-76=13 Exploring Operation: 10+76=86, Resulting Numbers: [89, 86] Generated Node #0,1,1: 88:[89, 86] Operation: 10+76=86 Exploring Operation: 89-10=79, Resulting Numbers: [76, 79] Generated Node #0,1,2: 88:[76, 79] Operation: 89-10=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[10, 13], Operations: ['66+23=89', '89-76=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[89, 86], Operations: ['66+23=89', '10+76=86'] Exploring Operation: 89*86=7654, Resulting Numbers: [7654] 7654,88 unequal: No Solution Exploring Operation: 89+86=175, Resulting Numbers: [175] 175,88 unequal: No Solution Exploring Operation: 89-86=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[76, 79], Operations: ['66+23=89', '89-10=79'] Exploring Operation: 76+79=155, Resulting Numbers: [155] 155,88 unequal: No Solution Exploring Operation: 79-76=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 76*79=6004, Resulting Numbers: [6004] 6004,88 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: 88:[23, 1], Operations: ['76-66=10', '10/10=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[23, 20], Operations: ['76-66=10', '10+10=20'] Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,88 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[10, 13], Operations: ['76-66=10', '23-10=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,88 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 33, 74, 28, 38 ]
97
[ "33+74=107", "38-28=10", "107-10=97" ]
Current State: 97:[33, 74, 28, 38], Operations: [] Exploring Operation: 33+74=107, Resulting Numbers: [28, 38, 107] Generated Node #2: [28, 38, 107] from Operation: 33+74=107 Current State: 97:[28, 38, 107], Operations: ['33+74=107'] Exploring Operation: 38-28=10, Resulting Numbers: [107, 10] Generated Node #3: [107, 10] from Operation: 38-28=10 Current State: 97:[107, 10], Operations: ['33+74=107', '38-28=10'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[33, 74, 28, 38], Operations: [] Exploring Operation: 33+28=61, Resulting Numbers: [74, 38, 61] Generated Node #0,0: 97:[74, 38, 61] Operation: 33+28=61 Exploring Operation: 33+38=71, Resulting Numbers: [74, 28, 71] Generated Node #0,1: 97:[74, 28, 71] Operation: 33+38=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[74, 38, 61], Operations: ['33+28=61'] Exploring Operation: 74+38=112, Resulting Numbers: [61, 112] Generated Node #0,0,0: 97:[61, 112] Operation: 74+38=112 Exploring Operation: 38+61=99, Resulting Numbers: [74, 99] Generated Node #0,0,1: 97:[74, 99] Operation: 38+61=99 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[74, 99], Operations: ['33+28=61', '38+61=99'] Exploring Operation: 74+99=173, Resulting Numbers: [173] 173,97 unequal: No Solution Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[61, 112], Operations: ['33+28=61', '74+38=112'] Exploring Operation: 61+112=173, Resulting Numbers: [173] 173,97 unequal: No Solution Exploring Operation: 112-61=51, Resulting Numbers: [51] 51,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[74, 28, 71], Operations: ['33+38=71'] Exploring Operation: 74+28=102, Resulting Numbers: [71, 102] Generated Node #0,1,0: 97:[71, 102] Operation: 74+28=102 Exploring Operation: 28+71=99, Resulting Numbers: [74, 99] Generated Node #0,1,1: 97:[74, 99] Operation: 28+71=99 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[74, 99], Operations: ['33+38=71', '28+71=99'] Exploring Operation: 74+99=173, Resulting Numbers: [173] 173,97 unequal: No Solution Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[71, 102], Operations: ['33+38=71', '74+28=102'] Exploring Operation: 71+102=173, Resulting Numbers: [173] 173,97 unequal: No Solution Exploring Operation: 102-71=31, Resulting Numbers: [31] 31,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_2
mult_heuristic
[ 24, 80, 54, 5 ]
86
[ "54-24=30", "30/5=6", "80+6=86" ]
Current State: 86:[24, 80, 54, 5], Operations: [] Exploring Operation: 54-24=30, Resulting Numbers: [80, 5, 30] Generated Node #2: [80, 5, 30] from Operation: 54-24=30 Current State: 86:[80, 5, 30], Operations: ['54-24=30'] Exploring Operation: 30/5=6, Resulting Numbers: [80, 6] Generated Node #3: [80, 6] from Operation: 30/5=6 Current State: 86:[80, 6], Operations: ['54-24=30', '30/5=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[24, 80, 54, 5], Operations: [] Exploring Operation: 24+5=29, Resulting Numbers: [80, 54, 29] Generated Node #0,0: 86:[80, 54, 29] Operation: 24+5=29 Exploring Operation: 80+5=85, Resulting Numbers: [24, 54, 85] Generated Node #0,1: 86:[24, 54, 85] Operation: 80+5=85 Exploring Operation: 54-24=30, Resulting Numbers: [80, 5, 30] Generated Node #0,2: 86:[80, 5, 30] Operation: 54-24=30 Exploring Operation: 24+54=78, Resulting Numbers: [80, 5, 78] Generated Node #0,3: 86:[80, 5, 78] Operation: 24+54=78 Exploring Operation: 80-24=56, Resulting Numbers: [54, 5, 56] Generated Node #0,4: 86:[54, 5, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[80, 5, 78], Operations: ['24+54=78'] Exploring Operation: 5+78=83, Resulting Numbers: [80, 83] Generated Node #0,3,0: 86:[80, 83] Operation: 5+78=83 Exploring Operation: 78-5=73, Resulting Numbers: [80, 73] Generated Node #0,3,1: 86:[80, 73] Operation: 78-5=73 Exploring Operation: 80+5=85, Resulting Numbers: [78, 85] Generated Node #0,3,2: 86:[78, 85] Operation: 80+5=85 Exploring Operation: 80-5=75, Resulting Numbers: [78, 75] Generated Node #0,3,3: 86:[78, 75] Operation: 80-5=75 Exploring Operation: 80-78=2, Resulting Numbers: [5, 2] Generated Node #0,3,4: 86:[5, 2] Operation: 80-78=2 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 86:[5, 2], Operations: ['24+54=78', '80-78=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,86 unequal: No Solution No 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: 86:[80, 83], Operations: ['24+54=78', '5+78=83'] Exploring Operation: 80+83=163, Resulting Numbers: [163] 163,86 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 80*83=6640, Resulting Numbers: [6640] 6640,86 unequal: No Solution No 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: 86:[78, 85], Operations: ['24+54=78', '80+5=85'] Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,86 unequal: No Solution Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,86 unequal: No Solution No 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: 86:[80, 73], Operations: ['24+54=78', '78-5=73'] Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,86 unequal: No Solution Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,86 unequal: No Solution No 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: 86:[78, 75], Operations: ['24+54=78', '80-5=75'] Exploring Operation: 78*75=5850, Resulting Numbers: [5850] 5850,86 unequal: No Solution Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,86 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: 86:[80, 5, 30], Operations: ['54-24=30'] Exploring Operation: 80-30=50, Resulting Numbers: [5, 50] Generated Node #0,2,0: 86:[5, 50] Operation: 80-30=50 Exploring Operation: 80-5=75, Resulting Numbers: [30, 75] Generated Node #0,2,1: 86:[30, 75] Operation: 80-5=75 Exploring Operation: 5+30=35, Resulting Numbers: [80, 35] Generated Node #0,2,2: 86:[80, 35] Operation: 5+30=35 Exploring Operation: 30/5=6, Resulting Numbers: [80, 6] Generated Node #0,2,3: 86:[80, 6] Operation: 30/5=6 Exploring Operation: 80+5=85, Resulting Numbers: [30, 85] Generated Node #0,2,4: 86:[30, 85] Operation: 80+5=85 Moving to Node #0,2,0 Current State: 86:[5, 50], Operations: ['54-24=30', '80-30=50'] Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,86 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[80, 6], Operations: ['54-24=30', '30/5=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[24, 80, 54, 5], Operations: [] Exploring Operation: 54-24=30, Resulting Numbers: [80, 5, 30] Generated Node #0,2: 86:[80, 5, 30] Operation: 54-24=30 Moving to Node #0,2 Current State: 86:[80, 5, 30], Operations: ['54-24=30'] Exploring Operation: 30/5=6, Resulting Numbers: [80, 6] Generated Node #0,2,3: 86:[80, 6] Operation: 30/5=6 Moving to Node #0,2,3 Current State: 86:[80, 6], Operations: ['54-24=30', '30/5=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 13, 43, 55, 24 ]
49
[ "43-13=30", "55+24=79", "79-30=49" ]
Current State: 49:[13, 43, 55, 24], Operations: [] Exploring Operation: 43-13=30, Resulting Numbers: [55, 24, 30] Generated Node #2: [55, 24, 30] from Operation: 43-13=30 Current State: 49:[55, 24, 30], Operations: ['43-13=30'] Exploring Operation: 55+24=79, Resulting Numbers: [30, 79] Generated Node #3: [30, 79] from Operation: 55+24=79 Current State: 49:[30, 79], Operations: ['43-13=30', '55+24=79'] Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[13, 43, 55, 24], Operations: [] Exploring Operation: 43-24=19, Resulting Numbers: [13, 55, 19] Generated Node #0,0: 49:[13, 55, 19] Operation: 43-24=19 Exploring Operation: 55-43=12, Resulting Numbers: [13, 24, 12] Generated Node #0,1: 49:[13, 24, 12] Operation: 55-43=12 Exploring Operation: 13+24=37, Resulting Numbers: [43, 55, 37] Generated Node #0,2: 49:[43, 55, 37] Operation: 13+24=37 Exploring Operation: 24-13=11, Resulting Numbers: [43, 55, 11] Generated Node #0,3: 49:[43, 55, 11] Operation: 24-13=11 Moving to Node #0,3 Current State: 49:[43, 55, 11], Operations: ['24-13=11'] Exploring Operation: 55/11=5, Resulting Numbers: [43, 5] Generated Node #0,3,0: 49:[43, 5] Operation: 55/11=5 Exploring Operation: 55-11=44, Resulting Numbers: [43, 44] Generated Node #0,3,1: 49:[43, 44] Operation: 55-11=44 Exploring Operation: 55-43=12, Resulting Numbers: [11, 12] Generated Node #0,3,2: 49:[11, 12] Operation: 55-43=12 Exploring Operation: 43+11=54, Resulting Numbers: [55, 54] Generated Node #0,3,3: 49:[55, 54] Operation: 43+11=54 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 49:[43, 5], Operations: ['24-13=11', '55/11=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,49 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,49 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,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:[11, 12], Operations: ['24-13=11', '55-43=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 12-11=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,3,1 Current State: 49:[43, 44], Operations: ['24-13=11', '55-11=44'] Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,49 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 44-43=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,3,3 Current State: 49:[55, 54], Operations: ['24-13=11', '43+11=54'] Exploring Operation: 55+54=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 55*54=2970, Resulting Numbers: [2970] 2970,49 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,49 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: 49:[43, 55, 37], Operations: ['13+24=37'] Exploring Operation: 43+37=80, Resulting Numbers: [55, 80] Generated Node #0,2,0: 49:[55, 80] Operation: 43+37=80 Exploring Operation: 55-43=12, Resulting Numbers: [37, 12] Generated Node #0,2,1: 49:[37, 12] Operation: 55-43=12 Exploring Operation: 55-37=18, Resulting Numbers: [43, 18] Generated Node #0,2,2: 49:[43, 18] Operation: 55-37=18 Exploring Operation: 43-37=6, Resulting Numbers: [55, 6] Generated Node #0,2,3: 49:[55, 6] Operation: 43-37=6 Moving to Node #0,0 Current State: 49:[13, 55, 19], Operations: ['43-24=19'] Exploring Operation: 55-13=42, Resulting Numbers: [19, 42] Generated Node #0,0,0: 49:[19, 42] Operation: 55-13=42 Exploring Operation: 55-19=36, Resulting Numbers: [13, 36] Generated Node #0,0,1: 49:[13, 36] Operation: 55-19=36 Exploring Operation: 19-13=6, Resulting Numbers: [55, 6] Generated Node #0,0,2: 49:[55, 6] Operation: 19-13=6 Exploring Operation: 13+19=32, Resulting Numbers: [55, 32] Generated Node #0,0,3: 49:[55, 32] Operation: 13+19=32 Moving to Node #0,1 Current State: 49:[13, 24, 12], Operations: ['55-43=12'] Exploring Operation: 24-12=12, Resulting Numbers: [13, 12] Generated Node #0,1,0: 49:[13, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 49:[13, 2] Operation: 24/12=2 Exploring Operation: 13+24=37, Resulting Numbers: [12, 37] Generated Node #0,1,2: 49:[12, 37] Operation: 13+24=37 Exploring Operation: 24-13=11, Resulting Numbers: [12, 11] Generated Node #0,1,3: 49:[12, 11] Operation: 24-13=11 Moving to Node #0,2,3 Current State: 49:[55, 6], Operations: ['13+24=37', '43-37=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,49 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[13, 43, 55, 24], Operations: [] Exploring Operation: 13+24=37, Resulting Numbers: [43, 55, 37] Generated Node #0,2: 49:[43, 55, 37] Operation: 13+24=37 Moving to Node #0,2 Current State: 49:[43, 55, 37], Operations: ['13+24=37'] Exploring Operation: 43-37=6, Resulting Numbers: [55, 6] Generated Node #0,2,3: 49:[55, 6] Operation: 43-37=6 Moving to Node #0,2,3 Current State: 49:[55, 6], Operations: ['13+24=37', '43-37=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 4, 87, 50, 41 ]
100
[ "4+87=91", "50-41=9", "91+9=100" ]
Current State: 100:[4, 87, 50, 41], Operations: [] Exploring Operation: 4+87=91, Resulting Numbers: [50, 41, 91] Generated Node #2: [50, 41, 91] from Operation: 4+87=91 Current State: 100:[50, 41, 91], Operations: ['4+87=91'] Exploring Operation: 50-41=9, Resulting Numbers: [91, 9] Generated Node #3: [91, 9] from Operation: 50-41=9 Current State: 100:[91, 9], Operations: ['4+87=91', '50-41=9'] Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[4, 87, 50, 41], Operations: [] Exploring Operation: 87-41=46, Resulting Numbers: [4, 50, 46] Generated Node #0,0: 100:[4, 50, 46] Operation: 87-41=46 Exploring Operation: 50-41=9, Resulting Numbers: [4, 87, 9] Generated Node #0,1: 100:[4, 87, 9] Operation: 50-41=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[4, 50, 46], Operations: ['87-41=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 100:[4, 4] Operation: 50-46=4 Exploring Operation: 4+46=50, Resulting Numbers: [50, 50] Generated Node #0,0,1: 100:[50, 50] Operation: 4+46=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[4, 4], Operations: ['87-41=46', '50-46=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[50, 50], Operations: ['87-41=46', '4+46=50'] Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[4, 87, 50, 41], Operations: [] Exploring Operation: 87-41=46, Resulting Numbers: [4, 50, 46] Generated Node #0,0: 100:[4, 50, 46] Operation: 87-41=46 Moving to Node #0,0 Current State: 100:[4, 50, 46], Operations: ['87-41=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50, 50] Generated Node #0,0,1: 100:[50, 50] Operation: 4+46=50 Moving to Node #0,0,1 Current State: 100:[50, 50], Operations: ['87-41=46', '4+46=50'] Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 64, 79, 86, 86 ]
16
[ "79-64=15", "86/86=1", "15+1=16" ]
Current State: 16:[64, 79, 86, 86], Operations: [] Exploring Operation: 79-64=15, Resulting Numbers: [86, 86, 15] Generated Node #2: [86, 86, 15] from Operation: 79-64=15 Current State: 16:[86, 86, 15], Operations: ['79-64=15'] Exploring Operation: 86/86=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 86/86=1 Current State: 16:[15, 1], Operations: ['79-64=15', '86/86=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[64, 79, 86, 86], Operations: [] Exploring Operation: 86/86=1, Resulting Numbers: [64, 79, 1] Generated Node #0,0: 16:[64, 79, 1] Operation: 86/86=1 Exploring Operation: 86-64=22, Resulting Numbers: [79, 86, 22] Generated Node #0,1: 16:[79, 86, 22] Operation: 86-64=22 Exploring Operation: 86-79=7, Resulting Numbers: [64, 86, 7] Generated Node #0,2: 16:[64, 86, 7] Operation: 86-79=7 Exploring Operation: 86-79=7, Resulting Numbers: [64, 86, 7] Generated Node #0,3: 16:[64, 86, 7] Operation: 86-79=7 Exploring Operation: 86-86=0, Resulting Numbers: [64, 79, 0] Generated Node #0,4: 16:[64, 79, 0] Operation: 86-86=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[64, 79, 1], Operations: ['86/86=1'] Exploring Operation: 79-64=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 16:[1, 15] Operation: 79-64=15 Exploring Operation: 79-1=78, Resulting Numbers: [64, 78] Generated Node #0,0,1: 16:[64, 78] Operation: 79-1=78 Exploring Operation: 64*1=64, Resulting Numbers: [79, 64] Generated Node #0,0,2: 16:[79, 64] Operation: 64*1=64 Exploring Operation: 64/1=64, Resulting Numbers: [79, 64] Generated Node #0,0,3: 16:[79, 64] Operation: 64/1=64 Exploring Operation: 64-1=63, Resulting Numbers: [79, 63] Generated Node #0,0,4: 16:[79, 63] Operation: 64-1=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[1, 15], Operations: ['86/86=1', '79-64=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[64, 79, 86, 86], Operations: [] Exploring Operation: 86/86=1, Resulting Numbers: [64, 79, 1] Generated Node #0,0: 16:[64, 79, 1] Operation: 86/86=1 Moving to Node #0,0 Current State: 16:[64, 79, 1], Operations: ['86/86=1'] Exploring Operation: 79-64=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 16:[1, 15] Operation: 79-64=15 Moving to Node #0,0,0 Current State: 16:[1, 15], Operations: ['86/86=1', '79-64=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 6, 3, 30, 13 ]
77
[ "6-3=3", "30*3=90", "90-13=77" ]
Current State: 77:[6, 3, 30, 13], Operations: [] Exploring Operation: 6-3=3, Resulting Numbers: [30, 13, 3] Generated Node #2: [30, 13, 3] from Operation: 6-3=3 Current State: 77:[30, 13, 3], Operations: ['6-3=3'] Exploring Operation: 30*3=90, Resulting Numbers: [13, 90] Generated Node #3: [13, 90] from Operation: 30*3=90 Current State: 77:[13, 90], Operations: ['6-3=3', '30*3=90'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[6, 3, 30, 13], Operations: [] Exploring Operation: 30-13=17, Resulting Numbers: [6, 3, 17] Generated Node #0,0: 77:[6, 3, 17] Operation: 30-13=17 Exploring Operation: 30/6=5, Resulting Numbers: [3, 13, 5] Generated Node #0,1: 77:[3, 13, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [3, 13, 24] Generated Node #0,2: 77:[3, 13, 24] Operation: 30-6=24 Exploring Operation: 3*30=90, Resulting Numbers: [6, 13, 90] Generated Node #0,3: 77:[6, 13, 90] Operation: 3*30=90 Exploring Operation: 30/3=10, Resulting Numbers: [6, 13, 10] Generated Node #0,4: 77:[6, 13, 10] Operation: 30/3=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 77:[6, 13, 10], Operations: ['30/3=10'] Exploring Operation: 13-6=7, Resulting Numbers: [10, 7] Generated Node #0,4,0: 77:[10, 7] Operation: 13-6=7 Exploring Operation: 13-10=3, Resulting Numbers: [6, 3] Generated Node #0,4,1: 77:[6, 3] Operation: 13-10=3 Exploring Operation: 10-6=4, Resulting Numbers: [13, 4] Generated Node #0,4,2: 77:[13, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [13, 16] Generated Node #0,4,3: 77:[13, 16] Operation: 6+10=16 Exploring Operation: 6*13=78, Resulting Numbers: [10, 78] Generated Node #0,4,4: 77:[10, 78] Operation: 6*13=78 Moving to Node #0,4,0 Current State: 77:[10, 7], Operations: ['30/3=10', '13-6=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[10, 78], Operations: ['30/3=10', '6*13=78'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[6, 3], Operations: ['30/3=10', '13-10=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[13, 4], Operations: ['30/3=10', '10-6=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,77 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[13, 16], Operations: ['30/3=10', '6+10=16'] Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,77 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,77 unequal: No Solution No solution 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: 77:[3, 13, 5], Operations: ['30/6=5'] Exploring Operation: 3*5=15, Resulting Numbers: [13, 15] Generated Node #0,1,0: 77:[13, 15] Operation: 3*5=15 Exploring Operation: 3+13=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 77:[5, 16] Operation: 3+13=16 Exploring Operation: 3+5=8, Resulting Numbers: [13, 8] Generated Node #0,1,2: 77:[13, 8] Operation: 3+5=8 Exploring Operation: 13-5=8, Resulting Numbers: [3, 8] Generated Node #0,1,3: 77:[3, 8] Operation: 13-5=8 Exploring Operation: 13-3=10, Resulting Numbers: [5, 10] Generated Node #0,1,4: 77:[5, 10] Operation: 13-3=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[13, 8], Operations: ['30/6=5', '3+5=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,77 unequal: No Solution No 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: 77:[5, 10], Operations: ['30/6=5', '13-3=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,77 unequal: No Solution No 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: 77:[3, 8], Operations: ['30/6=5', '13-5=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,77 unequal: No Solution No 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: 77:[13, 15], Operations: ['30/6=5', '3*5=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,77 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,77 unequal: No Solution No 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: 77:[5, 16], Operations: ['30/6=5', '3+13=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,77 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: 77:[6, 3, 17], Operations: ['30-13=17'] Exploring Operation: 6-3=3, Resulting Numbers: [17, 3] Generated Node #0,0,0: 77:[17, 3] Operation: 6-3=3 Exploring Operation: 3+17=20, Resulting Numbers: [6, 20] Generated Node #0,0,1: 77:[6, 20] Operation: 3+17=20 Exploring Operation: 6+3=9, Resulting Numbers: [17, 9] Generated Node #0,0,2: 77:[17, 9] Operation: 6+3=9 Exploring Operation: 17-3=14, Resulting Numbers: [6, 14] Generated Node #0,0,3: 77:[6, 14] Operation: 17-3=14 Exploring Operation: 17-6=11, Resulting Numbers: [3, 11] Generated Node #0,0,4: 77:[3, 11] Operation: 17-6=11 Moving to Node #0,0,3 Current State: 77:[6, 14], Operations: ['30-13=17', '17-3=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[3, 11], Operations: ['30-13=17', '17-6=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[17, 9], Operations: ['30-13=17', '6+3=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[17, 3], Operations: ['30-13=17', '6-3=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[6, 20], Operations: ['30-13=17', '3+17=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,77 unequal: No Solution No 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: 77:[6, 13, 90], Operations: ['3*30=90'] Exploring Operation: 90-6=84, Resulting Numbers: [13, 84] Generated Node #0,3,0: 77:[13, 84] Operation: 90-6=84 Exploring Operation: 90-13=77, Resulting Numbers: [6, 77] Generated Node #0,3,1: 77:[6, 77] Operation: 90-13=77 Exploring Operation: 13-6=7, Resulting Numbers: [90, 7] Generated Node #0,3,2: 77:[90, 7] Operation: 13-6=7 Exploring Operation: 6*13=78, Resulting Numbers: [90, 78] Generated Node #0,3,3: 77:[90, 78] Operation: 6*13=78 Exploring Operation: 90/6=15, Resulting Numbers: [13, 15] Generated Node #0,3,4: 77:[13, 15] Operation: 90/6=15 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 77:[6, 77], Operations: ['3*30=90', '90-13=77'] Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,77 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,77 unequal: No Solution No 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: 77:[13, 15], Operations: ['3*30=90', '90/6=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,77 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,77 unequal: No Solution No 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: 77:[13, 84], Operations: ['3*30=90', '90-6=84'] Exploring Operation: 13*84=1092, Resulting Numbers: [1092] 1092,77 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,77 unequal: No Solution No 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: 77:[90, 7], Operations: ['3*30=90', '13-6=7'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,77 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,77 unequal: No Solution No 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: 77:[90, 78], Operations: ['3*30=90', '6*13=78'] Exploring Operation: 90*78=7020, Resulting Numbers: [7020] 7020,77 unequal: No Solution Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 90+78=168, Resulting Numbers: [168] 168,77 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: 77:[3, 13, 24], Operations: ['30-6=24'] Exploring Operation: 3*24=72, Resulting Numbers: [13, 72] Generated Node #0,2,0: 77:[13, 72] Operation: 3*24=72 Exploring Operation: 24-13=11, Resulting Numbers: [3, 11] Generated Node #0,2,1: 77:[3, 11] Operation: 24-13=11 Exploring Operation: 13-3=10, Resulting Numbers: [24, 10] Generated Node #0,2,2: 77:[24, 10] Operation: 13-3=10 Exploring Operation: 24/3=8, Resulting Numbers: [13, 8] Generated Node #0,2,3: 77:[13, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [13, 21] Generated Node #0,2,4: 77:[13, 21] Operation: 24-3=21 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 77:[13, 8], Operations: ['30-6=24', '24/3=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,77 unequal: No Solution No 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: 77:[3, 11], Operations: ['30-6=24', '24-13=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,77 unequal: No Solution No 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: 77:[13, 72], Operations: ['30-6=24', '3*24=72'] Exploring Operation: 13*72=936, Resulting Numbers: [936] 936,77 unequal: No Solution Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,77 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,77 unequal: No Solution No 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: 77:[13, 21], Operations: ['30-6=24', '24-3=21'] Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,77 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,77 unequal: No Solution No 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: 77:[24, 10], Operations: ['30-6=24', '13-3=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 51, 98, 14, 56 ]
100
[ "51+56=107", "98/14=7", "107-7=100" ]
Current State: 100:[51, 98, 14, 56], Operations: [] Exploring Operation: 51+56=107, Resulting Numbers: [98, 14, 107] Generated Node #2: [98, 14, 107] from Operation: 51+56=107 Current State: 100:[98, 14, 107], Operations: ['51+56=107'] Exploring Operation: 98/14=7, Resulting Numbers: [107, 7] Generated Node #3: [107, 7] from Operation: 98/14=7 Current State: 100:[107, 7], Operations: ['51+56=107', '98/14=7'] Exploring Operation: 107-7=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[51, 98, 14, 56], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [51, 98, 4] Generated Node #0,0: 100:[51, 98, 4] Operation: 56/14=4 Moving to Node #0,0 Current State: 100:[51, 98, 4], Operations: ['56/14=4'] Exploring Operation: 98-51=47, Resulting Numbers: [4, 47] Generated Node #0,0,0: 100:[4, 47] Operation: 98-51=47 Moving to Node #0,0,0 Current State: 100:[4, 47], Operations: ['56/14=4', '98-51=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 73, 87, 76 ]
40
[ "87-76=11", "3*11=33", "73-33=40" ]
Current State: 40:[3, 73, 87, 76], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [3, 73, 11] Generated Node #2: [3, 73, 11] from Operation: 87-76=11 Current State: 40:[3, 73, 11], Operations: ['87-76=11'] Exploring Operation: 3*11=33, Resulting Numbers: [73, 33] Generated Node #3: [73, 33] from Operation: 3*11=33 Current State: 40:[73, 33], Operations: ['87-76=11', '3*11=33'] Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[3, 73, 87, 76], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [3, 73, 11] Generated Node #0,0: 40:[3, 73, 11] Operation: 87-76=11 Exploring Operation: 87-73=14, Resulting Numbers: [3, 76, 14] Generated Node #0,1: 40:[3, 76, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 40:[3, 73, 11], Operations: ['87-76=11'] Exploring Operation: 73-3=70, Resulting Numbers: [11, 70] Generated Node #0,0,0: 40:[11, 70] Operation: 73-3=70 Exploring Operation: 73-11=62, Resulting Numbers: [3, 62] Generated Node #0,0,1: 40:[3, 62] Operation: 73-11=62 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[3, 62], Operations: ['87-76=11', '73-11=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,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:[11, 70], Operations: ['87-76=11', '73-3=70'] Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,40 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: 40:[3, 76, 14], Operations: ['87-73=14'] Exploring Operation: 76-14=62, Resulting Numbers: [3, 62] Generated Node #0,1,0: 40:[3, 62] Operation: 76-14=62 Exploring Operation: 76-3=73, Resulting Numbers: [14, 73] Generated Node #0,1,1: 40:[14, 73] Operation: 76-3=73 Moving to Node #0,1,0 Current State: 40:[3, 62], Operations: ['87-73=14', '76-14=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[14, 73], Operations: ['87-73=14', '76-3=73'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,40 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 76, 42, 1, 61 ]
27
[ "76-42=34", "1*61=61", "61-34=27" ]
Current State: 27:[76, 42, 1, 61], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [1, 61, 34] Generated Node #2: [1, 61, 34] from Operation: 76-42=34 Current State: 27:[1, 61, 34], Operations: ['76-42=34'] Exploring Operation: 1*61=61, Resulting Numbers: [34, 61] Generated Node #3: [34, 61] from Operation: 1*61=61 Current State: 27:[34, 61], Operations: ['76-42=34', '1*61=61'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[76, 42, 1, 61], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [1, 61, 34] Generated Node #0,0: 27:[1, 61, 34] Operation: 76-42=34 Exploring Operation: 76-61=15, Resulting Numbers: [42, 1, 15] Generated Node #0,1: 27:[42, 1, 15] Operation: 76-61=15 Exploring Operation: 76-1=75, Resulting Numbers: [42, 61, 75] Generated Node #0,2: 27:[42, 61, 75] Operation: 76-1=75 Exploring Operation: 61-42=19, Resulting Numbers: [76, 1, 19] Generated Node #0,3: 27:[76, 1, 19] Operation: 61-42=19 Exploring Operation: 42-1=41, Resulting Numbers: [76, 61, 41] Generated Node #0,4: 27:[76, 61, 41] Operation: 42-1=41 Moving to Node #0,1 Current State: 27:[42, 1, 15], Operations: ['76-61=15'] Exploring Operation: 15-1=14, Resulting Numbers: [42, 14] Generated Node #0,1,0: 27:[42, 14] Operation: 15-1=14 Exploring Operation: 42-1=41, Resulting Numbers: [15, 41] Generated Node #0,1,1: 27:[15, 41] Operation: 42-1=41 Exploring Operation: 42/1=42, Resulting Numbers: [15, 42] Generated Node #0,1,2: 27:[15, 42] Operation: 42/1=42 Exploring Operation: 42-15=27, Resulting Numbers: [1, 27] Generated Node #0,1,3: 27:[1, 27] Operation: 42-15=27 Exploring Operation: 42*1=42, Resulting Numbers: [15, 42] Generated Node #0,1,4: 27:[15, 42] Operation: 42*1=42 Moving to Node #0,0 Current State: 27:[1, 61, 34], Operations: ['76-42=34'] Exploring Operation: 61-1=60, Resulting Numbers: [34, 60] Generated Node #0,0,0: 27:[34, 60] Operation: 61-1=60 Exploring Operation: 61/1=61, Resulting Numbers: [34, 61] Generated Node #0,0,1: 27:[34, 61] Operation: 61/1=61 Exploring Operation: 1*61=61, Resulting Numbers: [34, 61] Generated Node #0,0,2: 27:[34, 61] Operation: 1*61=61 Exploring Operation: 61-34=27, Resulting Numbers: [1, 27] Generated Node #0,0,3: 27:[1, 27] Operation: 61-34=27 Exploring Operation: 34-1=33, Resulting Numbers: [61, 33] Generated Node #0,0,4: 27:[61, 33] Operation: 34-1=33 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[1, 27], Operations: ['76-42=34', '61-34=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[76, 42, 1, 61], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [1, 61, 34] Generated Node #0,0: 27:[1, 61, 34] Operation: 76-42=34 Moving to Node #0,0 Current State: 27:[1, 61, 34], Operations: ['76-42=34'] Exploring Operation: 61-34=27, Resulting Numbers: [1, 27] Generated Node #0,0,3: 27:[1, 27] Operation: 61-34=27 Moving to Node #0,0,3 Current State: 27:[1, 27], Operations: ['76-42=34', '61-34=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 54, 13, 75, 18 ]
10
[ "54+13=67", "75-18=57", "67-57=10" ]
Current State: 10:[54, 13, 75, 18], Operations: [] Exploring Operation: 54+13=67, Resulting Numbers: [75, 18, 67] Generated Node #2: [75, 18, 67] from Operation: 54+13=67 Current State: 10:[75, 18, 67], Operations: ['54+13=67'] Exploring Operation: 75-18=57, Resulting Numbers: [67, 57] Generated Node #3: [67, 57] from Operation: 75-18=57 Current State: 10:[67, 57], Operations: ['54+13=67', '75-18=57'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[54, 13, 75, 18], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [13, 18, 21] Generated Node #0,0: 10:[13, 18, 21] Operation: 75-54=21 Exploring Operation: 54/18=3, Resulting Numbers: [13, 75, 3] Generated Node #0,1: 10:[13, 75, 3] Operation: 54/18=3 Moving to Node #0,0 Current State: 10:[13, 18, 21], Operations: ['75-54=21'] Exploring Operation: 21-18=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 10:[13, 3] Operation: 21-18=3 Exploring Operation: 21-13=8, Resulting Numbers: [18, 8] Generated Node #0,0,1: 10:[18, 8] Operation: 21-13=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[13, 3], Operations: ['75-54=21', '21-18=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[54, 13, 75, 18], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [13, 18, 21] Generated Node #0,0: 10:[13, 18, 21] Operation: 75-54=21 Moving to Node #0,0 Current State: 10:[13, 18, 21], Operations: ['75-54=21'] Exploring Operation: 21-18=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 10:[13, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 10:[13, 3], Operations: ['75-54=21', '21-18=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 5, 60, 9, 3 ]
68
[ "5+60=65", "9/3=3", "65+3=68" ]
Current State: 68:[5, 60, 9, 3], Operations: [] Exploring Operation: 5+60=65, Resulting Numbers: [9, 3, 65] Generated Node #2: [9, 3, 65] from Operation: 5+60=65 Current State: 68:[9, 3, 65], Operations: ['5+60=65'] Exploring Operation: 9/3=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 9/3=3 Current State: 68:[65, 3], Operations: ['5+60=65', '9/3=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[5, 60, 9, 3], Operations: [] Exploring Operation: 5+60=65, Resulting Numbers: [9, 3, 65] Generated Node #0,0: 68:[9, 3, 65] Operation: 5+60=65 Exploring Operation: 60+9=69, Resulting Numbers: [5, 3, 69] Generated Node #0,1: 68:[5, 3, 69] Operation: 60+9=69 Exploring Operation: 9-5=4, Resulting Numbers: [60, 3, 4] Generated Node #0,2: 68:[60, 3, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[5, 3, 69], Operations: ['60+9=69'] Exploring Operation: 69-3=66, Resulting Numbers: [5, 66] Generated Node #0,1,0: 68:[5, 66] Operation: 69-3=66 Exploring Operation: 5*3=15, Resulting Numbers: [69, 15] Generated Node #0,1,1: 68:[69, 15] Operation: 5*3=15 Exploring Operation: 5-3=2, Resulting Numbers: [69, 2] Generated Node #0,1,2: 68:[69, 2] Operation: 5-3=2 Moving to Node #0,1,2 Current State: 68:[69, 2], Operations: ['60+9=69', '5-3=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,68 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[5, 66], Operations: ['60+9=69', '69-3=66'] Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[69, 15], Operations: ['60+9=69', '5*3=15'] Exploring Operation: 69+15=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 69*15=1035, Resulting Numbers: [1035] 1035,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 Current State: 68:[9, 3, 65], Operations: ['5+60=65'] Exploring Operation: 9/3=3, Resulting Numbers: [65, 3] Generated Node #0,0,0: 68:[65, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [65, 6] Generated Node #0,0,1: 68:[65, 6] Operation: 9-3=6 Exploring Operation: 3+65=68, Resulting Numbers: [9, 68] Generated Node #0,0,2: 68:[9, 68] Operation: 3+65=68 Moving to Node #0,0,0 Current State: 68:[65, 3], Operations: ['5+60=65', '9/3=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[5, 60, 9, 3], Operations: [] Exploring Operation: 5+60=65, Resulting Numbers: [9, 3, 65] Generated Node #0,0: 68:[9, 3, 65] Operation: 5+60=65 Moving to Node #0,0 Current State: 68:[9, 3, 65], Operations: ['5+60=65'] Exploring Operation: 9/3=3, Resulting Numbers: [65, 3] Generated Node #0,0,0: 68:[65, 3] Operation: 9/3=3 Moving to Node #0,0,0 Current State: 68:[65, 3], Operations: ['5+60=65', '9/3=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 20, 79, 14, 65 ]
19
[ "79-14=65", "65/65=1", "20-1=19" ]
Current State: 19:[20, 79, 14, 65], Operations: [] Exploring Operation: 79-14=65, Resulting Numbers: [20, 65, 65] Generated Node #2: [20, 65, 65] from Operation: 79-14=65 Current State: 19:[20, 65, 65], Operations: ['79-14=65'] Exploring Operation: 65/65=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 65/65=1 Current State: 19:[20, 1], Operations: ['79-14=65', '65/65=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[20, 79, 14, 65], Operations: [] Exploring Operation: 65-20=45, Resulting Numbers: [79, 14, 45] Generated Node #0,0: 19:[79, 14, 45] Operation: 65-20=45 Exploring Operation: 79-65=14, Resulting Numbers: [20, 14, 14] Generated Node #0,1: 19:[20, 14, 14] Operation: 79-65=14 Exploring Operation: 79-14=65, Resulting Numbers: [20, 65, 65] Generated Node #0,2: 19:[20, 65, 65] Operation: 79-14=65 Exploring Operation: 79-20=59, Resulting Numbers: [14, 65, 59] Generated Node #0,3: 19:[14, 65, 59] Operation: 79-20=59 Moving to Node #0,1 Current State: 19:[20, 14, 14], Operations: ['79-65=14'] Exploring Operation: 14+14=28, Resulting Numbers: [20, 28] Generated Node #0,1,0: 19:[20, 28] Operation: 14+14=28 Exploring Operation: 14/14=1, Resulting Numbers: [20, 1] Generated Node #0,1,1: 19:[20, 1] Operation: 14/14=1 Exploring Operation: 20-14=6, Resulting Numbers: [14, 6] Generated Node #0,1,2: 19:[14, 6] Operation: 20-14=6 Exploring Operation: 20-14=6, Resulting Numbers: [14, 6] Generated Node #0,1,3: 19:[14, 6] Operation: 20-14=6 Moving to Node #0,3 Current State: 19:[14, 65, 59], Operations: ['79-20=59'] Exploring Operation: 14+65=79, Resulting Numbers: [59, 79] Generated Node #0,3,0: 19:[59, 79] Operation: 14+65=79 Exploring Operation: 65-59=6, Resulting Numbers: [14, 6] Generated Node #0,3,1: 19:[14, 6] Operation: 65-59=6 Exploring Operation: 59-14=45, Resulting Numbers: [65, 45] Generated Node #0,3,2: 19:[65, 45] Operation: 59-14=45 Exploring Operation: 65-14=51, Resulting Numbers: [59, 51] Generated Node #0,3,3: 19:[59, 51] Operation: 65-14=51 Moving to Node #0,0 Current State: 19:[79, 14, 45], Operations: ['65-20=45'] Exploring Operation: 79-14=65, Resulting Numbers: [45, 65] Generated Node #0,0,0: 19:[45, 65] Operation: 79-14=65 Exploring Operation: 79-45=34, Resulting Numbers: [14, 34] Generated Node #0,0,1: 19:[14, 34] Operation: 79-45=34 Exploring Operation: 79+14=93, Resulting Numbers: [45, 93] Generated Node #0,0,2: 19:[45, 93] Operation: 79+14=93 Exploring Operation: 45-14=31, Resulting Numbers: [79, 31] Generated Node #0,0,3: 19:[79, 31] Operation: 45-14=31 Moving to Node #0,2 Current State: 19:[20, 65, 65], Operations: ['79-14=65'] Exploring Operation: 65/65=1, Resulting Numbers: [20, 1] Generated Node #0,2,0: 19:[20, 1] Operation: 65/65=1 Exploring Operation: 65-65=0, Resulting Numbers: [20, 0] Generated Node #0,2,1: 19:[20, 0] Operation: 65-65=0 Exploring Operation: 65-20=45, Resulting Numbers: [65, 45] Generated Node #0,2,2: 19:[65, 45] Operation: 65-20=45 Exploring Operation: 65-20=45, Resulting Numbers: [65, 45] Generated Node #0,2,3: 19:[65, 45] Operation: 65-20=45 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[20, 1], Operations: ['79-14=65', '65/65=1'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[20, 79, 14, 65], Operations: [] Exploring Operation: 79-14=65, Resulting Numbers: [20, 65, 65] Generated Node #0,2: 19:[20, 65, 65] Operation: 79-14=65 Moving to Node #0,2 Current State: 19:[20, 65, 65], Operations: ['79-14=65'] Exploring Operation: 65/65=1, Resulting Numbers: [20, 1] Generated Node #0,2,0: 19:[20, 1] Operation: 65/65=1 Moving to Node #0,2,0 Current State: 19:[20, 1], Operations: ['79-14=65', '65/65=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 35, 32, 29, 59 ]
85
[ "35-32=3", "29+59=88", "88-3=85" ]
Current State: 85:[35, 32, 29, 59], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [29, 59, 3] Generated Node #2: [29, 59, 3] from Operation: 35-32=3 Current State: 85:[29, 59, 3], Operations: ['35-32=3'] Exploring Operation: 29+59=88, Resulting Numbers: [3, 88] Generated Node #3: [3, 88] from Operation: 29+59=88 Current State: 85:[3, 88], Operations: ['35-32=3', '29+59=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[35, 32, 29, 59], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [32, 29, 24] Generated Node #0,0: 85:[32, 29, 24] Operation: 59-35=24 Exploring Operation: 32+59=91, Resulting Numbers: [35, 29, 91] Generated Node #0,1: 85:[35, 29, 91] Operation: 32+59=91 Exploring Operation: 35+59=94, Resulting Numbers: [32, 29, 94] Generated Node #0,2: 85:[32, 29, 94] Operation: 35+59=94 Moving to Node #0,0 Current State: 85:[32, 29, 24], Operations: ['59-35=24'] Exploring Operation: 29-24=5, Resulting Numbers: [32, 5] Generated Node #0,0,0: 85:[32, 5] Operation: 29-24=5 Exploring Operation: 32-29=3, Resulting Numbers: [24, 3] Generated Node #0,0,1: 85:[24, 3] Operation: 32-29=3 Exploring Operation: 32-24=8, Resulting Numbers: [29, 8] Generated Node #0,0,2: 85:[29, 8] Operation: 32-24=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[24, 3], Operations: ['59-35=24', '32-29=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,85 unequal: No Solution No 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: 85:[32, 5], Operations: ['59-35=24', '29-24=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,85 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,85 unequal: No Solution No 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: 85:[29, 8], Operations: ['59-35=24', '32-24=8'] Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,85 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,85 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,85 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: 85:[35, 29, 91], Operations: ['32+59=91'] Exploring Operation: 35+29=64, Resulting Numbers: [91, 64] Generated Node #0,1,0: 85:[91, 64] Operation: 35+29=64 Exploring Operation: 35-29=6, Resulting Numbers: [91, 6] Generated Node #0,1,1: 85:[91, 6] Operation: 35-29=6 Exploring Operation: 91-35=56, Resulting Numbers: [29, 56] Generated Node #0,1,2: 85:[29, 56] Operation: 91-35=56 Moving to Node #0,2 Current State: 85:[32, 29, 94], Operations: ['35+59=94'] Exploring Operation: 32-29=3, Resulting Numbers: [94, 3] Generated Node #0,2,0: 85:[94, 3] Operation: 32-29=3 Exploring Operation: 94-32=62, Resulting Numbers: [29, 62] Generated Node #0,2,1: 85:[29, 62] Operation: 94-32=62 Exploring Operation: 32+29=61, Resulting Numbers: [94, 61] Generated Node #0,2,2: 85:[94, 61] Operation: 32+29=61 Moving to Node #0,1,1 Current State: 85:[91, 6], Operations: ['32+59=91', '35-29=6'] Exploring Operation: 91*6=546, Resulting Numbers: [546] 546,85 unequal: No Solution Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[35, 32, 29, 59], Operations: [] Exploring Operation: 32+59=91, Resulting Numbers: [35, 29, 91] Generated Node #0,1: 85:[35, 29, 91] Operation: 32+59=91 Moving to Node #0,1 Current State: 85:[35, 29, 91], Operations: ['32+59=91'] Exploring Operation: 35-29=6, Resulting Numbers: [91, 6] Generated Node #0,1,1: 85:[91, 6] Operation: 35-29=6 Moving to Node #0,1,1 Current State: 85:[91, 6], Operations: ['32+59=91', '35-29=6'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 36, 27, 95, 19 ]
99
[ "27*95=2565", "2565/19=135", "135-36=99" ]
Current State: 99:[36, 27, 95, 19], Operations: [] Exploring Operation: 27*95=2565, Resulting Numbers: [36, 19, 2565] Generated Node #2: [36, 19, 2565] from Operation: 27*95=2565 Current State: 99:[36, 19, 2565], Operations: ['27*95=2565'] Exploring Operation: 2565/19=135, Resulting Numbers: [36, 135] Generated Node #3: [36, 135] from Operation: 2565/19=135 Current State: 99:[36, 135], Operations: ['27*95=2565', '2565/19=135'] Exploring Operation: 135-36=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[36, 27, 95, 19], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [36, 95, 8] Generated Node #0,0: 99:[36, 95, 8] Operation: 27-19=8 Moving to Node #0,0 Current State: 99:[36, 95, 8], Operations: ['27-19=8'] Exploring Operation: 95+8=103, Resulting Numbers: [36, 103] Generated Node #0,0,0: 99:[36, 103] Operation: 95+8=103 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[36, 103], Operations: ['27-19=8', '95+8=103'] Exploring Operation: 103-36=67, Resulting Numbers: [67] 67,99 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
[ 54, 71, 49, 2 ]
87
[ "54+71=125", "49+125=174", "174/2=87" ]
Current State: 87:[54, 71, 49, 2], Operations: [] Exploring Operation: 54+71=125, Resulting Numbers: [49, 2, 125] Generated Node #2: [49, 2, 125] from Operation: 54+71=125 Current State: 87:[49, 2, 125], Operations: ['54+71=125'] Exploring Operation: 49+125=174, Resulting Numbers: [2, 174] Generated Node #3: [2, 174] from Operation: 49+125=174 Current State: 87:[2, 174], Operations: ['54+71=125', '49+125=174'] Exploring Operation: 174/2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[54, 71, 49, 2], Operations: [] Exploring Operation: 54+49=103, Resulting Numbers: [71, 2, 103] Generated Node #0,0: 87:[71, 2, 103] Operation: 54+49=103 Exploring Operation: 54/2=27, Resulting Numbers: [71, 49, 27] Generated Node #0,1: 87:[71, 49, 27] Operation: 54/2=27 Exploring Operation: 71-54=17, Resulting Numbers: [49, 2, 17] Generated Node #0,2: 87:[49, 2, 17] Operation: 71-54=17 Exploring Operation: 71-49=22, Resulting Numbers: [54, 2, 22] Generated Node #0,3: 87:[54, 2, 22] Operation: 71-49=22 Exploring Operation: 54-49=5, Resulting Numbers: [71, 2, 5] Generated Node #0,4: 87:[71, 2, 5] Operation: 54-49=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[71, 2, 5], Operations: ['54-49=5'] Exploring Operation: 71+5=76, Resulting Numbers: [2, 76] Generated Node #0,4,0: 87:[2, 76] Operation: 71+5=76 Exploring Operation: 71+2=73, Resulting Numbers: [5, 73] Generated Node #0,4,1: 87:[5, 73] Operation: 71+2=73 Exploring Operation: 2+5=7, Resulting Numbers: [71, 7] Generated Node #0,4,2: 87:[71, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [71, 3] Generated Node #0,4,3: 87:[71, 3] Operation: 5-2=3 Exploring Operation: 71-2=69, Resulting Numbers: [5, 69] Generated Node #0,4,4: 87:[5, 69] Operation: 71-2=69 Moving to Node #0,4,0 Current State: 87:[2, 76], Operations: ['54-49=5', '71+5=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[71, 3], Operations: ['54-49=5', '5-2=3'] Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,87 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,87 unequal: No Solution Moving to Node #0,4,1 Current State: 87:[5, 73], Operations: ['54-49=5', '71+2=73'] Exploring Operation: 5*73=365, Resulting Numbers: [365] 365,87 unequal: No Solution Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,87 unequal: No Solution Moving to Node #0,4,2 Current State: 87:[71, 7], Operations: ['54-49=5', '2+5=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 71*7=497, Resulting Numbers: [497] 497,87 unequal: No Solution Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[5, 69], Operations: ['54-49=5', '71-2=69'] Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,87 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[71, 2, 103], Operations: ['54+49=103'] Exploring Operation: 71-2=69, Resulting Numbers: [103, 69] Generated Node #0,0,0: 87:[103, 69] Operation: 71-2=69 Exploring Operation: 2+103=105, Resulting Numbers: [71, 105] Generated Node #0,0,1: 87:[71, 105] Operation: 2+103=105 Exploring Operation: 71+2=73, Resulting Numbers: [103, 73] Generated Node #0,0,2: 87:[103, 73] Operation: 71+2=73 Exploring Operation: 103-71=32, Resulting Numbers: [2, 32] Generated Node #0,0,3: 87:[2, 32] Operation: 103-71=32 Exploring Operation: 103-2=101, Resulting Numbers: [71, 101] Generated Node #0,0,4: 87:[71, 101] Operation: 103-2=101 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[2, 32], Operations: ['54+49=103', '103-71=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[103, 73], Operations: ['54+49=103', '71+2=73'] Exploring Operation: 103-73=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 103+73=176, Resulting Numbers: [176] 176,87 unequal: No Solution Exploring Operation: 103*73=7519, Resulting Numbers: [7519] 7519,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 87:[71, 101], Operations: ['54+49=103', '103-2=101'] Exploring Operation: 71*101=7171, Resulting Numbers: [7171] 7171,87 unequal: No Solution Exploring Operation: 71+101=172, Resulting Numbers: [172] 172,87 unequal: No Solution Exploring Operation: 101-71=30, Resulting Numbers: [30] 30,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[103, 69], Operations: ['54+49=103', '71-2=69'] Exploring Operation: 103*69=7107, Resulting Numbers: [7107] 7107,87 unequal: No Solution Exploring Operation: 103+69=172, Resulting Numbers: [172] 172,87 unequal: No Solution Exploring Operation: 103-69=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[71, 105], Operations: ['54+49=103', '2+103=105'] Exploring Operation: 105-71=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 71+105=176, Resulting Numbers: [176] 176,87 unequal: No Solution Exploring Operation: 71*105=7455, Resulting Numbers: [7455] 7455,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,2 Current State: 87:[49, 2, 17], Operations: ['71-54=17'] Exploring Operation: 49-2=47, Resulting Numbers: [17, 47] Generated Node #0,2,0: 87:[17, 47] Operation: 49-2=47 Exploring Operation: 2*17=34, Resulting Numbers: [49, 34] Generated Node #0,2,1: 87:[49, 34] Operation: 2*17=34 Exploring Operation: 49-17=32, Resulting Numbers: [2, 32] Generated Node #0,2,2: 87:[2, 32] Operation: 49-17=32 Exploring Operation: 49+17=66, Resulting Numbers: [2, 66] Generated Node #0,2,3: 87:[2, 66] Operation: 49+17=66 Exploring Operation: 49*2=98, Resulting Numbers: [17, 98] Generated Node #0,2,4: 87:[17, 98] Operation: 49*2=98 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[2, 32], Operations: ['71-54=17', '49-17=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,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,2,3 Current State: 87:[2, 66], Operations: ['71-54=17', '49+17=66'] Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 2*66=132, Resulting Numbers: [132] 132,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,2,4 Current State: 87:[17, 98], Operations: ['71-54=17', '49*2=98'] Exploring Operation: 17+98=115, Resulting Numbers: [115] 115,87 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,87 unequal: No Solution Exploring Operation: 17*98=1666, Resulting Numbers: [1666] 1666,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,2,1 Current State: 87:[49, 34], Operations: ['71-54=17', '2*17=34'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,87 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,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,2,0 Current State: 87:[17, 47], Operations: ['71-54=17', '49-2=47'] Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,87 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,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,3 Current State: 87:[54, 2, 22], Operations: ['71-49=22'] Exploring Operation: 54-2=52, Resulting Numbers: [22, 52] Generated Node #0,3,0: 87:[22, 52] Operation: 54-2=52 Exploring Operation: 54+22=76, Resulting Numbers: [2, 76] Generated Node #0,3,1: 87:[2, 76] Operation: 54+22=76 Exploring Operation: 54/2=27, Resulting Numbers: [22, 27] Generated Node #0,3,2: 87:[22, 27] Operation: 54/2=27 Exploring Operation: 54-22=32, Resulting Numbers: [2, 32] Generated Node #0,3,3: 87:[2, 32] Operation: 54-22=32 Exploring Operation: 54*2=108, Resulting Numbers: [22, 108] Generated Node #0,3,4: 87:[22, 108] Operation: 54*2=108 Moving to Node #0,3,3 Current State: 87:[2, 32], Operations: ['71-49=22', '54-22=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[22, 27], Operations: ['71-49=22', '54/2=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,87 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[2, 76], Operations: ['71-49=22', '54+22=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,87 unequal: No Solution Moving to Node #0,3,4 Current State: 87:[22, 108], Operations: ['71-49=22', '54*2=108'] Exploring Operation: 22+108=130, Resulting Numbers: [130] 130,87 unequal: No Solution Exploring Operation: 22*108=2376, Resulting Numbers: [2376] 2376,87 unequal: No Solution Exploring Operation: 108-22=86, Resulting Numbers: [86] 86,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[22, 52], Operations: ['71-49=22', '54-2=52'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,87 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[71, 49, 27], Operations: ['54/2=27'] Exploring Operation: 49-27=22, Resulting Numbers: [71, 22] Generated Node #0,1,0: 87:[71, 22] Operation: 49-27=22 Exploring Operation: 71+49=120, Resulting Numbers: [27, 120] Generated Node #0,1,1: 87:[27, 120] Operation: 71+49=120 Exploring Operation: 71-49=22, Resulting Numbers: [27, 22] Generated Node #0,1,2: 87:[27, 22] Operation: 71-49=22 Exploring Operation: 49+27=76, Resulting Numbers: [71, 76] Generated Node #0,1,3: 87:[71, 76] Operation: 49+27=76 Exploring Operation: 71+27=98, Resulting Numbers: [49, 98] Generated Node #0,1,4: 87:[49, 98] Operation: 71+27=98 Moving to Node #0,1,2 Current State: 87:[27, 22], Operations: ['54/2=27', '71-49=22'] Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[71, 22], Operations: ['54/2=27', '49-27=22'] Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 71+22=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 71*22=1562, Resulting Numbers: [1562] 1562,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[71, 76], Operations: ['54/2=27', '49+27=76'] Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,87 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,87 unequal: No Solution Moving to Node #0,1,4 Current State: 87:[49, 98], Operations: ['54/2=27', '71+27=98'] Exploring Operation: 49+98=147, Resulting Numbers: [147] 147,87 unequal: No Solution Exploring Operation: 49*98=4802, Resulting Numbers: [4802] 4802,87 unequal: No Solution Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[27, 120], Operations: ['54/2=27', '71+49=120'] Exploring Operation: 27+120=147, Resulting Numbers: [147] 147,87 unequal: No Solution Exploring Operation: 27*120=3240, Resulting Numbers: [3240] 3240,87 unequal: No Solution Exploring Operation: 120-27=93, Resulting Numbers: [93] 93,87 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
[ 21, 68, 2, 87 ]
74
[ "21+87=108", "68/2=34", "108-34=74" ]
Current State: 74:[21, 68, 2, 87], Operations: [] Exploring Operation: 21+87=108, Resulting Numbers: [68, 2, 108] Generated Node #2: [68, 2, 108] from Operation: 21+87=108 Current State: 74:[68, 2, 108], Operations: ['21+87=108'] Exploring Operation: 68/2=34, Resulting Numbers: [108, 34] Generated Node #3: [108, 34] from Operation: 68/2=34 Current State: 74:[108, 34], Operations: ['21+87=108', '68/2=34'] Exploring Operation: 108-34=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[21, 68, 2, 87], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [68, 2, 66] Generated Node #0,0: 74:[68, 2, 66] Operation: 87-21=66 Exploring Operation: 68-21=47, Resulting Numbers: [2, 87, 47] Generated Node #0,1: 74:[2, 87, 47] Operation: 68-21=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[68, 2, 66], Operations: ['87-21=66'] Exploring Operation: 66/2=33, Resulting Numbers: [68, 33] Generated Node #0,0,0: 74:[68, 33] Operation: 66/2=33 Exploring Operation: 68-66=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 74:[2, 2] Operation: 68-66=2 Moving to Node #0,0,1 Current State: 74:[2, 2], Operations: ['87-21=66', '68-66=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[68, 33], Operations: ['87-21=66', '66/2=33'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[2, 87, 47], Operations: ['68-21=47'] Exploring Operation: 87-47=40, Resulting Numbers: [2, 40] Generated Node #0,1,0: 74:[2, 40] Operation: 87-47=40 Exploring Operation: 87-2=85, Resulting Numbers: [47, 85] Generated Node #0,1,1: 74:[47, 85] Operation: 87-2=85 Moving to Node #0,1,0 Current State: 74:[2, 40], Operations: ['68-21=47', '87-47=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[47, 85], Operations: ['68-21=47', '87-2=85'] Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,74 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
[ 47, 9, 1, 35 ]
92
[ "47+9=56", "1+35=36", "56+36=92" ]
Current State: 92:[47, 9, 1, 35], Operations: [] Exploring Operation: 47+9=56, Resulting Numbers: [1, 35, 56] Generated Node #2: [1, 35, 56] from Operation: 47+9=56 Current State: 92:[1, 35, 56], Operations: ['47+9=56'] Exploring Operation: 1+35=36, Resulting Numbers: [56, 36] Generated Node #3: [56, 36] from Operation: 1+35=36 Current State: 92:[56, 36], Operations: ['47+9=56', '1+35=36'] Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[47, 9, 1, 35], Operations: [] Exploring Operation: 9+35=44, Resulting Numbers: [47, 1, 44] Generated Node #0,0: 92:[47, 1, 44] Operation: 9+35=44 Exploring Operation: 35-9=26, Resulting Numbers: [47, 1, 26] Generated Node #0,1: 92:[47, 1, 26] Operation: 35-9=26 Exploring Operation: 47-1=46, Resulting Numbers: [9, 35, 46] Generated Node #0,2: 92:[9, 35, 46] Operation: 47-1=46 Exploring Operation: 47-35=12, Resulting Numbers: [9, 1, 12] Generated Node #0,3: 92:[9, 1, 12] Operation: 47-35=12 Moving to Node #0,0 Current State: 92:[47, 1, 44], Operations: ['9+35=44'] Exploring Operation: 47+44=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 92:[1, 91] Operation: 47+44=91 Exploring Operation: 47-1=46, Resulting Numbers: [44, 46] Generated Node #0,0,1: 92:[44, 46] Operation: 47-1=46 Exploring Operation: 1+44=45, Resulting Numbers: [47, 45] Generated Node #0,0,2: 92:[47, 45] Operation: 1+44=45 Exploring Operation: 47-44=3, Resulting Numbers: [1, 3] Generated Node #0,0,3: 92:[1, 3] Operation: 47-44=3 Moving to Node #0,1 Current State: 92:[47, 1, 26], Operations: ['35-9=26'] Exploring Operation: 47-26=21, Resulting Numbers: [1, 21] Generated Node #0,1,0: 92:[1, 21] Operation: 47-26=21 Exploring Operation: 47*1=47, Resulting Numbers: [26, 47] Generated Node #0,1,1: 92:[26, 47] Operation: 47*1=47 Exploring Operation: 26-1=25, Resulting Numbers: [47, 25] Generated Node #0,1,2: 92:[47, 25] Operation: 26-1=25 Exploring Operation: 47-1=46, Resulting Numbers: [26, 46] Generated Node #0,1,3: 92:[26, 46] Operation: 47-1=46 Moving to Node #0,3 Current State: 92:[9, 1, 12], Operations: ['47-35=12'] Exploring Operation: 9-1=8, Resulting Numbers: [12, 8] Generated Node #0,3,0: 92:[12, 8] Operation: 9-1=8 Exploring Operation: 9+12=21, Resulting Numbers: [1, 21] Generated Node #0,3,1: 92:[1, 21] Operation: 9+12=21 Exploring Operation: 12-1=11, Resulting Numbers: [9, 11] Generated Node #0,3,2: 92:[9, 11] Operation: 12-1=11 Exploring Operation: 12-9=3, Resulting Numbers: [1, 3] Generated Node #0,3,3: 92:[1, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 92:[1, 3], Operations: ['47-35=12', '12-9=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,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,3,1 Current State: 92:[1, 21], Operations: ['47-35=12', '9+12=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,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,3,0 Current State: 92:[12, 8], Operations: ['47-35=12', '9-1=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,92 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,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,3,2 Current State: 92:[9, 11], Operations: ['47-35=12', '12-1=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,92 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: 92:[9, 35, 46], Operations: ['47-1=46'] Exploring Operation: 35+46=81, Resulting Numbers: [9, 81] Generated Node #0,2,0: 92:[9, 81] Operation: 35+46=81 Exploring Operation: 46-35=11, Resulting Numbers: [9, 11] Generated Node #0,2,1: 92:[9, 11] Operation: 46-35=11 Exploring Operation: 9+35=44, Resulting Numbers: [46, 44] Generated Node #0,2,2: 92:[46, 44] Operation: 9+35=44 Exploring Operation: 35-9=26, Resulting Numbers: [46, 26] Generated Node #0,2,3: 92:[46, 26] Operation: 35-9=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[46, 44], Operations: ['47-1=46', '9+35=44'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 46*44=2024, Resulting Numbers: [2024] 2024,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:[46, 26], Operations: ['47-1=46', '35-9=26'] Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,92 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,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,1 Current State: 92:[9, 11], Operations: ['47-1=46', '46-35=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,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:[9, 81], Operations: ['47-1=46', '35+46=81'] Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,92 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 92:[1, 91], Operations: ['9+35=44', '47+44=91'] Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 1+91=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[47, 9, 1, 35], Operations: [] Exploring Operation: 9+35=44, Resulting Numbers: [47, 1, 44] Generated Node #0,0: 92:[47, 1, 44] Operation: 9+35=44 Moving to Node #0,0 Current State: 92:[47, 1, 44], Operations: ['9+35=44'] Exploring Operation: 47+44=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 92:[1, 91] Operation: 47+44=91 Moving to Node #0,0,0 Current State: 92:[1, 91], Operations: ['9+35=44', '47+44=91'] Exploring Operation: 1+91=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 87, 35, 15, 88 ]
10
[ "87+88=175", "175/35=5", "15-5=10" ]
Current State: 10:[87, 35, 15, 88], Operations: [] Exploring Operation: 87+88=175, Resulting Numbers: [35, 15, 175] Generated Node #2: [35, 15, 175] from Operation: 87+88=175 Current State: 10:[35, 15, 175], Operations: ['87+88=175'] Exploring Operation: 175/35=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 175/35=5 Current State: 10:[15, 5], Operations: ['87+88=175', '175/35=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[87, 35, 15, 88], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [15, 88, 52] Generated Node #0,0: 10:[15, 88, 52] Operation: 87-35=52 Exploring Operation: 35-15=20, Resulting Numbers: [87, 88, 20] Generated Node #0,1: 10:[87, 88, 20] Operation: 35-15=20 Exploring Operation: 88-35=53, Resulting Numbers: [87, 15, 53] Generated Node #0,2: 10:[87, 15, 53] Operation: 88-35=53 Exploring Operation: 88-87=1, Resulting Numbers: [35, 15, 1] Generated Node #0,3: 10:[35, 15, 1] Operation: 88-87=1 Exploring Operation: 87-15=72, Resulting Numbers: [35, 88, 72] Generated Node #0,4: 10:[35, 88, 72] Operation: 87-15=72 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[35, 15, 1], Operations: ['88-87=1'] Exploring Operation: 35/1=35, Resulting Numbers: [15, 35] Generated Node #0,3,0: 10:[15, 35] Operation: 35/1=35 Exploring Operation: 35*1=35, Resulting Numbers: [15, 35] Generated Node #0,3,1: 10:[15, 35] Operation: 35*1=35 Exploring Operation: 35-15=20, Resulting Numbers: [1, 20] Generated Node #0,3,2: 10:[1, 20] Operation: 35-15=20 Exploring Operation: 15-1=14, Resulting Numbers: [35, 14] Generated Node #0,3,3: 10:[35, 14] Operation: 15-1=14 Exploring Operation: 35-1=34, Resulting Numbers: [15, 34] Generated Node #0,3,4: 10:[15, 34] Operation: 35-1=34 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[1, 20], Operations: ['88-87=1', '35-15=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[35, 14], Operations: ['88-87=1', '15-1=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,10 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 10:[15, 34], Operations: ['88-87=1', '35-1=34'] Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,10 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[15, 35], Operations: ['88-87=1', '35/1=35'] Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[15, 35], Operations: ['88-87=1', '35*1=35'] Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,10 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[15, 88, 52], Operations: ['87-35=52'] Exploring Operation: 15+88=103, Resulting Numbers: [52, 103] Generated Node #0,0,0: 10:[52, 103] Operation: 15+88=103 Exploring Operation: 88-15=73, Resulting Numbers: [52, 73] Generated Node #0,0,1: 10:[52, 73] Operation: 88-15=73 Exploring Operation: 15+52=67, Resulting Numbers: [88, 67] Generated Node #0,0,2: 10:[88, 67] Operation: 15+52=67 Exploring Operation: 88-52=36, Resulting Numbers: [15, 36] Generated Node #0,0,3: 10:[15, 36] Operation: 88-52=36 Exploring Operation: 52-15=37, Resulting Numbers: [88, 37] Generated Node #0,0,4: 10:[88, 37] Operation: 52-15=37 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[15, 36], Operations: ['87-35=52', '88-52=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,10 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[52, 73], Operations: ['87-35=52', '88-15=73'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 10:[88, 37], Operations: ['87-35=52', '52-15=37'] Exploring Operation: 88*37=3256, Resulting Numbers: [3256] 3256,10 unequal: No Solution Exploring Operation: 88+37=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[52, 103], Operations: ['87-35=52', '15+88=103'] Exploring Operation: 52+103=155, Resulting Numbers: [155] 155,10 unequal: No Solution Exploring Operation: 52*103=5356, Resulting Numbers: [5356] 5356,10 unequal: No Solution Exploring Operation: 103-52=51, Resulting Numbers: [51] 51,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[88, 67], Operations: ['87-35=52', '15+52=67'] Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,10 unequal: No Solution Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[87, 15, 53], Operations: ['88-35=53'] Exploring Operation: 87-53=34, Resulting Numbers: [15, 34] Generated Node #0,2,0: 10:[15, 34] Operation: 87-53=34 Exploring Operation: 53-15=38, Resulting Numbers: [87, 38] Generated Node #0,2,1: 10:[87, 38] Operation: 53-15=38 Exploring Operation: 87+15=102, Resulting Numbers: [53, 102] Generated Node #0,2,2: 10:[53, 102] Operation: 87+15=102 Exploring Operation: 87+53=140, Resulting Numbers: [15, 140] Generated Node #0,2,3: 10:[15, 140] Operation: 87+53=140 Exploring Operation: 87-15=72, Resulting Numbers: [53, 72] Generated Node #0,2,4: 10:[53, 72] Operation: 87-15=72 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[15, 34], Operations: ['88-35=53', '87-53=34'] Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,10 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[87, 38], Operations: ['88-35=53', '53-15=38'] Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,10 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 10:[53, 72], Operations: ['88-35=53', '87-15=72'] Exploring Operation: 53*72=3816, Resulting Numbers: [3816] 3816,10 unequal: No Solution Exploring Operation: 53+72=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[53, 102], Operations: ['88-35=53', '87+15=102'] Exploring Operation: 102-53=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 53+102=155, Resulting Numbers: [155] 155,10 unequal: No Solution Exploring Operation: 53*102=5406, Resulting Numbers: [5406] 5406,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 10:[15, 140], Operations: ['88-35=53', '87+53=140'] Exploring Operation: 140-15=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 15*140=2100, Resulting Numbers: [2100] 2100,10 unequal: No Solution Exploring Operation: 15+140=155, Resulting Numbers: [155] 155,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[87, 88, 20], Operations: ['35-15=20'] Exploring Operation: 87-20=67, Resulting Numbers: [88, 67] Generated Node #0,1,0: 10:[88, 67] Operation: 87-20=67 Exploring Operation: 87+20=107, Resulting Numbers: [88, 107] Generated Node #0,1,1: 10:[88, 107] Operation: 87+20=107 Exploring Operation: 87+88=175, Resulting Numbers: [20, 175] Generated Node #0,1,2: 10:[20, 175] Operation: 87+88=175 Exploring Operation: 88-20=68, Resulting Numbers: [87, 68] Generated Node #0,1,3: 10:[87, 68] Operation: 88-20=68 Exploring Operation: 88-87=1, Resulting Numbers: [20, 1] Generated Node #0,1,4: 10:[20, 1] Operation: 88-87=1 Moving to Node #0,1,4 Current State: 10:[20, 1], Operations: ['35-15=20', '88-87=1'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[87, 68], Operations: ['35-15=20', '88-20=68'] Exploring Operation: 87+68=155, Resulting Numbers: [155] 155,10 unequal: No Solution Exploring Operation: 87*68=5916, Resulting Numbers: [5916] 5916,10 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[88, 67], Operations: ['35-15=20', '87-20=67'] Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,10 unequal: No Solution Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,10 unequal: No Solution Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[88, 107], Operations: ['35-15=20', '87+20=107'] Exploring Operation: 88+107=195, Resulting Numbers: [195] 195,10 unequal: No Solution Exploring Operation: 88*107=9416, Resulting Numbers: [9416] 9416,10 unequal: No Solution Exploring Operation: 107-88=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[20, 175], Operations: ['35-15=20', '87+88=175'] Exploring Operation: 175-20=155, Resulting Numbers: [155] 155,10 unequal: No Solution Exploring Operation: 20*175=3500, Resulting Numbers: [3500] 3500,10 unequal: No Solution Exploring Operation: 20+175=195, Resulting Numbers: [195] 195,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 10:[35, 88, 72], Operations: ['87-15=72'] Exploring Operation: 88-72=16, Resulting Numbers: [35, 16] Generated Node #0,4,0: 10:[35, 16] Operation: 88-72=16 Exploring Operation: 35+88=123, Resulting Numbers: [72, 123] Generated Node #0,4,1: 10:[72, 123] Operation: 35+88=123 Exploring Operation: 35+72=107, Resulting Numbers: [88, 107] Generated Node #0,4,2: 10:[88, 107] Operation: 35+72=107 Exploring Operation: 72-35=37, Resulting Numbers: [88, 37] Generated Node #0,4,3: 10:[88, 37] Operation: 72-35=37 Exploring Operation: 88-35=53, Resulting Numbers: [72, 53] Generated Node #0,4,4: 10:[72, 53] Operation: 88-35=53 Moving to Node #0,4,0 Current State: 10:[35, 16], Operations: ['87-15=72', '88-72=16'] Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,10 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[72, 53], Operations: ['87-15=72', '88-35=53'] Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[88, 37], Operations: ['87-15=72', '72-35=37'] Exploring Operation: 88*37=3256, Resulting Numbers: [3256] 3256,10 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 88+37=125, Resulting Numbers: [125] 125,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[72, 123], Operations: ['87-15=72', '35+88=123'] Exploring Operation: 72+123=195, Resulting Numbers: [195] 195,10 unequal: No Solution Exploring Operation: 123-72=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 72*123=8856, Resulting Numbers: [8856] 8856,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[88, 107], Operations: ['87-15=72', '35+72=107'] Exploring Operation: 107-88=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 88*107=9416, Resulting Numbers: [9416] 9416,10 unequal: No Solution Exploring Operation: 88+107=195, Resulting Numbers: [195] 195,10 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
[ 7, 51, 55, 74 ]
10
[ "55-51=4", "74-4=70", "70/7=10" ]
Current State: 10:[7, 51, 55, 74], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [7, 74, 4] Generated Node #2: [7, 74, 4] from Operation: 55-51=4 Current State: 10:[7, 74, 4], Operations: ['55-51=4'] Exploring Operation: 74-4=70, Resulting Numbers: [7, 70] Generated Node #3: [7, 70] from Operation: 74-4=70 Current State: 10:[7, 70], Operations: ['55-51=4', '74-4=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[7, 51, 55, 74], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [7, 51, 19] Generated Node #0,0: 10:[7, 51, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 10:[7, 51, 19], Operations: ['74-55=19'] Exploring Operation: 51-19=32, Resulting Numbers: [7, 32] Generated Node #0,0,0: 10:[7, 32] Operation: 51-19=32 Moving to Node #0,0,0 Current State: 10:[7, 32], Operations: ['74-55=19', '51-19=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,10 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 80, 52, 24, 25 ]
10
[ "24*25=600", "600-80=520", "520/52=10" ]
Current State: 10:[80, 52, 24, 25], Operations: [] Exploring Operation: 24*25=600, Resulting Numbers: [80, 52, 600] Generated Node #2: [80, 52, 600] from Operation: 24*25=600 Current State: 10:[80, 52, 600], Operations: ['24*25=600'] Exploring Operation: 600-80=520, Resulting Numbers: [52, 520] Generated Node #3: [52, 520] from Operation: 600-80=520 Current State: 10:[52, 520], Operations: ['24*25=600', '600-80=520'] Exploring Operation: 520/52=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[80, 52, 24, 25], Operations: [] Exploring Operation: 52-25=27, Resulting Numbers: [80, 24, 27] Generated Node #0,0: 10:[80, 24, 27] Operation: 52-25=27 Exploring Operation: 80-24=56, Resulting Numbers: [52, 25, 56] Generated Node #0,1: 10:[52, 25, 56] Operation: 80-24=56 Exploring Operation: 80-25=55, Resulting Numbers: [52, 24, 55] Generated Node #0,2: 10:[52, 24, 55] Operation: 80-25=55 Exploring Operation: 80-52=28, Resulting Numbers: [24, 25, 28] Generated Node #0,3: 10:[24, 25, 28] Operation: 80-52=28 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[24, 25, 28], Operations: ['80-52=28'] Exploring Operation: 28-24=4, Resulting Numbers: [25, 4] Generated Node #0,3,0: 10:[25, 4] Operation: 28-24=4 Exploring Operation: 28-25=3, Resulting Numbers: [24, 3] Generated Node #0,3,1: 10:[24, 3] Operation: 28-25=3 Exploring Operation: 24+25=49, Resulting Numbers: [28, 49] Generated Node #0,3,2: 10:[28, 49] Operation: 24+25=49 Exploring Operation: 25-24=1, Resulting Numbers: [28, 1] Generated Node #0,3,3: 10:[28, 1] Operation: 25-24=1 Moving to Node #0,3,1 Current State: 10:[24, 3], Operations: ['80-52=28', '28-25=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[25, 4], Operations: ['80-52=28', '28-24=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[28, 1], Operations: ['80-52=28', '25-24=1'] Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[28, 49], Operations: ['80-52=28', '24+25=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,10 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[80, 24, 27], Operations: ['52-25=27'] Exploring Operation: 80-24=56, Resulting Numbers: [27, 56] Generated Node #0,0,0: 10:[27, 56] Operation: 80-24=56 Exploring Operation: 80+24=104, Resulting Numbers: [27, 104] Generated Node #0,0,1: 10:[27, 104] Operation: 80+24=104 Exploring Operation: 80-27=53, Resulting Numbers: [24, 53] Generated Node #0,0,2: 10:[24, 53] Operation: 80-27=53 Exploring Operation: 27-24=3, Resulting Numbers: [80, 3] Generated Node #0,0,3: 10:[80, 3] Operation: 27-24=3 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[24, 53], Operations: ['52-25=27', '80-27=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[27, 56], Operations: ['52-25=27', '80-24=56'] Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,10 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[80, 3], Operations: ['52-25=27', '27-24=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,10 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[27, 104], Operations: ['52-25=27', '80+24=104'] Exploring Operation: 27*104=2808, Resulting Numbers: [2808] 2808,10 unequal: No Solution Exploring Operation: 104-27=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 27+104=131, Resulting Numbers: [131] 131,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[52, 24, 55], Operations: ['80-25=55'] Exploring Operation: 55-24=31, Resulting Numbers: [52, 31] Generated Node #0,2,0: 10:[52, 31] Operation: 55-24=31 Exploring Operation: 52+24=76, Resulting Numbers: [55, 76] Generated Node #0,2,1: 10:[55, 76] Operation: 52+24=76 Exploring Operation: 55-52=3, Resulting Numbers: [24, 3] Generated Node #0,2,2: 10:[24, 3] Operation: 55-52=3 Exploring Operation: 52-24=28, Resulting Numbers: [55, 28] Generated Node #0,2,3: 10:[55, 28] Operation: 52-24=28 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[24, 3], Operations: ['80-25=55', '55-52=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[52, 31], Operations: ['80-25=55', '55-24=31'] Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,10 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 10:[55, 28], Operations: ['80-25=55', '52-24=28'] Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[55, 76], Operations: ['80-25=55', '52+24=76'] Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 55+76=131, Resulting Numbers: [131] 131,10 unequal: No Solution Exploring Operation: 55*76=4180, Resulting Numbers: [4180] 4180,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[52, 25, 56], Operations: ['80-24=56'] Exploring Operation: 56-52=4, Resulting Numbers: [25, 4] Generated Node #0,1,0: 10:[25, 4] Operation: 56-52=4 Exploring Operation: 56-25=31, Resulting Numbers: [52, 31] Generated Node #0,1,1: 10:[52, 31] Operation: 56-25=31 Exploring Operation: 52-25=27, Resulting Numbers: [56, 27] Generated Node #0,1,2: 10:[56, 27] Operation: 52-25=27 Exploring Operation: 52+25=77, Resulting Numbers: [56, 77] Generated Node #0,1,3: 10:[56, 77] Operation: 52+25=77 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[25, 4], Operations: ['80-24=56', '56-52=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[52, 31], Operations: ['80-24=56', '56-25=31'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[56, 27], Operations: ['80-24=56', '52-25=27'] Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,10 unequal: No Solution Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 10:[56, 77], Operations: ['80-24=56', '52+25=77'] Exploring Operation: 56+77=133, Resulting Numbers: [133] 133,10 unequal: No Solution Exploring Operation: 56*77=4312, Resulting Numbers: [4312] 4312,10 unequal: No Solution Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 87, 73, 7, 70 ]
91
[ "87-73=14", "7+70=77", "14+77=91" ]
Current State: 91:[87, 73, 7, 70], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [7, 70, 14] Generated Node #2: [7, 70, 14] from Operation: 87-73=14 Current State: 91:[7, 70, 14], Operations: ['87-73=14'] Exploring Operation: 7+70=77, Resulting Numbers: [14, 77] Generated Node #3: [14, 77] from Operation: 7+70=77 Current State: 91:[14, 77], Operations: ['87-73=14', '7+70=77'] Exploring Operation: 14+77=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[87, 73, 7, 70], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [73, 7, 17] Generated Node #0,0: 91:[73, 7, 17] Operation: 87-70=17 Exploring Operation: 87-73=14, Resulting Numbers: [7, 70, 14] Generated Node #0,1: 91:[7, 70, 14] Operation: 87-73=14 Exploring Operation: 70/7=10, Resulting Numbers: [87, 73, 10] Generated Node #0,2: 91:[87, 73, 10] Operation: 70/7=10 Exploring Operation: 73-70=3, Resulting Numbers: [87, 7, 3] Generated Node #0,3: 91:[87, 7, 3] Operation: 73-70=3 Moving to Node #0,3 Current State: 91:[87, 7, 3], Operations: ['73-70=3'] Exploring Operation: 87+3=90, Resulting Numbers: [7, 90] Generated Node #0,3,0: 91:[7, 90] Operation: 87+3=90 Exploring Operation: 87-3=84, Resulting Numbers: [7, 84] Generated Node #0,3,1: 91:[7, 84] Operation: 87-3=84 Exploring Operation: 87+7=94, Resulting Numbers: [3, 94] Generated Node #0,3,2: 91:[3, 94] Operation: 87+7=94 Exploring Operation: 7+3=10, Resulting Numbers: [87, 10] Generated Node #0,3,3: 91:[87, 10] Operation: 7+3=10 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[7, 90], Operations: ['73-70=3', '87+3=90'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 7*90=630, Resulting Numbers: [630] 630,91 unequal: No Solution Exploring Operation: 7+90=97, Resulting Numbers: [97] 97,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[7, 84], Operations: ['73-70=3', '87-3=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[87, 73, 7, 70], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [87, 7, 3] Generated Node #0,3: 91:[87, 7, 3] Operation: 73-70=3 Moving to Node #0,3 Current State: 91:[87, 7, 3], Operations: ['73-70=3'] Exploring Operation: 87-3=84, Resulting Numbers: [7, 84] Generated Node #0,3,1: 91:[7, 84] Operation: 87-3=84 Moving to Node #0,3,1 Current State: 91:[7, 84], Operations: ['73-70=3', '87-3=84'] Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 5, 7, 18, 90 ]
35
[ "7+18=25", "5*25=125", "125-90=35" ]
Current State: 35:[5, 7, 18, 90], Operations: [] Exploring Operation: 7+18=25, Resulting Numbers: [5, 90, 25] Generated Node #2: [5, 90, 25] from Operation: 7+18=25 Current State: 35:[5, 90, 25], Operations: ['7+18=25'] Exploring Operation: 5*25=125, Resulting Numbers: [90, 125] Generated Node #3: [90, 125] from Operation: 5*25=125 Current State: 35:[90, 125], Operations: ['7+18=25', '5*25=125'] Exploring Operation: 125-90=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[5, 7, 18, 90], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [5, 7, 5] Generated Node #0,0: 35:[5, 7, 5] Operation: 90/18=5 Exploring Operation: 90-18=72, Resulting Numbers: [5, 7, 72] Generated Node #0,1: 35:[5, 7, 72] Operation: 90-18=72 Exploring Operation: 90/5=18, Resulting Numbers: [7, 18, 18] Generated Node #0,2: 35:[7, 18, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[5, 7, 5], Operations: ['90/18=5'] Exploring Operation: 7-5=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 35:[5, 2] Operation: 7-5=2 Exploring Operation: 7*5=35, Resulting Numbers: [5, 35] Generated Node #0,0,1: 35:[5, 35] Operation: 7*5=35 Exploring Operation: 5*7=35, Resulting Numbers: [5, 35] Generated Node #0,0,2: 35:[5, 35] Operation: 5*7=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[5, 35], Operations: ['90/18=5', '7*5=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,35 unequal: No Solution No 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: 35:[5, 35], Operations: ['90/18=5', '5*7=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,35 unequal: No Solution No 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: 35:[5, 2], Operations: ['90/18=5', '7-5=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,35 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: 35:[7, 18, 18], Operations: ['90/5=18'] Exploring Operation: 18/18=1, Resulting Numbers: [7, 1] Generated Node #0,2,0: 35:[7, 1] Operation: 18/18=1 Exploring Operation: 18+18=36, Resulting Numbers: [7, 36] Generated Node #0,2,1: 35:[7, 36] Operation: 18+18=36 Exploring Operation: 18-18=0, Resulting Numbers: [7, 0] Generated Node #0,2,2: 35:[7, 0] Operation: 18-18=0 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[7, 36], Operations: ['90/5=18', '18+18=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,35 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,35 unequal: No Solution No 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: 35:[7, 1], Operations: ['90/5=18', '18/18=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,35 unequal: No Solution No 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: 35:[7, 0], Operations: ['90/5=18', '18-18=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,35 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: 35:[5, 7, 72], Operations: ['90-18=72'] Exploring Operation: 72-7=65, Resulting Numbers: [5, 65] Generated Node #0,1,0: 35:[5, 65] Operation: 72-7=65 Exploring Operation: 5*7=35, Resulting Numbers: [72, 35] Generated Node #0,1,1: 35:[72, 35] Operation: 5*7=35 Exploring Operation: 72-5=67, Resulting Numbers: [7, 67] Generated Node #0,1,2: 35:[7, 67] Operation: 72-5=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[5, 65], Operations: ['90-18=72', '72-7=65'] Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,35 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,35 unequal: No Solution No 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: 35:[7, 67], Operations: ['90-18=72', '72-5=67'] Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,35 unequal: No Solution Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,35 unequal: No Solution No 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: 35:[72, 35], Operations: ['90-18=72', '5*7=35'] Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,35 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,35 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
[ 71, 25, 81, 98 ]
29
[ "71-25=46", "98-81=17", "46-17=29" ]
Current State: 29:[71, 25, 81, 98], Operations: [] Exploring Operation: 71-25=46, Resulting Numbers: [81, 98, 46] Generated Node #2: [81, 98, 46] from Operation: 71-25=46 Current State: 29:[81, 98, 46], Operations: ['71-25=46'] Exploring Operation: 98-81=17, Resulting Numbers: [46, 17] Generated Node #3: [46, 17] from Operation: 98-81=17 Current State: 29:[46, 17], Operations: ['71-25=46', '98-81=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[71, 25, 81, 98], Operations: [] Exploring Operation: 71-25=46, Resulting Numbers: [81, 98, 46] Generated Node #0,0: 29:[81, 98, 46] Operation: 71-25=46 Exploring Operation: 81-25=56, Resulting Numbers: [71, 98, 56] Generated Node #0,1: 29:[71, 98, 56] Operation: 81-25=56 Exploring Operation: 81-71=10, Resulting Numbers: [25, 98, 10] Generated Node #0,2: 29:[25, 98, 10] Operation: 81-71=10 Exploring Operation: 98-71=27, Resulting Numbers: [25, 81, 27] Generated Node #0,3: 29:[25, 81, 27] Operation: 98-71=27 Exploring Operation: 98-81=17, Resulting Numbers: [71, 25, 17] Generated Node #0,4: 29:[71, 25, 17] Operation: 98-81=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[25, 81, 27], Operations: ['98-71=27'] Exploring Operation: 25+27=52, Resulting Numbers: [81, 52] Generated Node #0,3,0: 29:[81, 52] Operation: 25+27=52 Exploring Operation: 25+81=106, Resulting Numbers: [27, 106] Generated Node #0,3,1: 29:[27, 106] Operation: 25+81=106 Exploring Operation: 81-27=54, Resulting Numbers: [25, 54] Generated Node #0,3,2: 29:[25, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [25, 3] Generated Node #0,3,3: 29:[25, 3] Operation: 81/27=3 Exploring Operation: 81-25=56, Resulting Numbers: [27, 56] Generated Node #0,3,4: 29:[27, 56] Operation: 81-25=56 Moving to Node #0,3,2 Current State: 29:[25, 54], Operations: ['98-71=27', '81-27=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,29 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[71, 25, 81, 98], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [25, 81, 27] Generated Node #0,3: 29:[25, 81, 27] Operation: 98-71=27 Moving to Node #0,3 Current State: 29:[25, 81, 27], Operations: ['98-71=27'] Exploring Operation: 81-27=54, Resulting Numbers: [25, 54] Generated Node #0,3,2: 29:[25, 54] Operation: 81-27=54 Moving to Node #0,3,2 Current State: 29:[25, 54], Operations: ['98-71=27', '81-27=54'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 32, 5, 23, 76 ]
19
[ "32-5=27", "27-23=4", "76/4=19" ]
Current State: 19:[32, 5, 23, 76], Operations: [] Exploring Operation: 32-5=27, Resulting Numbers: [23, 76, 27] Generated Node #2: [23, 76, 27] from Operation: 32-5=27 Current State: 19:[23, 76, 27], Operations: ['32-5=27'] Exploring Operation: 27-23=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 27-23=4 Current State: 19:[76, 4], Operations: ['32-5=27', '27-23=4'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[32, 5, 23, 76], Operations: [] Exploring Operation: 76-32=44, Resulting Numbers: [5, 23, 44] Generated Node #0,0: 19:[5, 23, 44] Operation: 76-32=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[5, 23, 44], Operations: ['76-32=44'] Exploring Operation: 44-23=21, Resulting Numbers: [5, 21] Generated Node #0,0,0: 19:[5, 21] Operation: 44-23=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[5, 21], Operations: ['76-32=44', '44-23=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic