Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 93, 86, 18, 42 ]
67
[ "93-86=7", "18+42=60", "7+60=67" ]
Current State: 67:[93, 86, 18, 42], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [18, 42, 7] Generated Node #2: [18, 42, 7] from Operation: 93-86=7 Current State: 67:[18, 42, 7], Operations: ['93-86=7'] Exploring Operation: 18+42=60, Resulting Numbers: [7, 60] Generated Node #3: [7, 60] from Operation: 18+42=60 Current State: 67:[7, 60], Operations: ['93-86=7', '18+42=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[93, 86, 18, 42], Operations: [] Exploring Operation: 86-18=68, Resulting Numbers: [93, 42, 68] Generated Node #0,0: 67:[93, 42, 68] Operation: 86-18=68 Exploring Operation: 93-18=75, Resulting Numbers: [86, 42, 75] Generated Node #0,1: 67:[86, 42, 75] Operation: 93-18=75 Moving to Node #0,0 Current State: 67:[93, 42, 68], Operations: ['86-18=68'] Exploring Operation: 93-42=51, Resulting Numbers: [68, 51] Generated Node #0,0,0: 67:[68, 51] Operation: 93-42=51 Exploring Operation: 93-68=25, Resulting Numbers: [42, 25] Generated Node #0,0,1: 67:[42, 25] Operation: 93-68=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[68, 51], Operations: ['86-18=68', '93-42=51'] Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,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,1 Current State: 67:[42, 25], Operations: ['86-18=68', '93-68=25'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[93, 86, 18, 42], Operations: [] Exploring Operation: 86-18=68, Resulting Numbers: [93, 42, 68] Generated Node #0,0: 67:[93, 42, 68] Operation: 86-18=68 Moving to Node #0,0 Current State: 67:[93, 42, 68], Operations: ['86-18=68'] Exploring Operation: 93-68=25, Resulting Numbers: [42, 25] Generated Node #0,0,1: 67:[42, 25] Operation: 93-68=25 Moving to Node #0,0,1 Current State: 67:[42, 25], Operations: ['86-18=68', '93-68=25'] Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 37, 20, 95, 5 ]
36
[ "37-20=17", "95/5=19", "17+19=36" ]
Current State: 36:[37, 20, 95, 5], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [95, 5, 17] Generated Node #2: [95, 5, 17] from Operation: 37-20=17 Current State: 36:[95, 5, 17], Operations: ['37-20=17'] Exploring Operation: 95/5=19, Resulting Numbers: [17, 19] Generated Node #3: [17, 19] from Operation: 95/5=19 Current State: 36:[17, 19], Operations: ['37-20=17', '95/5=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[37, 20, 95, 5], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [37, 20, 19] Generated Node #0,0: 36:[37, 20, 19] Operation: 95/5=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[37, 20, 19], Operations: ['95/5=19'] Exploring Operation: 37-20=17, Resulting Numbers: [19, 17] Generated Node #0,0,0: 36:[19, 17] Operation: 37-20=17 Moving to Node #0,0,0 Current State: 36:[19, 17], Operations: ['95/5=19', '37-20=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[37, 20, 95, 5], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [37, 20, 19] Generated Node #0,0: 36:[37, 20, 19] Operation: 95/5=19 Moving to Node #0,0 Current State: 36:[37, 20, 19], Operations: ['95/5=19'] Exploring Operation: 37-20=17, Resulting Numbers: [19, 17] Generated Node #0,0,0: 36:[19, 17] Operation: 37-20=17 Moving to Node #0,0,0 Current State: 36:[19, 17], Operations: ['95/5=19', '37-20=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 2, 66, 76, 81 ]
53
[ "76/2=38", "81-66=15", "38+15=53" ]
Current State: 53:[2, 66, 76, 81], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [66, 81, 38] Generated Node #2: [66, 81, 38] from Operation: 76/2=38 Current State: 53:[66, 81, 38], Operations: ['76/2=38'] Exploring Operation: 81-66=15, Resulting Numbers: [38, 15] Generated Node #3: [38, 15] from Operation: 81-66=15 Current State: 53:[38, 15], Operations: ['76/2=38', '81-66=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[2, 66, 76, 81], Operations: [] Exploring Operation: 76-2=74, Resulting Numbers: [66, 81, 74] Generated Node #0,0: 53:[66, 81, 74] Operation: 76-2=74 Exploring Operation: 66-2=64, Resulting Numbers: [76, 81, 64] Generated Node #0,1: 53:[76, 81, 64] Operation: 66-2=64 Exploring Operation: 81-2=79, Resulting Numbers: [66, 76, 79] Generated Node #0,2: 53:[66, 76, 79] Operation: 81-2=79 Exploring Operation: 76/2=38, Resulting Numbers: [66, 81, 38] Generated Node #0,3: 53:[66, 81, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[66, 81, 38], Operations: ['76/2=38'] Exploring Operation: 66+38=104, Resulting Numbers: [81, 104] Generated Node #0,3,0: 53:[81, 104] Operation: 66+38=104 Exploring Operation: 66-38=28, Resulting Numbers: [81, 28] Generated Node #0,3,1: 53:[81, 28] Operation: 66-38=28 Exploring Operation: 81-66=15, Resulting Numbers: [38, 15] Generated Node #0,3,2: 53:[38, 15] Operation: 81-66=15 Exploring Operation: 81-38=43, Resulting Numbers: [66, 43] Generated Node #0,3,3: 53:[66, 43] Operation: 81-38=43 Moving to Node #0,3,3 Current State: 53:[66, 43], Operations: ['76/2=38', '81-38=43'] Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,53 unequal: No Solution Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,53 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[38, 15], Operations: ['76/2=38', '81-66=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[2, 66, 76, 81], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [66, 81, 38] Generated Node #0,3: 53:[66, 81, 38] Operation: 76/2=38 Moving to Node #0,3 Current State: 53:[66, 81, 38], Operations: ['76/2=38'] Exploring Operation: 81-66=15, Resulting Numbers: [38, 15] Generated Node #0,3,2: 53:[38, 15] Operation: 81-66=15 Moving to Node #0,3,2 Current State: 53:[38, 15], Operations: ['76/2=38', '81-66=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 46, 3, 93, 60 ]
27
[ "93-46=47", "60/3=20", "47-20=27" ]
Current State: 27:[46, 3, 93, 60], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [3, 60, 47] Generated Node #2: [3, 60, 47] from Operation: 93-46=47 Current State: 27:[3, 60, 47], Operations: ['93-46=47'] Exploring Operation: 60/3=20, Resulting Numbers: [47, 20] Generated Node #3: [47, 20] from Operation: 60/3=20 Current State: 27:[47, 20], Operations: ['93-46=47', '60/3=20'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[46, 3, 93, 60], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [46, 3, 33] Generated Node #0,0: 27:[46, 3, 33] Operation: 93-60=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[46, 3, 33], Operations: ['93-60=33'] Exploring Operation: 46-33=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 27:[3, 13] Operation: 46-33=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[3, 13], Operations: ['93-60=33', '46-33=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,27 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
[ 6, 39, 24, 30 ]
31
[ "39*24=936", "936-6=930", "930/30=31" ]
Current State: 31:[6, 39, 24, 30], Operations: [] Exploring Operation: 39*24=936, Resulting Numbers: [6, 30, 936] Generated Node #2: [6, 30, 936] from Operation: 39*24=936 Current State: 31:[6, 30, 936], Operations: ['39*24=936'] Exploring Operation: 936-6=930, Resulting Numbers: [30, 930] Generated Node #3: [30, 930] from Operation: 936-6=930 Current State: 31:[30, 930], Operations: ['39*24=936', '936-6=930'] Exploring Operation: 930/30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[6, 39, 24, 30], Operations: [] Exploring Operation: 39-6=33, Resulting Numbers: [24, 30, 33] Generated Node #0,0: 31:[24, 30, 33] Operation: 39-6=33 Moving to Node #0,0 Current State: 31:[24, 30, 33], Operations: ['39-6=33'] Exploring Operation: 33-24=9, Resulting Numbers: [30, 9] Generated Node #0,0,0: 31:[30, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[30, 9], Operations: ['39-6=33', '33-24=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 40, 60, 6, 82 ]
17
[ "60-40=20", "82+20=102", "102/6=17" ]
Current State: 17:[40, 60, 6, 82], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [6, 82, 20] Generated Node #2: [6, 82, 20] from Operation: 60-40=20 Current State: 17:[6, 82, 20], Operations: ['60-40=20'] Exploring Operation: 82+20=102, Resulting Numbers: [6, 102] Generated Node #3: [6, 102] from Operation: 82+20=102 Current State: 17:[6, 102], Operations: ['60-40=20', '82+20=102'] Exploring Operation: 102/6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 60, 6, 82], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [6, 82, 20] Generated Node #0,0: 17:[6, 82, 20] Operation: 60-40=20 Exploring Operation: 60/6=10, Resulting Numbers: [40, 82, 10] Generated Node #0,1: 17:[40, 82, 10] Operation: 60/6=10 Exploring Operation: 82-60=22, Resulting Numbers: [40, 6, 22] Generated Node #0,2: 17:[40, 6, 22] Operation: 82-60=22 Exploring Operation: 82-40=42, Resulting Numbers: [60, 6, 42] Generated Node #0,3: 17:[60, 6, 42] Operation: 82-40=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[40, 6, 22], Operations: ['82-60=22'] Exploring Operation: 40-6=34, Resulting Numbers: [22, 34] Generated Node #0,2,0: 17:[22, 34] Operation: 40-6=34 Exploring Operation: 22-6=16, Resulting Numbers: [40, 16] Generated Node #0,2,1: 17:[40, 16] Operation: 22-6=16 Exploring Operation: 40+6=46, Resulting Numbers: [22, 46] Generated Node #0,2,2: 17:[22, 46] Operation: 40+6=46 Exploring Operation: 40-22=18, Resulting Numbers: [6, 18] Generated Node #0,2,3: 17:[6, 18] Operation: 40-22=18 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[6, 18], Operations: ['82-60=22', '40-22=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,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:[22, 34], Operations: ['82-60=22', '40-6=34'] Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,17 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,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:[40, 16], Operations: ['82-60=22', '22-6=16'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,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,2 Current State: 17:[22, 46], Operations: ['82-60=22', '40+6=46'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,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,0 Current State: 17:[6, 82, 20], Operations: ['60-40=20'] Exploring Operation: 20-6=14, Resulting Numbers: [82, 14] Generated Node #0,0,0: 17:[82, 14] Operation: 20-6=14 Exploring Operation: 82-20=62, Resulting Numbers: [6, 62] Generated Node #0,0,1: 17:[6, 62] Operation: 82-20=62 Exploring Operation: 82-6=76, Resulting Numbers: [20, 76] Generated Node #0,0,2: 17:[20, 76] Operation: 82-6=76 Exploring Operation: 6+82=88, Resulting Numbers: [20, 88] Generated Node #0,0,3: 17:[20, 88] Operation: 6+82=88 Moving to Node #0,0,1 Current State: 17:[6, 62], Operations: ['60-40=20', '82-20=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[20, 76], Operations: ['60-40=20', '82-6=76'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,17 unequal: No Solution Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[82, 14], Operations: ['60-40=20', '20-6=14'] Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,17 unequal: No Solution Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[20, 88], Operations: ['60-40=20', '6+82=88'] Exploring Operation: 20*88=1760, Resulting Numbers: [1760] 1760,17 unequal: No Solution Exploring Operation: 20+88=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,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,3 Current State: 17:[60, 6, 42], Operations: ['82-40=42'] Exploring Operation: 60-42=18, Resulting Numbers: [6, 18] Generated Node #0,3,0: 17:[6, 18] Operation: 60-42=18 Exploring Operation: 60-6=54, Resulting Numbers: [42, 54] Generated Node #0,3,1: 17:[42, 54] Operation: 60-6=54 Exploring Operation: 60/6=10, Resulting Numbers: [42, 10] Generated Node #0,3,2: 17:[42, 10] Operation: 60/6=10 Exploring Operation: 42/6=7, Resulting Numbers: [60, 7] Generated Node #0,3,3: 17:[60, 7] Operation: 42/6=7 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 17:[6, 18], Operations: ['82-40=42', '60-42=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,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,3,2 Current State: 17:[42, 10], Operations: ['82-40=42', '60/6=10'] Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,17 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,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,3,3 Current State: 17:[60, 7], Operations: ['82-40=42', '42/6=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,17 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,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,3,1 Current State: 17:[42, 54], Operations: ['82-40=42', '60-6=54'] Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,17 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,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,1 Current State: 17:[40, 82, 10], Operations: ['60/6=10'] Exploring Operation: 40/10=4, Resulting Numbers: [82, 4] Generated Node #0,1,0: 17:[82, 4] Operation: 40/10=4 Exploring Operation: 82-10=72, Resulting Numbers: [40, 72] Generated Node #0,1,1: 17:[40, 72] Operation: 82-10=72 Exploring Operation: 82-40=42, Resulting Numbers: [10, 42] Generated Node #0,1,2: 17:[10, 42] Operation: 82-40=42 Exploring Operation: 40-10=30, Resulting Numbers: [82, 30] Generated Node #0,1,3: 17:[82, 30] Operation: 40-10=30 Moving to Node #0,1,2 Current State: 17:[10, 42], Operations: ['60/6=10', '82-40=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,17 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[40, 72], Operations: ['60/6=10', '82-10=72'] Exploring Operation: 40*72=2880, Resulting Numbers: [2880] 2880,17 unequal: No Solution Exploring Operation: 40+72=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[82, 4], Operations: ['60/6=10', '40/10=4'] Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,17 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,17 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[82, 30], Operations: ['60/6=10', '40-10=30'] Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,17 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 37, 39, 56, 28 ]
14
[ "39-37=2", "56-28=28", "28/2=14" ]
Current State: 14:[37, 39, 56, 28], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [56, 28, 2] Generated Node #2: [56, 28, 2] from Operation: 39-37=2 Current State: 14:[56, 28, 2], Operations: ['39-37=2'] Exploring Operation: 56-28=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 56-28=28 Current State: 14:[2, 28], Operations: ['39-37=2', '56-28=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[37, 39, 56, 28], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [37, 28, 17] Generated Node #0,0: 14:[37, 28, 17] Operation: 56-39=17 Exploring Operation: 56-37=19, Resulting Numbers: [39, 28, 19] Generated Node #0,1: 14:[39, 28, 19] Operation: 56-37=19 Exploring Operation: 56/28=2, Resulting Numbers: [37, 39, 2] Generated Node #0,2: 14:[37, 39, 2] Operation: 56/28=2 Moving to Node #0,0 Current State: 14:[37, 28, 17], Operations: ['56-39=17'] Exploring Operation: 28-17=11, Resulting Numbers: [37, 11] Generated Node #0,0,0: 14:[37, 11] Operation: 28-17=11 Exploring Operation: 37-17=20, Resulting Numbers: [28, 20] Generated Node #0,0,1: 14:[28, 20] Operation: 37-17=20 Exploring Operation: 37-28=9, Resulting Numbers: [17, 9] Generated Node #0,0,2: 14:[17, 9] Operation: 37-28=9 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[17, 9], Operations: ['56-39=17', '37-28=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,14 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[28, 20], Operations: ['56-39=17', '37-17=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,14 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[37, 11], Operations: ['56-39=17', '28-17=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,14 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: 14:[39, 28, 19], Operations: ['56-37=19'] Exploring Operation: 28-19=9, Resulting Numbers: [39, 9] Generated Node #0,1,0: 14:[39, 9] Operation: 28-19=9 Exploring Operation: 39-19=20, Resulting Numbers: [28, 20] Generated Node #0,1,1: 14:[28, 20] Operation: 39-19=20 Exploring Operation: 39-28=11, Resulting Numbers: [19, 11] Generated Node #0,1,2: 14:[19, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[19, 11], Operations: ['56-37=19', '39-28=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[28, 20], Operations: ['56-37=19', '39-19=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[39, 9], Operations: ['56-37=19', '28-19=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,14 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: 14:[37, 39, 2], Operations: ['56/28=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37, 37] Generated Node #0,2,0: 14:[37, 37] Operation: 39-2=37 Exploring Operation: 39-37=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 14:[2, 2] Operation: 39-37=2 Exploring Operation: 37-2=35, Resulting Numbers: [39, 35] Generated Node #0,2,2: 14:[39, 35] Operation: 37-2=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[2, 2], Operations: ['56/28=2', '39-37=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[37, 37], Operations: ['56/28=2', '39-2=37'] Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,14 unequal: No Solution Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[39, 35], Operations: ['56/28=2', '37-2=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,14 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,14 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
[ 13, 42, 25, 98 ]
94
[ "42-13=29", "25+98=123", "123-29=94" ]
Current State: 94:[13, 42, 25, 98], Operations: [] Exploring Operation: 42-13=29, Resulting Numbers: [25, 98, 29] Generated Node #2: [25, 98, 29] from Operation: 42-13=29 Current State: 94:[25, 98, 29], Operations: ['42-13=29'] Exploring Operation: 25+98=123, Resulting Numbers: [29, 123] Generated Node #3: [29, 123] from Operation: 25+98=123 Current State: 94:[29, 123], Operations: ['42-13=29', '25+98=123'] Exploring Operation: 123-29=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[13, 42, 25, 98], Operations: [] Exploring Operation: 42+25=67, Resulting Numbers: [13, 98, 67] Generated Node #0,0: 94:[13, 98, 67] Operation: 42+25=67 Exploring Operation: 13+25=38, Resulting Numbers: [42, 98, 38] Generated Node #0,1: 94:[42, 98, 38] Operation: 13+25=38 Exploring Operation: 42-25=17, Resulting Numbers: [13, 98, 17] Generated Node #0,2: 94:[13, 98, 17] Operation: 42-25=17 Exploring Operation: 13+42=55, Resulting Numbers: [25, 98, 55] Generated Node #0,3: 94:[25, 98, 55] Operation: 13+42=55 Exploring Operation: 25-13=12, Resulting Numbers: [42, 98, 12] Generated Node #0,4: 94:[42, 98, 12] Operation: 25-13=12 Moving to Node #0,1 Current State: 94:[42, 98, 38], Operations: ['13+25=38'] Exploring Operation: 42+38=80, Resulting Numbers: [98, 80] Generated Node #0,1,0: 94:[98, 80] Operation: 42+38=80 Exploring Operation: 42-38=4, Resulting Numbers: [98, 4] Generated Node #0,1,1: 94:[98, 4] Operation: 42-38=4 Exploring Operation: 98-42=56, Resulting Numbers: [38, 56] Generated Node #0,1,2: 94:[38, 56] Operation: 98-42=56 Exploring Operation: 98-38=60, Resulting Numbers: [42, 60] Generated Node #0,1,3: 94:[42, 60] Operation: 98-38=60 Exploring Operation: 98+38=136, Resulting Numbers: [42, 136] Generated Node #0,1,4: 94:[42, 136] Operation: 98+38=136 Moving to Node #0,4 Current State: 94:[42, 98, 12], Operations: ['25-13=12'] Exploring Operation: 42+12=54, Resulting Numbers: [98, 54] Generated Node #0,4,0: 94:[98, 54] Operation: 42+12=54 Exploring Operation: 98-42=56, Resulting Numbers: [12, 56] Generated Node #0,4,1: 94:[12, 56] Operation: 98-42=56 Exploring Operation: 98+12=110, Resulting Numbers: [42, 110] Generated Node #0,4,2: 94:[42, 110] Operation: 98+12=110 Exploring Operation: 42-12=30, Resulting Numbers: [98, 30] Generated Node #0,4,3: 94:[98, 30] Operation: 42-12=30 Exploring Operation: 98-12=86, Resulting Numbers: [42, 86] Generated Node #0,4,4: 94:[42, 86] Operation: 98-12=86 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[98, 54], Operations: ['25-13=12', '42+12=54'] Exploring Operation: 98+54=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 98-54=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 98*54=5292, Resulting Numbers: [5292] 5292,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 94:[42, 86], Operations: ['25-13=12', '98-12=86'] Exploring Operation: 42+86=128, Resulting Numbers: [128] 128,94 unequal: No Solution Exploring Operation: 42*86=3612, Resulting Numbers: [3612] 3612,94 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[12, 56], Operations: ['25-13=12', '98-42=56'] Exploring Operation: 12+56=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 12*56=672, Resulting Numbers: [672] 672,94 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[42, 110], Operations: ['25-13=12', '98+12=110'] Exploring Operation: 110-42=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 42*110=4620, Resulting Numbers: [4620] 4620,94 unequal: No Solution Exploring Operation: 42+110=152, Resulting Numbers: [152] 152,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[98, 30], Operations: ['25-13=12', '42-12=30'] Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 98*30=2940, Resulting Numbers: [2940] 2940,94 unequal: No Solution Exploring Operation: 98+30=128, Resulting Numbers: [128] 128,94 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: 94:[13, 98, 17], Operations: ['42-25=17'] Exploring Operation: 13+17=30, Resulting Numbers: [98, 30] Generated Node #0,2,0: 94:[98, 30] Operation: 13+17=30 Exploring Operation: 98-13=85, Resulting Numbers: [17, 85] Generated Node #0,2,1: 94:[17, 85] Operation: 98-13=85 Exploring Operation: 98-17=81, Resulting Numbers: [13, 81] Generated Node #0,2,2: 94:[13, 81] Operation: 98-17=81 Exploring Operation: 17-13=4, Resulting Numbers: [98, 4] Generated Node #0,2,3: 94:[98, 4] Operation: 17-13=4 Exploring Operation: 13+98=111, Resulting Numbers: [17, 111] Generated Node #0,2,4: 94:[17, 111] Operation: 13+98=111 Moving to Node #0,3 Current State: 94:[25, 98, 55], Operations: ['13+42=55'] Exploring Operation: 25+98=123, Resulting Numbers: [55, 123] Generated Node #0,3,0: 94:[55, 123] Operation: 25+98=123 Exploring Operation: 98-25=73, Resulting Numbers: [55, 73] Generated Node #0,3,1: 94:[55, 73] Operation: 98-25=73 Exploring Operation: 98-55=43, Resulting Numbers: [25, 43] Generated Node #0,3,2: 94:[25, 43] Operation: 98-55=43 Exploring Operation: 25+55=80, Resulting Numbers: [98, 80] Generated Node #0,3,3: 94:[98, 80] Operation: 25+55=80 Exploring Operation: 55-25=30, Resulting Numbers: [98, 30] Generated Node #0,3,4: 94:[98, 30] Operation: 55-25=30 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[98, 80], Operations: ['13+42=55', '25+55=80'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,94 unequal: No Solution Exploring Operation: 98*80=7840, Resulting Numbers: [7840] 7840,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 94:[98, 30], Operations: ['13+42=55', '55-25=30'] Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 98*30=2940, Resulting Numbers: [2940] 2940,94 unequal: No Solution Exploring Operation: 98+30=128, Resulting Numbers: [128] 128,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[25, 43], Operations: ['13+42=55', '98-55=43'] Exploring Operation: 25+43=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 25*43=1075, Resulting Numbers: [1075] 1075,94 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[55, 73], Operations: ['13+42=55', '98-25=73'] Exploring Operation: 55+73=128, Resulting Numbers: [128] 128,94 unequal: No Solution Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 55*73=4015, Resulting Numbers: [4015] 4015,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[55, 123], Operations: ['13+42=55', '25+98=123'] Exploring Operation: 55*123=6765, Resulting Numbers: [6765] 6765,94 unequal: No Solution Exploring Operation: 123-55=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 55+123=178, Resulting Numbers: [178] 178,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[13, 98, 67], Operations: ['42+25=67'] Exploring Operation: 67-13=54, Resulting Numbers: [98, 54] Generated Node #0,0,0: 94:[98, 54] Operation: 67-13=54 Exploring Operation: 13+98=111, Resulting Numbers: [67, 111] Generated Node #0,0,1: 94:[67, 111] Operation: 13+98=111 Exploring Operation: 98-13=85, Resulting Numbers: [67, 85] Generated Node #0,0,2: 94:[67, 85] Operation: 98-13=85 Exploring Operation: 98-67=31, Resulting Numbers: [13, 31] Generated Node #0,0,3: 94:[13, 31] Operation: 98-67=31 Exploring Operation: 13+67=80, Resulting Numbers: [98, 80] Generated Node #0,0,4: 94:[98, 80] Operation: 13+67=80 Moving to Node #0,1,1 Current State: 94:[98, 4], Operations: ['13+25=38', '42-38=4'] Exploring Operation: 98*4=392, Resulting Numbers: [392] 392,94 unequal: No Solution Exploring Operation: 98+4=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[13, 42, 25, 98], Operations: [] Exploring Operation: 13+25=38, Resulting Numbers: [42, 98, 38] Generated Node #0,1: 94:[42, 98, 38] Operation: 13+25=38 Moving to Node #0,1 Current State: 94:[42, 98, 38], Operations: ['13+25=38'] Exploring Operation: 42-38=4, Resulting Numbers: [98, 4] Generated Node #0,1,1: 94:[98, 4] Operation: 42-38=4 Moving to Node #0,1,1 Current State: 94:[98, 4], Operations: ['13+25=38', '42-38=4'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 25, 33, 96, 14 ]
16
[ "33-25=8", "14*8=112", "112-96=16" ]
Current State: 16:[25, 33, 96, 14], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [96, 14, 8] Generated Node #2: [96, 14, 8] from Operation: 33-25=8 Current State: 16:[96, 14, 8], Operations: ['33-25=8'] Exploring Operation: 14*8=112, Resulting Numbers: [96, 112] Generated Node #3: [96, 112] from Operation: 14*8=112 Current State: 16:[96, 112], Operations: ['33-25=8', '14*8=112'] Exploring Operation: 112-96=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[25, 33, 96, 14], Operations: [] Exploring Operation: 96-33=63, Resulting Numbers: [25, 14, 63] Generated Node #0,0: 16:[25, 14, 63] Operation: 96-33=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[25, 14, 63], Operations: ['96-33=63'] Exploring Operation: 63-25=38, Resulting Numbers: [14, 38] Generated Node #0,0,0: 16:[14, 38] Operation: 63-25=38 Moving to Node #0,0,0 Current State: 16:[14, 38], Operations: ['96-33=63', '63-25=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,16 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
[ 66, 73, 2, 5 ]
24
[ "73-66=7", "5+7=12", "2*12=24" ]
Current State: 24:[66, 73, 2, 5], Operations: [] Exploring Operation: 73-66=7, Resulting Numbers: [2, 5, 7] Generated Node #2: [2, 5, 7] from Operation: 73-66=7 Current State: 24:[2, 5, 7], Operations: ['73-66=7'] Exploring Operation: 5+7=12, Resulting Numbers: [2, 12] Generated Node #3: [2, 12] from Operation: 5+7=12 Current State: 24:[2, 12], Operations: ['73-66=7', '5+7=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[66, 73, 2, 5], Operations: [] Exploring Operation: 73-66=7, Resulting Numbers: [2, 5, 7] Generated Node #0,0: 24:[2, 5, 7] Operation: 73-66=7 Moving to Node #0,0 Current State: 24:[2, 5, 7], Operations: ['73-66=7'] Exploring Operation: 5+7=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 24:[2, 12] Operation: 5+7=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[2, 12], Operations: ['73-66=7', '5+7=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[66, 73, 2, 5], Operations: [] Exploring Operation: 73-66=7, Resulting Numbers: [2, 5, 7] Generated Node #0,0: 24:[2, 5, 7] Operation: 73-66=7 Moving to Node #0,0 Current State: 24:[2, 5, 7], Operations: ['73-66=7'] Exploring Operation: 5+7=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 24:[2, 12] Operation: 5+7=12 Moving to Node #0,0,0 Current State: 24:[2, 12], Operations: ['73-66=7', '5+7=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 38, 9, 23, 16 ]
54
[ "38+9=47", "23-16=7", "47+7=54" ]
Current State: 54:[38, 9, 23, 16], Operations: [] Exploring Operation: 38+9=47, Resulting Numbers: [23, 16, 47] Generated Node #2: [23, 16, 47] from Operation: 38+9=47 Current State: 54:[23, 16, 47], Operations: ['38+9=47'] Exploring Operation: 23-16=7, Resulting Numbers: [47, 7] Generated Node #3: [47, 7] from Operation: 23-16=7 Current State: 54:[47, 7], Operations: ['38+9=47', '23-16=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[38, 9, 23, 16], Operations: [] Exploring Operation: 38-23=15, Resulting Numbers: [9, 16, 15] Generated Node #0,0: 54:[9, 16, 15] Operation: 38-23=15 Exploring Operation: 38+16=54, Resulting Numbers: [9, 23, 54] Generated Node #0,1: 54:[9, 23, 54] Operation: 38+16=54 Moving to Node #0,1 Current State: 54:[9, 23, 54], Operations: ['38+16=54'] Exploring Operation: 23-9=14, Resulting Numbers: [54, 14] Generated Node #0,1,0: 54:[54, 14] Operation: 23-9=14 Exploring Operation: 54/9=6, Resulting Numbers: [23, 6] Generated Node #0,1,1: 54:[23, 6] Operation: 54/9=6 Moving to Node #0,0 Current State: 54:[9, 16, 15], Operations: ['38-23=15'] Exploring Operation: 15-9=6, Resulting Numbers: [16, 6] Generated Node #0,0,0: 54:[16, 6] Operation: 15-9=6 Exploring Operation: 16-15=1, Resulting Numbers: [9, 1] Generated Node #0,0,1: 54:[9, 1] Operation: 16-15=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[9, 1], Operations: ['38-23=15', '16-15=1'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[16, 6], Operations: ['38-23=15', '15-9=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 54:[54, 14], Operations: ['38+16=54', '23-9=14'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[23, 6], Operations: ['38+16=54', '54/9=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,54 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,54 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 64, 56, 90, 30 ]
16
[ "90-56=34", "34-30=4", "64/4=16" ]
Current State: 16:[64, 56, 90, 30], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [64, 30, 34] Generated Node #2: [64, 30, 34] from Operation: 90-56=34 Current State: 16:[64, 30, 34], Operations: ['90-56=34'] Exploring Operation: 34-30=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 34-30=4 Current State: 16:[64, 4], Operations: ['90-56=34', '34-30=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[64, 56, 90, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [64, 56, 3] Generated Node #0,0: 16:[64, 56, 3] Operation: 90/30=3 Exploring Operation: 90-64=26, Resulting Numbers: [56, 30, 26] Generated Node #0,1: 16:[56, 30, 26] Operation: 90-64=26 Exploring Operation: 90-56=34, Resulting Numbers: [64, 30, 34] Generated Node #0,2: 16:[64, 30, 34] Operation: 90-56=34 Exploring Operation: 64-56=8, Resulting Numbers: [90, 30, 8] Generated Node #0,3: 16:[90, 30, 8] Operation: 64-56=8 Exploring Operation: 64-30=34, Resulting Numbers: [56, 90, 34] Generated Node #0,4: 16:[56, 90, 34] Operation: 64-30=34 Moving to Node #0,1 Current State: 16:[56, 30, 26], Operations: ['90-64=26'] Exploring Operation: 56+30=86, Resulting Numbers: [26, 86] Generated Node #0,1,0: 16:[26, 86] Operation: 56+30=86 Exploring Operation: 56-26=30, Resulting Numbers: [30, 30] Generated Node #0,1,1: 16:[30, 30] Operation: 56-26=30 Exploring Operation: 30-26=4, Resulting Numbers: [56, 4] Generated Node #0,1,2: 16:[56, 4] Operation: 30-26=4 Exploring Operation: 56-30=26, Resulting Numbers: [26, 26] Generated Node #0,1,3: 16:[26, 26] Operation: 56-30=26 Exploring Operation: 56+26=82, Resulting Numbers: [30, 82] Generated Node #0,1,4: 16:[30, 82] Operation: 56+26=82 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 16:[26, 26], Operations: ['90-64=26', '56-30=26'] Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,16 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[30, 30], Operations: ['90-64=26', '56-26=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,16 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[56, 4], Operations: ['90-64=26', '30-26=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,16 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[26, 86], Operations: ['90-64=26', '56+30=86'] Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,16 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,16 unequal: No Solution Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 16:[30, 82], Operations: ['90-64=26', '56+26=82'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,16 unequal: No Solution Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,16 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: 16:[64, 30, 34], Operations: ['90-56=34'] Exploring Operation: 64+30=94, Resulting Numbers: [34, 94] Generated Node #0,2,0: 16:[34, 94] Operation: 64+30=94 Exploring Operation: 64-30=34, Resulting Numbers: [34, 34] Generated Node #0,2,1: 16:[34, 34] Operation: 64-30=34 Exploring Operation: 64+34=98, Resulting Numbers: [30, 98] Generated Node #0,2,2: 16:[30, 98] Operation: 64+34=98 Exploring Operation: 34-30=4, Resulting Numbers: [64, 4] Generated Node #0,2,3: 16:[64, 4] Operation: 34-30=4 Exploring Operation: 64-34=30, Resulting Numbers: [30, 30] Generated Node #0,2,4: 16:[30, 30] Operation: 64-34=30 Moving to Node #0,3 Current State: 16:[90, 30, 8], Operations: ['64-56=8'] Exploring Operation: 90-30=60, Resulting Numbers: [8, 60] Generated Node #0,3,0: 16:[8, 60] Operation: 90-30=60 Exploring Operation: 30-8=22, Resulting Numbers: [90, 22] Generated Node #0,3,1: 16:[90, 22] Operation: 30-8=22 Exploring Operation: 90-8=82, Resulting Numbers: [30, 82] Generated Node #0,3,2: 16:[30, 82] Operation: 90-8=82 Exploring Operation: 90+8=98, Resulting Numbers: [30, 98] Generated Node #0,3,3: 16:[30, 98] Operation: 90+8=98 Exploring Operation: 90/30=3, Resulting Numbers: [8, 3] Generated Node #0,3,4: 16:[8, 3] Operation: 90/30=3 Moving to Node #0,0 Current State: 16:[64, 56, 3], Operations: ['90/30=3'] Exploring Operation: 64+3=67, Resulting Numbers: [56, 67] Generated Node #0,0,0: 16:[56, 67] Operation: 64+3=67 Exploring Operation: 64-3=61, Resulting Numbers: [56, 61] Generated Node #0,0,1: 16:[56, 61] Operation: 64-3=61 Exploring Operation: 56+3=59, Resulting Numbers: [64, 59] Generated Node #0,0,2: 16:[64, 59] Operation: 56+3=59 Exploring Operation: 56-3=53, Resulting Numbers: [64, 53] Generated Node #0,0,3: 16:[64, 53] Operation: 56-3=53 Exploring Operation: 64-56=8, Resulting Numbers: [3, 8] Generated Node #0,0,4: 16:[3, 8] Operation: 64-56=8 Moving to Node #0,4 Current State: 16:[56, 90, 34], Operations: ['64-30=34'] Exploring Operation: 56+90=146, Resulting Numbers: [34, 146] Generated Node #0,4,0: 16:[34, 146] Operation: 56+90=146 Exploring Operation: 90-56=34, Resulting Numbers: [34, 34] Generated Node #0,4,1: 16:[34, 34] Operation: 90-56=34 Exploring Operation: 90-34=56, Resulting Numbers: [56, 56] Generated Node #0,4,2: 16:[56, 56] Operation: 90-34=56 Exploring Operation: 56+34=90, Resulting Numbers: [90, 90] Generated Node #0,4,3: 16:[90, 90] Operation: 56+34=90 Exploring Operation: 56-34=22, Resulting Numbers: [90, 22] Generated Node #0,4,4: 16:[90, 22] Operation: 56-34=22 Moving to Node #0,3,4 Current State: 16:[8, 3], Operations: ['64-56=8', '90/30=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,16 unequal: No Solution Moving to Node #0,0,4 Current State: 16:[3, 8], Operations: ['90/30=3', '64-56=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,2,4 Current State: 16:[30, 30], Operations: ['90-56=34', '64-34=30'] Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,16 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[34, 34], Operations: ['90-56=34', '64-30=34'] Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,16 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[34, 34], Operations: ['64-30=34', '90-56=34'] Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,16 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[8, 60], Operations: ['64-56=8', '90-30=60'] Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,16 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[64, 4], Operations: ['90-56=34', '34-30=4'] Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,16 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[64, 56, 90, 30], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [64, 30, 34] Generated Node #0,2: 16:[64, 30, 34] Operation: 90-56=34 Moving to Node #0,2 Current State: 16:[64, 30, 34], Operations: ['90-56=34'] Exploring Operation: 34-30=4, Resulting Numbers: [64, 4] Generated Node #0,2,3: 16:[64, 4] Operation: 34-30=4 Moving to Node #0,2,3 Current State: 16:[64, 4], Operations: ['90-56=34', '34-30=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.93316
hs_5
sum_heuristic
[ 73, 17, 98, 25 ]
16
[ "98-73=25", "25/25=1", "17-1=16" ]
Current State: 16:[73, 17, 98, 25], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [17, 25, 25] Generated Node #2: [17, 25, 25] from Operation: 98-73=25 Current State: 16:[17, 25, 25], Operations: ['98-73=25'] Exploring Operation: 25/25=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 25/25=1 Current State: 16:[17, 1], Operations: ['98-73=25', '25/25=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[73, 17, 98, 25], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [73, 25, 81] Generated Node #0,0: 16:[73, 25, 81] Operation: 98-17=81 Exploring Operation: 73-17=56, Resulting Numbers: [98, 25, 56] Generated Node #0,1: 16:[98, 25, 56] Operation: 73-17=56 Exploring Operation: 98-73=25, Resulting Numbers: [17, 25, 25] Generated Node #0,2: 16:[17, 25, 25] Operation: 98-73=25 Exploring Operation: 73-25=48, Resulting Numbers: [17, 98, 48] Generated Node #0,3: 16:[17, 98, 48] Operation: 73-25=48 Exploring Operation: 98-25=73, Resulting Numbers: [73, 17, 73] Generated Node #0,4: 16:[73, 17, 73] Operation: 98-25=73 Moving to Node #0,2 Current State: 16:[17, 25, 25], Operations: ['98-73=25'] Exploring Operation: 25-17=8, Resulting Numbers: [25, 8] Generated Node #0,2,0: 16:[25, 8] Operation: 25-17=8 Exploring Operation: 25-25=0, Resulting Numbers: [17, 0] Generated Node #0,2,1: 16:[17, 0] Operation: 25-25=0 Exploring Operation: 25/25=1, Resulting Numbers: [17, 1] Generated Node #0,2,2: 16:[17, 1] Operation: 25/25=1 Exploring Operation: 17+25=42, Resulting Numbers: [25, 42] Generated Node #0,2,3: 16:[25, 42] Operation: 17+25=42 Exploring Operation: 25-17=8, Resulting Numbers: [25, 8] Generated Node #0,2,4: 16:[25, 8] Operation: 25-17=8 Moving to Node #0,4 Current State: 16:[73, 17, 73], Operations: ['98-25=73'] Exploring Operation: 73-73=0, Resulting Numbers: [17, 0] Generated Node #0,4,0: 16:[17, 0] Operation: 73-73=0 Exploring Operation: 73/73=1, Resulting Numbers: [17, 1] Generated Node #0,4,1: 16:[17, 1] Operation: 73/73=1 Exploring Operation: 73+17=90, Resulting Numbers: [73, 90] Generated Node #0,4,2: 16:[73, 90] Operation: 73+17=90 Exploring Operation: 73-17=56, Resulting Numbers: [73, 56] Generated Node #0,4,3: 16:[73, 56] Operation: 73-17=56 Exploring Operation: 73-17=56, Resulting Numbers: [73, 56] Generated Node #0,4,4: 16:[73, 56] Operation: 73-17=56 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 16:[17, 1], Operations: ['98-25=73', '73/73=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[73, 17, 98, 25], Operations: [] Exploring Operation: 98-25=73, Resulting Numbers: [73, 17, 73] Generated Node #0,4: 16:[73, 17, 73] Operation: 98-25=73 Moving to Node #0,4 Current State: 16:[73, 17, 73], Operations: ['98-25=73'] Exploring Operation: 73/73=1, Resulting Numbers: [17, 1] Generated Node #0,4,1: 16:[17, 1] Operation: 73/73=1 Moving to Node #0,4,1 Current State: 16:[17, 1], Operations: ['98-25=73', '73/73=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 7, 68, 52, 64 ]
87
[ "7+68=75", "64-52=12", "75+12=87" ]
Current State: 87:[7, 68, 52, 64], Operations: [] Exploring Operation: 7+68=75, Resulting Numbers: [52, 64, 75] Generated Node #2: [52, 64, 75] from Operation: 7+68=75 Current State: 87:[52, 64, 75], Operations: ['7+68=75'] Exploring Operation: 64-52=12, Resulting Numbers: [75, 12] Generated Node #3: [75, 12] from Operation: 64-52=12 Current State: 87:[75, 12], Operations: ['7+68=75', '64-52=12'] Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[7, 68, 52, 64], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [7, 52, 4] Generated Node #0,0: 87:[7, 52, 4] Operation: 68-64=4 Exploring Operation: 64-52=12, Resulting Numbers: [7, 68, 12] Generated Node #0,1: 87:[7, 68, 12] Operation: 64-52=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[7, 52, 4], Operations: ['68-64=4'] Exploring Operation: 52/4=13, Resulting Numbers: [7, 13] Generated Node #0,0,0: 87:[7, 13] Operation: 52/4=13 Exploring Operation: 52-7=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 87:[4, 45] Operation: 52-7=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[7, 13], Operations: ['68-64=4', '52/4=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,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:[4, 45], Operations: ['68-64=4', '52-7=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,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,1 Current State: 87:[7, 68, 12], Operations: ['64-52=12'] Exploring Operation: 7+68=75, Resulting Numbers: [12, 75] Generated Node #0,1,0: 87:[12, 75] Operation: 7+68=75 Exploring Operation: 68+12=80, Resulting Numbers: [7, 80] Generated Node #0,1,1: 87:[7, 80] Operation: 68+12=80 Moving to Node #0,1,1 Current State: 87:[7, 80], Operations: ['64-52=12', '68+12=80'] Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[7, 68, 52, 64], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [7, 68, 12] Generated Node #0,1: 87:[7, 68, 12] Operation: 64-52=12 Moving to Node #0,1 Current State: 87:[7, 68, 12], Operations: ['64-52=12'] Exploring Operation: 68+12=80, Resulting Numbers: [7, 80] Generated Node #0,1,1: 87:[7, 80] Operation: 68+12=80 Moving to Node #0,1,1 Current State: 87:[7, 80], Operations: ['64-52=12', '68+12=80'] Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 40, 80, 23, 40 ]
12
[ "40*23=920", "40+920=960", "960/80=12" ]
Current State: 12:[40, 80, 23, 40], Operations: [] Exploring Operation: 40*23=920, Resulting Numbers: [80, 920] Generated Node #2: [80, 920] from Operation: 40*23=920 Current State: 12:[80, 920], Operations: ['40*23=920'] Exploring Operation: 40+920=960, Resulting Numbers: [80, 960] Generated Node #3: [80, 960] from Operation: 40+920=960 Current State: 12:[80, 960], Operations: ['40*23=920', '40+920=960'] Exploring Operation: 960/80=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[40, 80, 23, 40], Operations: [] Exploring Operation: 80-40=40, Resulting Numbers: [23, 40, 40] Generated Node #0,0: 12:[23, 40, 40] Operation: 80-40=40 Exploring Operation: 80/40=2, Resulting Numbers: [40, 23, 2] Generated Node #0,1: 12:[40, 23, 2] Operation: 80/40=2 Exploring Operation: 80/40=2, Resulting Numbers: [23, 40, 2] Generated Node #0,2: 12:[23, 40, 2] Operation: 80/40=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[40, 23, 2], Operations: ['80/40=2'] Exploring Operation: 40-23=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 12:[2, 17] Operation: 40-23=17 Exploring Operation: 40-2=38, Resulting Numbers: [23, 38] Generated Node #0,1,1: 12:[23, 38] Operation: 40-2=38 Exploring Operation: 40/2=20, Resulting Numbers: [23, 20] Generated Node #0,1,2: 12:[23, 20] Operation: 40/2=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[2, 17], Operations: ['80/40=2', '40-23=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,12 unequal: No Solution No 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: 12:[23, 20], Operations: ['80/40=2', '40/2=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,12 unequal: No Solution No 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: 12:[23, 38], Operations: ['80/40=2', '40-2=38'] Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,12 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,12 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: 12:[23, 40, 2], Operations: ['80/40=2'] Exploring Operation: 40-23=17, Resulting Numbers: [2, 17] Generated Node #0,2,0: 12:[2, 17] Operation: 40-23=17 Exploring Operation: 23-2=21, Resulting Numbers: [40, 21] Generated Node #0,2,1: 12:[40, 21] Operation: 23-2=21 Exploring Operation: 40/2=20, Resulting Numbers: [23, 20] Generated Node #0,2,2: 12:[23, 20] Operation: 40/2=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[2, 17], Operations: ['80/40=2', '40-23=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,12 unequal: No Solution No 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: 12:[23, 20], Operations: ['80/40=2', '40/2=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,12 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,12 unequal: No Solution No 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: 12:[40, 21], Operations: ['80/40=2', '23-2=21'] Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,12 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,12 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: 12:[23, 40, 40], Operations: ['80-40=40'] Exploring Operation: 40-40=0, Resulting Numbers: [23, 0] Generated Node #0,0,0: 12:[23, 0] Operation: 40-40=0 Exploring Operation: 40/40=1, Resulting Numbers: [23, 1] Generated Node #0,0,1: 12:[23, 1] Operation: 40/40=1 Exploring Operation: 40-23=17, Resulting Numbers: [40, 17] Generated Node #0,0,2: 12:[40, 17] Operation: 40-23=17 Moving to Node #0,0,1 Current State: 12:[23, 1], Operations: ['80-40=40', '40/40=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[23, 0], Operations: ['80-40=40', '40-40=0'] Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[40, 17], Operations: ['80-40=40', '40-23=17'] Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,12 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
[ 42, 94, 37, 5 ]
35
[ "42+5=47", "94/47=2", "37-2=35" ]
Current State: 35:[42, 94, 37, 5], Operations: [] Exploring Operation: 42+5=47, Resulting Numbers: [94, 37, 47] Generated Node #2: [94, 37, 47] from Operation: 42+5=47 Current State: 35:[94, 37, 47], Operations: ['42+5=47'] Exploring Operation: 94/47=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 94/47=2 Current State: 35:[37, 2], Operations: ['42+5=47', '94/47=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[42, 94, 37, 5], Operations: [] Exploring Operation: 42-5=37, Resulting Numbers: [94, 37, 37] Generated Node #0,0: 35:[94, 37, 37] Operation: 42-5=37 Exploring Operation: 42-37=5, Resulting Numbers: [94, 5, 5] Generated Node #0,1: 35:[94, 5, 5] Operation: 42-37=5 Exploring Operation: 94-42=52, Resulting Numbers: [37, 5, 52] Generated Node #0,2: 35:[37, 5, 52] Operation: 94-42=52 Exploring Operation: 94-37=57, Resulting Numbers: [42, 5, 57] Generated Node #0,3: 35:[42, 5, 57] Operation: 94-37=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[37, 5, 52], Operations: ['94-42=52'] Exploring Operation: 37+5=42, Resulting Numbers: [52, 42] Generated Node #0,2,0: 35:[52, 42] Operation: 37+5=42 Exploring Operation: 52-37=15, Resulting Numbers: [5, 15] Generated Node #0,2,1: 35:[5, 15] Operation: 52-37=15 Exploring Operation: 52-5=47, Resulting Numbers: [37, 47] Generated Node #0,2,2: 35:[37, 47] Operation: 52-5=47 Exploring Operation: 37-5=32, Resulting Numbers: [52, 32] Generated Node #0,2,3: 35:[52, 32] Operation: 37-5=32 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[5, 15], Operations: ['94-42=52', '52-37=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,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:[37, 47], Operations: ['94-42=52', '52-5=47'] Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,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,3 Current State: 35:[52, 32], Operations: ['94-42=52', '37-5=32'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,35 unequal: No Solution Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,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:[52, 42], Operations: ['94-42=52', '37+5=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,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,3 Current State: 35:[42, 5, 57], Operations: ['94-37=57'] Exploring Operation: 42+5=47, Resulting Numbers: [57, 47] Generated Node #0,3,0: 35:[57, 47] Operation: 42+5=47 Exploring Operation: 57-5=52, Resulting Numbers: [42, 52] Generated Node #0,3,1: 35:[42, 52] Operation: 57-5=52 Exploring Operation: 42-5=37, Resulting Numbers: [57, 37] Generated Node #0,3,2: 35:[57, 37] Operation: 42-5=37 Exploring Operation: 57-42=15, Resulting Numbers: [5, 15] Generated Node #0,3,3: 35:[5, 15] Operation: 57-42=15 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[5, 15], Operations: ['94-37=57', '57-42=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,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:[42, 52], Operations: ['94-37=57', '57-5=52'] Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,35 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,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,2 Current State: 35:[57, 37], Operations: ['94-37=57', '42-5=37'] Exploring Operation: 57*37=2109, Resulting Numbers: [2109] 2109,35 unequal: No Solution Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,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,0 Current State: 35:[57, 47], Operations: ['94-37=57', '42+5=47'] Exploring Operation: 57*47=2679, Resulting Numbers: [2679] 2679,35 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 57+47=104, Resulting Numbers: [104] 104,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:[94, 5, 5], Operations: ['42-37=5'] Exploring Operation: 5/5=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 35:[94, 1] Operation: 5/5=1 Exploring Operation: 94-5=89, Resulting Numbers: [5, 89] Generated Node #0,1,1: 35:[5, 89] Operation: 94-5=89 Exploring Operation: 94-5=89, Resulting Numbers: [5, 89] Generated Node #0,1,2: 35:[5, 89] Operation: 94-5=89 Exploring Operation: 5+5=10, Resulting Numbers: [94, 10] Generated Node #0,1,3: 35:[94, 10] Operation: 5+5=10 Moving to Node #0,1,1 Current State: 35:[5, 89], Operations: ['42-37=5', '94-5=89'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 5+89=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 5*89=445, Resulting Numbers: [445] 445,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[5, 89], Operations: ['42-37=5', '94-5=89'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 5+89=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 5*89=445, Resulting Numbers: [445] 445,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[94, 10], Operations: ['42-37=5', '5+5=10'] Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 94*10=940, Resulting Numbers: [940] 940,35 unequal: No Solution Exploring Operation: 94+10=104, Resulting Numbers: [104] 104,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[94, 1], Operations: ['42-37=5', '5/5=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,35 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,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:[94, 37, 37], Operations: ['42-5=37'] Exploring Operation: 94-37=57, Resulting Numbers: [37, 57] Generated Node #0,0,0: 35:[37, 57] Operation: 94-37=57 Exploring Operation: 37/37=1, Resulting Numbers: [94, 1] Generated Node #0,0,1: 35:[94, 1] Operation: 37/37=1 Exploring Operation: 94-37=57, Resulting Numbers: [37, 57] Generated Node #0,0,2: 35:[37, 57] Operation: 94-37=57 Exploring Operation: 37-37=0, Resulting Numbers: [94, 0] Generated Node #0,0,3: 35:[94, 0] Operation: 37-37=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[37, 57], Operations: ['42-5=37', '94-37=57'] Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 37*57=2109, Resulting Numbers: [2109] 2109,35 unequal: No Solution Exploring Operation: 37+57=94, Resulting Numbers: [94] 94,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:[37, 57], Operations: ['42-5=37', '94-37=57'] Exploring Operation: 37+57=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 37*57=2109, Resulting Numbers: [2109] 2109,35 unequal: No Solution Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,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,1 Current State: 35:[94, 1], Operations: ['42-5=37', '37/37=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,35 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,35 unequal: No Solution Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,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,3 Current State: 35:[94, 0], Operations: ['42-5=37', '37-37=0'] Exploring Operation: 94*0=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 94-0=94, Resulting Numbers: [94] 94,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_4
mult_heuristic
[ 44, 1, 22, 97 ]
31
[ "44*1=44", "97-22=75", "75-44=31" ]
Current State: 31:[44, 1, 22, 97], Operations: [] Exploring Operation: 44*1=44, Resulting Numbers: [22, 97, 44] Generated Node #2: [22, 97, 44] from Operation: 44*1=44 Current State: 31:[22, 97, 44], Operations: ['44*1=44'] Exploring Operation: 97-22=75, Resulting Numbers: [44, 75] Generated Node #3: [44, 75] from Operation: 97-22=75 Current State: 31:[44, 75], Operations: ['44*1=44', '97-22=75'] Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[44, 1, 22, 97], Operations: [] Exploring Operation: 97-1=96, Resulting Numbers: [44, 22, 96] Generated Node #0,0: 31:[44, 22, 96] Operation: 97-1=96 Exploring Operation: 97-22=75, Resulting Numbers: [44, 1, 75] Generated Node #0,1: 31:[44, 1, 75] Operation: 97-22=75 Exploring Operation: 1+22=23, Resulting Numbers: [44, 97, 23] Generated Node #0,2: 31:[44, 97, 23] Operation: 1+22=23 Exploring Operation: 44-1=43, Resulting Numbers: [22, 97, 43] Generated Node #0,3: 31:[22, 97, 43] Operation: 44-1=43 Exploring Operation: 97-44=53, Resulting Numbers: [1, 22, 53] Generated Node #0,4: 31:[1, 22, 53] Operation: 97-44=53 Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[1, 22, 53], Operations: ['97-44=53'] Exploring Operation: 1+22=23, Resulting Numbers: [53, 23] Generated Node #0,4,0: 31:[53, 23] Operation: 1+22=23 Exploring Operation: 53-1=52, Resulting Numbers: [22, 52] Generated Node #0,4,1: 31:[22, 52] Operation: 53-1=52 Exploring Operation: 53-22=31, Resulting Numbers: [1, 31] Generated Node #0,4,2: 31:[1, 31] Operation: 53-22=31 Exploring Operation: 22/1=22, Resulting Numbers: [53, 22] Generated Node #0,4,3: 31:[53, 22] Operation: 22/1=22 Exploring Operation: 1*22=22, Resulting Numbers: [53, 22] Generated Node #0,4,4: 31:[53, 22] Operation: 1*22=22 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[53, 23], Operations: ['97-44=53', '1+22=23'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,31 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 31:[22, 52], Operations: ['97-44=53', '53-1=52'] Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,31 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,31 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 31:[1, 31], Operations: ['97-44=53', '53-22=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[44, 1, 22, 97], Operations: [] Exploring Operation: 97-44=53, Resulting Numbers: [1, 22, 53] Generated Node #0,4: 31:[1, 22, 53] Operation: 97-44=53 Moving to Node #0,4 Current State: 31:[1, 22, 53], Operations: ['97-44=53'] Exploring Operation: 53-22=31, Resulting Numbers: [1, 31] Generated Node #0,4,2: 31:[1, 31] Operation: 53-22=31 Moving to Node #0,4,2 Current State: 31:[1, 31], Operations: ['97-44=53', '53-22=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 92, 37, 46, 37 ]
28
[ "92-37=55", "46+37=83", "83-55=28" ]
Current State: 28:[92, 37, 46, 37], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [46, 55] Generated Node #2: [46, 55] from Operation: 92-37=55 Current State: 28:[46, 55], Operations: ['92-37=55'] Exploring Operation: 46+37=83, Resulting Numbers: [55, 83] Generated Node #3: [55, 83] from Operation: 46+37=83 Current State: 28:[55, 83], Operations: ['92-37=55', '46+37=83'] Exploring Operation: 83-55=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[92, 37, 46, 37], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [46, 37, 55] Generated Node #0,0: 28:[46, 37, 55] Operation: 92-37=55 Exploring Operation: 46-37=9, Resulting Numbers: [92, 37, 9] Generated Node #0,1: 28:[92, 37, 9] Operation: 46-37=9 Exploring Operation: 92-46=46, Resulting Numbers: [37, 37, 46] Generated Node #0,2: 28:[37, 37, 46] Operation: 92-46=46 Exploring Operation: 92/46=2, Resulting Numbers: [37, 37, 2] Generated Node #0,3: 28:[37, 37, 2] Operation: 92/46=2 Exploring Operation: 92-37=55, Resulting Numbers: [37, 46, 55] Generated Node #0,4: 28:[37, 46, 55] Operation: 92-37=55 Moving to Node #0,3 Current State: 28:[37, 37, 2], Operations: ['92/46=2'] Exploring Operation: 37-2=35, Resulting Numbers: [37, 35] Generated Node #0,3,0: 28:[37, 35] Operation: 37-2=35 Exploring Operation: 37/37=1, Resulting Numbers: [2, 1] Generated Node #0,3,1: 28:[2, 1] Operation: 37/37=1 Exploring Operation: 37-37=0, Resulting Numbers: [2, 0] Generated Node #0,3,2: 28:[2, 0] Operation: 37-37=0 Exploring Operation: 37+2=39, Resulting Numbers: [37, 39] Generated Node #0,3,3: 28:[37, 39] Operation: 37+2=39 Exploring Operation: 37-2=35, Resulting Numbers: [37, 35] Generated Node #0,3,4: 28:[37, 35] Operation: 37-2=35 Moving to Node #0,2 Current State: 28:[37, 37, 46], Operations: ['92-46=46'] Exploring Operation: 37+37=74, Resulting Numbers: [46, 74] Generated Node #0,2,0: 28:[46, 74] Operation: 37+37=74 Exploring Operation: 46-37=9, Resulting Numbers: [37, 9] Generated Node #0,2,1: 28:[37, 9] Operation: 46-37=9 Exploring Operation: 37-37=0, Resulting Numbers: [46, 0] Generated Node #0,2,2: 28:[46, 0] Operation: 37-37=0 Exploring Operation: 46-37=9, Resulting Numbers: [37, 9] Generated Node #0,2,3: 28:[37, 9] Operation: 46-37=9 Exploring Operation: 37/37=1, Resulting Numbers: [46, 1] Generated Node #0,2,4: 28:[46, 1] Operation: 37/37=1 Moving to Node #0,0 Current State: 28:[46, 37, 55], Operations: ['92-37=55'] Exploring Operation: 46+55=101, Resulting Numbers: [37, 101] Generated Node #0,0,0: 28:[37, 101] Operation: 46+55=101 Exploring Operation: 46+37=83, Resulting Numbers: [55, 83] Generated Node #0,0,1: 28:[55, 83] Operation: 46+37=83 Exploring Operation: 55-46=9, Resulting Numbers: [37, 9] Generated Node #0,0,2: 28:[37, 9] Operation: 55-46=9 Exploring Operation: 55-37=18, Resulting Numbers: [46, 18] Generated Node #0,0,3: 28:[46, 18] Operation: 55-37=18 Exploring Operation: 46-37=9, Resulting Numbers: [55, 9] Generated Node #0,0,4: 28:[55, 9] Operation: 46-37=9 Moving to Node #0,4 Current State: 28:[37, 46, 55], Operations: ['92-37=55'] Exploring Operation: 55-37=18, Resulting Numbers: [46, 18] Generated Node #0,4,0: 28:[46, 18] Operation: 55-37=18 Exploring Operation: 37+55=92, Resulting Numbers: [46, 92] Generated Node #0,4,1: 28:[46, 92] Operation: 37+55=92 Exploring Operation: 46-37=9, Resulting Numbers: [55, 9] Generated Node #0,4,2: 28:[55, 9] Operation: 46-37=9 Exploring Operation: 37+46=83, Resulting Numbers: [55, 83] Generated Node #0,4,3: 28:[55, 83] Operation: 37+46=83 Exploring Operation: 55-46=9, Resulting Numbers: [37, 9] Generated Node #0,4,4: 28:[37, 9] Operation: 55-46=9 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 28:[37, 9], Operations: ['92-37=55', '55-46=9'] Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[92, 37, 46, 37], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [37, 46, 55] Generated Node #0,4: 28:[37, 46, 55] Operation: 92-37=55 Moving to Node #0,4 Current State: 28:[37, 46, 55], Operations: ['92-37=55'] Exploring Operation: 55-46=9, Resulting Numbers: [37, 9] Generated Node #0,4,4: 28:[37, 9] Operation: 55-46=9 Moving to Node #0,4,4 Current State: 28:[37, 9], Operations: ['92-37=55', '55-46=9'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
mult_heuristic
[ 67, 80, 28, 61 ]
76
[ "80-67=13", "28+61=89", "89-13=76" ]
Current State: 76:[67, 80, 28, 61], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [28, 61, 13] Generated Node #2: [28, 61, 13] from Operation: 80-67=13 Current State: 76:[28, 61, 13], Operations: ['80-67=13'] Exploring Operation: 28+61=89, Resulting Numbers: [13, 89] Generated Node #3: [13, 89] from Operation: 28+61=89 Current State: 76:[13, 89], Operations: ['80-67=13', '28+61=89'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[67, 80, 28, 61], Operations: [] Exploring Operation: 67-28=39, Resulting Numbers: [80, 61, 39] Generated Node #0,0: 76:[80, 61, 39] Operation: 67-28=39 Exploring Operation: 80-61=19, Resulting Numbers: [67, 28, 19] Generated Node #0,1: 76:[67, 28, 19] Operation: 80-61=19 Exploring Operation: 28+61=89, Resulting Numbers: [67, 80, 89] Generated Node #0,2: 76:[67, 80, 89] Operation: 28+61=89 Exploring Operation: 61-28=33, Resulting Numbers: [67, 80, 33] Generated Node #0,3: 76:[67, 80, 33] Operation: 61-28=33 Exploring Operation: 67-61=6, Resulting Numbers: [80, 28, 6] Generated Node #0,4: 76:[80, 28, 6] Operation: 67-61=6 Moving to Node #0,4 Current State: 76:[80, 28, 6], Operations: ['67-61=6'] Exploring Operation: 80+6=86, Resulting Numbers: [28, 86] Generated Node #0,4,0: 76:[28, 86] Operation: 80+6=86 Exploring Operation: 80-28=52, Resulting Numbers: [6, 52] Generated Node #0,4,1: 76:[6, 52] Operation: 80-28=52 Exploring Operation: 80-6=74, Resulting Numbers: [28, 74] Generated Node #0,4,2: 76:[28, 74] Operation: 80-6=74 Exploring Operation: 28+6=34, Resulting Numbers: [80, 34] Generated Node #0,4,3: 76:[80, 34] Operation: 28+6=34 Exploring Operation: 28-6=22, Resulting Numbers: [80, 22] Generated Node #0,4,4: 76:[80, 22] Operation: 28-6=22 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[80, 22], Operations: ['67-61=6', '28-6=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,76 unequal: No Solution Exploring Operation: 80*22=1760, Resulting Numbers: [1760] 1760,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[80, 34], Operations: ['67-61=6', '28+6=34'] Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,76 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[28, 74], Operations: ['67-61=6', '80-6=74'] Exploring Operation: 28*74=2072, Resulting Numbers: [2072] 2072,76 unequal: No Solution Exploring Operation: 28+74=102, Resulting Numbers: [102] 102,76 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[6, 52], Operations: ['67-61=6', '80-28=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,76 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[28, 86], Operations: ['67-61=6', '80+6=86'] Exploring Operation: 28+86=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 28*86=2408, Resulting Numbers: [2408] 2408,76 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: 76:[67, 80, 33], Operations: ['61-28=33'] Exploring Operation: 67-33=34, Resulting Numbers: [80, 34] Generated Node #0,3,0: 76:[80, 34] Operation: 67-33=34 Exploring Operation: 80-33=47, Resulting Numbers: [67, 47] Generated Node #0,3,1: 76:[67, 47] Operation: 80-33=47 Exploring Operation: 80+33=113, Resulting Numbers: [67, 113] Generated Node #0,3,2: 76:[67, 113] Operation: 80+33=113 Exploring Operation: 67+33=100, Resulting Numbers: [80, 100] Generated Node #0,3,3: 76:[80, 100] Operation: 67+33=100 Exploring Operation: 80-67=13, Resulting Numbers: [33, 13] Generated Node #0,3,4: 76:[33, 13] Operation: 80-67=13 Moving to Node #0,1 Current State: 76:[67, 28, 19], Operations: ['80-61=19'] Exploring Operation: 67+19=86, Resulting Numbers: [28, 86] Generated Node #0,1,0: 76:[28, 86] Operation: 67+19=86 Exploring Operation: 67-28=39, Resulting Numbers: [19, 39] Generated Node #0,1,1: 76:[19, 39] Operation: 67-28=39 Exploring Operation: 28+19=47, Resulting Numbers: [67, 47] Generated Node #0,1,2: 76:[67, 47] Operation: 28+19=47 Exploring Operation: 67+28=95, Resulting Numbers: [19, 95] Generated Node #0,1,3: 76:[19, 95] Operation: 67+28=95 Exploring Operation: 28-19=9, Resulting Numbers: [67, 9] Generated Node #0,1,4: 76:[67, 9] Operation: 28-19=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[19, 39], Operations: ['80-61=19', '67-28=39'] Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,76 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 76:[67, 9], Operations: ['80-61=19', '28-19=9'] Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[67, 80, 28, 61], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [67, 28, 19] Generated Node #0,1: 76:[67, 28, 19] Operation: 80-61=19 Moving to Node #0,1 Current State: 76:[67, 28, 19], Operations: ['80-61=19'] Exploring Operation: 28-19=9, Resulting Numbers: [67, 9] Generated Node #0,1,4: 76:[67, 9] Operation: 28-19=9 Moving to Node #0,1,4 Current State: 76:[67, 9], Operations: ['80-61=19', '28-19=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 68, 61, 52, 87 ]
28
[ "68-61=7", "87-52=35", "35-7=28" ]
Current State: 28:[68, 61, 52, 87], Operations: [] Exploring Operation: 68-61=7, Resulting Numbers: [52, 87, 7] Generated Node #2: [52, 87, 7] from Operation: 68-61=7 Current State: 28:[52, 87, 7], Operations: ['68-61=7'] Exploring Operation: 87-52=35, Resulting Numbers: [7, 35] Generated Node #3: [7, 35] from Operation: 87-52=35 Current State: 28:[7, 35], Operations: ['68-61=7', '87-52=35'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[68, 61, 52, 87], Operations: [] Exploring Operation: 68-52=16, Resulting Numbers: [61, 87, 16] Generated Node #0,0: 28:[61, 87, 16] Operation: 68-52=16 Exploring Operation: 68-61=7, Resulting Numbers: [52, 87, 7] Generated Node #0,1: 28:[52, 87, 7] Operation: 68-61=7 Exploring Operation: 87-68=19, Resulting Numbers: [61, 52, 19] Generated Node #0,2: 28:[61, 52, 19] Operation: 87-68=19 Exploring Operation: 87-52=35, Resulting Numbers: [68, 61, 35] Generated Node #0,3: 28:[68, 61, 35] Operation: 87-52=35 Exploring Operation: 87-61=26, Resulting Numbers: [68, 52, 26] Generated Node #0,4: 28:[68, 52, 26] Operation: 87-61=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[61, 52, 19], Operations: ['87-68=19'] Exploring Operation: 52-19=33, Resulting Numbers: [61, 33] Generated Node #0,2,0: 28:[61, 33] Operation: 52-19=33 Exploring Operation: 52+19=71, Resulting Numbers: [61, 71] Generated Node #0,2,1: 28:[61, 71] Operation: 52+19=71 Exploring Operation: 61-52=9, Resulting Numbers: [19, 9] Generated Node #0,2,2: 28:[19, 9] Operation: 61-52=9 Exploring Operation: 61+19=80, Resulting Numbers: [52, 80] Generated Node #0,2,3: 28:[52, 80] Operation: 61+19=80 Exploring Operation: 61-19=42, Resulting Numbers: [52, 42] Generated Node #0,2,4: 28:[52, 42] Operation: 61-19=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[19, 9], Operations: ['87-68=19', '61-52=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,28 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[68, 61, 52, 87], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [61, 52, 19] Generated Node #0,2: 28:[61, 52, 19] Operation: 87-68=19 Moving to Node #0,2 Current State: 28:[61, 52, 19], Operations: ['87-68=19'] Exploring Operation: 61-52=9, Resulting Numbers: [19, 9] Generated Node #0,2,2: 28:[19, 9] Operation: 61-52=9 Moving to Node #0,2,2 Current State: 28:[19, 9], Operations: ['87-68=19', '61-52=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 9, 7, 27, 15 ]
75
[ "9*7=63", "27-15=12", "63+12=75" ]
Current State: 75:[9, 7, 27, 15], Operations: [] Exploring Operation: 9*7=63, Resulting Numbers: [27, 15, 63] Generated Node #2: [27, 15, 63] from Operation: 9*7=63 Current State: 75:[27, 15, 63], Operations: ['9*7=63'] Exploring Operation: 27-15=12, Resulting Numbers: [63, 12] Generated Node #3: [63, 12] from Operation: 27-15=12 Current State: 75:[63, 12], Operations: ['9*7=63', '27-15=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[9, 7, 27, 15], Operations: [] Exploring Operation: 9+7=16, Resulting Numbers: [27, 15, 16] Generated Node #0,0: 75:[27, 15, 16] Operation: 9+7=16 Exploring Operation: 9-7=2, Resulting Numbers: [27, 15, 2] Generated Node #0,1: 75:[27, 15, 2] Operation: 9-7=2 Exploring Operation: 27/9=3, Resulting Numbers: [7, 15, 3] Generated Node #0,2: 75:[7, 15, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [7, 15, 18] Generated Node #0,3: 75:[7, 15, 18] Operation: 27-9=18 Moving to Node #0,2 Current State: 75:[7, 15, 3], Operations: ['27/9=3'] Exploring Operation: 15/3=5, Resulting Numbers: [7, 5] Generated Node #0,2,0: 75:[7, 5] Operation: 15/3=5 Exploring Operation: 7-3=4, Resulting Numbers: [15, 4] Generated Node #0,2,1: 75:[15, 4] Operation: 7-3=4 Exploring Operation: 15-7=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 75:[3, 8] Operation: 15-7=8 Exploring Operation: 7+15=22, Resulting Numbers: [3, 22] Generated Node #0,2,3: 75:[3, 22] Operation: 7+15=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[15, 4], Operations: ['27/9=3', '7-3=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,75 unequal: No Solution No 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: 75:[7, 5], Operations: ['27/9=3', '15/3=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,75 unequal: No Solution No 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: 75:[3, 8], Operations: ['27/9=3', '15-7=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,75 unequal: No Solution No 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: 75:[3, 22], Operations: ['27/9=3', '7+15=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,75 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: 75:[27, 15, 2], Operations: ['9-7=2'] Exploring Operation: 15+2=17, Resulting Numbers: [27, 17] Generated Node #0,1,0: 75:[27, 17] Operation: 15+2=17 Exploring Operation: 27+2=29, Resulting Numbers: [15, 29] Generated Node #0,1,1: 75:[15, 29] Operation: 27+2=29 Exploring Operation: 27-15=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 75:[2, 12] Operation: 27-15=12 Exploring Operation: 27-2=25, Resulting Numbers: [15, 25] Generated Node #0,1,3: 75:[15, 25] Operation: 27-2=25 Moving to Node #0,0 Current State: 75:[27, 15, 16], Operations: ['9+7=16'] Exploring Operation: 16-15=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 75:[27, 1] Operation: 16-15=1 Exploring Operation: 15+16=31, Resulting Numbers: [27, 31] Generated Node #0,0,1: 75:[27, 31] Operation: 15+16=31 Exploring Operation: 27-16=11, Resulting Numbers: [15, 11] Generated Node #0,0,2: 75:[15, 11] Operation: 27-16=11 Exploring Operation: 27-15=12, Resulting Numbers: [16, 12] Generated Node #0,0,3: 75:[16, 12] Operation: 27-15=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[27, 1], Operations: ['9+7=16', '16-15=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,75 unequal: No Solution No 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: 75:[15, 11], Operations: ['9+7=16', '27-16=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,75 unequal: No Solution No 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: 75:[16, 12], Operations: ['9+7=16', '27-15=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,75 unequal: No Solution No 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: 75:[27, 31], Operations: ['9+7=16', '15+16=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,75 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: 75:[7, 15, 18], Operations: ['27-9=18'] Exploring Operation: 7+18=25, Resulting Numbers: [15, 25] Generated Node #0,3,0: 75:[15, 25] Operation: 7+18=25 Exploring Operation: 7+15=22, Resulting Numbers: [18, 22] Generated Node #0,3,1: 75:[18, 22] Operation: 7+15=22 Exploring Operation: 18-15=3, Resulting Numbers: [7, 3] Generated Node #0,3,2: 75:[7, 3] Operation: 18-15=3 Exploring Operation: 18-7=11, Resulting Numbers: [15, 11] Generated Node #0,3,3: 75:[15, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 75:[15, 25], Operations: ['27-9=18', '7+18=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 15*25=375, Resulting Numbers: [375] 375,75 unequal: No Solution No 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: 75:[7, 3], Operations: ['27-9=18', '18-15=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,75 unequal: No Solution No 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: 75:[15, 11], Operations: ['27-9=18', '18-7=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,75 unequal: No Solution No 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: 75:[18, 22], Operations: ['27-9=18', '7+15=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 75:[15, 25], Operations: ['9-7=2', '27-2=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 15*25=375, Resulting Numbers: [375] 375,75 unequal: No Solution Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[15, 29], Operations: ['9-7=2', '27+2=29'] Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,75 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[27, 17], Operations: ['9-7=2', '15+2=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,75 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[2, 12], Operations: ['9-7=2', '27-15=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 10, 40, 54, 61 ]
43
[ "10+40=50", "61-54=7", "50-7=43" ]
Current State: 43:[10, 40, 54, 61], Operations: [] Exploring Operation: 10+40=50, Resulting Numbers: [54, 61, 50] Generated Node #2: [54, 61, 50] from Operation: 10+40=50 Current State: 43:[54, 61, 50], Operations: ['10+40=50'] Exploring Operation: 61-54=7, Resulting Numbers: [50, 7] Generated Node #3: [50, 7] from Operation: 61-54=7 Current State: 43:[50, 7], Operations: ['10+40=50', '61-54=7'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[10, 40, 54, 61], Operations: [] Exploring Operation: 10+40=50, Resulting Numbers: [54, 61, 50] Generated Node #0,0: 43:[54, 61, 50] Operation: 10+40=50 Exploring Operation: 61-10=51, Resulting Numbers: [40, 54, 51] Generated Node #0,1: 43:[40, 54, 51] Operation: 61-10=51 Exploring Operation: 40-10=30, Resulting Numbers: [54, 61, 30] Generated Node #0,2: 43:[54, 61, 30] Operation: 40-10=30 Exploring Operation: 54-10=44, Resulting Numbers: [40, 61, 44] Generated Node #0,3: 43:[40, 61, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[40, 54, 51], Operations: ['61-10=51'] Exploring Operation: 54-40=14, Resulting Numbers: [51, 14] Generated Node #0,1,0: 43:[51, 14] Operation: 54-40=14 Exploring Operation: 40+54=94, Resulting Numbers: [51, 94] Generated Node #0,1,1: 43:[51, 94] Operation: 40+54=94 Exploring Operation: 51-40=11, Resulting Numbers: [54, 11] Generated Node #0,1,2: 43:[54, 11] Operation: 51-40=11 Exploring Operation: 54-51=3, Resulting Numbers: [40, 3] Generated Node #0,1,3: 43:[40, 3] Operation: 54-51=3 Moving to Node #0,1,0 Current State: 43:[51, 14], Operations: ['61-10=51', '54-40=14'] Exploring Operation: 51*14=714, Resulting Numbers: [714] 714,43 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 51+14=65, Resulting Numbers: [65] 65,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[40, 3], Operations: ['61-10=51', '54-51=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[10, 40, 54, 61], Operations: [] Exploring Operation: 61-10=51, Resulting Numbers: [40, 54, 51] Generated Node #0,1: 43:[40, 54, 51] Operation: 61-10=51 Moving to Node #0,1 Current State: 43:[40, 54, 51], Operations: ['61-10=51'] Exploring Operation: 54-51=3, Resulting Numbers: [40, 3] Generated Node #0,1,3: 43:[40, 3] Operation: 54-51=3 Moving to Node #0,1,3 Current State: 43:[40, 3], Operations: ['61-10=51', '54-51=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 54, 3, 99, 10 ]
97
[ "54+10=64", "99/3=33", "64+33=97" ]
Current State: 97:[54, 3, 99, 10], Operations: [] Exploring Operation: 54+10=64, Resulting Numbers: [3, 99, 64] Generated Node #2: [3, 99, 64] from Operation: 54+10=64 Current State: 97:[3, 99, 64], Operations: ['54+10=64'] Exploring Operation: 99/3=33, Resulting Numbers: [64, 33] Generated Node #3: [64, 33] from Operation: 99/3=33 Current State: 97:[64, 33], Operations: ['54+10=64', '99/3=33'] Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[54, 3, 99, 10], Operations: [] Exploring Operation: 3*10=30, Resulting Numbers: [54, 99, 30] Generated Node #0,0: 97:[54, 99, 30] Operation: 3*10=30 Exploring Operation: 54+3=57, Resulting Numbers: [99, 10, 57] Generated Node #0,1: 97:[99, 10, 57] Operation: 54+3=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[54, 99, 30], Operations: ['3*10=30'] Exploring Operation: 54+30=84, Resulting Numbers: [99, 84] Generated Node #0,0,0: 97:[99, 84] Operation: 54+30=84 Exploring Operation: 99-30=69, Resulting Numbers: [54, 69] Generated Node #0,0,1: 97:[54, 69] Operation: 99-30=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[99, 84], Operations: ['3*10=30', '54+30=84'] Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 99+84=183, Resulting Numbers: [183] 183,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[54, 69], Operations: ['3*10=30', '99-30=69'] Exploring Operation: 54+69=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,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:[99, 10, 57], Operations: ['54+3=57'] Exploring Operation: 10+57=67, Resulting Numbers: [99, 67] Generated Node #0,1,0: 97:[99, 67] Operation: 10+57=67 Exploring Operation: 99-10=89, Resulting Numbers: [57, 89] Generated Node #0,1,1: 97:[57, 89] Operation: 99-10=89 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[99, 67], Operations: ['54+3=57', '10+57=67'] Exploring Operation: 99+67=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[57, 89], Operations: ['54+3=57', '99-10=89'] Exploring Operation: 57+89=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,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
sum_heuristic
[ 28, 37, 70, 5 ]
83
[ "28+37=65", "65/5=13", "70+13=83" ]
Current State: 83:[28, 37, 70, 5], Operations: [] Exploring Operation: 28+37=65, Resulting Numbers: [70, 5, 65] Generated Node #2: [70, 5, 65] from Operation: 28+37=65 Current State: 83:[70, 5, 65], Operations: ['28+37=65'] Exploring Operation: 65/5=13, Resulting Numbers: [70, 13] Generated Node #3: [70, 13] from Operation: 65/5=13 Current State: 83:[70, 13], Operations: ['28+37=65', '65/5=13'] Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[28, 37, 70, 5], Operations: [] Exploring Operation: 37+5=42, Resulting Numbers: [28, 70, 42] Generated Node #0,0: 83:[28, 70, 42] Operation: 37+5=42 Exploring Operation: 28+5=33, Resulting Numbers: [37, 70, 33] Generated Node #0,1: 83:[37, 70, 33] Operation: 28+5=33 Exploring Operation: 28+37=65, Resulting Numbers: [70, 5, 65] Generated Node #0,2: 83:[70, 5, 65] Operation: 28+37=65 Exploring Operation: 70+5=75, Resulting Numbers: [28, 37, 75] Generated Node #0,3: 83:[28, 37, 75] Operation: 70+5=75 Moving to Node #0,0 Current State: 83:[28, 70, 42], Operations: ['37+5=42'] Exploring Operation: 70-28=42, Resulting Numbers: [42, 42] Generated Node #0,0,0: 83:[42, 42] Operation: 70-28=42 Exploring Operation: 28+42=70, Resulting Numbers: [70, 70] Generated Node #0,0,1: 83:[70, 70] Operation: 28+42=70 Exploring Operation: 28+70=98, Resulting Numbers: [42, 98] Generated Node #0,0,2: 83:[42, 98] Operation: 28+70=98 Exploring Operation: 42-28=14, Resulting Numbers: [70, 14] Generated Node #0,0,3: 83:[70, 14] Operation: 42-28=14 Moving to Node #0,2 Current State: 83:[70, 5, 65], Operations: ['28+37=65'] Exploring Operation: 70-5=65, Resulting Numbers: [65, 65] Generated Node #0,2,0: 83:[65, 65] Operation: 70-5=65 Exploring Operation: 65-5=60, Resulting Numbers: [70, 60] Generated Node #0,2,1: 83:[70, 60] Operation: 65-5=60 Exploring Operation: 70+5=75, Resulting Numbers: [65, 75] Generated Node #0,2,2: 83:[65, 75] Operation: 70+5=75 Exploring Operation: 5+65=70, Resulting Numbers: [70, 70] Generated Node #0,2,3: 83:[70, 70] Operation: 5+65=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[65, 75], Operations: ['28+37=65', '70+5=75'] Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,83 unequal: No Solution Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[70, 70], Operations: ['28+37=65', '5+65=70'] Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[65, 65], Operations: ['28+37=65', '70-5=65'] Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,83 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[70, 60], Operations: ['28+37=65', '65-5=60'] Exploring Operation: 70*60=4200, Resulting Numbers: [4200] 4200,83 unequal: No Solution Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 70+60=130, Resulting Numbers: [130] 130,83 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: 83:[37, 70, 33], Operations: ['28+5=33'] Exploring Operation: 37+33=70, Resulting Numbers: [70, 70] Generated Node #0,1,0: 83:[70, 70] Operation: 37+33=70 Exploring Operation: 70+33=103, Resulting Numbers: [37, 103] Generated Node #0,1,1: 83:[37, 103] Operation: 70+33=103 Exploring Operation: 37-33=4, Resulting Numbers: [70, 4] Generated Node #0,1,2: 83:[70, 4] Operation: 37-33=4 Exploring Operation: 37+70=107, Resulting Numbers: [33, 107] Generated Node #0,1,3: 83:[33, 107] Operation: 37+70=107 Moving to Node #0,3 Current State: 83:[28, 37, 75], Operations: ['70+5=75'] Exploring Operation: 28+75=103, Resulting Numbers: [37, 103] Generated Node #0,3,0: 83:[37, 103] Operation: 28+75=103 Exploring Operation: 28+37=65, Resulting Numbers: [75, 65] Generated Node #0,3,1: 83:[75, 65] Operation: 28+37=65 Exploring Operation: 75-28=47, Resulting Numbers: [37, 47] Generated Node #0,3,2: 83:[37, 47] Operation: 75-28=47 Exploring Operation: 37-28=9, Resulting Numbers: [75, 9] Generated Node #0,3,3: 83:[75, 9] Operation: 37-28=9 Moving to Node #0,0,1 Current State: 83:[70, 70], Operations: ['37+5=42', '28+42=70'] Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,83 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[70, 70], Operations: ['28+5=33', '37+33=70'] Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[75, 65], Operations: ['70+5=75', '28+37=65'] Exploring Operation: 75+65=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 75*65=4875, Resulting Numbers: [4875] 4875,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[42, 98], Operations: ['37+5=42', '28+70=98'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 42*98=4116, Resulting Numbers: [4116] 4116,83 unequal: No Solution Exploring Operation: 42+98=140, Resulting Numbers: [140] 140,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[37, 103], Operations: ['28+5=33', '70+33=103'] Exploring Operation: 103-37=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 37+103=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 37*103=3811, Resulting Numbers: [3811] 3811,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[37, 103], Operations: ['70+5=75', '28+75=103'] Exploring Operation: 103-37=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 37*103=3811, Resulting Numbers: [3811] 3811,83 unequal: No Solution Exploring Operation: 37+103=140, Resulting Numbers: [140] 140,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[33, 107], Operations: ['28+5=33', '37+70=107'] Exploring Operation: 33*107=3531, Resulting Numbers: [3531] 3531,83 unequal: No Solution Exploring Operation: 33+107=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 107-33=74, Resulting Numbers: [74] 74,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[42, 42], Operations: ['37+5=42', '70-28=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,83 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[75, 9], Operations: ['70+5=75', '37-28=9'] Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,83 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[37, 47], Operations: ['70+5=75', '75-28=47'] Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,83 unequal: No Solution Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[70, 14], Operations: ['37+5=42', '42-28=14'] Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[70, 4], Operations: ['28+5=33', '37-33=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 7, 63, 43, 8 ]
60
[ "63/7=9", "43+8=51", "9+51=60" ]
Current State: 60:[7, 63, 43, 8], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [43, 8, 9] Generated Node #2: [43, 8, 9] from Operation: 63/7=9 Current State: 60:[43, 8, 9], Operations: ['63/7=9'] Exploring Operation: 43+8=51, Resulting Numbers: [9, 51] Generated Node #3: [9, 51] from Operation: 43+8=51 Current State: 60:[9, 51], Operations: ['63/7=9', '43+8=51'] Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[7, 63, 43, 8], Operations: [] Exploring Operation: 43-8=35, Resulting Numbers: [7, 63, 35] Generated Node #0,0: 60:[7, 63, 35] Operation: 43-8=35 Exploring Operation: 63-43=20, Resulting Numbers: [7, 8, 20] Generated Node #0,1: 60:[7, 8, 20] Operation: 63-43=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[7, 8, 20], Operations: ['63-43=20'] Exploring Operation: 8-7=1, Resulting Numbers: [20, 1] Generated Node #0,1,0: 60:[20, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 60:[20, 15] Operation: 7+8=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[20, 15], Operations: ['63-43=20', '7+8=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,60 unequal: No Solution No 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: 60:[20, 1], Operations: ['63-43=20', '8-7=1'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,60 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: 60:[7, 63, 35], Operations: ['43-8=35'] Exploring Operation: 35/7=5, Resulting Numbers: [63, 5] Generated Node #0,0,0: 60:[63, 5] Operation: 35/7=5 Exploring Operation: 63-35=28, Resulting Numbers: [7, 28] Generated Node #0,0,1: 60:[7, 28] Operation: 63-35=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[63, 5], Operations: ['43-8=35', '35/7=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,60 unequal: No Solution No 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: 60:[7, 28], Operations: ['43-8=35', '63-35=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,60 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
[ 47, 14, 3, 47 ]
28
[ "47/47=1", "3-1=2", "14*2=28" ]
Current State: 28:[47, 14, 3, 47], Operations: [] Exploring Operation: 47/47=1, Resulting Numbers: [14, 3, 1] Generated Node #2: [14, 3, 1] from Operation: 47/47=1 Current State: 28:[14, 3, 1], Operations: ['47/47=1'] Exploring Operation: 3-1=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 3-1=2 Current State: 28:[14, 2], Operations: ['47/47=1', '3-1=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[47, 14, 3, 47], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [14, 3, 0] Generated Node #0,0: 28:[14, 3, 0] Operation: 47-47=0 Exploring Operation: 47/47=1, Resulting Numbers: [14, 3, 1] Generated Node #0,1: 28:[14, 3, 1] Operation: 47/47=1 Exploring Operation: 47-14=33, Resulting Numbers: [3, 47, 33] Generated Node #0,2: 28:[3, 47, 33] Operation: 47-14=33 Moving to Node #0,1 Current State: 28:[14, 3, 1], Operations: ['47/47=1'] Exploring Operation: 14*1=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 28:[3, 14] Operation: 14*1=14 Exploring Operation: 3-1=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 28:[14, 2] Operation: 3-1=2 Exploring Operation: 3+1=4, Resulting Numbers: [14, 4] Generated Node #0,1,2: 28:[14, 4] Operation: 3+1=4 Moving to Node #0,0 Current State: 28:[14, 3, 0], Operations: ['47-47=0'] Exploring Operation: 3+0=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 28:[14, 3] Operation: 3+0=3 Exploring Operation: 14+0=14, Resulting Numbers: [3, 14] Generated Node #0,0,1: 28:[3, 14] Operation: 14+0=14 Exploring Operation: 14-0=14, Resulting Numbers: [3, 14] Generated Node #0,0,2: 28:[3, 14] Operation: 14-0=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[14, 3], Operations: ['47-47=0', '3+0=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[3, 14], Operations: ['47-47=0', '14+0=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[3, 14], Operations: ['47-47=0', '14-0=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 28:[3, 47, 33], Operations: ['47-14=33'] Exploring Operation: 47-3=44, Resulting Numbers: [33, 44] Generated Node #0,2,0: 28:[33, 44] Operation: 47-3=44 Exploring Operation: 47-33=14, Resulting Numbers: [3, 14] Generated Node #0,2,1: 28:[3, 14] Operation: 47-33=14 Exploring Operation: 33-3=30, Resulting Numbers: [47, 30] Generated Node #0,2,2: 28:[47, 30] Operation: 33-3=30 Moving to Node #0,1,1 Current State: 28:[14, 2], Operations: ['47/47=1', '3-1=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[47, 14, 3, 47], Operations: [] Exploring Operation: 47/47=1, Resulting Numbers: [14, 3, 1] Generated Node #0,1: 28:[14, 3, 1] Operation: 47/47=1 Moving to Node #0,1 Current State: 28:[14, 3, 1], Operations: ['47/47=1'] Exploring Operation: 3-1=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 28:[14, 2] Operation: 3-1=2 Moving to Node #0,1,1 Current State: 28:[14, 2], Operations: ['47/47=1', '3-1=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 50, 57, 88, 39 ]
57
[ "88-50=38", "39-38=1", "57*1=57" ]
Current State: 57:[50, 57, 88, 39], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [57, 39, 38] Generated Node #2: [57, 39, 38] from Operation: 88-50=38 Current State: 57:[57, 39, 38], Operations: ['88-50=38'] Exploring Operation: 39-38=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 39-38=1 Current State: 57:[57, 1], Operations: ['88-50=38', '39-38=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[50, 57, 88, 39], Operations: [] Exploring Operation: 88-39=49, Resulting Numbers: [50, 57, 49] Generated Node #0,0: 57:[50, 57, 49] Operation: 88-39=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[50, 57, 49], Operations: ['88-39=49'] Exploring Operation: 50-49=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 57:[57, 1] Operation: 50-49=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[57, 1], Operations: ['88-39=49', '50-49=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[50, 57, 88, 39], Operations: [] Exploring Operation: 88-39=49, Resulting Numbers: [50, 57, 49] Generated Node #0,0: 57:[50, 57, 49] Operation: 88-39=49 Moving to Node #0,0 Current State: 57:[50, 57, 49], Operations: ['88-39=49'] Exploring Operation: 50-49=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 57:[57, 1] Operation: 50-49=1 Moving to Node #0,0,0 Current State: 57:[57, 1], Operations: ['88-39=49', '50-49=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 93, 44, 59, 64 ]
74
[ "93-44=49", "59+64=123", "123-49=74" ]
Current State: 74:[93, 44, 59, 64], Operations: [] Exploring Operation: 93-44=49, Resulting Numbers: [59, 64, 49] Generated Node #2: [59, 64, 49] from Operation: 93-44=49 Current State: 74:[59, 64, 49], Operations: ['93-44=49'] Exploring Operation: 59+64=123, Resulting Numbers: [49, 123] Generated Node #3: [49, 123] from Operation: 59+64=123 Current State: 74:[49, 123], Operations: ['93-44=49', '59+64=123'] Exploring Operation: 123-49=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[93, 44, 59, 64], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [44, 59, 29] Generated Node #0,0: 74:[44, 59, 29] Operation: 93-64=29 Exploring Operation: 64-59=5, Resulting Numbers: [93, 44, 5] Generated Node #0,1: 74:[93, 44, 5] Operation: 64-59=5 Exploring Operation: 93-59=34, Resulting Numbers: [44, 64, 34] Generated Node #0,2: 74:[44, 64, 34] Operation: 93-59=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[44, 64, 34], Operations: ['93-59=34'] Exploring Operation: 44-34=10, Resulting Numbers: [64, 10] Generated Node #0,2,0: 74:[64, 10] Operation: 44-34=10 Exploring Operation: 44+34=78, Resulting Numbers: [64, 78] Generated Node #0,2,1: 74:[64, 78] Operation: 44+34=78 Exploring Operation: 64-34=30, Resulting Numbers: [44, 30] Generated Node #0,2,2: 74:[44, 30] Operation: 64-34=30 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[64, 78], Operations: ['93-59=34', '44+34=78'] Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 64+78=142, Resulting Numbers: [142] 142,74 unequal: No Solution Exploring Operation: 64*78=4992, Resulting Numbers: [4992] 4992,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[44, 30], Operations: ['93-59=34', '64-34=30'] Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[93, 44, 59, 64], Operations: [] Exploring Operation: 93-59=34, Resulting Numbers: [44, 64, 34] Generated Node #0,2: 74:[44, 64, 34] Operation: 93-59=34 Moving to Node #0,2 Current State: 74:[44, 64, 34], Operations: ['93-59=34'] Exploring Operation: 64-34=30, Resulting Numbers: [44, 30] Generated Node #0,2,2: 74:[44, 30] Operation: 64-34=30 Moving to Node #0,2,2 Current State: 74:[44, 30], Operations: ['93-59=34', '64-34=30'] Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 5, 86, 84, 11 ]
27
[ "86-84=2", "11*2=22", "5+22=27" ]
Current State: 27:[5, 86, 84, 11], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [5, 11, 2] Generated Node #2: [5, 11, 2] from Operation: 86-84=2 Current State: 27:[5, 11, 2], Operations: ['86-84=2'] Exploring Operation: 11*2=22, Resulting Numbers: [5, 22] Generated Node #3: [5, 22] from Operation: 11*2=22 Current State: 27:[5, 22], Operations: ['86-84=2', '11*2=22'] Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[5, 86, 84, 11], Operations: [] Exploring Operation: 86-11=75, Resulting Numbers: [5, 84, 75] Generated Node #0,0: 27:[5, 84, 75] Operation: 86-11=75 Exploring Operation: 86-84=2, Resulting Numbers: [5, 11, 2] Generated Node #0,1: 27:[5, 11, 2] Operation: 86-84=2 Exploring Operation: 86-5=81, Resulting Numbers: [84, 11, 81] Generated Node #0,2: 27:[84, 11, 81] Operation: 86-5=81 Exploring Operation: 84-11=73, Resulting Numbers: [5, 86, 73] Generated Node #0,3: 27:[5, 86, 73] Operation: 84-11=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[5, 11, 2], Operations: ['86-84=2'] Exploring Operation: 11-5=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 27:[2, 6] Operation: 11-5=6 Exploring Operation: 5*2=10, Resulting Numbers: [11, 10] Generated Node #0,1,1: 27:[11, 10] Operation: 5*2=10 Exploring Operation: 5-2=3, Resulting Numbers: [11, 3] Generated Node #0,1,2: 27:[11, 3] Operation: 5-2=3 Exploring Operation: 11-2=9, Resulting Numbers: [5, 9] Generated Node #0,1,3: 27:[5, 9] Operation: 11-2=9 Moving to Node #0,1,2 Current State: 27:[11, 3], Operations: ['86-84=2', '5-2=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[5, 9], Operations: ['86-84=2', '11-2=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[11, 10], Operations: ['86-84=2', '5*2=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[2, 6], Operations: ['86-84=2', '11-5=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,27 unequal: No Solution No 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: 27:[5, 84, 75], Operations: ['86-11=75'] Exploring Operation: 75-5=70, Resulting Numbers: [84, 70] Generated Node #0,0,0: 27:[84, 70] Operation: 75-5=70 Exploring Operation: 84-75=9, Resulting Numbers: [5, 9] Generated Node #0,0,1: 27:[5, 9] Operation: 84-75=9 Exploring Operation: 75/5=15, Resulting Numbers: [84, 15] Generated Node #0,0,2: 27:[84, 15] Operation: 75/5=15 Exploring Operation: 84-5=79, Resulting Numbers: [75, 79] Generated Node #0,0,3: 27:[75, 79] Operation: 84-5=79 Moving to Node #0,0,1 Current State: 27:[5, 9], Operations: ['86-11=75', '84-75=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[84, 15], Operations: ['86-11=75', '75/5=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,27 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[75, 79], Operations: ['86-11=75', '84-5=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,27 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[84, 70], Operations: ['86-11=75', '75-5=70'] Exploring Operation: 84*70=5880, Resulting Numbers: [5880] 5880,27 unequal: No Solution Exploring Operation: 84+70=154, Resulting Numbers: [154] 154,27 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,27 unequal: No Solution No 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: 27:[5, 86, 73], Operations: ['84-11=73'] Exploring Operation: 73-5=68, Resulting Numbers: [86, 68] Generated Node #0,3,0: 27:[86, 68] Operation: 73-5=68 Exploring Operation: 86-73=13, Resulting Numbers: [5, 13] Generated Node #0,3,1: 27:[5, 13] Operation: 86-73=13 Exploring Operation: 5+86=91, Resulting Numbers: [73, 91] Generated Node #0,3,2: 27:[73, 91] Operation: 5+86=91 Exploring Operation: 86-5=81, Resulting Numbers: [73, 81] Generated Node #0,3,3: 27:[73, 81] Operation: 86-5=81 Moving to Node #0,3,1 Current State: 27:[5, 13], Operations: ['84-11=73', '86-73=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[73, 81], Operations: ['84-11=73', '86-5=81'] Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,27 unequal: No Solution Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[86, 68], Operations: ['84-11=73', '73-5=68'] Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 86*68=5848, Resulting Numbers: [5848] 5848,27 unequal: No Solution Exploring Operation: 86+68=154, Resulting Numbers: [154] 154,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[73, 91], Operations: ['84-11=73', '5+86=91'] Exploring Operation: 73+91=164, Resulting Numbers: [164] 164,27 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 73*91=6643, Resulting Numbers: [6643] 6643,27 unequal: No Solution No 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: 27:[84, 11, 81], Operations: ['86-5=81'] Exploring Operation: 84+11=95, Resulting Numbers: [81, 95] Generated Node #0,2,0: 27:[81, 95] Operation: 84+11=95 Exploring Operation: 84-81=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 27:[11, 3] Operation: 84-81=3 Exploring Operation: 81-11=70, Resulting Numbers: [84, 70] Generated Node #0,2,2: 27:[84, 70] Operation: 81-11=70 Exploring Operation: 84-11=73, Resulting Numbers: [81, 73] Generated Node #0,2,3: 27:[81, 73] Operation: 84-11=73 Moving to Node #0,2,1 Current State: 27:[11, 3], Operations: ['86-5=81', '84-81=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[81, 73], Operations: ['86-5=81', '84-11=73'] Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 81*73=5913, Resulting Numbers: [5913] 5913,27 unequal: No Solution Exploring Operation: 81+73=154, Resulting Numbers: [154] 154,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[84, 70], Operations: ['86-5=81', '81-11=70'] Exploring Operation: 84+70=154, Resulting Numbers: [154] 154,27 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 84*70=5880, Resulting Numbers: [5880] 5880,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[81, 95], Operations: ['86-5=81', '84+11=95'] Exploring Operation: 81*95=7695, Resulting Numbers: [7695] 7695,27 unequal: No Solution Exploring Operation: 95-81=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 81+95=176, Resulting Numbers: [176] 176,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 15, 48, 80 ]
87
[ "15*48=720", "720/80=9", "96-9=87" ]
Current State: 87:[96, 15, 48, 80], Operations: [] Exploring Operation: 15*48=720, Resulting Numbers: [96, 80, 720] Generated Node #2: [96, 80, 720] from Operation: 15*48=720 Current State: 87:[96, 80, 720], Operations: ['15*48=720'] Exploring Operation: 720/80=9, Resulting Numbers: [96, 9] Generated Node #3: [96, 9] from Operation: 720/80=9 Current State: 87:[96, 9], Operations: ['15*48=720', '720/80=9'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[96, 15, 48, 80], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [15, 80, 2] Generated Node #0,0: 87:[15, 80, 2] Operation: 96/48=2 Exploring Operation: 48-15=33, Resulting Numbers: [96, 80, 33] Generated Node #0,1: 87:[96, 80, 33] Operation: 48-15=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[15, 80, 2], Operations: ['96/48=2'] Exploring Operation: 15+80=95, Resulting Numbers: [2, 95] Generated Node #0,0,0: 87:[2, 95] Operation: 15+80=95 Exploring Operation: 15*2=30, Resulting Numbers: [80, 30] Generated Node #0,0,1: 87:[80, 30] Operation: 15*2=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[80, 30], Operations: ['96/48=2', '15*2=30'] Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,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:[2, 95], Operations: ['96/48=2', '15+80=95'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,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,1 Current State: 87:[96, 80, 33], Operations: ['48-15=33'] Exploring Operation: 96-80=16, Resulting Numbers: [33, 16] Generated Node #0,1,0: 87:[33, 16] Operation: 96-80=16 Exploring Operation: 80-33=47, Resulting Numbers: [96, 47] Generated Node #0,1,1: 87:[96, 47] Operation: 80-33=47 Moving to Node #0,1,0 Current State: 87:[33, 16], Operations: ['48-15=33', '96-80=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[96, 47], Operations: ['48-15=33', '80-33=47'] Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,87 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
[ 80, 8, 37, 72 ]
53
[ "80+8=88", "72-37=35", "88-35=53" ]
Current State: 53:[80, 8, 37, 72], Operations: [] Exploring Operation: 80+8=88, Resulting Numbers: [37, 72, 88] Generated Node #2: [37, 72, 88] from Operation: 80+8=88 Current State: 53:[37, 72, 88], Operations: ['80+8=88'] Exploring Operation: 72-37=35, Resulting Numbers: [88, 35] Generated Node #3: [88, 35] from Operation: 72-37=35 Current State: 53:[88, 35], Operations: ['80+8=88', '72-37=35'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[80, 8, 37, 72], Operations: [] Exploring Operation: 8+37=45, Resulting Numbers: [80, 72, 45] Generated Node #0,0: 53:[80, 72, 45] Operation: 8+37=45 Exploring Operation: 80-8=72, Resulting Numbers: [37, 72, 72] Generated Node #0,1: 53:[37, 72, 72] Operation: 80-8=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[80, 72, 45], Operations: ['8+37=45'] Exploring Operation: 80-72=8, Resulting Numbers: [45, 8] Generated Node #0,0,0: 53:[45, 8] Operation: 80-72=8 Exploring Operation: 80-45=35, Resulting Numbers: [72, 35] Generated Node #0,0,1: 53:[72, 35] Operation: 80-45=35 Moving to Node #0,0,1 Current State: 53:[72, 35], Operations: ['8+37=45', '80-45=35'] Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[45, 8], Operations: ['8+37=45', '80-72=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[80, 8, 37, 72], Operations: [] Exploring Operation: 8+37=45, Resulting Numbers: [80, 72, 45] Generated Node #0,0: 53:[80, 72, 45] Operation: 8+37=45 Moving to Node #0,0 Current State: 53:[80, 72, 45], Operations: ['8+37=45'] Exploring Operation: 80-72=8, Resulting Numbers: [45, 8] Generated Node #0,0,0: 53:[45, 8] Operation: 80-72=8 Moving to Node #0,0,0 Current State: 53:[45, 8], Operations: ['8+37=45', '80-72=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 19, 13, 32, 22 ]
16
[ "19-13=6", "32-22=10", "6+10=16" ]
Current State: 16:[19, 13, 32, 22], Operations: [] Exploring Operation: 19-13=6, Resulting Numbers: [32, 22, 6] Generated Node #2: [32, 22, 6] from Operation: 19-13=6 Current State: 16:[32, 22, 6], Operations: ['19-13=6'] Exploring Operation: 32-22=10, Resulting Numbers: [6, 10] Generated Node #3: [6, 10] from Operation: 32-22=10 Current State: 16:[6, 10], Operations: ['19-13=6', '32-22=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[19, 13, 32, 22], Operations: [] Exploring Operation: 22-13=9, Resulting Numbers: [19, 32, 9] Generated Node #0,0: 16:[19, 32, 9] Operation: 22-13=9 Exploring Operation: 22-19=3, Resulting Numbers: [13, 32, 3] Generated Node #0,1: 16:[13, 32, 3] Operation: 22-19=3 Exploring Operation: 32-19=13, Resulting Numbers: [13, 22, 13] Generated Node #0,2: 16:[13, 22, 13] Operation: 32-19=13 Exploring Operation: 32-22=10, Resulting Numbers: [19, 13, 10] Generated Node #0,3: 16:[19, 13, 10] Operation: 32-22=10 Exploring Operation: 32-13=19, Resulting Numbers: [19, 22, 19] Generated Node #0,4: 16:[19, 22, 19] Operation: 32-13=19 Moving to Node #0,3 Current State: 16:[19, 13, 10], Operations: ['32-22=10'] Exploring Operation: 13+10=23, Resulting Numbers: [19, 23] Generated Node #0,3,0: 16:[19, 23] Operation: 13+10=23 Exploring Operation: 19-10=9, Resulting Numbers: [13, 9] Generated Node #0,3,1: 16:[13, 9] Operation: 19-10=9 Exploring Operation: 19-13=6, Resulting Numbers: [10, 6] Generated Node #0,3,2: 16:[10, 6] Operation: 19-13=6 Exploring Operation: 13-10=3, Resulting Numbers: [19, 3] Generated Node #0,3,3: 16:[19, 3] Operation: 13-10=3 Exploring Operation: 19+10=29, Resulting Numbers: [13, 29] Generated Node #0,3,4: 16:[13, 29] Operation: 19+10=29 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 16:[13, 9], Operations: ['32-22=10', '19-10=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[10, 6], Operations: ['32-22=10', '19-13=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[19, 13, 32, 22], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [19, 13, 10] Generated Node #0,3: 16:[19, 13, 10] Operation: 32-22=10 Moving to Node #0,3 Current State: 16:[19, 13, 10], Operations: ['32-22=10'] Exploring Operation: 19-13=6, Resulting Numbers: [10, 6] Generated Node #0,3,2: 16:[10, 6] Operation: 19-13=6 Moving to Node #0,3,2 Current State: 16:[10, 6], Operations: ['32-22=10', '19-13=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 32, 46, 3, 71 ]
59
[ "71-32=39", "39/3=13", "46+13=59" ]
Current State: 59:[32, 46, 3, 71], Operations: [] Exploring Operation: 71-32=39, Resulting Numbers: [46, 3, 39] Generated Node #2: [46, 3, 39] from Operation: 71-32=39 Current State: 59:[46, 3, 39], Operations: ['71-32=39'] Exploring Operation: 39/3=13, Resulting Numbers: [46, 13] Generated Node #3: [46, 13] from Operation: 39/3=13 Current State: 59:[46, 13], Operations: ['71-32=39', '39/3=13'] Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[32, 46, 3, 71], Operations: [] Exploring Operation: 32-3=29, Resulting Numbers: [46, 71, 29] Generated Node #0,0: 59:[46, 71, 29] Operation: 32-3=29 Exploring Operation: 71-3=68, Resulting Numbers: [32, 46, 68] Generated Node #0,1: 59:[32, 46, 68] Operation: 71-3=68 Exploring Operation: 46+3=49, Resulting Numbers: [32, 71, 49] Generated Node #0,2: 59:[32, 71, 49] Operation: 46+3=49 Exploring Operation: 32+3=35, Resulting Numbers: [46, 71, 35] Generated Node #0,3: 59:[46, 71, 35] Operation: 32+3=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[32, 46, 68], Operations: ['71-3=68'] Exploring Operation: 68-32=36, Resulting Numbers: [46, 36] Generated Node #0,1,0: 59:[46, 36] Operation: 68-32=36 Exploring Operation: 32+68=100, Resulting Numbers: [46, 100] Generated Node #0,1,1: 59:[46, 100] Operation: 32+68=100 Exploring Operation: 32+46=78, Resulting Numbers: [68, 78] Generated Node #0,1,2: 59:[68, 78] Operation: 32+46=78 Exploring Operation: 46-32=14, Resulting Numbers: [68, 14] Generated Node #0,1,3: 59:[68, 14] Operation: 46-32=14 Moving to Node #0,1,2 Current State: 59:[68, 78], Operations: ['71-3=68', '32+46=78'] Exploring Operation: 68*78=5304, Resulting Numbers: [5304] 5304,59 unequal: No Solution Exploring Operation: 68+78=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[46, 36], Operations: ['71-3=68', '68-32=36'] Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,59 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[68, 14], Operations: ['71-3=68', '46-32=14'] Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,59 unequal: No Solution Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[46, 100], Operations: ['71-3=68', '32+68=100'] Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[32, 71, 49], Operations: ['46+3=49'] Exploring Operation: 32+71=103, Resulting Numbers: [49, 103] Generated Node #0,2,0: 59:[49, 103] Operation: 32+71=103 Exploring Operation: 71-32=39, Resulting Numbers: [49, 39] Generated Node #0,2,1: 59:[49, 39] Operation: 71-32=39 Exploring Operation: 32+49=81, Resulting Numbers: [71, 81] Generated Node #0,2,2: 59:[71, 81] Operation: 32+49=81 Exploring Operation: 49-32=17, Resulting Numbers: [71, 17] Generated Node #0,2,3: 59:[71, 17] Operation: 49-32=17 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[49, 39], Operations: ['46+3=49', '71-32=39'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,59 unequal: No Solution Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[71, 81], Operations: ['46+3=49', '32+49=81'] Exploring Operation: 71*81=5751, Resulting Numbers: [5751] 5751,59 unequal: No Solution Exploring Operation: 71+81=152, Resulting Numbers: [152] 152,59 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[49, 103], Operations: ['46+3=49', '32+71=103'] Exploring Operation: 49+103=152, Resulting Numbers: [152] 152,59 unequal: No Solution Exploring Operation: 103-49=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 49*103=5047, Resulting Numbers: [5047] 5047,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[71, 17], Operations: ['46+3=49', '49-32=17'] Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,59 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[46, 71, 35], Operations: ['32+3=35'] Exploring Operation: 46-35=11, Resulting Numbers: [71, 11] Generated Node #0,3,0: 59:[71, 11] Operation: 46-35=11 Exploring Operation: 71-46=25, Resulting Numbers: [35, 25] Generated Node #0,3,1: 59:[35, 25] Operation: 71-46=25 Exploring Operation: 46+35=81, Resulting Numbers: [71, 81] Generated Node #0,3,2: 59:[71, 81] Operation: 46+35=81 Exploring Operation: 71-35=36, Resulting Numbers: [46, 36] Generated Node #0,3,3: 59:[46, 36] Operation: 71-35=36 Moving to Node #0,3,2 Current State: 59:[71, 81], Operations: ['32+3=35', '46+35=81'] Exploring Operation: 71+81=152, Resulting Numbers: [152] 152,59 unequal: No Solution Exploring Operation: 71*81=5751, Resulting Numbers: [5751] 5751,59 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[46, 36], Operations: ['32+3=35', '71-35=36'] Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,59 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[35, 25], Operations: ['32+3=35', '71-46=25'] Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,59 unequal: No Solution Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[71, 11], Operations: ['32+3=35', '46-35=11'] Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[46, 71, 29], Operations: ['32-3=29'] Exploring Operation: 71-29=42, Resulting Numbers: [46, 42] Generated Node #0,0,0: 59:[46, 42] Operation: 71-29=42 Exploring Operation: 46+29=75, Resulting Numbers: [71, 75] Generated Node #0,0,1: 59:[71, 75] Operation: 46+29=75 Exploring Operation: 71+29=100, Resulting Numbers: [46, 100] Generated Node #0,0,2: 59:[46, 100] Operation: 71+29=100 Exploring Operation: 46-29=17, Resulting Numbers: [71, 17] Generated Node #0,0,3: 59:[71, 17] Operation: 46-29=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[71, 75], Operations: ['32-3=29', '46+29=75'] Exploring Operation: 71*75=5325, Resulting Numbers: [5325] 5325,59 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 71+75=146, Resulting Numbers: [146] 146,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[46, 42], Operations: ['32-3=29', '71-29=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[46, 100], Operations: ['32-3=29', '71+29=100'] Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[71, 17], Operations: ['32-3=29', '46-29=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,59 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 38, 21, 44, 97 ]
36
[ "38-21=17", "97-44=53", "53-17=36" ]
Current State: 36:[38, 21, 44, 97], Operations: [] Exploring Operation: 38-21=17, Resulting Numbers: [44, 97, 17] Generated Node #2: [44, 97, 17] from Operation: 38-21=17 Current State: 36:[44, 97, 17], Operations: ['38-21=17'] Exploring Operation: 97-44=53, Resulting Numbers: [17, 53] Generated Node #3: [17, 53] from Operation: 97-44=53 Current State: 36:[17, 53], Operations: ['38-21=17', '97-44=53'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[38, 21, 44, 97], Operations: [] Exploring Operation: 97-44=53, Resulting Numbers: [38, 21, 53] Generated Node #0,0: 36:[38, 21, 53] Operation: 97-44=53 Moving to Node #0,0 Current State: 36:[38, 21, 53], Operations: ['97-44=53'] Exploring Operation: 53-38=15, Resulting Numbers: [21, 15] Generated Node #0,0,0: 36:[21, 15] Operation: 53-38=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[21, 15], Operations: ['97-44=53', '53-38=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[38, 21, 44, 97], Operations: [] Exploring Operation: 97-44=53, Resulting Numbers: [38, 21, 53] Generated Node #0,0: 36:[38, 21, 53] Operation: 97-44=53 Moving to Node #0,0 Current State: 36:[38, 21, 53], Operations: ['97-44=53'] Exploring Operation: 53-38=15, Resulting Numbers: [21, 15] Generated Node #0,0,0: 36:[21, 15] Operation: 53-38=15 Moving to Node #0,0,0 Current State: 36:[21, 15], Operations: ['97-44=53', '53-38=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 27, 15, 54, 5 ]
84
[ "27+54=81", "15/5=3", "81+3=84" ]
Current State: 84:[27, 15, 54, 5], Operations: [] Exploring Operation: 27+54=81, Resulting Numbers: [15, 5, 81] Generated Node #2: [15, 5, 81] from Operation: 27+54=81 Current State: 84:[15, 5, 81], Operations: ['27+54=81'] Exploring Operation: 15/5=3, Resulting Numbers: [81, 3] Generated Node #3: [81, 3] from Operation: 15/5=3 Current State: 84:[81, 3], Operations: ['27+54=81', '15/5=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[27, 15, 54, 5], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [15, 5, 2] Generated Node #0,0: 84:[15, 5, 2] Operation: 54/27=2 Exploring Operation: 27+54=81, Resulting Numbers: [15, 5, 81] Generated Node #0,1: 84:[15, 5, 81] Operation: 27+54=81 Exploring Operation: 54-27=27, Resulting Numbers: [15, 5, 27] Generated Node #0,2: 84:[15, 5, 27] Operation: 54-27=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[15, 5, 2], Operations: ['54/27=2'] Exploring Operation: 15/5=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 84:[2, 3] Operation: 15/5=3 Exploring Operation: 15+5=20, Resulting Numbers: [2, 20] Generated Node #0,0,1: 84:[2, 20] Operation: 15+5=20 Exploring Operation: 5+2=7, Resulting Numbers: [15, 7] Generated Node #0,0,2: 84:[15, 7] Operation: 5+2=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[2, 3], Operations: ['54/27=2', '15/5=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[2, 20], Operations: ['54/27=2', '15+5=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[15, 7], Operations: ['54/27=2', '5+2=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,84 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[15, 5, 27], Operations: ['54-27=27'] Exploring Operation: 15/5=3, Resulting Numbers: [27, 3] Generated Node #0,2,0: 84:[27, 3] Operation: 15/5=3 Exploring Operation: 15+27=42, Resulting Numbers: [5, 42] Generated Node #0,2,1: 84:[5, 42] Operation: 15+27=42 Exploring Operation: 27-15=12, Resulting Numbers: [5, 12] Generated Node #0,2,2: 84:[5, 12] Operation: 27-15=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[27, 3], Operations: ['54-27=27', '15/5=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[5, 42], Operations: ['54-27=27', '15+27=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[5, 12], Operations: ['54-27=27', '27-15=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,84 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[15, 5, 81], Operations: ['27+54=81'] Exploring Operation: 15+5=20, Resulting Numbers: [81, 20] Generated Node #0,1,0: 84:[81, 20] Operation: 15+5=20 Exploring Operation: 5+81=86, Resulting Numbers: [15, 86] Generated Node #0,1,1: 84:[15, 86] Operation: 5+81=86 Exploring Operation: 15/5=3, Resulting Numbers: [81, 3] Generated Node #0,1,2: 84:[81, 3] Operation: 15/5=3 Moving to Node #0,1,1 Current State: 84:[15, 86], Operations: ['27+54=81', '5+81=86'] Exploring Operation: 15*86=1290, Resulting Numbers: [1290] 1290,84 unequal: No Solution Exploring Operation: 15+86=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[81, 3], Operations: ['27+54=81', '15/5=3'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,84 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[27, 15, 54, 5], Operations: [] Exploring Operation: 27+54=81, Resulting Numbers: [15, 5, 81] Generated Node #0,1: 84:[15, 5, 81] Operation: 27+54=81 Moving to Node #0,1 Current State: 84:[15, 5, 81], Operations: ['27+54=81'] Exploring Operation: 15/5=3, Resulting Numbers: [81, 3] Generated Node #0,1,2: 84:[81, 3] Operation: 15/5=3 Moving to Node #0,1,2 Current State: 84:[81, 3], Operations: ['27+54=81', '15/5=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_3
sum_heuristic
[ 50, 2, 33, 20 ]
39
[ "50+2=52", "33-20=13", "52-13=39" ]
Current State: 39:[50, 2, 33, 20], Operations: [] Exploring Operation: 50+2=52, Resulting Numbers: [33, 20, 52] Generated Node #2: [33, 20, 52] from Operation: 50+2=52 Current State: 39:[33, 20, 52], Operations: ['50+2=52'] Exploring Operation: 33-20=13, Resulting Numbers: [52, 13] Generated Node #3: [52, 13] from Operation: 33-20=13 Current State: 39:[52, 13], Operations: ['50+2=52', '33-20=13'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[50, 2, 33, 20], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [2, 20, 17] Generated Node #0,0: 39:[2, 20, 17] Operation: 50-33=17 Exploring Operation: 33-20=13, Resulting Numbers: [50, 2, 13] Generated Node #0,1: 39:[50, 2, 13] Operation: 33-20=13 Moving to Node #0,0 Current State: 39:[2, 20, 17], Operations: ['50-33=17'] Exploring Operation: 20+17=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 39:[2, 37] Operation: 20+17=37 Exploring Operation: 20-17=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 39:[2, 3] Operation: 20-17=3 Moving to Node #0,1 Current State: 39:[50, 2, 13], Operations: ['33-20=13'] Exploring Operation: 50-2=48, Resulting Numbers: [13, 48] Generated Node #0,1,0: 39:[13, 48] Operation: 50-2=48 Exploring Operation: 50-13=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 39:[2, 37] Operation: 50-13=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[2, 37], Operations: ['33-20=13', '50-13=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[50, 2, 33, 20], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [50, 2, 13] Generated Node #0,1: 39:[50, 2, 13] Operation: 33-20=13 Moving to Node #0,1 Current State: 39:[50, 2, 13], Operations: ['33-20=13'] Exploring Operation: 50-13=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 39:[2, 37] Operation: 50-13=37 Moving to Node #0,1,1 Current State: 39:[2, 37], Operations: ['33-20=13', '50-13=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 52, 14, 11, 48 ]
36
[ "14-11=3", "48/3=16", "52-16=36" ]
Current State: 36:[52, 14, 11, 48], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [52, 48, 3] Generated Node #2: [52, 48, 3] from Operation: 14-11=3 Current State: 36:[52, 48, 3], Operations: ['14-11=3'] Exploring Operation: 48/3=16, Resulting Numbers: [52, 16] Generated Node #3: [52, 16] from Operation: 48/3=16 Current State: 36:[52, 16], Operations: ['14-11=3', '48/3=16'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[52, 14, 11, 48], Operations: [] Exploring Operation: 48-14=34, Resulting Numbers: [52, 11, 34] Generated Node #0,0: 36:[52, 11, 34] Operation: 48-14=34 Exploring Operation: 52-11=41, Resulting Numbers: [14, 48, 41] Generated Node #0,1: 36:[14, 48, 41] Operation: 52-11=41 Exploring Operation: 52-14=38, Resulting Numbers: [11, 48, 38] Generated Node #0,2: 36:[11, 48, 38] Operation: 52-14=38 Exploring Operation: 52-48=4, Resulting Numbers: [14, 11, 4] Generated Node #0,3: 36:[14, 11, 4] Operation: 52-48=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[14, 11, 4], Operations: ['52-48=4'] Exploring Operation: 14-4=10, Resulting Numbers: [11, 10] Generated Node #0,3,0: 36:[11, 10] Operation: 14-4=10 Exploring Operation: 14+4=18, Resulting Numbers: [11, 18] Generated Node #0,3,1: 36:[11, 18] Operation: 14+4=18 Exploring Operation: 14-11=3, Resulting Numbers: [4, 3] Generated Node #0,3,2: 36:[4, 3] Operation: 14-11=3 Exploring Operation: 11-4=7, Resulting Numbers: [14, 7] Generated Node #0,3,3: 36:[14, 7] Operation: 11-4=7 Moving to Node #0,3,2 Current State: 36:[4, 3], Operations: ['52-48=4', '14-11=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[11, 18], Operations: ['52-48=4', '14+4=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,36 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[11, 10], Operations: ['52-48=4', '14-4=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,36 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[14, 7], Operations: ['52-48=4', '11-4=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[11, 48, 38], Operations: ['52-14=38'] Exploring Operation: 38-11=27, Resulting Numbers: [48, 27] Generated Node #0,2,0: 36:[48, 27] Operation: 38-11=27 Exploring Operation: 48-11=37, Resulting Numbers: [38, 37] Generated Node #0,2,1: 36:[38, 37] Operation: 48-11=37 Exploring Operation: 11+48=59, Resulting Numbers: [38, 59] Generated Node #0,2,2: 36:[38, 59] Operation: 11+48=59 Exploring Operation: 48-38=10, Resulting Numbers: [11, 10] Generated Node #0,2,3: 36:[11, 10] Operation: 48-38=10 Moving to Node #0,2,3 Current State: 36:[11, 10], Operations: ['52-14=38', '48-38=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,36 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[38, 37], Operations: ['52-14=38', '48-11=37'] Exploring Operation: 38+37=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 38*37=1406, Resulting Numbers: [1406] 1406,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[48, 27], Operations: ['52-14=38', '38-11=27'] Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,36 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[38, 59], Operations: ['52-14=38', '11+48=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,36 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[52, 11, 34], Operations: ['48-14=34'] Exploring Operation: 52-34=18, Resulting Numbers: [11, 18] Generated Node #0,0,0: 36:[11, 18] Operation: 52-34=18 Exploring Operation: 11+34=45, Resulting Numbers: [52, 45] Generated Node #0,0,1: 36:[52, 45] Operation: 11+34=45 Exploring Operation: 52-11=41, Resulting Numbers: [34, 41] Generated Node #0,0,2: 36:[34, 41] Operation: 52-11=41 Exploring Operation: 34-11=23, Resulting Numbers: [52, 23] Generated Node #0,0,3: 36:[52, 23] Operation: 34-11=23 Moving to Node #0,0,0 Current State: 36:[11, 18], Operations: ['48-14=34', '52-34=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,36 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[34, 41], Operations: ['48-14=34', '52-11=41'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 34*41=1394, Resulting Numbers: [1394] 1394,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[52, 23], Operations: ['48-14=34', '34-11=23'] Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 52*23=1196, Resulting Numbers: [1196] 1196,36 unequal: No Solution Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[52, 45], Operations: ['48-14=34', '11+34=45'] Exploring Operation: 52*45=2340, Resulting Numbers: [2340] 2340,36 unequal: No Solution Exploring Operation: 52+45=97, Resulting Numbers: [97] 97,36 unequal: No Solution Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[14, 48, 41], Operations: ['52-11=41'] Exploring Operation: 41-14=27, Resulting Numbers: [48, 27] Generated Node #0,1,0: 36:[48, 27] Operation: 41-14=27 Exploring Operation: 14+48=62, Resulting Numbers: [41, 62] Generated Node #0,1,1: 36:[41, 62] Operation: 14+48=62 Exploring Operation: 48-14=34, Resulting Numbers: [41, 34] Generated Node #0,1,2: 36:[41, 34] Operation: 48-14=34 Exploring Operation: 48-41=7, Resulting Numbers: [14, 7] Generated Node #0,1,3: 36:[14, 7] Operation: 48-41=7 Moving to Node #0,1,3 Current State: 36:[14, 7], Operations: ['52-11=41', '48-41=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[41, 34], Operations: ['52-11=41', '48-14=34'] Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,36 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[48, 27], Operations: ['52-11=41', '41-14=27'] Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,36 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[41, 62], Operations: ['52-11=41', '14+48=62'] Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,36 unequal: No Solution Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 33, 45, 43, 18 ]
81
[ "43-33=10", "45*18=810", "810/10=81" ]
Current State: 81:[33, 45, 43, 18], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [45, 18, 10] Generated Node #2: [45, 18, 10] from Operation: 43-33=10 Current State: 81:[45, 18, 10], Operations: ['43-33=10'] Exploring Operation: 45*18=810, Resulting Numbers: [10, 810] Generated Node #3: [10, 810] from Operation: 45*18=810 Current State: 81:[10, 810], Operations: ['43-33=10', '45*18=810'] Exploring Operation: 810/10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[33, 45, 43, 18], Operations: [] Exploring Operation: 45+43=88, Resulting Numbers: [33, 18, 88] Generated Node #0,0: 81:[33, 18, 88] Operation: 45+43=88 Exploring Operation: 45-18=27, Resulting Numbers: [33, 43, 27] Generated Node #0,1: 81:[33, 43, 27] Operation: 45-18=27 Exploring Operation: 45-43=2, Resulting Numbers: [33, 18, 2] Generated Node #0,2: 81:[33, 18, 2] Operation: 45-43=2 Moving to Node #0,2 Current State: 81:[33, 18, 2], Operations: ['45-43=2'] Exploring Operation: 18/2=9, Resulting Numbers: [33, 9] Generated Node #0,2,0: 81:[33, 9] Operation: 18/2=9 Exploring Operation: 33-2=31, Resulting Numbers: [18, 31] Generated Node #0,2,1: 81:[18, 31] Operation: 33-2=31 Exploring Operation: 33-18=15, Resulting Numbers: [2, 15] Generated Node #0,2,2: 81:[2, 15] Operation: 33-18=15 Moving to Node #0,0 Current State: 81:[33, 18, 88], Operations: ['45+43=88'] Exploring Operation: 33-18=15, Resulting Numbers: [88, 15] Generated Node #0,0,0: 81:[88, 15] Operation: 33-18=15 Exploring Operation: 88-18=70, Resulting Numbers: [33, 70] Generated Node #0,0,1: 81:[33, 70] Operation: 88-18=70 Exploring Operation: 33+18=51, Resulting Numbers: [88, 51] Generated Node #0,0,2: 81:[88, 51] Operation: 33+18=51 Moving to Node #0,1 Current State: 81:[33, 43, 27], Operations: ['45-18=27'] Exploring Operation: 33+43=76, Resulting Numbers: [27, 76] Generated Node #0,1,0: 81:[27, 76] Operation: 33+43=76 Exploring Operation: 43-33=10, Resulting Numbers: [27, 10] Generated Node #0,1,1: 81:[27, 10] Operation: 43-33=10 Exploring Operation: 43-27=16, Resulting Numbers: [33, 16] Generated Node #0,1,2: 81:[33, 16] Operation: 43-27=16 Moving to Node #0,1,1 Current State: 81:[27, 10], Operations: ['45-18=27', '43-33=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[27, 76], Operations: ['45-18=27', '33+43=76'] Exploring Operation: 27*76=2052, Resulting Numbers: [2052] 2052,81 unequal: No Solution Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,81 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[33, 9], Operations: ['45-43=2', '18/2=9'] Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[2, 15], Operations: ['45-43=2', '33-18=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[18, 31], Operations: ['45-43=2', '33-2=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[88, 15], Operations: ['45+43=88', '33-18=15'] Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,81 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,81 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[33, 16], Operations: ['45-18=27', '43-27=16'] Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,81 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[33, 70], Operations: ['45+43=88', '88-18=70'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 33*70=2310, Resulting Numbers: [2310] 2310,81 unequal: No Solution Exploring Operation: 33+70=103, Resulting Numbers: [103] 103,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[88, 51], Operations: ['45+43=88', '33+18=51'] Exploring Operation: 88*51=4488, Resulting Numbers: [4488] 4488,81 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 26, 12, 4, 63 ]
97
[ "26+12=38", "63-4=59", "38+59=97" ]
Current State: 97:[26, 12, 4, 63], Operations: [] Exploring Operation: 26+12=38, Resulting Numbers: [4, 63, 38] Generated Node #2: [4, 63, 38] from Operation: 26+12=38 Current State: 97:[4, 63, 38], Operations: ['26+12=38'] Exploring Operation: 63-4=59, Resulting Numbers: [38, 59] Generated Node #3: [38, 59] from Operation: 63-4=59 Current State: 97:[38, 59], Operations: ['26+12=38', '63-4=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[26, 12, 4, 63], Operations: [] Exploring Operation: 26*4=104, Resulting Numbers: [12, 63, 104] Generated Node #0,0: 97:[12, 63, 104] Operation: 26*4=104 Exploring Operation: 12*4=48, Resulting Numbers: [26, 63, 48] Generated Node #0,1: 97:[26, 63, 48] Operation: 12*4=48 Exploring Operation: 26+12=38, Resulting Numbers: [4, 63, 38] Generated Node #0,2: 97:[4, 63, 38] Operation: 26+12=38 Moving to Node #0,0 Current State: 97:[12, 63, 104], Operations: ['26*4=104'] Exploring Operation: 12+63=75, Resulting Numbers: [104, 75] Generated Node #0,0,0: 97:[104, 75] Operation: 12+63=75 Exploring Operation: 63-12=51, Resulting Numbers: [104, 51] Generated Node #0,0,1: 97:[104, 51] Operation: 63-12=51 Exploring Operation: 104-12=92, Resulting Numbers: [63, 92] Generated Node #0,0,2: 97:[63, 92] Operation: 104-12=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[104, 75], Operations: ['26*4=104', '12+63=75'] Exploring Operation: 104+75=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 104*75=7800, Resulting Numbers: [7800] 7800,97 unequal: No Solution Exploring Operation: 104-75=29, Resulting Numbers: [29] 29,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[63, 92], Operations: ['26*4=104', '104-12=92'] Exploring Operation: 63+92=155, Resulting Numbers: [155] 155,97 unequal: No Solution Exploring Operation: 63*92=5796, Resulting Numbers: [5796] 5796,97 unequal: No Solution Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[104, 51], Operations: ['26*4=104', '63-12=51'] Exploring Operation: 104+51=155, Resulting Numbers: [155] 155,97 unequal: No Solution Exploring Operation: 104-51=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 104*51=5304, Resulting Numbers: [5304] 5304,97 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: 97:[26, 63, 48], Operations: ['12*4=48'] Exploring Operation: 26+48=74, Resulting Numbers: [63, 74] Generated Node #0,1,0: 97:[63, 74] Operation: 26+48=74 Exploring Operation: 26+63=89, Resulting Numbers: [48, 89] Generated Node #0,1,1: 97:[48, 89] Operation: 26+63=89 Exploring Operation: 63+48=111, Resulting Numbers: [26, 111] Generated Node #0,1,2: 97:[26, 111] Operation: 63+48=111 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[63, 74], Operations: ['12*4=48', '26+48=74'] Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 63*74=4662, Resulting Numbers: [4662] 4662,97 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[48, 89], Operations: ['12*4=48', '26+63=89'] Exploring Operation: 48+89=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 48*89=4272, Resulting Numbers: [4272] 4272,97 unequal: No Solution Exploring Operation: 89-48=41, Resulting Numbers: [41] 41,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[26, 111], Operations: ['12*4=48', '63+48=111'] Exploring Operation: 26*111=2886, Resulting Numbers: [2886] 2886,97 unequal: No Solution Exploring Operation: 26+111=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 111-26=85, Resulting Numbers: [85] 85,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[4, 63, 38], Operations: ['26+12=38'] Exploring Operation: 4+38=42, Resulting Numbers: [63, 42] Generated Node #0,2,0: 97:[63, 42] Operation: 4+38=42 Exploring Operation: 4*38=152, Resulting Numbers: [63, 152] Generated Node #0,2,1: 97:[63, 152] Operation: 4*38=152 Exploring Operation: 4+63=67, Resulting Numbers: [38, 67] Generated Node #0,2,2: 97:[38, 67] Operation: 4+63=67 Moving to Node #0,2,0 Current State: 97:[63, 42], Operations: ['26+12=38', '4+38=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,97 unequal: No Solution Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[63, 152], Operations: ['26+12=38', '4*38=152'] Exploring Operation: 152-63=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 63*152=9576, Resulting Numbers: [9576] 9576,97 unequal: No Solution Exploring Operation: 63+152=215, Resulting Numbers: [215] 215,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[38, 67], Operations: ['26+12=38', '4+63=67'] Exploring Operation: 38*67=2546, Resulting Numbers: [2546] 2546,97 unequal: No Solution Exploring Operation: 38+67=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,97 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 34, 84, 10, 60 ]
11
[ "84-34=50", "60+50=110", "110/10=11" ]
Current State: 11:[34, 84, 10, 60], Operations: [] Exploring Operation: 84-34=50, Resulting Numbers: [10, 60, 50] Generated Node #2: [10, 60, 50] from Operation: 84-34=50 Current State: 11:[10, 60, 50], Operations: ['84-34=50'] Exploring Operation: 60+50=110, Resulting Numbers: [10, 110] Generated Node #3: [10, 110] from Operation: 60+50=110 Current State: 11:[10, 110], Operations: ['84-34=50', '60+50=110'] Exploring Operation: 110/10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[34, 84, 10, 60], Operations: [] Exploring Operation: 34-10=24, Resulting Numbers: [84, 60, 24] Generated Node #0,0: 11:[84, 60, 24] Operation: 34-10=24 Exploring Operation: 60/10=6, Resulting Numbers: [34, 84, 6] Generated Node #0,1: 11:[34, 84, 6] Operation: 60/10=6 Exploring Operation: 84-60=24, Resulting Numbers: [34, 10, 24] Generated Node #0,2: 11:[34, 10, 24] Operation: 84-60=24 Exploring Operation: 60-34=26, Resulting Numbers: [84, 10, 26] Generated Node #0,3: 11:[84, 10, 26] Operation: 60-34=26 Exploring Operation: 84-34=50, Resulting Numbers: [10, 60, 50] Generated Node #0,4: 11:[10, 60, 50] Operation: 84-34=50 Moving to Node #0,2 Current State: 11:[34, 10, 24], Operations: ['84-60=24'] Exploring Operation: 34-24=10, Resulting Numbers: [10, 10] Generated Node #0,2,0: 11:[10, 10] Operation: 34-24=10 Exploring Operation: 34+10=44, Resulting Numbers: [24, 44] Generated Node #0,2,1: 11:[24, 44] Operation: 34+10=44 Exploring Operation: 24-10=14, Resulting Numbers: [34, 14] Generated Node #0,2,2: 11:[34, 14] Operation: 24-10=14 Exploring Operation: 34-10=24, Resulting Numbers: [24, 24] Generated Node #0,2,3: 11:[24, 24] Operation: 34-10=24 Exploring Operation: 10+24=34, Resulting Numbers: [34, 34] Generated Node #0,2,4: 11:[34, 34] Operation: 10+24=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[10, 10], Operations: ['84-60=24', '34-24=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,11 unequal: No Solution No 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: 11:[34, 14], Operations: ['84-60=24', '24-10=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,11 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,11 unequal: No Solution No 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: 11:[24, 24], Operations: ['84-60=24', '34-10=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,11 unequal: No Solution No 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: 11:[24, 44], Operations: ['84-60=24', '34+10=44'] Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,11 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,11 unequal: No Solution No 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: 11:[34, 34], Operations: ['84-60=24', '10+24=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,11 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: 11:[10, 60, 50], Operations: ['84-34=50'] Exploring Operation: 60/10=6, Resulting Numbers: [50, 6] Generated Node #0,4,0: 11:[50, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [50, 50] Generated Node #0,4,1: 11:[50, 50] Operation: 60-10=50 Exploring Operation: 60-50=10, Resulting Numbers: [10, 10] Generated Node #0,4,2: 11:[10, 10] Operation: 60-50=10 Exploring Operation: 50/10=5, Resulting Numbers: [60, 5] Generated Node #0,4,3: 11:[60, 5] Operation: 50/10=5 Exploring Operation: 50-10=40, Resulting Numbers: [60, 40] Generated Node #0,4,4: 11:[60, 40] Operation: 50-10=40 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[10, 10], Operations: ['84-34=50', '60-50=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,11 unequal: No Solution No 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: 11:[50, 6], Operations: ['84-34=50', '60/10=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,11 unequal: No Solution No 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: 11:[60, 5], Operations: ['84-34=50', '50/10=5'] Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,11 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,11 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,11 unequal: No Solution No 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: 11:[50, 50], Operations: ['84-34=50', '60-10=50'] Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,11 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,11 unequal: No Solution No 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: 11:[60, 40], Operations: ['84-34=50', '50-10=40'] Exploring Operation: 60*40=2400, Resulting Numbers: [2400] 2400,11 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 60+40=100, Resulting Numbers: [100] 100,11 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: 11:[84, 10, 26], Operations: ['60-34=26'] Exploring Operation: 26-10=16, Resulting Numbers: [84, 16] Generated Node #0,3,0: 11:[84, 16] Operation: 26-10=16 Exploring Operation: 84-26=58, Resulting Numbers: [10, 58] Generated Node #0,3,1: 11:[10, 58] Operation: 84-26=58 Exploring Operation: 84+10=94, Resulting Numbers: [26, 94] Generated Node #0,3,2: 11:[26, 94] Operation: 84+10=94 Exploring Operation: 10+26=36, Resulting Numbers: [84, 36] Generated Node #0,3,3: 11:[84, 36] Operation: 10+26=36 Exploring Operation: 84-10=74, Resulting Numbers: [26, 74] Generated Node #0,3,4: 11:[26, 74] Operation: 84-10=74 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[10, 58], Operations: ['60-34=26', '84-26=58'] Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,11 unequal: No Solution No 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: 11:[84, 16], Operations: ['60-34=26', '26-10=16'] Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,11 unequal: No Solution No 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: 11:[26, 74], Operations: ['60-34=26', '84-10=74'] Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,11 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,11 unequal: No Solution No 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: 11:[26, 94], Operations: ['60-34=26', '84+10=94'] Exploring Operation: 26+94=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 26*94=2444, Resulting Numbers: [2444] 2444,11 unequal: No Solution No 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: 11:[84, 36], Operations: ['60-34=26', '10+26=36'] Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,11 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: 11:[34, 84, 6], Operations: ['60/10=6'] Exploring Operation: 84/6=14, Resulting Numbers: [34, 14] Generated Node #0,1,0: 11:[34, 14] Operation: 84/6=14 Exploring Operation: 84-6=78, Resulting Numbers: [34, 78] Generated Node #0,1,1: 11:[34, 78] Operation: 84-6=78 Exploring Operation: 34+6=40, Resulting Numbers: [84, 40] Generated Node #0,1,2: 11:[84, 40] Operation: 34+6=40 Exploring Operation: 84-34=50, Resulting Numbers: [6, 50] Generated Node #0,1,3: 11:[6, 50] Operation: 84-34=50 Exploring Operation: 34-6=28, Resulting Numbers: [84, 28] Generated Node #0,1,4: 11:[84, 28] Operation: 34-6=28 Moving to Node #0,0 Current State: 11:[84, 60, 24], Operations: ['34-10=24'] Exploring Operation: 84+60=144, Resulting Numbers: [24, 144] Generated Node #0,0,0: 11:[24, 144] Operation: 84+60=144 Exploring Operation: 60-24=36, Resulting Numbers: [84, 36] Generated Node #0,0,1: 11:[84, 36] Operation: 60-24=36 Exploring Operation: 84+24=108, Resulting Numbers: [60, 108] Generated Node #0,0,2: 11:[60, 108] Operation: 84+24=108 Exploring Operation: 84-24=60, Resulting Numbers: [60, 60] Generated Node #0,0,3: 11:[60, 60] Operation: 84-24=60 Exploring Operation: 84-60=24, Resulting Numbers: [24, 24] Generated Node #0,0,4: 11:[24, 24] Operation: 84-60=24 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 11:[24, 24], Operations: ['34-10=24', '84-60=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,11 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,11 unequal: No Solution No 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: 11:[84, 36], Operations: ['34-10=24', '60-24=36'] Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,11 unequal: No Solution No 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: 11:[60, 60], Operations: ['34-10=24', '84-24=60'] Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,11 unequal: No Solution No 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: 11:[24, 144], Operations: ['34-10=24', '84+60=144'] Exploring Operation: 144-24=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 144/24=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 24+144=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 24*144=3456, Resulting Numbers: [3456] 3456,11 unequal: No Solution No 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: 11:[60, 108], Operations: ['34-10=24', '84+24=108'] Exploring Operation: 60+108=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 60*108=6480, Resulting Numbers: [6480] 6480,11 unequal: No Solution Exploring Operation: 108-60=48, Resulting Numbers: [48] 48,11 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: 11:[34, 14], Operations: ['60/10=6', '84/6=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[6, 50], Operations: ['60/10=6', '84-34=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[34, 78], Operations: ['60/10=6', '84-6=78'] Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 34*78=2652, Resulting Numbers: [2652] 2652,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[84, 28], Operations: ['60/10=6', '34-6=28'] Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,11 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[84, 40], Operations: ['60/10=6', '34+6=40'] Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,11 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,11 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 11, 29, 13, 20 ]
21
[ "13*20=260", "260-29=231", "231/11=21" ]
Current State: 21:[11, 29, 13, 20], Operations: [] Exploring Operation: 13*20=260, Resulting Numbers: [11, 29, 260] Generated Node #2: [11, 29, 260] from Operation: 13*20=260 Current State: 21:[11, 29, 260], Operations: ['13*20=260'] Exploring Operation: 260-29=231, Resulting Numbers: [11, 231] Generated Node #3: [11, 231] from Operation: 260-29=231 Current State: 21:[11, 231], Operations: ['13*20=260', '260-29=231'] Exploring Operation: 231/11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[11, 29, 13, 20], Operations: [] Exploring Operation: 29-11=18, Resulting Numbers: [13, 20, 18] Generated Node #0,0: 21:[13, 20, 18] Operation: 29-11=18 Moving to Node #0,0 Current State: 21:[13, 20, 18], Operations: ['29-11=18'] Exploring Operation: 20-13=7, Resulting Numbers: [18, 7] Generated Node #0,0,0: 21:[18, 7] Operation: 20-13=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[18, 7], Operations: ['29-11=18', '20-13=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 6, 77, 74 ]
10
[ "77-74=3", "6*3=18", "28-18=10" ]
Current State: 10:[28, 6, 77, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [28, 6, 3] Generated Node #2: [28, 6, 3] from Operation: 77-74=3 Current State: 10:[28, 6, 3], Operations: ['77-74=3'] Exploring Operation: 6*3=18, Resulting Numbers: [28, 18] Generated Node #3: [28, 18] from Operation: 6*3=18 Current State: 10:[28, 18], Operations: ['77-74=3', '6*3=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[28, 6, 77, 74], Operations: [] Exploring Operation: 77-6=71, Resulting Numbers: [28, 74, 71] Generated Node #0,0: 10:[28, 74, 71] Operation: 77-6=71 Exploring Operation: 28-6=22, Resulting Numbers: [77, 74, 22] Generated Node #0,1: 10:[77, 74, 22] Operation: 28-6=22 Exploring Operation: 77-74=3, Resulting Numbers: [28, 6, 3] Generated Node #0,2: 10:[28, 6, 3] Operation: 77-74=3 Exploring Operation: 77-28=49, Resulting Numbers: [6, 74, 49] Generated Node #0,3: 10:[6, 74, 49] Operation: 77-28=49 Exploring Operation: 74-28=46, Resulting Numbers: [6, 77, 46] Generated Node #0,4: 10:[6, 77, 46] Operation: 74-28=46 Moving to Node #0,2 Current State: 10:[28, 6, 3], Operations: ['77-74=3'] Exploring Operation: 6+3=9, Resulting Numbers: [28, 9] Generated Node #0,2,0: 10:[28, 9] Operation: 6+3=9 Exploring Operation: 28-6=22, Resulting Numbers: [3, 22] Generated Node #0,2,1: 10:[3, 22] Operation: 28-6=22 Exploring Operation: 6/3=2, Resulting Numbers: [28, 2] Generated Node #0,2,2: 10:[28, 2] Operation: 6/3=2 Exploring Operation: 28-3=25, Resulting Numbers: [6, 25] Generated Node #0,2,3: 10:[6, 25] Operation: 28-3=25 Exploring Operation: 6-3=3, Resulting Numbers: [28, 3] Generated Node #0,2,4: 10:[28, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[3, 22], Operations: ['77-74=3', '28-6=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,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,3 Current State: 10:[6, 25], Operations: ['77-74=3', '28-3=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,10 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,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:[28, 2], Operations: ['77-74=3', '6/3=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,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:[28, 9], Operations: ['77-74=3', '6+3=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,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,4 Current State: 10:[28, 3], Operations: ['77-74=3', '6-3=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,10 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,10 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: 10:[6, 77, 46], Operations: ['74-28=46'] Exploring Operation: 46-6=40, Resulting Numbers: [77, 40] Generated Node #0,4,0: 10:[77, 40] Operation: 46-6=40 Exploring Operation: 6+46=52, Resulting Numbers: [77, 52] Generated Node #0,4,1: 10:[77, 52] Operation: 6+46=52 Exploring Operation: 6+77=83, Resulting Numbers: [46, 83] Generated Node #0,4,2: 10:[46, 83] Operation: 6+77=83 Exploring Operation: 77-46=31, Resulting Numbers: [6, 31] Generated Node #0,4,3: 10:[6, 31] Operation: 77-46=31 Exploring Operation: 77-6=71, Resulting Numbers: [46, 71] Generated Node #0,4,4: 10:[46, 71] Operation: 77-6=71 Moving to Node #0,3 Current State: 10:[6, 74, 49], Operations: ['77-28=49'] Exploring Operation: 74-6=68, Resulting Numbers: [49, 68] Generated Node #0,3,0: 10:[49, 68] Operation: 74-6=68 Exploring Operation: 49-6=43, Resulting Numbers: [74, 43] Generated Node #0,3,1: 10:[74, 43] Operation: 49-6=43 Exploring Operation: 6+74=80, Resulting Numbers: [49, 80] Generated Node #0,3,2: 10:[49, 80] Operation: 6+74=80 Exploring Operation: 6+49=55, Resulting Numbers: [74, 55] Generated Node #0,3,3: 10:[74, 55] Operation: 6+49=55 Exploring Operation: 74-49=25, Resulting Numbers: [6, 25] Generated Node #0,3,4: 10:[6, 25] Operation: 74-49=25 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 10:[6, 25], Operations: ['77-28=49', '74-49=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,10 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,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,3,0 Current State: 10:[49, 68], Operations: ['77-28=49', '74-6=68'] Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,10 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,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,3,1 Current State: 10:[74, 43], Operations: ['77-28=49', '49-6=43'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,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,3,2 Current State: 10:[49, 80], Operations: ['77-28=49', '6+74=80'] Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,10 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,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,3,3 Current State: 10:[74, 55], Operations: ['77-28=49', '6+49=55'] Exploring Operation: 74*55=4070, Resulting Numbers: [4070] 4070,10 unequal: No Solution Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 74+55=129, Resulting Numbers: [129] 129,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[28, 74, 71], Operations: ['77-6=71'] Exploring Operation: 28+74=102, Resulting Numbers: [71, 102] Generated Node #0,0,0: 10:[71, 102] Operation: 28+74=102 Exploring Operation: 74-71=3, Resulting Numbers: [28, 3] Generated Node #0,0,1: 10:[28, 3] Operation: 74-71=3 Exploring Operation: 74-28=46, Resulting Numbers: [71, 46] Generated Node #0,0,2: 10:[71, 46] Operation: 74-28=46 Exploring Operation: 28+71=99, Resulting Numbers: [74, 99] Generated Node #0,0,3: 10:[74, 99] Operation: 28+71=99 Exploring Operation: 71-28=43, Resulting Numbers: [74, 43] Generated Node #0,0,4: 10:[74, 43] Operation: 71-28=43 Moving to Node #0,1 Current State: 10:[77, 74, 22], Operations: ['28-6=22'] Exploring Operation: 77+74=151, Resulting Numbers: [22, 151] Generated Node #0,1,0: 10:[22, 151] Operation: 77+74=151 Exploring Operation: 74-22=52, Resulting Numbers: [77, 52] Generated Node #0,1,1: 10:[77, 52] Operation: 74-22=52 Exploring Operation: 77+22=99, Resulting Numbers: [74, 99] Generated Node #0,1,2: 10:[74, 99] Operation: 77+22=99 Exploring Operation: 77-74=3, Resulting Numbers: [22, 3] Generated Node #0,1,3: 10:[22, 3] Operation: 77-74=3 Exploring Operation: 77-22=55, Resulting Numbers: [74, 55] Generated Node #0,1,4: 10:[74, 55] Operation: 77-22=55 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[22, 3], Operations: ['28-6=22', '77-74=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[77, 52], Operations: ['28-6=22', '74-22=52'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,10 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[74, 55], Operations: ['28-6=22', '77-22=55'] Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 74+55=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 74*55=4070, Resulting Numbers: [4070] 4070,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[22, 151], Operations: ['28-6=22', '77+74=151'] Exploring Operation: 151-22=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 22*151=3322, Resulting Numbers: [3322] 3322,10 unequal: No Solution Exploring Operation: 22+151=173, Resulting Numbers: [173] 173,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[74, 99], Operations: ['28-6=22', '77+22=99'] Exploring Operation: 74*99=7326, Resulting Numbers: [7326] 7326,10 unequal: No Solution Exploring Operation: 74+99=173, Resulting Numbers: [173] 173,10 unequal: No Solution Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,10 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: 10:[28, 3], Operations: ['77-6=71', '74-71=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[6, 31], Operations: ['74-28=46', '77-46=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[71, 46], Operations: ['77-6=71', '74-28=46'] Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,10 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[46, 71], Operations: ['74-28=46', '77-6=71'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[77, 40], Operations: ['74-28=46', '46-6=40'] Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[74, 43], Operations: ['77-6=71', '71-28=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,10 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[77, 52], Operations: ['74-28=46', '6+46=52'] Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[46, 83], Operations: ['74-28=46', '6+77=83'] Exploring Operation: 46*83=3818, Resulting Numbers: [3818] 3818,10 unequal: No Solution Exploring Operation: 46+83=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[74, 99], Operations: ['77-6=71', '28+71=99'] Exploring Operation: 74*99=7326, Resulting Numbers: [7326] 7326,10 unequal: No Solution Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 74+99=173, Resulting Numbers: [173] 173,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[71, 102], Operations: ['77-6=71', '28+74=102'] Exploring Operation: 71*102=7242, Resulting Numbers: [7242] 7242,10 unequal: No Solution Exploring Operation: 102-71=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 71+102=173, Resulting Numbers: [173] 173,10 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 66, 68, 4, 33 ]
82
[ "66+33=99", "68/4=17", "99-17=82" ]
Current State: 82:[66, 68, 4, 33], Operations: [] Exploring Operation: 66+33=99, Resulting Numbers: [68, 4, 99] Generated Node #2: [68, 4, 99] from Operation: 66+33=99 Current State: 82:[68, 4, 99], Operations: ['66+33=99'] Exploring Operation: 68/4=17, Resulting Numbers: [99, 17] Generated Node #3: [99, 17] from Operation: 68/4=17 Current State: 82:[99, 17], Operations: ['66+33=99', '68/4=17'] Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[66, 68, 4, 33], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [68, 4, 2] Generated Node #0,0: 82:[68, 4, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [68, 4, 33] Generated Node #0,1: 82:[68, 4, 33] Operation: 66-33=33 Exploring Operation: 68-66=2, Resulting Numbers: [4, 33, 2] Generated Node #0,2: 82:[4, 33, 2] Operation: 68-66=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[4, 33, 2], Operations: ['68-66=2'] Exploring Operation: 4-2=2, Resulting Numbers: [33, 2] Generated Node #0,2,0: 82:[33, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [33, 2] Generated Node #0,2,1: 82:[33, 2] Operation: 4/2=2 Exploring Operation: 4+33=37, Resulting Numbers: [2, 37] Generated Node #0,2,2: 82:[2, 37] Operation: 4+33=37 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[2, 37], Operations: ['68-66=2', '4+33=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,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:[33, 2], Operations: ['68-66=2', '4-2=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,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:[33, 2], Operations: ['68-66=2', '4/2=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,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,0 Current State: 82:[68, 4, 2], Operations: ['66/33=2'] Exploring Operation: 68+4=72, Resulting Numbers: [2, 72] Generated Node #0,0,0: 82:[2, 72] Operation: 68+4=72 Exploring Operation: 68+2=70, Resulting Numbers: [4, 70] Generated Node #0,0,1: 82:[4, 70] Operation: 68+2=70 Exploring Operation: 68/2=34, Resulting Numbers: [4, 34] Generated Node #0,0,2: 82:[4, 34] Operation: 68/2=34 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[4, 34], Operations: ['66/33=2', '68/2=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[2, 72], Operations: ['66/33=2', '68+4=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[4, 70], Operations: ['66/33=2', '68+2=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,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:[68, 4, 33], Operations: ['66-33=33'] Exploring Operation: 68-33=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 82:[4, 35] Operation: 68-33=35 Exploring Operation: 4+33=37, Resulting Numbers: [68, 37] Generated Node #0,1,1: 82:[68, 37] Operation: 4+33=37 Exploring Operation: 68+4=72, Resulting Numbers: [33, 72] Generated Node #0,1,2: 82:[33, 72] Operation: 68+4=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[4, 35], Operations: ['66-33=33', '68-33=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[68, 37], Operations: ['66-33=33', '4+33=37'] Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,82 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[33, 72], Operations: ['66-33=33', '68+4=72'] Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,82 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 10, 11, 74, 12 ]
61
[ "11-10=1", "74-12=62", "62-1=61" ]
Current State: 61:[10, 11, 74, 12], Operations: [] Exploring Operation: 11-10=1, Resulting Numbers: [74, 12, 1] Generated Node #2: [74, 12, 1] from Operation: 11-10=1 Current State: 61:[74, 12, 1], Operations: ['11-10=1'] Exploring Operation: 74-12=62, Resulting Numbers: [1, 62] Generated Node #3: [1, 62] from Operation: 74-12=62 Current State: 61:[1, 62], Operations: ['11-10=1', '74-12=62'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[10, 11, 74, 12], Operations: [] Exploring Operation: 10+12=22, Resulting Numbers: [11, 74, 22] Generated Node #0,0: 61:[11, 74, 22] Operation: 10+12=22 Exploring Operation: 74-10=64, Resulting Numbers: [11, 12, 64] Generated Node #0,1: 61:[11, 12, 64] Operation: 74-10=64 Exploring Operation: 11+12=23, Resulting Numbers: [10, 74, 23] Generated Node #0,2: 61:[10, 74, 23] Operation: 11+12=23 Exploring Operation: 10+11=21, Resulting Numbers: [74, 12, 21] Generated Node #0,3: 61:[74, 12, 21] Operation: 10+11=21 Exploring Operation: 74-11=63, Resulting Numbers: [10, 12, 63] Generated Node #0,4: 61:[10, 12, 63] Operation: 74-11=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[11, 74, 22], Operations: ['10+12=22'] Exploring Operation: 74-11=63, Resulting Numbers: [22, 63] Generated Node #0,0,0: 61:[22, 63] Operation: 74-11=63 Exploring Operation: 22-11=11, Resulting Numbers: [74, 11] Generated Node #0,0,1: 61:[74, 11] Operation: 22-11=11 Exploring Operation: 74-22=52, Resulting Numbers: [11, 52] Generated Node #0,0,2: 61:[11, 52] Operation: 74-22=52 Exploring Operation: 11+22=33, Resulting Numbers: [74, 33] Generated Node #0,0,3: 61:[74, 33] Operation: 11+22=33 Exploring Operation: 11+74=85, Resulting Numbers: [22, 85] Generated Node #0,0,4: 61:[22, 85] Operation: 11+74=85 Moving to Node #0,0,0 Current State: 61:[22, 63], Operations: ['10+12=22', '74-11=63'] Exploring Operation: 22+63=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 22*63=1386, Resulting Numbers: [1386] 1386,61 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[74, 33], Operations: ['10+12=22', '11+22=33'] Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,61 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[11, 52], Operations: ['10+12=22', '74-22=52'] Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,61 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[74, 11], Operations: ['10+12=22', '22-11=11'] Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[22, 85], Operations: ['10+12=22', '11+74=85'] Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,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 Current State: 61:[11, 12, 64], Operations: ['74-10=64'] Exploring Operation: 12-11=1, Resulting Numbers: [64, 1] Generated Node #0,1,0: 61:[64, 1] Operation: 12-11=1 Exploring Operation: 11+64=75, Resulting Numbers: [12, 75] Generated Node #0,1,1: 61:[12, 75] Operation: 11+64=75 Exploring Operation: 64-11=53, Resulting Numbers: [12, 53] Generated Node #0,1,2: 61:[12, 53] Operation: 64-11=53 Exploring Operation: 11+12=23, Resulting Numbers: [64, 23] Generated Node #0,1,3: 61:[64, 23] Operation: 11+12=23 Exploring Operation: 64-12=52, Resulting Numbers: [11, 52] Generated Node #0,1,4: 61:[11, 52] Operation: 64-12=52 Moving to Node #0,1,3 Current State: 61:[64, 23], Operations: ['74-10=64', '11+12=23'] Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,61 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[12, 53], Operations: ['74-10=64', '64-11=53'] Exploring Operation: 12*53=636, Resulting Numbers: [636] 636,61 unequal: No Solution Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[11, 52], Operations: ['74-10=64', '64-12=52'] Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,61 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[64, 1], Operations: ['74-10=64', '12-11=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[12, 75], Operations: ['74-10=64', '11+64=75'] Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,61 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[10, 74, 23], Operations: ['11+12=23'] Exploring Operation: 10+74=84, Resulting Numbers: [23, 84] Generated Node #0,2,0: 61:[23, 84] Operation: 10+74=84 Exploring Operation: 10+23=33, Resulting Numbers: [74, 33] Generated Node #0,2,1: 61:[74, 33] Operation: 10+23=33 Exploring Operation: 74-23=51, Resulting Numbers: [10, 51] Generated Node #0,2,2: 61:[10, 51] Operation: 74-23=51 Exploring Operation: 23-10=13, Resulting Numbers: [74, 13] Generated Node #0,2,3: 61:[74, 13] Operation: 23-10=13 Exploring Operation: 74-10=64, Resulting Numbers: [23, 64] Generated Node #0,2,4: 61:[23, 64] Operation: 74-10=64 Moving to Node #0,2,1 Current State: 61:[74, 33], Operations: ['11+12=23', '10+23=33'] Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[23, 64], Operations: ['11+12=23', '74-10=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,61 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[23, 84], Operations: ['11+12=23', '10+74=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[10, 11, 74, 12], Operations: [] Exploring Operation: 11+12=23, Resulting Numbers: [10, 74, 23] Generated Node #0,2: 61:[10, 74, 23] Operation: 11+12=23 Moving to Node #0,2 Current State: 61:[10, 74, 23], Operations: ['11+12=23'] Exploring Operation: 10+74=84, Resulting Numbers: [23, 84] Generated Node #0,2,0: 61:[23, 84] Operation: 10+74=84 Moving to Node #0,2,0 Current State: 61:[23, 84], Operations: ['11+12=23', '10+74=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
mult_heuristic
[ 65, 49, 84, 82 ]
87
[ "65+82=147", "147/49=3", "84+3=87" ]
Current State: 87:[65, 49, 84, 82], Operations: [] Exploring Operation: 65+82=147, Resulting Numbers: [49, 84, 147] Generated Node #2: [49, 84, 147] from Operation: 65+82=147 Current State: 87:[49, 84, 147], Operations: ['65+82=147'] Exploring Operation: 147/49=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 147/49=3 Current State: 87:[84, 3], Operations: ['65+82=147', '147/49=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[65, 49, 84, 82], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [65, 84, 33] Generated Node #0,0: 87:[65, 84, 33] Operation: 82-49=33 Exploring Operation: 65-49=16, Resulting Numbers: [84, 82, 16] Generated Node #0,1: 87:[84, 82, 16] Operation: 65-49=16 Moving to Node #0,1 Current State: 87:[84, 82, 16], Operations: ['65-49=16'] Exploring Operation: 82+16=98, Resulting Numbers: [84, 98] Generated Node #0,1,0: 87:[84, 98] Operation: 82+16=98 Exploring Operation: 84-82=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 87:[16, 2] Operation: 84-82=2 Moving to Node #0,0 Current State: 87:[65, 84, 33], Operations: ['82-49=33'] Exploring Operation: 84-65=19, Resulting Numbers: [33, 19] Generated Node #0,0,0: 87:[33, 19] Operation: 84-65=19 Exploring Operation: 65-33=32, Resulting Numbers: [84, 32] Generated Node #0,0,1: 87:[84, 32] Operation: 65-33=32 Moving to Node #0,0,1 Current State: 87:[84, 32], Operations: ['82-49=33', '65-33=32'] Exploring Operation: 84+32=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[84, 98], Operations: ['65-49=16', '82+16=98'] Exploring Operation: 84+98=182, Resulting Numbers: [182] 182,87 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[16, 2], Operations: ['65-49=16', '84-82=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[33, 19], Operations: ['82-49=33', '84-65=19'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,87 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 82, 89, 7 ]
77
[ "12*7=84", "89-82=7", "84-7=77" ]
Current State: 77:[12, 82, 89, 7], Operations: [] Exploring Operation: 12*7=84, Resulting Numbers: [82, 89, 84] Generated Node #2: [82, 89, 84] from Operation: 12*7=84 Current State: 77:[82, 89, 84], Operations: ['12*7=84'] Exploring Operation: 89-82=7, Resulting Numbers: [84, 7] Generated Node #3: [84, 7] from Operation: 89-82=7 Current State: 77:[84, 7], Operations: ['12*7=84', '89-82=7'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[12, 82, 89, 7], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [12, 82, 82] Generated Node #0,0: 77:[12, 82, 82] Operation: 89-7=82 Exploring Operation: 82-7=75, Resulting Numbers: [12, 89, 75] Generated Node #0,1: 77:[12, 89, 75] Operation: 82-7=75 Exploring Operation: 89-82=7, Resulting Numbers: [12, 7, 7] Generated Node #0,2: 77:[12, 7, 7] Operation: 89-82=7 Exploring Operation: 89-12=77, Resulting Numbers: [82, 7, 77] Generated Node #0,3: 77:[82, 7, 77] Operation: 89-12=77 Moving to Node #0,2 Current State: 77:[12, 7, 7], Operations: ['89-82=7'] Exploring Operation: 7+7=14, Resulting Numbers: [12, 14] Generated Node #0,2,0: 77:[12, 14] Operation: 7+7=14 Exploring Operation: 12-7=5, Resulting Numbers: [7, 5] Generated Node #0,2,1: 77:[7, 5] Operation: 12-7=5 Exploring Operation: 12*7=84, Resulting Numbers: [7, 84] Generated Node #0,2,2: 77:[7, 84] Operation: 12*7=84 Exploring Operation: 12-7=5, Resulting Numbers: [7, 5] Generated Node #0,2,3: 77:[7, 5] Operation: 12-7=5 Moving to Node #0,3 Current State: 77:[82, 7, 77], Operations: ['89-12=77'] Exploring Operation: 77/7=11, Resulting Numbers: [82, 11] Generated Node #0,3,0: 77:[82, 11] Operation: 77/7=11 Exploring Operation: 82-77=5, Resulting Numbers: [7, 5] Generated Node #0,3,1: 77:[7, 5] Operation: 82-77=5 Exploring Operation: 82-7=75, Resulting Numbers: [77, 75] Generated Node #0,3,2: 77:[77, 75] Operation: 82-7=75 Exploring Operation: 82+7=89, Resulting Numbers: [77, 89] Generated Node #0,3,3: 77:[77, 89] Operation: 82+7=89 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[7, 5], Operations: ['89-12=77', '82-77=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,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,2 Current State: 77:[77, 75], Operations: ['89-12=77', '82-7=75'] Exploring Operation: 77*75=5775, Resulting Numbers: [5775] 5775,77 unequal: No Solution Exploring Operation: 77+75=152, Resulting Numbers: [152] 152,77 unequal: No Solution Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,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,0 Current State: 77:[82, 11], Operations: ['89-12=77', '77/7=11'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,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,3 Current State: 77:[77, 89], Operations: ['89-12=77', '82+7=89'] Exploring Operation: 77*89=6853, Resulting Numbers: [6853] 6853,77 unequal: No Solution Exploring Operation: 77+89=166, Resulting Numbers: [166] 166,77 unequal: No Solution Exploring Operation: 89-77=12, Resulting Numbers: [12] 12,77 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: 77:[12, 82, 82], Operations: ['89-7=82'] Exploring Operation: 82/82=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 77:[12, 1] Operation: 82/82=1 Exploring Operation: 82-12=70, Resulting Numbers: [82, 70] Generated Node #0,0,1: 77:[82, 70] Operation: 82-12=70 Exploring Operation: 82-82=0, Resulting Numbers: [12, 0] Generated Node #0,0,2: 77:[12, 0] Operation: 82-82=0 Exploring Operation: 82-12=70, Resulting Numbers: [82, 70] Generated Node #0,0,3: 77:[82, 70] Operation: 82-12=70 Moving to Node #0,1 Current State: 77:[12, 89, 75], Operations: ['82-7=75'] Exploring Operation: 12+89=101, Resulting Numbers: [75, 101] Generated Node #0,1,0: 77:[75, 101] Operation: 12+89=101 Exploring Operation: 12+75=87, Resulting Numbers: [89, 87] Generated Node #0,1,1: 77:[89, 87] Operation: 12+75=87 Exploring Operation: 89-12=77, Resulting Numbers: [75, 77] Generated Node #0,1,2: 77:[75, 77] Operation: 89-12=77 Exploring Operation: 89-75=14, Resulting Numbers: [12, 14] Generated Node #0,1,3: 77:[12, 14] Operation: 89-75=14 Moving to Node #0,2,1 Current State: 77:[7, 5], Operations: ['89-82=7', '12-7=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[7, 5], Operations: ['89-82=7', '12-7=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[75, 77], Operations: ['82-7=75', '89-12=77'] Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 75+77=152, Resulting Numbers: [152] 152,77 unequal: No Solution Exploring Operation: 75*77=5775, Resulting Numbers: [5775] 5775,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[12, 14], Operations: ['89-82=7', '7+7=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,77 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[12, 14], Operations: ['82-7=75', '89-75=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[12, 1], Operations: ['89-7=82', '82/82=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[7, 84], Operations: ['89-82=7', '12*7=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[12, 82, 89, 7], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [12, 7, 7] Generated Node #0,2: 77:[12, 7, 7] Operation: 89-82=7 Moving to Node #0,2 Current State: 77:[12, 7, 7], Operations: ['89-82=7'] Exploring Operation: 12*7=84, Resulting Numbers: [7, 84] Generated Node #0,2,2: 77:[7, 84] Operation: 12*7=84 Moving to Node #0,2,2 Current State: 77:[7, 84], Operations: ['89-82=7', '12*7=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.951389
hs_4
mult_heuristic
[ 12, 53, 91, 48 ]
84
[ "53-12=41", "91-48=43", "41+43=84" ]
Current State: 84:[12, 53, 91, 48], Operations: [] Exploring Operation: 53-12=41, Resulting Numbers: [91, 48, 41] Generated Node #2: [91, 48, 41] from Operation: 53-12=41 Current State: 84:[91, 48, 41], Operations: ['53-12=41'] Exploring Operation: 91-48=43, Resulting Numbers: [41, 43] Generated Node #3: [41, 43] from Operation: 91-48=43 Current State: 84:[41, 43], Operations: ['53-12=41', '91-48=43'] Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[12, 53, 91, 48], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [12, 91, 5] Generated Node #0,0: 84:[12, 91, 5] Operation: 53-48=5 Exploring Operation: 91-48=43, Resulting Numbers: [12, 53, 43] Generated Node #0,1: 84:[12, 53, 43] Operation: 91-48=43 Exploring Operation: 91-53=38, Resulting Numbers: [12, 48, 38] Generated Node #0,2: 84:[12, 48, 38] Operation: 91-53=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[12, 91, 5], Operations: ['53-48=5'] Exploring Operation: 91-5=86, Resulting Numbers: [12, 86] Generated Node #0,0,0: 84:[12, 86] Operation: 91-5=86 Exploring Operation: 12-5=7, Resulting Numbers: [91, 7] Generated Node #0,0,1: 84:[91, 7] Operation: 12-5=7 Exploring Operation: 91-12=79, Resulting Numbers: [5, 79] Generated Node #0,0,2: 84:[5, 79] Operation: 91-12=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[12, 86], Operations: ['53-48=5', '91-5=86'] Exploring Operation: 12*86=1032, Resulting Numbers: [1032] 1032,84 unequal: No Solution Exploring Operation: 12+86=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[5, 79], Operations: ['53-48=5', '91-12=79'] Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,84 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[12, 53, 91, 48], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [12, 91, 5] Generated Node #0,0: 84:[12, 91, 5] Operation: 53-48=5 Moving to Node #0,0 Current State: 84:[12, 91, 5], Operations: ['53-48=5'] Exploring Operation: 91-12=79, Resulting Numbers: [5, 79] Generated Node #0,0,2: 84:[5, 79] Operation: 91-12=79 Moving to Node #0,0,2 Current State: 84:[5, 79], Operations: ['53-48=5', '91-12=79'] Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 15, 9, 11, 58 ]
75
[ "15-9=6", "11+58=69", "6+69=75" ]
Current State: 75:[15, 9, 11, 58], Operations: [] Exploring Operation: 15-9=6, Resulting Numbers: [11, 58, 6] Generated Node #2: [11, 58, 6] from Operation: 15-9=6 Current State: 75:[11, 58, 6], Operations: ['15-9=6'] Exploring Operation: 11+58=69, Resulting Numbers: [6, 69] Generated Node #3: [6, 69] from Operation: 11+58=69 Current State: 75:[6, 69], Operations: ['15-9=6', '11+58=69'] Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[15, 9, 11, 58], Operations: [] Exploring Operation: 15+58=73, Resulting Numbers: [9, 11, 73] Generated Node #0,0: 75:[9, 11, 73] Operation: 15+58=73 Moving to Node #0,0 Current State: 75:[9, 11, 73], Operations: ['15+58=73'] Exploring Operation: 11-9=2, Resulting Numbers: [73, 2] Generated Node #0,0,0: 75:[73, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[73, 2], Operations: ['15+58=73', '11-9=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[15, 9, 11, 58], Operations: [] Exploring Operation: 15+58=73, Resulting Numbers: [9, 11, 73] Generated Node #0,0: 75:[9, 11, 73] Operation: 15+58=73 Moving to Node #0,0 Current State: 75:[9, 11, 73], Operations: ['15+58=73'] Exploring Operation: 11-9=2, Resulting Numbers: [73, 2] Generated Node #0,0,0: 75:[73, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 75:[73, 2], Operations: ['15+58=73', '11-9=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 48, 4, 68, 40 ]
70
[ "48-40=8", "8/4=2", "68+2=70" ]
Current State: 70:[48, 4, 68, 40], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [4, 68, 8] Generated Node #2: [4, 68, 8] from Operation: 48-40=8 Current State: 70:[4, 68, 8], Operations: ['48-40=8'] Exploring Operation: 8/4=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 8/4=2 Current State: 70:[68, 2], Operations: ['48-40=8', '8/4=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[48, 4, 68, 40], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [4, 68, 8] Generated Node #0,0: 70:[4, 68, 8] Operation: 48-40=8 Exploring Operation: 68-48=20, Resulting Numbers: [4, 40, 20] Generated Node #0,1: 70:[4, 40, 20] Operation: 68-48=20 Exploring Operation: 48/4=12, Resulting Numbers: [68, 40, 12] Generated Node #0,2: 70:[68, 40, 12] Operation: 48/4=12 Moving to Node #0,0 Current State: 70:[4, 68, 8], Operations: ['48-40=8'] Exploring Operation: 4+68=72, Resulting Numbers: [8, 72] Generated Node #0,0,0: 70:[8, 72] Operation: 4+68=72 Exploring Operation: 8/4=2, Resulting Numbers: [68, 2] Generated Node #0,0,1: 70:[68, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [68, 4] Generated Node #0,0,2: 70:[68, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[68, 2], Operations: ['48-40=8', '8/4=2'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[48, 4, 68, 40], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [4, 68, 8] Generated Node #0,0: 70:[4, 68, 8] Operation: 48-40=8 Moving to Node #0,0 Current State: 70:[4, 68, 8], Operations: ['48-40=8'] Exploring Operation: 8/4=2, Resulting Numbers: [68, 2] Generated Node #0,0,1: 70:[68, 2] Operation: 8/4=2 Moving to Node #0,0,1 Current State: 70:[68, 2], Operations: ['48-40=8', '8/4=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 66, 68, 29, 7 ]
43
[ "68-66=2", "7*2=14", "29+14=43" ]
Current State: 43:[66, 68, 29, 7], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [29, 7, 2] Generated Node #2: [29, 7, 2] from Operation: 68-66=2 Current State: 43:[29, 7, 2], Operations: ['68-66=2'] Exploring Operation: 7*2=14, Resulting Numbers: [29, 14] Generated Node #3: [29, 14] from Operation: 7*2=14 Current State: 43:[29, 14], Operations: ['68-66=2', '7*2=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[66, 68, 29, 7], Operations: [] Exploring Operation: 66-7=59, Resulting Numbers: [68, 29, 59] Generated Node #0,0: 43:[68, 29, 59] Operation: 66-7=59 Exploring Operation: 68-7=61, Resulting Numbers: [66, 29, 61] Generated Node #0,1: 43:[66, 29, 61] Operation: 68-7=61 Moving to Node #0,0 Current State: 43:[68, 29, 59], Operations: ['66-7=59'] Exploring Operation: 59-29=30, Resulting Numbers: [68, 30] Generated Node #0,0,0: 43:[68, 30] Operation: 59-29=30 Exploring Operation: 68-29=39, Resulting Numbers: [59, 39] Generated Node #0,0,1: 43:[59, 39] Operation: 68-29=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[59, 39], Operations: ['66-7=59', '68-29=39'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[68, 30], Operations: ['66-7=59', '59-29=30'] Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,43 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: 43:[66, 29, 61], Operations: ['68-7=61'] Exploring Operation: 66-29=37, Resulting Numbers: [61, 37] Generated Node #0,1,0: 43:[61, 37] Operation: 66-29=37 Exploring Operation: 61-29=32, Resulting Numbers: [66, 32] Generated Node #0,1,1: 43:[66, 32] Operation: 61-29=32 Moving to Node #0,1,0 Current State: 43:[61, 37], Operations: ['68-7=61', '66-29=37'] Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[66, 32], Operations: ['68-7=61', '61-29=32'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 92, 23, 45, 21 ]
94
[ "92-45=47", "23-21=2", "47*2=94" ]
Current State: 94:[92, 23, 45, 21], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [23, 21, 47] Generated Node #2: [23, 21, 47] from Operation: 92-45=47 Current State: 94:[23, 21, 47], Operations: ['92-45=47'] Exploring Operation: 23-21=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 23-21=2 Current State: 94:[47, 2], Operations: ['92-45=47', '23-21=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[92, 23, 45, 21], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [92, 45, 2] Generated Node #0,0: 94:[92, 45, 2] Operation: 23-21=2 Exploring Operation: 23+21=44, Resulting Numbers: [92, 45, 44] Generated Node #0,1: 94:[92, 45, 44] Operation: 23+21=44 Exploring Operation: 92/23=4, Resulting Numbers: [45, 21, 4] Generated Node #0,2: 94:[45, 21, 4] Operation: 92/23=4 Exploring Operation: 92-45=47, Resulting Numbers: [23, 21, 47] Generated Node #0,3: 94:[23, 21, 47] Operation: 92-45=47 Moving to Node #0,0 Current State: 94:[92, 45, 2], Operations: ['23-21=2'] Exploring Operation: 92+2=94, Resulting Numbers: [45, 94] Generated Node #0,0,0: 94:[45, 94] Operation: 92+2=94 Exploring Operation: 45+2=47, Resulting Numbers: [92, 47] Generated Node #0,0,1: 94:[92, 47] Operation: 45+2=47 Exploring Operation: 92/2=46, Resulting Numbers: [45, 46] Generated Node #0,0,2: 94:[45, 46] Operation: 92/2=46 Exploring Operation: 92-45=47, Resulting Numbers: [2, 47] Generated Node #0,0,3: 94:[2, 47] Operation: 92-45=47 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[2, 47], Operations: ['23-21=2', '92-45=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[92, 23, 45, 21], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [92, 45, 2] Generated Node #0,0: 94:[92, 45, 2] Operation: 23-21=2 Moving to Node #0,0 Current State: 94:[92, 45, 2], Operations: ['23-21=2'] Exploring Operation: 92-45=47, Resulting Numbers: [2, 47] Generated Node #0,0,3: 94:[2, 47] Operation: 92-45=47 Moving to Node #0,0,3 Current State: 94:[2, 47], Operations: ['23-21=2', '92-45=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 4, 70, 41, 82 ]
44
[ "82-70=12", "12/4=3", "41+3=44" ]
Current State: 44:[4, 70, 41, 82], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [4, 41, 12] Generated Node #2: [4, 41, 12] from Operation: 82-70=12 Current State: 44:[4, 41, 12], Operations: ['82-70=12'] Exploring Operation: 12/4=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 12/4=3 Current State: 44:[41, 3], Operations: ['82-70=12', '12/4=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[4, 70, 41, 82], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [4, 82, 29] Generated Node #0,0: 44:[4, 82, 29] Operation: 70-41=29 Exploring Operation: 82-41=41, Resulting Numbers: [4, 70, 41] Generated Node #0,1: 44:[4, 70, 41] Operation: 82-41=41 Exploring Operation: 82-70=12, Resulting Numbers: [4, 41, 12] Generated Node #0,2: 44:[4, 41, 12] Operation: 82-70=12 Exploring Operation: 70-4=66, Resulting Numbers: [41, 82, 66] Generated Node #0,3: 44:[41, 82, 66] Operation: 70-4=66 Exploring Operation: 82/41=2, Resulting Numbers: [4, 70, 2] Generated Node #0,4: 44:[4, 70, 2] Operation: 82/41=2 Moving to Node #0,2 Current State: 44:[4, 41, 12], Operations: ['82-70=12'] Exploring Operation: 12/4=3, Resulting Numbers: [41, 3] Generated Node #0,2,0: 44:[41, 3] Operation: 12/4=3 Exploring Operation: 4*12=48, Resulting Numbers: [41, 48] Generated Node #0,2,1: 44:[41, 48] Operation: 4*12=48 Exploring Operation: 4+41=45, Resulting Numbers: [12, 45] Generated Node #0,2,2: 44:[12, 45] Operation: 4+41=45 Exploring Operation: 41-12=29, Resulting Numbers: [4, 29] Generated Node #0,2,3: 44:[4, 29] Operation: 41-12=29 Exploring Operation: 12-4=8, Resulting Numbers: [41, 8] Generated Node #0,2,4: 44:[41, 8] Operation: 12-4=8 Moving to Node #0,4 Current State: 44:[4, 70, 2], Operations: ['82/41=2'] Exploring Operation: 4-2=2, Resulting Numbers: [70, 2] Generated Node #0,4,0: 44:[70, 2] Operation: 4-2=2 Exploring Operation: 70-4=66, Resulting Numbers: [2, 66] Generated Node #0,4,1: 44:[2, 66] Operation: 70-4=66 Exploring Operation: 70-2=68, Resulting Numbers: [4, 68] Generated Node #0,4,2: 44:[4, 68] Operation: 70-2=68 Exploring Operation: 4/2=2, Resulting Numbers: [70, 2] Generated Node #0,4,3: 44:[70, 2] Operation: 4/2=2 Exploring Operation: 70/2=35, Resulting Numbers: [4, 35] Generated Node #0,4,4: 44:[4, 35] Operation: 70/2=35 Moving to Node #0,1 Current State: 44:[4, 70, 41], Operations: ['82-41=41'] Exploring Operation: 70-41=29, Resulting Numbers: [4, 29] Generated Node #0,1,0: 44:[4, 29] Operation: 70-41=29 Exploring Operation: 41-4=37, Resulting Numbers: [70, 37] Generated Node #0,1,1: 44:[70, 37] Operation: 41-4=37 Exploring Operation: 4+41=45, Resulting Numbers: [70, 45] Generated Node #0,1,2: 44:[70, 45] Operation: 4+41=45 Exploring Operation: 70-4=66, Resulting Numbers: [41, 66] Generated Node #0,1,3: 44:[41, 66] Operation: 70-4=66 Exploring Operation: 4+70=74, Resulting Numbers: [41, 74] Generated Node #0,1,4: 44:[41, 74] Operation: 4+70=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[4, 29], Operations: ['82-41=41', '70-41=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,44 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[41, 66], Operations: ['82-41=41', '70-4=66'] Exploring Operation: 41+66=107, Resulting Numbers: [107] 107,44 unequal: No Solution Exploring Operation: 41*66=2706, Resulting Numbers: [2706] 2706,44 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[70, 45], Operations: ['82-41=41', '4+41=45'] Exploring Operation: 70*45=3150, Resulting Numbers: [3150] 3150,44 unequal: No Solution Exploring Operation: 70+45=115, Resulting Numbers: [115] 115,44 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[70, 37], Operations: ['82-41=41', '41-4=37'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,44 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 44:[41, 74], Operations: ['82-41=41', '4+70=74'] Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,44 unequal: No Solution Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,44 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: 44:[4, 82, 29], Operations: ['70-41=29'] Exploring Operation: 4+82=86, Resulting Numbers: [29, 86] Generated Node #0,0,0: 44:[29, 86] Operation: 4+82=86 Exploring Operation: 4+29=33, Resulting Numbers: [82, 33] Generated Node #0,0,1: 44:[82, 33] Operation: 4+29=33 Exploring Operation: 82-29=53, Resulting Numbers: [4, 53] Generated Node #0,0,2: 44:[4, 53] Operation: 82-29=53 Exploring Operation: 82-4=78, Resulting Numbers: [29, 78] Generated Node #0,0,3: 44:[29, 78] Operation: 82-4=78 Exploring Operation: 29-4=25, Resulting Numbers: [82, 25] Generated Node #0,0,4: 44:[82, 25] Operation: 29-4=25 Moving to Node #0,3 Current State: 44:[41, 82, 66], Operations: ['70-4=66'] Exploring Operation: 66-41=25, Resulting Numbers: [82, 25] Generated Node #0,3,0: 44:[82, 25] Operation: 66-41=25 Exploring Operation: 82-41=41, Resulting Numbers: [66, 41] Generated Node #0,3,1: 44:[66, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [66, 2] Generated Node #0,3,2: 44:[66, 2] Operation: 82/41=2 Exploring Operation: 41+82=123, Resulting Numbers: [66, 123] Generated Node #0,3,3: 44:[66, 123] Operation: 41+82=123 Exploring Operation: 82-66=16, Resulting Numbers: [41, 16] Generated Node #0,3,4: 44:[41, 16] Operation: 82-66=16 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 44:[41, 16], Operations: ['70-4=66', '82-66=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,44 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[66, 2], Operations: ['70-4=66', '82/41=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 44:[66, 41], Operations: ['70-4=66', '82-41=41'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,44 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 44:[82, 25], Operations: ['70-4=66', '66-41=25'] Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,44 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 44:[66, 123], Operations: ['70-4=66', '41+82=123'] Exploring Operation: 123-66=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 66+123=189, Resulting Numbers: [189] 189,44 unequal: No Solution Exploring Operation: 66*123=8118, Resulting Numbers: [8118] 8118,44 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: 44:[12, 45], Operations: ['82-70=12', '4+41=45'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,44 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[41, 3], Operations: ['82-70=12', '12/4=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,44 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,44 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[4, 70, 41, 82], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [4, 41, 12] Generated Node #0,2: 44:[4, 41, 12] Operation: 82-70=12 Moving to Node #0,2 Current State: 44:[4, 41, 12], Operations: ['82-70=12'] Exploring Operation: 12/4=3, Resulting Numbers: [41, 3] Generated Node #0,2,0: 44:[41, 3] Operation: 12/4=3 Moving to Node #0,2,0 Current State: 44:[41, 3], Operations: ['82-70=12', '12/4=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.938368
hs_5
sum_heuristic
[ 11, 18, 61, 67 ]
70
[ "11*18=198", "61+67=128", "198-128=70" ]
Current State: 70:[11, 18, 61, 67], Operations: [] Exploring Operation: 11*18=198, Resulting Numbers: [61, 67, 198] Generated Node #2: [61, 67, 198] from Operation: 11*18=198 Current State: 70:[61, 67, 198], Operations: ['11*18=198'] Exploring Operation: 61+67=128, Resulting Numbers: [198, 128] Generated Node #3: [198, 128] from Operation: 61+67=128 Current State: 70:[198, 128], Operations: ['11*18=198', '61+67=128'] Exploring Operation: 198-128=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[11, 18, 61, 67], Operations: [] Exploring Operation: 18-11=7, Resulting Numbers: [61, 67, 7] Generated Node #0,0: 70:[61, 67, 7] Operation: 18-11=7 Exploring Operation: 67-61=6, Resulting Numbers: [11, 18, 6] Generated Node #0,1: 70:[11, 18, 6] Operation: 67-61=6 Exploring Operation: 11+61=72, Resulting Numbers: [18, 67, 72] Generated Node #0,2: 70:[18, 67, 72] Operation: 11+61=72 Moving to Node #0,1 Current State: 70:[11, 18, 6], Operations: ['67-61=6'] Exploring Operation: 18-11=7, Resulting Numbers: [6, 7] Generated Node #0,1,0: 70:[6, 7] Operation: 18-11=7 Exploring Operation: 18-6=12, Resulting Numbers: [11, 12] Generated Node #0,1,1: 70:[11, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [11, 3] Generated Node #0,1,2: 70:[11, 3] Operation: 18/6=3 Moving to Node #0,2 Current State: 70:[18, 67, 72], Operations: ['11+61=72'] Exploring Operation: 72/18=4, Resulting Numbers: [67, 4] Generated Node #0,2,0: 70:[67, 4] Operation: 72/18=4 Exploring Operation: 67-18=49, Resulting Numbers: [72, 49] Generated Node #0,2,1: 70:[72, 49] Operation: 67-18=49 Exploring Operation: 72-67=5, Resulting Numbers: [18, 5] Generated Node #0,2,2: 70:[18, 5] Operation: 72-67=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[67, 4], Operations: ['11+61=72', '72/18=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,70 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,70 unequal: No Solution No 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: 70:[18, 5], Operations: ['11+61=72', '72-67=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,70 unequal: No Solution No 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: 70:[72, 49], Operations: ['11+61=72', '67-18=49'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,70 unequal: No Solution Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,70 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: 70:[61, 67, 7], Operations: ['18-11=7'] Exploring Operation: 67-61=6, Resulting Numbers: [7, 6] Generated Node #0,0,0: 70:[7, 6] Operation: 67-61=6 Exploring Operation: 61+7=68, Resulting Numbers: [67, 68] Generated Node #0,0,1: 70:[67, 68] Operation: 61+7=68 Exploring Operation: 67+7=74, Resulting Numbers: [61, 74] Generated Node #0,0,2: 70:[61, 74] Operation: 67+7=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[7, 6], Operations: ['18-11=7', '67-61=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,70 unequal: No Solution No 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: 70:[67, 68], Operations: ['18-11=7', '61+7=68'] Exploring Operation: 67+68=135, Resulting Numbers: [135] 135,70 unequal: No Solution Exploring Operation: 67*68=4556, Resulting Numbers: [4556] 4556,70 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,70 unequal: No Solution No 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: 70:[61, 74], Operations: ['18-11=7', '67+7=74'] Exploring Operation: 61+74=135, Resulting Numbers: [135] 135,70 unequal: No Solution Exploring Operation: 61*74=4514, Resulting Numbers: [4514] 4514,70 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,70 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: 70:[6, 7], Operations: ['67-61=6', '18-11=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[11, 3], Operations: ['67-61=6', '18/6=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[11, 12], Operations: ['67-61=6', '18-6=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,70 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 22, 11, 22, 3 ]
88
[ "22*11=242", "22+242=264", "264/3=88" ]
Current State: 88:[22, 11, 22, 3], Operations: [] Exploring Operation: 22*11=242, Resulting Numbers: [3, 242] Generated Node #2: [3, 242] from Operation: 22*11=242 Current State: 88:[3, 242], Operations: ['22*11=242'] Exploring Operation: 22+242=264, Resulting Numbers: [3, 264] Generated Node #3: [3, 264] from Operation: 22+242=264 Current State: 88:[3, 264], Operations: ['22*11=242', '22+242=264'] Exploring Operation: 264/3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[22, 11, 22, 3], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [22, 3, 2] Generated Node #0,0: 88:[22, 3, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [22, 3, 11] Generated Node #0,1: 88:[22, 3, 11] Operation: 22-11=11 Exploring Operation: 11-3=8, Resulting Numbers: [22, 22, 8] Generated Node #0,2: 88:[22, 22, 8] Operation: 11-3=8 Moving to Node #0,2 Current State: 88:[22, 22, 8], Operations: ['11-3=8'] Exploring Operation: 22-22=0, Resulting Numbers: [8, 0] Generated Node #0,2,0: 88:[8, 0] Operation: 22-22=0 Exploring Operation: 22+22=44, Resulting Numbers: [8, 44] Generated Node #0,2,1: 88:[8, 44] Operation: 22+22=44 Exploring Operation: 22/22=1, Resulting Numbers: [8, 1] Generated Node #0,2,2: 88:[8, 1] Operation: 22/22=1 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[8, 44], Operations: ['11-3=8', '22+22=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[8, 1], Operations: ['11-3=8', '22/22=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[8, 0], Operations: ['11-3=8', '22-22=0'] Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,88 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: 88:[22, 3, 2], Operations: ['22/11=2'] Exploring Operation: 3+2=5, Resulting Numbers: [22, 5] Generated Node #0,0,0: 88:[22, 5] Operation: 3+2=5 Exploring Operation: 22/2=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 88:[3, 11] Operation: 22/2=11 Exploring Operation: 22*2=44, Resulting Numbers: [3, 44] Generated Node #0,0,2: 88:[3, 44] Operation: 22*2=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[22, 5], Operations: ['22/11=2', '3+2=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,88 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,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:[3, 11], Operations: ['22/11=2', '22/2=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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:[3, 44], Operations: ['22/11=2', '22*2=44'] Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,88 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,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:[22, 3, 11], Operations: ['22-11=11'] Exploring Operation: 22-11=11, Resulting Numbers: [3, 11] Generated Node #0,1,0: 88:[3, 11] Operation: 22-11=11 Exploring Operation: 11-3=8, Resulting Numbers: [22, 8] Generated Node #0,1,1: 88:[22, 8] Operation: 11-3=8 Exploring Operation: 22/11=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 88:[3, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[22, 8], Operations: ['22-11=11', '11-3=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,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,0 Current State: 88:[3, 11], Operations: ['22-11=11', '22-11=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,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:[3, 2], Operations: ['22-11=11', '22/11=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 63, 10, 8, 67 ]
21
[ "63+67=130", "130/10=13", "8+13=21" ]
Current State: 21:[63, 10, 8, 67], Operations: [] Exploring Operation: 63+67=130, Resulting Numbers: [10, 8, 130] Generated Node #2: [10, 8, 130] from Operation: 63+67=130 Current State: 21:[10, 8, 130], Operations: ['63+67=130'] Exploring Operation: 130/10=13, Resulting Numbers: [8, 13] Generated Node #3: [8, 13] from Operation: 130/10=13 Current State: 21:[8, 13], Operations: ['63+67=130', '130/10=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[63, 10, 8, 67], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [10, 8, 4] Generated Node #0,0: 21:[10, 8, 4] Operation: 67-63=4 Exploring Operation: 67-10=57, Resulting Numbers: [63, 8, 57] Generated Node #0,1: 21:[63, 8, 57] Operation: 67-10=57 Exploring Operation: 63-10=53, Resulting Numbers: [8, 67, 53] Generated Node #0,2: 21:[8, 67, 53] Operation: 63-10=53 Exploring Operation: 63-8=55, Resulting Numbers: [10, 67, 55] Generated Node #0,3: 21:[10, 67, 55] Operation: 63-8=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[10, 8, 4], Operations: ['67-63=4'] Exploring Operation: 10-8=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 21:[4, 2] Operation: 10-8=2 Exploring Operation: 8-4=4, Resulting Numbers: [10, 4] Generated Node #0,0,1: 21:[10, 4] Operation: 8-4=4 Exploring Operation: 10-4=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 21:[8, 6] Operation: 10-4=6 Exploring Operation: 10+8=18, Resulting Numbers: [4, 18] Generated Node #0,0,3: 21:[4, 18] Operation: 10+8=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[4, 2], Operations: ['67-63=4', '10-8=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[8, 6], Operations: ['67-63=4', '10-4=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[10, 4], Operations: ['67-63=4', '8-4=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 21:[4, 18], Operations: ['67-63=4', '10+8=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[63, 8, 57], Operations: ['67-10=57'] Exploring Operation: 63-8=55, Resulting Numbers: [57, 55] Generated Node #0,1,0: 21:[57, 55] Operation: 63-8=55 Exploring Operation: 63-57=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 21:[8, 6] Operation: 63-57=6 Exploring Operation: 57-8=49, Resulting Numbers: [63, 49] Generated Node #0,1,2: 21:[63, 49] Operation: 57-8=49 Exploring Operation: 63+8=71, Resulting Numbers: [57, 71] Generated Node #0,1,3: 21:[57, 71] Operation: 63+8=71 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[8, 6], Operations: ['67-10=57', '63-57=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[57, 55], Operations: ['67-10=57', '63-8=55'] Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,21 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[63, 49], Operations: ['67-10=57', '57-8=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 21:[57, 71], Operations: ['67-10=57', '63+8=71'] Exploring Operation: 57*71=4047, Resulting Numbers: [4047] 4047,21 unequal: No Solution Exploring Operation: 57+71=128, Resulting Numbers: [128] 128,21 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[8, 67, 53], Operations: ['63-10=53'] Exploring Operation: 67-8=59, Resulting Numbers: [53, 59] Generated Node #0,2,0: 21:[53, 59] Operation: 67-8=59 Exploring Operation: 67-53=14, Resulting Numbers: [8, 14] Generated Node #0,2,1: 21:[8, 14] Operation: 67-53=14 Exploring Operation: 53-8=45, Resulting Numbers: [67, 45] Generated Node #0,2,2: 21:[67, 45] Operation: 53-8=45 Exploring Operation: 8+67=75, Resulting Numbers: [53, 75] Generated Node #0,2,3: 21:[53, 75] Operation: 8+67=75 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[8, 14], Operations: ['63-10=53', '67-53=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[53, 59], Operations: ['63-10=53', '67-8=59'] Exploring Operation: 53+59=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 53*59=3127, Resulting Numbers: [3127] 3127,21 unequal: No Solution Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[67, 45], Operations: ['63-10=53', '53-8=45'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[53, 75], Operations: ['63-10=53', '8+67=75'] Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 53*75=3975, Resulting Numbers: [3975] 3975,21 unequal: No Solution Exploring Operation: 53+75=128, Resulting Numbers: [128] 128,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[10, 67, 55], Operations: ['63-8=55'] Exploring Operation: 67-10=57, Resulting Numbers: [55, 57] Generated Node #0,3,0: 21:[55, 57] Operation: 67-10=57 Exploring Operation: 67-55=12, Resulting Numbers: [10, 12] Generated Node #0,3,1: 21:[10, 12] Operation: 67-55=12 Exploring Operation: 10+67=77, Resulting Numbers: [55, 77] Generated Node #0,3,2: 21:[55, 77] Operation: 10+67=77 Exploring Operation: 55-10=45, Resulting Numbers: [67, 45] Generated Node #0,3,3: 21:[67, 45] Operation: 55-10=45 Moving to Node #0,3,1 Current State: 21:[10, 12], Operations: ['63-8=55', '67-55=12'] Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[67, 45], Operations: ['63-8=55', '55-10=45'] Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,21 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[55, 57], Operations: ['63-8=55', '67-10=57'] Exploring Operation: 55*57=3135, Resulting Numbers: [3135] 3135,21 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 55+57=112, Resulting Numbers: [112] 112,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[55, 77], Operations: ['63-8=55', '10+67=77'] Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,21 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 38, 67, 2, 23 ]
32
[ "38*2=76", "67-23=44", "76-44=32" ]
Current State: 32:[38, 67, 2, 23], Operations: [] Exploring Operation: 38*2=76, Resulting Numbers: [67, 23, 76] Generated Node #2: [67, 23, 76] from Operation: 38*2=76 Current State: 32:[67, 23, 76], Operations: ['38*2=76'] Exploring Operation: 67-23=44, Resulting Numbers: [76, 44] Generated Node #3: [76, 44] from Operation: 67-23=44 Current State: 32:[76, 44], Operations: ['38*2=76', '67-23=44'] Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[38, 67, 2, 23], Operations: [] Exploring Operation: 67-38=29, Resulting Numbers: [2, 23, 29] Generated Node #0,0: 32:[2, 23, 29] Operation: 67-38=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[2, 23, 29], Operations: ['67-38=29'] Exploring Operation: 29-23=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 32:[2, 6] Operation: 29-23=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[2, 6], Operations: ['67-38=29', '29-23=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,32 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
[ 96, 69, 83, 80 ]
81
[ "96-69=27", "83-80=3", "27*3=81" ]
Current State: 81:[96, 69, 83, 80], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [83, 80, 27] Generated Node #2: [83, 80, 27] from Operation: 96-69=27 Current State: 81:[83, 80, 27], Operations: ['96-69=27'] Exploring Operation: 83-80=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 83-80=3 Current State: 81:[27, 3], Operations: ['96-69=27', '83-80=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[96, 69, 83, 80], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [96, 83, 11] Generated Node #0,0: 81:[96, 83, 11] Operation: 80-69=11 Exploring Operation: 96-80=16, Resulting Numbers: [69, 83, 16] Generated Node #0,1: 81:[69, 83, 16] Operation: 96-80=16 Exploring Operation: 96-83=13, Resulting Numbers: [69, 80, 13] Generated Node #0,2: 81:[69, 80, 13] Operation: 96-83=13 Exploring Operation: 96-69=27, Resulting Numbers: [83, 80, 27] Generated Node #0,3: 81:[83, 80, 27] Operation: 96-69=27 Moving to Node #0,3 Current State: 81:[83, 80, 27], Operations: ['96-69=27'] Exploring Operation: 83-80=3, Resulting Numbers: [27, 3] Generated Node #0,3,0: 81:[27, 3] Operation: 83-80=3 Exploring Operation: 83-27=56, Resulting Numbers: [80, 56] Generated Node #0,3,1: 81:[80, 56] Operation: 83-27=56 Exploring Operation: 80-27=53, Resulting Numbers: [83, 53] Generated Node #0,3,2: 81:[83, 53] Operation: 80-27=53 Exploring Operation: 80+27=107, Resulting Numbers: [83, 107] Generated Node #0,3,3: 81:[83, 107] Operation: 80+27=107 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[27, 3], Operations: ['96-69=27', '83-80=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[96, 69, 83, 80], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [83, 80, 27] Generated Node #0,3: 81:[83, 80, 27] Operation: 96-69=27 Moving to Node #0,3 Current State: 81:[83, 80, 27], Operations: ['96-69=27'] Exploring Operation: 83-80=3, Resulting Numbers: [27, 3] Generated Node #0,3,0: 81:[27, 3] Operation: 83-80=3 Moving to Node #0,3,0 Current State: 81:[27, 3], Operations: ['96-69=27', '83-80=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 42, 23, 83, 74 ]
56
[ "42+23=65", "83-74=9", "65-9=56" ]
Current State: 56:[42, 23, 83, 74], Operations: [] Exploring Operation: 42+23=65, Resulting Numbers: [83, 74, 65] Generated Node #2: [83, 74, 65] from Operation: 42+23=65 Current State: 56:[83, 74, 65], Operations: ['42+23=65'] Exploring Operation: 83-74=9, Resulting Numbers: [65, 9] Generated Node #3: [65, 9] from Operation: 83-74=9 Current State: 56:[65, 9], Operations: ['42+23=65', '83-74=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[42, 23, 83, 74], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [42, 23, 9] Generated Node #0,0: 56:[42, 23, 9] Operation: 83-74=9 Exploring Operation: 83-42=41, Resulting Numbers: [23, 74, 41] Generated Node #0,1: 56:[23, 74, 41] Operation: 83-42=41 Exploring Operation: 74-42=32, Resulting Numbers: [23, 83, 32] Generated Node #0,2: 56:[23, 83, 32] Operation: 74-42=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[42, 23, 9], Operations: ['83-74=9'] Exploring Operation: 42+9=51, Resulting Numbers: [23, 51] Generated Node #0,0,0: 56:[23, 51] Operation: 42+9=51 Exploring Operation: 42+23=65, Resulting Numbers: [9, 65] Generated Node #0,0,1: 56:[9, 65] Operation: 42+23=65 Exploring Operation: 42-23=19, Resulting Numbers: [9, 19] Generated Node #0,0,2: 56:[9, 19] Operation: 42-23=19 Moving to Node #0,0,2 Current State: 56:[9, 19], Operations: ['83-74=9', '42-23=19'] Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,56 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[23, 51], Operations: ['83-74=9', '42+9=51'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,56 unequal: No Solution Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[9, 65], Operations: ['83-74=9', '42+23=65'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[42, 23, 83, 74], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [42, 23, 9] Generated Node #0,0: 56:[42, 23, 9] Operation: 83-74=9 Moving to Node #0,0 Current State: 56:[42, 23, 9], Operations: ['83-74=9'] Exploring Operation: 42+23=65, Resulting Numbers: [9, 65] Generated Node #0,0,1: 56:[9, 65] Operation: 42+23=65 Moving to Node #0,0,1 Current State: 56:[9, 65], Operations: ['83-74=9', '42+23=65'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 74, 14, 66, 10 ]
100
[ "74+66=140", "140/14=10", "10*10=100" ]
Current State: 100:[74, 14, 66, 10], Operations: [] Exploring Operation: 74+66=140, Resulting Numbers: [14, 10, 140] Generated Node #2: [14, 10, 140] from Operation: 74+66=140 Current State: 100:[14, 10, 140], Operations: ['74+66=140'] Exploring Operation: 140/14=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 140/14=10 Current State: 100:[10, 10], Operations: ['74+66=140', '140/14=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[74, 14, 66, 10], Operations: [] Exploring Operation: 74-14=60, Resulting Numbers: [66, 10, 60] Generated Node #0,0: 100:[66, 10, 60] Operation: 74-14=60 Exploring Operation: 74-66=8, Resulting Numbers: [14, 10, 8] Generated Node #0,1: 100:[14, 10, 8] Operation: 74-66=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[14, 10, 8], Operations: ['74-66=8'] Exploring Operation: 14-10=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 100:[8, 4] Operation: 14-10=4 Exploring Operation: 14-8=6, Resulting Numbers: [10, 6] Generated Node #0,1,1: 100:[10, 6] Operation: 14-8=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[10, 6], Operations: ['74-66=8', '14-8=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,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,1,0 Current State: 100:[8, 4], Operations: ['74-66=8', '14-10=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,100 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: 100:[66, 10, 60], Operations: ['74-14=60'] Exploring Operation: 66-60=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 100:[10, 6] Operation: 66-60=6 Exploring Operation: 66-10=56, Resulting Numbers: [60, 56] Generated Node #0,0,1: 100:[60, 56] Operation: 66-10=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[10, 6], Operations: ['74-14=60', '66-60=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,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:[60, 56], Operations: ['74-14=60', '66-10=56'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,100 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
[ 94, 96, 10, 49 ]
61
[ "96-94=2", "10+49=59", "2+59=61" ]
Current State: 61:[94, 96, 10, 49], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [10, 49, 2] Generated Node #2: [10, 49, 2] from Operation: 96-94=2 Current State: 61:[10, 49, 2], Operations: ['96-94=2'] Exploring Operation: 10+49=59, Resulting Numbers: [2, 59] Generated Node #3: [2, 59] from Operation: 10+49=59 Current State: 61:[2, 59], Operations: ['96-94=2', '10+49=59'] Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[94, 96, 10, 49], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [96, 49, 84] Generated Node #0,0: 61:[96, 49, 84] Operation: 94-10=84 Exploring Operation: 10+49=59, Resulting Numbers: [94, 96, 59] Generated Node #0,1: 61:[94, 96, 59] Operation: 10+49=59 Exploring Operation: 94+10=104, Resulting Numbers: [96, 49, 104] Generated Node #0,2: 61:[96, 49, 104] Operation: 94+10=104 Exploring Operation: 96-10=86, Resulting Numbers: [94, 49, 86] Generated Node #0,3: 61:[94, 49, 86] Operation: 96-10=86 Exploring Operation: 96+10=106, Resulting Numbers: [94, 49, 106] Generated Node #0,4: 61:[94, 49, 106] Operation: 96+10=106 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[96, 49, 84], Operations: ['94-10=84'] Exploring Operation: 96-84=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 61:[49, 12] Operation: 96-84=12 Exploring Operation: 96-49=47, Resulting Numbers: [84, 47] Generated Node #0,0,1: 61:[84, 47] Operation: 96-49=47 Exploring Operation: 49+84=133, Resulting Numbers: [96, 133] Generated Node #0,0,2: 61:[96, 133] Operation: 49+84=133 Exploring Operation: 96+49=145, Resulting Numbers: [84, 145] Generated Node #0,0,3: 61:[84, 145] Operation: 96+49=145 Exploring Operation: 84-49=35, Resulting Numbers: [96, 35] Generated Node #0,0,4: 61:[96, 35] Operation: 84-49=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[84, 47], Operations: ['94-10=84', '96-49=47'] Exploring Operation: 84+47=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 84*47=3948, Resulting Numbers: [3948] 3948,61 unequal: No Solution Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[49, 12], Operations: ['94-10=84', '96-84=12'] Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,61 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[94, 96, 10, 49], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [96, 49, 84] Generated Node #0,0: 61:[96, 49, 84] Operation: 94-10=84 Moving to Node #0,0 Current State: 61:[96, 49, 84], Operations: ['94-10=84'] Exploring Operation: 96-84=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 61:[49, 12] Operation: 96-84=12 Moving to Node #0,0,0 Current State: 61:[49, 12], Operations: ['94-10=84', '96-84=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 97, 15, 53, 38 ]
62
[ "97+38=135", "135/15=9", "53+9=62" ]
Current State: 62:[97, 15, 53, 38], Operations: [] Exploring Operation: 97+38=135, Resulting Numbers: [15, 53, 135] Generated Node #2: [15, 53, 135] from Operation: 97+38=135 Current State: 62:[15, 53, 135], Operations: ['97+38=135'] Exploring Operation: 135/15=9, Resulting Numbers: [53, 9] Generated Node #3: [53, 9] from Operation: 135/15=9 Current State: 62:[53, 9], Operations: ['97+38=135', '135/15=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[97, 15, 53, 38], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [15, 38, 44] Generated Node #0,0: 62:[15, 38, 44] Operation: 97-53=44 Exploring Operation: 97-38=59, Resulting Numbers: [15, 53, 59] Generated Node #0,1: 62:[15, 53, 59] Operation: 97-38=59 Exploring Operation: 15+53=68, Resulting Numbers: [97, 38, 68] Generated Node #0,2: 62:[97, 38, 68] Operation: 15+53=68 Exploring Operation: 97-15=82, Resulting Numbers: [53, 38, 82] Generated Node #0,3: 62:[53, 38, 82] Operation: 97-15=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[15, 53, 59], Operations: ['97-38=59'] Exploring Operation: 53-15=38, Resulting Numbers: [59, 38] Generated Node #0,1,0: 62:[59, 38] Operation: 53-15=38 Exploring Operation: 15+53=68, Resulting Numbers: [59, 68] Generated Node #0,1,1: 62:[59, 68] Operation: 15+53=68 Exploring Operation: 59-53=6, Resulting Numbers: [15, 6] Generated Node #0,1,2: 62:[15, 6] Operation: 59-53=6 Exploring Operation: 15+59=74, Resulting Numbers: [53, 74] Generated Node #0,1,3: 62:[53, 74] Operation: 15+59=74 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[59, 68], Operations: ['97-38=59', '15+53=68'] Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 59*68=4012, Resulting Numbers: [4012] 4012,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[59, 38], Operations: ['97-38=59', '53-15=38'] Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 59*38=2242, Resulting Numbers: [2242] 2242,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[15, 6], Operations: ['97-38=59', '59-53=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[53, 74], Operations: ['97-38=59', '15+59=74'] Exploring Operation: 53+74=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 53*74=3922, Resulting Numbers: [3922] 3922,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[15, 38, 44], Operations: ['97-53=44'] Exploring Operation: 44-38=6, Resulting Numbers: [15, 6] Generated Node #0,0,0: 62:[15, 6] Operation: 44-38=6 Exploring Operation: 38-15=23, Resulting Numbers: [44, 23] Generated Node #0,0,1: 62:[44, 23] Operation: 38-15=23 Exploring Operation: 44-15=29, Resulting Numbers: [38, 29] Generated Node #0,0,2: 62:[38, 29] Operation: 44-15=29 Exploring Operation: 15+44=59, Resulting Numbers: [38, 59] Generated Node #0,0,3: 62:[38, 59] Operation: 15+44=59 Moving to Node #0,0,2 Current State: 62:[38, 29], Operations: ['97-53=44', '44-15=29'] Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,62 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[38, 59], Operations: ['97-53=44', '15+44=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,62 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[15, 6], Operations: ['97-53=44', '44-38=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[44, 23], Operations: ['97-53=44', '38-15=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[53, 38, 82], Operations: ['97-15=82'] Exploring Operation: 82-53=29, Resulting Numbers: [38, 29] Generated Node #0,3,0: 62:[38, 29] Operation: 82-53=29 Exploring Operation: 82-38=44, Resulting Numbers: [53, 44] Generated Node #0,3,1: 62:[53, 44] Operation: 82-38=44 Exploring Operation: 53-38=15, Resulting Numbers: [82, 15] Generated Node #0,3,2: 62:[82, 15] Operation: 53-38=15 Exploring Operation: 53+38=91, Resulting Numbers: [82, 91] Generated Node #0,3,3: 62:[82, 91] Operation: 53+38=91 Moving to Node #0,3,0 Current State: 62:[38, 29], Operations: ['97-15=82', '82-53=29'] Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[53, 44], Operations: ['97-15=82', '82-38=44'] Exploring Operation: 53*44=2332, Resulting Numbers: [2332] 2332,62 unequal: No Solution Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 53+44=97, Resulting Numbers: [97] 97,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[82, 15], Operations: ['97-15=82', '53-38=15'] Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,62 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[82, 91], Operations: ['97-15=82', '53+38=91'] Exploring Operation: 82*91=7462, Resulting Numbers: [7462] 7462,62 unequal: No Solution Exploring Operation: 91-82=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 82+91=173, Resulting Numbers: [173] 173,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,2 Current State: 62:[97, 38, 68], Operations: ['15+53=68'] Exploring Operation: 97-38=59, Resulting Numbers: [68, 59] Generated Node #0,2,0: 62:[68, 59] Operation: 97-38=59 Exploring Operation: 97+38=135, Resulting Numbers: [68, 135] Generated Node #0,2,1: 62:[68, 135] Operation: 97+38=135 Exploring Operation: 97-68=29, Resulting Numbers: [38, 29] Generated Node #0,2,2: 62:[38, 29] Operation: 97-68=29 Exploring Operation: 68-38=30, Resulting Numbers: [97, 30] Generated Node #0,2,3: 62:[97, 30] Operation: 68-38=30 Moving to Node #0,2,0 Current State: 62:[68, 59], Operations: ['15+53=68', '97-38=59'] Exploring Operation: 68+59=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 68*59=4012, Resulting Numbers: [4012] 4012,62 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[38, 29], Operations: ['15+53=68', '97-68=29'] Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[97, 30], Operations: ['15+53=68', '68-38=30'] Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,62 unequal: No Solution Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[68, 135], Operations: ['15+53=68', '97+38=135'] Exploring Operation: 135-68=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 68*135=9180, Resulting Numbers: [9180] 9180,62 unequal: No Solution Exploring Operation: 68+135=203, Resulting Numbers: [203] 203,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 90, 20, 5, 46 ]
84
[ "90/5=18", "20+46=66", "18+66=84" ]
Current State: 84:[90, 20, 5, 46], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [20, 46, 18] Generated Node #2: [20, 46, 18] from Operation: 90/5=18 Current State: 84:[20, 46, 18], Operations: ['90/5=18'] Exploring Operation: 20+46=66, Resulting Numbers: [18, 66] Generated Node #3: [18, 66] from Operation: 20+46=66 Current State: 84:[18, 66], Operations: ['90/5=18', '20+46=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[90, 20, 5, 46], Operations: [] Exploring Operation: 90-46=44, Resulting Numbers: [20, 5, 44] Generated Node #0,0: 84:[20, 5, 44] Operation: 90-46=44 Exploring Operation: 90-5=85, Resulting Numbers: [20, 46, 85] Generated Node #0,1: 84:[20, 46, 85] Operation: 90-5=85 Moving to Node #0,0 Current State: 84:[20, 5, 44], Operations: ['90-46=44'] Exploring Operation: 20-5=15, Resulting Numbers: [44, 15] Generated Node #0,0,0: 84:[44, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [44, 4] Generated Node #0,0,1: 84:[44, 4] Operation: 20/5=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[44, 4], Operations: ['90-46=44', '20/5=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[44, 15], Operations: ['90-46=44', '20-5=15'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,84 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: 84:[20, 46, 85], Operations: ['90-5=85'] Exploring Operation: 85-46=39, Resulting Numbers: [20, 39] Generated Node #0,1,0: 84:[20, 39] Operation: 85-46=39 Exploring Operation: 46-20=26, Resulting Numbers: [85, 26] Generated Node #0,1,1: 84:[85, 26] Operation: 46-20=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[85, 26], Operations: ['90-5=85', '46-20=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[20, 39], Operations: ['90-5=85', '85-46=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,84 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,84 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
[ 1, 66, 70, 18 ]
71
[ "70-66=4", "18*4=72", "72-1=71" ]
Current State: 71:[1, 66, 70, 18], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [1, 18, 4] Generated Node #2: [1, 18, 4] from Operation: 70-66=4 Current State: 71:[1, 18, 4], Operations: ['70-66=4'] Exploring Operation: 18*4=72, Resulting Numbers: [1, 72] Generated Node #3: [1, 72] from Operation: 18*4=72 Current State: 71:[1, 72], Operations: ['70-66=4', '18*4=72'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[1, 66, 70, 18], Operations: [] Exploring Operation: 1+18=19, Resulting Numbers: [66, 70, 19] Generated Node #0,0: 71:[66, 70, 19] Operation: 1+18=19 Exploring Operation: 1+70=71, Resulting Numbers: [66, 18, 71] Generated Node #0,1: 71:[66, 18, 71] Operation: 1+70=71 Exploring Operation: 1+66=67, Resulting Numbers: [70, 18, 67] Generated Node #0,2: 71:[70, 18, 67] Operation: 1+66=67 Exploring Operation: 66/1=66, Resulting Numbers: [70, 18, 66] Generated Node #0,3: 71:[70, 18, 66] Operation: 66/1=66 Exploring Operation: 1*66=66, Resulting Numbers: [70, 18, 66] Generated Node #0,4: 71:[70, 18, 66] Operation: 1*66=66 Moving to Node #0,0 Current State: 71:[66, 70, 19], Operations: ['1+18=19'] Exploring Operation: 70+19=89, Resulting Numbers: [66, 89] Generated Node #0,0,0: 71:[66, 89] Operation: 70+19=89 Exploring Operation: 70-19=51, Resulting Numbers: [66, 51] Generated Node #0,0,1: 71:[66, 51] Operation: 70-19=51 Exploring Operation: 66-19=47, Resulting Numbers: [70, 47] Generated Node #0,0,2: 71:[70, 47] Operation: 66-19=47 Exploring Operation: 66+19=85, Resulting Numbers: [70, 85] Generated Node #0,0,3: 71:[70, 85] Operation: 66+19=85 Exploring Operation: 66+70=136, Resulting Numbers: [19, 136] Generated Node #0,0,4: 71:[19, 136] Operation: 66+70=136 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[70, 85], Operations: ['1+18=19', '66+19=85'] Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,71 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[66, 89], Operations: ['1+18=19', '70+19=89'] Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,71 unequal: No Solution Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,71 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[66, 51], Operations: ['1+18=19', '70-19=51'] Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[70, 47], Operations: ['1+18=19', '66-19=47'] Exploring Operation: 70+47=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 70*47=3290, Resulting Numbers: [3290] 3290,71 unequal: No Solution Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[19, 136], Operations: ['1+18=19', '66+70=136'] Exploring Operation: 19+136=155, Resulting Numbers: [155] 155,71 unequal: No Solution Exploring Operation: 19*136=2584, Resulting Numbers: [2584] 2584,71 unequal: No Solution Exploring Operation: 136-19=117, Resulting Numbers: [117] 117,71 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: 71:[70, 18, 67], Operations: ['1+66=67'] Exploring Operation: 67-18=49, Resulting Numbers: [70, 49] Generated Node #0,2,0: 71:[70, 49] Operation: 67-18=49 Exploring Operation: 70-18=52, Resulting Numbers: [67, 52] Generated Node #0,2,1: 71:[67, 52] Operation: 70-18=52 Exploring Operation: 70+67=137, Resulting Numbers: [18, 137] Generated Node #0,2,2: 71:[18, 137] Operation: 70+67=137 Exploring Operation: 70+18=88, Resulting Numbers: [67, 88] Generated Node #0,2,3: 71:[67, 88] Operation: 70+18=88 Exploring Operation: 18+67=85, Resulting Numbers: [70, 85] Generated Node #0,2,4: 71:[70, 85] Operation: 18+67=85 Moving to Node #0,1 Current State: 71:[66, 18, 71], Operations: ['1+70=71'] Exploring Operation: 66+18=84, Resulting Numbers: [71, 84] Generated Node #0,1,0: 71:[71, 84] Operation: 66+18=84 Exploring Operation: 71-18=53, Resulting Numbers: [66, 53] Generated Node #0,1,1: 71:[66, 53] Operation: 71-18=53 Exploring Operation: 66-18=48, Resulting Numbers: [71, 48] Generated Node #0,1,2: 71:[71, 48] Operation: 66-18=48 Exploring Operation: 18+71=89, Resulting Numbers: [66, 89] Generated Node #0,1,3: 71:[66, 89] Operation: 18+71=89 Exploring Operation: 66+71=137, Resulting Numbers: [18, 137] Generated Node #0,1,4: 71:[18, 137] Operation: 66+71=137 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[71, 84], Operations: ['1+70=71', '66+18=84'] Exploring Operation: 71+84=155, Resulting Numbers: [155] 155,71 unequal: No Solution Exploring Operation: 71*84=5964, Resulting Numbers: [5964] 5964,71 unequal: No Solution Exploring Operation: 84-71=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[66, 53], Operations: ['1+70=71', '71-18=53'] Exploring Operation: 66*53=3498, Resulting Numbers: [3498] 3498,71 unequal: No Solution Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 66+53=119, Resulting Numbers: [119] 119,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[71, 48], Operations: ['1+70=71', '66-18=48'] Exploring Operation: 71+48=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 71*48=3408, Resulting Numbers: [3408] 3408,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[66, 89], Operations: ['1+70=71', '18+71=89'] Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,71 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 71:[18, 137], Operations: ['1+70=71', '66+71=137'] Exploring Operation: 137-18=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 18*137=2466, Resulting Numbers: [2466] 2466,71 unequal: No Solution Exploring Operation: 18+137=155, Resulting Numbers: [155] 155,71 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: 71:[70, 18, 66], Operations: ['66/1=66'] Exploring Operation: 70+18=88, Resulting Numbers: [66, 88] Generated Node #0,3,0: 71:[66, 88] Operation: 70+18=88 Exploring Operation: 70-18=52, Resulting Numbers: [66, 52] Generated Node #0,3,1: 71:[66, 52] Operation: 70-18=52 Exploring Operation: 70+66=136, Resulting Numbers: [18, 136] Generated Node #0,3,2: 71:[18, 136] Operation: 70+66=136 Exploring Operation: 18+66=84, Resulting Numbers: [70, 84] Generated Node #0,3,3: 71:[70, 84] Operation: 18+66=84 Exploring Operation: 66-18=48, Resulting Numbers: [70, 48] Generated Node #0,3,4: 71:[70, 48] Operation: 66-18=48 Moving to Node #0,4 Current State: 71:[70, 18, 66], Operations: ['1*66=66'] Exploring Operation: 66-18=48, Resulting Numbers: [70, 48] Generated Node #0,4,0: 71:[70, 48] Operation: 66-18=48 Exploring Operation: 18+66=84, Resulting Numbers: [70, 84] Generated Node #0,4,1: 71:[70, 84] Operation: 18+66=84 Exploring Operation: 70+66=136, Resulting Numbers: [18, 136] Generated Node #0,4,2: 71:[18, 136] Operation: 70+66=136 Exploring Operation: 70+18=88, Resulting Numbers: [66, 88] Generated Node #0,4,3: 71:[66, 88] Operation: 70+18=88 Exploring Operation: 70-18=52, Resulting Numbers: [66, 52] Generated Node #0,4,4: 71:[66, 52] Operation: 70-18=52 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 71:[70, 84], Operations: ['1*66=66', '18+66=84'] Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,71 unequal: No Solution Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,71 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 71:[66, 88], Operations: ['1*66=66', '70+18=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,71 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[70, 48], Operations: ['1*66=66', '66-18=48'] Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,71 unequal: No Solution Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 71:[66, 52], Operations: ['1*66=66', '70-18=52'] Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 71:[18, 136], Operations: ['1*66=66', '70+66=136'] Exploring Operation: 18*136=2448, Resulting Numbers: [2448] 2448,71 unequal: No Solution Exploring Operation: 136-18=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 18+136=154, Resulting Numbers: [154] 154,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 71:[70, 84], Operations: ['66/1=66', '18+66=84'] Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,71 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[70, 85], Operations: ['1+66=67', '18+67=85'] Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,71 unequal: No Solution Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,71 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[67, 88], Operations: ['1+66=67', '70+18=88'] Exploring Operation: 67*88=5896, Resulting Numbers: [5896] 5896,71 unequal: No Solution Exploring Operation: 67+88=155, Resulting Numbers: [155] 155,71 unequal: No Solution Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[66, 88], Operations: ['66/1=66', '70+18=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,71 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,71 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[70, 49], Operations: ['1+66=67', '67-18=49'] Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 70+49=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 70*49=3430, Resulting Numbers: [3430] 3430,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[67, 52], Operations: ['1+66=67', '70-18=52'] Exploring Operation: 67+52=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 67*52=3484, Resulting Numbers: [3484] 3484,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[70, 48], Operations: ['66/1=66', '66-18=48'] Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,71 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[66, 52], Operations: ['66/1=66', '70-18=52'] Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,71 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[18, 136], Operations: ['66/1=66', '70+66=136'] Exploring Operation: 136-18=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 18*136=2448, Resulting Numbers: [2448] 2448,71 unequal: No Solution Exploring Operation: 18+136=154, Resulting Numbers: [154] 154,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[18, 137], Operations: ['1+66=67', '70+67=137'] Exploring Operation: 18*137=2466, Resulting Numbers: [2466] 2466,71 unequal: No Solution Exploring Operation: 137-18=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 18+137=155, Resulting Numbers: [155] 155,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 71, 20, 70, 34 ]
66
[ "34-20=14", "70/14=5", "71-5=66" ]
Current State: 66:[71, 20, 70, 34], Operations: [] Exploring Operation: 34-20=14, Resulting Numbers: [71, 70, 14] Generated Node #2: [71, 70, 14] from Operation: 34-20=14 Current State: 66:[71, 70, 14], Operations: ['34-20=14'] Exploring Operation: 70/14=5, Resulting Numbers: [71, 5] Generated Node #3: [71, 5] from Operation: 70/14=5 Current State: 66:[71, 5], Operations: ['34-20=14', '70/14=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[71, 20, 70, 34], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [20, 34, 1] Generated Node #0,0: 66:[20, 34, 1] Operation: 71-70=1 Exploring Operation: 34-20=14, Resulting Numbers: [71, 70, 14] Generated Node #0,1: 66:[71, 70, 14] Operation: 34-20=14 Exploring Operation: 71-34=37, Resulting Numbers: [20, 70, 37] Generated Node #0,2: 66:[20, 70, 37] Operation: 71-34=37 Exploring Operation: 70-34=36, Resulting Numbers: [71, 20, 36] Generated Node #0,3: 66:[71, 20, 36] Operation: 70-34=36 Moving to Node #0,0 Current State: 66:[20, 34, 1], Operations: ['71-70=1'] Exploring Operation: 20+1=21, Resulting Numbers: [34, 21] Generated Node #0,0,0: 66:[34, 21] Operation: 20+1=21 Exploring Operation: 34-1=33, Resulting Numbers: [20, 33] Generated Node #0,0,1: 66:[20, 33] Operation: 34-1=33 Exploring Operation: 20/1=20, Resulting Numbers: [34, 20] Generated Node #0,0,2: 66:[34, 20] Operation: 20/1=20 Exploring Operation: 20*1=20, Resulting Numbers: [34, 20] Generated Node #0,0,3: 66:[34, 20] Operation: 20*1=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[34, 21], Operations: ['71-70=1', '20+1=21'] Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,66 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[20, 33], Operations: ['71-70=1', '34-1=33'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,66 unequal: No Solution Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[34, 20], Operations: ['71-70=1', '20/1=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[34, 20], Operations: ['71-70=1', '20*1=20'] Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,66 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,66 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: 66:[71, 20, 36], Operations: ['70-34=36'] Exploring Operation: 71-20=51, Resulting Numbers: [36, 51] Generated Node #0,3,0: 66:[36, 51] Operation: 71-20=51 Exploring Operation: 71-36=35, Resulting Numbers: [20, 35] Generated Node #0,3,1: 66:[20, 35] Operation: 71-36=35 Exploring Operation: 36-20=16, Resulting Numbers: [71, 16] Generated Node #0,3,2: 66:[71, 16] Operation: 36-20=16 Exploring Operation: 20+36=56, Resulting Numbers: [71, 56] Generated Node #0,3,3: 66:[71, 56] Operation: 20+36=56 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[20, 35], Operations: ['70-34=36', '71-36=35'] Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[71, 16], Operations: ['70-34=36', '36-20=16'] Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,66 unequal: No Solution Exploring Operation: 71*16=1136, Resulting Numbers: [1136] 1136,66 unequal: No Solution Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 66:[71, 56], Operations: ['70-34=36', '20+36=56'] Exploring Operation: 71*56=3976, Resulting Numbers: [3976] 3976,66 unequal: No Solution Exploring Operation: 71+56=127, Resulting Numbers: [127] 127,66 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[36, 51], Operations: ['70-34=36', '71-20=51'] Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,66 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 66:[20, 70, 37], Operations: ['71-34=37'] Exploring Operation: 70-37=33, Resulting Numbers: [20, 33] Generated Node #0,2,0: 66:[20, 33] Operation: 70-37=33 Exploring Operation: 37-20=17, Resulting Numbers: [70, 17] Generated Node #0,2,1: 66:[70, 17] Operation: 37-20=17 Exploring Operation: 70-20=50, Resulting Numbers: [37, 50] Generated Node #0,2,2: 66:[37, 50] Operation: 70-20=50 Exploring Operation: 20+37=57, Resulting Numbers: [70, 57] Generated Node #0,2,3: 66:[70, 57] Operation: 20+37=57 Moving to Node #0,1 Current State: 66:[71, 70, 14], Operations: ['34-20=14'] Exploring Operation: 70-14=56, Resulting Numbers: [71, 56] Generated Node #0,1,0: 66:[71, 56] Operation: 70-14=56 Exploring Operation: 70/14=5, Resulting Numbers: [71, 5] Generated Node #0,1,1: 66:[71, 5] Operation: 70/14=5 Exploring Operation: 71-14=57, Resulting Numbers: [70, 57] Generated Node #0,1,2: 66:[70, 57] Operation: 71-14=57 Exploring Operation: 71-70=1, Resulting Numbers: [14, 1] Generated Node #0,1,3: 66:[14, 1] Operation: 71-70=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[14, 1], Operations: ['34-20=14', '71-70=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[71, 5], Operations: ['34-20=14', '70/14=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[71, 20, 70, 34], Operations: [] Exploring Operation: 34-20=14, Resulting Numbers: [71, 70, 14] Generated Node #0,1: 66:[71, 70, 14] Operation: 34-20=14 Moving to Node #0,1 Current State: 66:[71, 70, 14], Operations: ['34-20=14'] Exploring Operation: 70/14=5, Resulting Numbers: [71, 5] Generated Node #0,1,1: 66:[71, 5] Operation: 70/14=5 Moving to Node #0,1,1 Current State: 66:[71, 5], Operations: ['34-20=14', '70/14=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic
[ 90, 48, 60, 32 ]
24
[ "90-60=30", "32-30=2", "48/2=24" ]
Current State: 24:[90, 48, 60, 32], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [48, 32, 30] Generated Node #2: [48, 32, 30] from Operation: 90-60=30 Current State: 24:[48, 32, 30], Operations: ['90-60=30'] Exploring Operation: 32-30=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 32-30=2 Current State: 24:[48, 2], Operations: ['90-60=30', '32-30=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[90, 48, 60, 32], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [48, 32, 30] Generated Node #0,0: 24:[48, 32, 30] Operation: 90-60=30 Moving to Node #0,0 Current State: 24:[48, 32, 30], Operations: ['90-60=30'] Exploring Operation: 48-32=16, Resulting Numbers: [30, 16] Generated Node #0,0,0: 24:[30, 16] Operation: 48-32=16 Moving to Node #0,0,0 Current State: 24:[30, 16], Operations: ['90-60=30', '48-32=16'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,24 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 31, 38, 32, 33 ]
54
[ "33-31=2", "32/2=16", "38+16=54" ]
Current State: 54:[31, 38, 32, 33], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [38, 32, 2] Generated Node #2: [38, 32, 2] from Operation: 33-31=2 Current State: 54:[38, 32, 2], Operations: ['33-31=2'] Exploring Operation: 32/2=16, Resulting Numbers: [38, 16] Generated Node #3: [38, 16] from Operation: 32/2=16 Current State: 54:[38, 16], Operations: ['33-31=2', '32/2=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[31, 38, 32, 33], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [31, 32, 5] Generated Node #0,0: 54:[31, 32, 5] Operation: 38-33=5 Exploring Operation: 38-32=6, Resulting Numbers: [31, 33, 6] Generated Node #0,1: 54:[31, 33, 6] Operation: 38-32=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[31, 32, 5], Operations: ['38-33=5'] Exploring Operation: 32-5=27, Resulting Numbers: [31, 27] Generated Node #0,0,0: 54:[31, 27] Operation: 32-5=27 Exploring Operation: 32-31=1, Resulting Numbers: [5, 1] Generated Node #0,0,1: 54:[5, 1] Operation: 32-31=1 Moving to Node #0,0,1 Current State: 54:[5, 1], Operations: ['38-33=5', '32-31=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[31, 27], Operations: ['38-33=5', '32-5=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[31, 33, 6], Operations: ['38-32=6'] Exploring Operation: 33-31=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 54:[6, 2] Operation: 33-31=2 Exploring Operation: 33-6=27, Resulting Numbers: [31, 27] Generated Node #0,1,1: 54:[31, 27] Operation: 33-6=27 Moving to Node #0,1,0 Current State: 54:[6, 2], Operations: ['38-32=6', '33-31=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[31, 27], Operations: ['38-32=6', '33-6=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,54 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
[ 34, 93, 85, 80 ]
44
[ "93-85=8", "80/8=10", "34+10=44" ]
Current State: 44:[34, 93, 85, 80], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [34, 80, 8] Generated Node #2: [34, 80, 8] from Operation: 93-85=8 Current State: 44:[34, 80, 8], Operations: ['93-85=8'] Exploring Operation: 80/8=10, Resulting Numbers: [34, 10] Generated Node #3: [34, 10] from Operation: 80/8=10 Current State: 44:[34, 10], Operations: ['93-85=8', '80/8=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[34, 93, 85, 80], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [34, 85, 13] Generated Node #0,0: 44:[34, 85, 13] Operation: 93-80=13 Exploring Operation: 93-85=8, Resulting Numbers: [34, 80, 8] Generated Node #0,1: 44:[34, 80, 8] Operation: 93-85=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[34, 80, 8], Operations: ['93-85=8'] Exploring Operation: 80/8=10, Resulting Numbers: [34, 10] Generated Node #0,1,0: 44:[34, 10] Operation: 80/8=10 Exploring Operation: 80-34=46, Resulting Numbers: [8, 46] Generated Node #0,1,1: 44:[8, 46] Operation: 80-34=46 Moving to Node #0,1,1 Current State: 44:[8, 46], Operations: ['93-85=8', '80-34=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,44 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[34, 10], Operations: ['93-85=8', '80/8=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[34, 93, 85, 80], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [34, 80, 8] Generated Node #0,1: 44:[34, 80, 8] Operation: 93-85=8 Moving to Node #0,1 Current State: 44:[34, 80, 8], Operations: ['93-85=8'] Exploring Operation: 80/8=10, Resulting Numbers: [34, 10] Generated Node #0,1,0: 44:[34, 10] Operation: 80/8=10 Moving to Node #0,1,0 Current State: 44:[34, 10], Operations: ['93-85=8', '80/8=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 40, 3, 23, 33 ]
92
[ "40-3=37", "37-33=4", "23*4=92" ]
Current State: 92:[40, 3, 23, 33], Operations: [] Exploring Operation: 40-3=37, Resulting Numbers: [23, 33, 37] Generated Node #2: [23, 33, 37] from Operation: 40-3=37 Current State: 92:[23, 33, 37], Operations: ['40-3=37'] Exploring Operation: 37-33=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 37-33=4 Current State: 92:[23, 4], Operations: ['40-3=37', '37-33=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[40, 3, 23, 33], Operations: [] Exploring Operation: 3*33=99, Resulting Numbers: [40, 23, 99] Generated Node #0,0: 92:[40, 23, 99] Operation: 3*33=99 Exploring Operation: 40+3=43, Resulting Numbers: [23, 33, 43] Generated Node #0,1: 92:[23, 33, 43] Operation: 40+3=43 Exploring Operation: 40-33=7, Resulting Numbers: [3, 23, 7] Generated Node #0,2: 92:[3, 23, 7] Operation: 40-33=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[3, 23, 7], Operations: ['40-33=7'] Exploring Operation: 3+23=26, Resulting Numbers: [7, 26] Generated Node #0,2,0: 92:[7, 26] Operation: 3+23=26 Exploring Operation: 3*7=21, Resulting Numbers: [23, 21] Generated Node #0,2,1: 92:[23, 21] Operation: 3*7=21 Exploring Operation: 7-3=4, Resulting Numbers: [23, 4] Generated Node #0,2,2: 92:[23, 4] Operation: 7-3=4 Moving to Node #0,2,2 Current State: 92:[23, 4], Operations: ['40-33=7', '7-3=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[40, 3, 23, 33], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [3, 23, 7] Generated Node #0,2: 92:[3, 23, 7] Operation: 40-33=7 Moving to Node #0,2 Current State: 92:[3, 23, 7], Operations: ['40-33=7'] Exploring Operation: 7-3=4, Resulting Numbers: [23, 4] Generated Node #0,2,2: 92:[23, 4] Operation: 7-3=4 Moving to Node #0,2,2 Current State: 92:[23, 4], Operations: ['40-33=7', '7-3=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 72, 93, 9, 32 ]
20
[ "93-72=21", "9+32=41", "41-21=20" ]
Current State: 20:[72, 93, 9, 32], Operations: [] Exploring Operation: 93-72=21, Resulting Numbers: [9, 32, 21] Generated Node #2: [9, 32, 21] from Operation: 93-72=21 Current State: 20:[9, 32, 21], Operations: ['93-72=21'] Exploring Operation: 9+32=41, Resulting Numbers: [21, 41] Generated Node #3: [21, 41] from Operation: 9+32=41 Current State: 20:[21, 41], Operations: ['93-72=21', '9+32=41'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[72, 93, 9, 32], Operations: [] Exploring Operation: 93-32=61, Resulting Numbers: [72, 9, 61] Generated Node #0,0: 20:[72, 9, 61] Operation: 93-32=61 Exploring Operation: 72-32=40, Resulting Numbers: [93, 9, 40] Generated Node #0,1: 20:[93, 9, 40] Operation: 72-32=40 Exploring Operation: 93-72=21, Resulting Numbers: [9, 32, 21] Generated Node #0,2: 20:[9, 32, 21] Operation: 93-72=21 Exploring Operation: 72/9=8, Resulting Numbers: [93, 32, 8] Generated Node #0,3: 20:[93, 32, 8] Operation: 72/9=8 Moving to Node #0,2 Current State: 20:[9, 32, 21], Operations: ['93-72=21'] Exploring Operation: 32-9=23, Resulting Numbers: [21, 23] Generated Node #0,2,0: 20:[21, 23] Operation: 32-9=23 Exploring Operation: 9+32=41, Resulting Numbers: [21, 41] Generated Node #0,2,1: 20:[21, 41] Operation: 9+32=41 Exploring Operation: 32-21=11, Resulting Numbers: [9, 11] Generated Node #0,2,2: 20:[9, 11] Operation: 32-21=11 Exploring Operation: 21-9=12, Resulting Numbers: [32, 12] Generated Node #0,2,3: 20:[32, 12] Operation: 21-9=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[9, 11], Operations: ['93-72=21', '32-21=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[72, 93, 9, 32], Operations: [] Exploring Operation: 93-72=21, Resulting Numbers: [9, 32, 21] Generated Node #0,2: 20:[9, 32, 21] Operation: 93-72=21 Moving to Node #0,2 Current State: 20:[9, 32, 21], Operations: ['93-72=21'] Exploring Operation: 32-21=11, Resulting Numbers: [9, 11] Generated Node #0,2,2: 20:[9, 11] Operation: 32-21=11 Moving to Node #0,2,2 Current State: 20:[9, 11], Operations: ['93-72=21', '32-21=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 70, 45, 42, 10 ]
80
[ "70/10=7", "45+42=87", "87-7=80" ]
Current State: 80:[70, 45, 42, 10], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [45, 42, 7] Generated Node #2: [45, 42, 7] from Operation: 70/10=7 Current State: 80:[45, 42, 7], Operations: ['70/10=7'] Exploring Operation: 45+42=87, Resulting Numbers: [7, 87] Generated Node #3: [7, 87] from Operation: 45+42=87 Current State: 80:[7, 87], Operations: ['70/10=7', '45+42=87'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[70, 45, 42, 10], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [42, 10, 25] Generated Node #0,0: 80:[42, 10, 25] Operation: 70-45=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[42, 10, 25], Operations: ['70-45=25'] Exploring Operation: 42-25=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 80:[10, 17] Operation: 42-25=17 Moving to Node #0,0,0 Current State: 80:[10, 17], Operations: ['70-45=25', '42-25=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,80 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, 95, 47, 98 ]
53
[ "98-95=3", "2*3=6", "47+6=53" ]
Current State: 53:[2, 95, 47, 98], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [2, 47, 3] Generated Node #2: [2, 47, 3] from Operation: 98-95=3 Current State: 53:[2, 47, 3], Operations: ['98-95=3'] Exploring Operation: 2*3=6, Resulting Numbers: [47, 6] Generated Node #3: [47, 6] from Operation: 2*3=6 Current State: 53:[47, 6], Operations: ['98-95=3', '2*3=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[2, 95, 47, 98], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [95, 47, 49] Generated Node #0,0: 53:[95, 47, 49] Operation: 98/2=49 Exploring Operation: 2+47=49, Resulting Numbers: [95, 98, 49] Generated Node #0,1: 53:[95, 98, 49] Operation: 2+47=49 Exploring Operation: 98-2=96, Resulting Numbers: [95, 47, 96] Generated Node #0,2: 53:[95, 47, 96] Operation: 98-2=96 Exploring Operation: 95-2=93, Resulting Numbers: [47, 98, 93] Generated Node #0,3: 53:[47, 98, 93] Operation: 95-2=93 Moving to Node #0,0 Current State: 53:[95, 47, 49], Operations: ['98/2=49'] Exploring Operation: 95-49=46, Resulting Numbers: [47, 46] Generated Node #0,0,0: 53:[47, 46] Operation: 95-49=46 Exploring Operation: 47+49=96, Resulting Numbers: [95, 96] Generated Node #0,0,1: 53:[95, 96] Operation: 47+49=96 Exploring Operation: 95-47=48, Resulting Numbers: [49, 48] Generated Node #0,0,2: 53:[49, 48] Operation: 95-47=48 Exploring Operation: 95+47=142, Resulting Numbers: [49, 142] Generated Node #0,0,3: 53:[49, 142] Operation: 95+47=142 Moving to Node #0,2 Current State: 53:[95, 47, 96], Operations: ['98-2=96'] Exploring Operation: 96-95=1, Resulting Numbers: [47, 1] Generated Node #0,2,0: 53:[47, 1] Operation: 96-95=1 Exploring Operation: 96-47=49, Resulting Numbers: [95, 49] Generated Node #0,2,1: 53:[95, 49] Operation: 96-47=49 Exploring Operation: 95-47=48, Resulting Numbers: [96, 48] Generated Node #0,2,2: 53:[96, 48] Operation: 95-47=48 Exploring Operation: 95+47=142, Resulting Numbers: [96, 142] Generated Node #0,2,3: 53:[96, 142] Operation: 95+47=142 Moving to Node #0,1 Current State: 53:[95, 98, 49], Operations: ['2+47=49'] Exploring Operation: 98/49=2, Resulting Numbers: [95, 2] Generated Node #0,1,0: 53:[95, 2] Operation: 98/49=2 Exploring Operation: 95-49=46, Resulting Numbers: [98, 46] Generated Node #0,1,1: 53:[98, 46] Operation: 95-49=46 Exploring Operation: 98-95=3, Resulting Numbers: [49, 3] Generated Node #0,1,2: 53:[49, 3] Operation: 98-95=3 Exploring Operation: 98-49=49, Resulting Numbers: [95, 49] Generated Node #0,1,3: 53:[95, 49] Operation: 98-49=49 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[95, 49], Operations: ['2+47=49', '98-49=49'] Exploring Operation: 95*49=4655, Resulting Numbers: [4655] 4655,53 unequal: No Solution Exploring Operation: 95+49=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[98, 46], Operations: ['2+47=49', '95-49=46'] Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,53 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[49, 3], Operations: ['2+47=49', '98-95=3'] Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,53 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[95, 2], Operations: ['2+47=49', '98/49=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,53 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,53 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: 53:[47, 98, 93], Operations: ['95-2=93'] Exploring Operation: 98-47=51, Resulting Numbers: [93, 51] Generated Node #0,3,0: 53:[93, 51] Operation: 98-47=51 Exploring Operation: 47+98=145, Resulting Numbers: [93, 145] Generated Node #0,3,1: 53:[93, 145] Operation: 47+98=145 Exploring Operation: 98-93=5, Resulting Numbers: [47, 5] Generated Node #0,3,2: 53:[47, 5] Operation: 98-93=5 Exploring Operation: 93-47=46, Resulting Numbers: [98, 46] Generated Node #0,3,3: 53:[98, 46] Operation: 93-47=46 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[93, 51], Operations: ['95-2=93', '98-47=51'] Exploring Operation: 93*51=4743, Resulting Numbers: [4743] 4743,53 unequal: No Solution Exploring Operation: 93+51=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,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,3,3 Current State: 53:[98, 46], Operations: ['95-2=93', '93-47=46'] Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,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,3,2 Current State: 53:[47, 5], Operations: ['95-2=93', '98-93=5'] Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,53 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,53 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,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,3,1 Current State: 53:[93, 145], Operations: ['95-2=93', '47+98=145'] Exploring Operation: 93*145=13485, Resulting Numbers: [13485] 13485,53 unequal: No Solution Exploring Operation: 145-93=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 93+145=238, Resulting Numbers: [238] 238,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 53:[49, 48], Operations: ['98/2=49', '95-47=48'] Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,53 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[47, 46], Operations: ['98/2=49', '95-49=46'] Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 47+46=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 47*46=2162, Resulting Numbers: [2162] 2162,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[95, 49], Operations: ['98-2=96', '96-47=49'] Exploring Operation: 95*49=4655, Resulting Numbers: [4655] 4655,53 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 95+49=144, Resulting Numbers: [144] 144,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[96, 48], Operations: ['98-2=96', '95-47=48'] Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 96*48=4608, Resulting Numbers: [4608] 4608,53 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[47, 1], Operations: ['98-2=96', '96-95=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[95, 96], Operations: ['98/2=49', '47+49=96'] Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 95*96=9120, Resulting Numbers: [9120] 9120,53 unequal: No Solution Exploring Operation: 95+96=191, Resulting Numbers: [191] 191,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[49, 142], Operations: ['98/2=49', '95+47=142'] Exploring Operation: 142-49=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 49*142=6958, Resulting Numbers: [6958] 6958,53 unequal: No Solution Exploring Operation: 49+142=191, Resulting Numbers: [191] 191,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[96, 142], Operations: ['98-2=96', '95+47=142'] Exploring Operation: 96*142=13632, Resulting Numbers: [13632] 13632,53 unequal: No Solution Exploring Operation: 96+142=238, Resulting Numbers: [238] 238,53 unequal: No Solution Exploring Operation: 142-96=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 23, 39, 71 ]
31
[ "71-23=48", "48/6=8", "39-8=31" ]
Current State: 31:[6, 23, 39, 71], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [6, 39, 48] Generated Node #2: [6, 39, 48] from Operation: 71-23=48 Current State: 31:[6, 39, 48], Operations: ['71-23=48'] Exploring Operation: 48/6=8, Resulting Numbers: [39, 8] Generated Node #3: [39, 8] from Operation: 48/6=8 Current State: 31:[39, 8], Operations: ['71-23=48', '48/6=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[6, 23, 39, 71], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [6, 23, 32] Generated Node #0,0: 31:[6, 23, 32] Operation: 71-39=32 Exploring Operation: 39-6=33, Resulting Numbers: [23, 71, 33] Generated Node #0,1: 31:[23, 71, 33] Operation: 39-6=33 Exploring Operation: 71-6=65, Resulting Numbers: [23, 39, 65] Generated Node #0,2: 31:[23, 39, 65] Operation: 71-6=65 Exploring Operation: 6+23=29, Resulting Numbers: [39, 71, 29] Generated Node #0,3: 31:[39, 71, 29] Operation: 6+23=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[6, 23, 32], Operations: ['71-39=32'] Exploring Operation: 6+23=29, Resulting Numbers: [32, 29] Generated Node #0,0,0: 31:[32, 29] Operation: 6+23=29 Exploring Operation: 32-6=26, Resulting Numbers: [23, 26] Generated Node #0,0,1: 31:[23, 26] Operation: 32-6=26 Exploring Operation: 6+32=38, Resulting Numbers: [23, 38] Generated Node #0,0,2: 31:[23, 38] Operation: 6+32=38 Exploring Operation: 23-6=17, Resulting Numbers: [32, 17] Generated Node #0,0,3: 31:[32, 17] Operation: 23-6=17 Moving to Node #0,0,0 Current State: 31:[32, 29], Operations: ['71-39=32', '6+23=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,31 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[23, 26], Operations: ['71-39=32', '32-6=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,31 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[32, 17], Operations: ['71-39=32', '23-6=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,31 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[23, 38], Operations: ['71-39=32', '6+32=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,31 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[23, 71, 33], Operations: ['39-6=33'] Exploring Operation: 23+71=94, Resulting Numbers: [33, 94] Generated Node #0,1,0: 31:[33, 94] Operation: 23+71=94 Exploring Operation: 71-23=48, Resulting Numbers: [33, 48] Generated Node #0,1,1: 31:[33, 48] Operation: 71-23=48 Exploring Operation: 33-23=10, Resulting Numbers: [71, 10] Generated Node #0,1,2: 31:[71, 10] Operation: 33-23=10 Exploring Operation: 71-33=38, Resulting Numbers: [23, 38] Generated Node #0,1,3: 31:[23, 38] Operation: 71-33=38 Moving to Node #0,1,3 Current State: 31:[23, 38], Operations: ['39-6=33', '71-33=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[33, 48], Operations: ['39-6=33', '71-23=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[71, 10], Operations: ['39-6=33', '33-23=10'] Exploring Operation: 71*10=710, Resulting Numbers: [710] 710,31 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[33, 94], Operations: ['39-6=33', '23+71=94'] Exploring Operation: 33+94=127, Resulting Numbers: [127] 127,31 unequal: No Solution Exploring Operation: 33*94=3102, Resulting Numbers: [3102] 3102,31 unequal: No Solution Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[23, 39, 65], Operations: ['71-6=65'] Exploring Operation: 39-23=16, Resulting Numbers: [65, 16] Generated Node #0,2,0: 31:[65, 16] Operation: 39-23=16 Exploring Operation: 65-23=42, Resulting Numbers: [39, 42] Generated Node #0,2,1: 31:[39, 42] Operation: 65-23=42 Exploring Operation: 65-39=26, Resulting Numbers: [23, 26] Generated Node #0,2,2: 31:[23, 26] Operation: 65-39=26 Exploring Operation: 23+39=62, Resulting Numbers: [65, 62] Generated Node #0,2,3: 31:[65, 62] Operation: 23+39=62 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[23, 26], Operations: ['71-6=65', '65-39=26'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[39, 42], Operations: ['71-6=65', '65-23=42'] Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,31 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[65, 16], Operations: ['71-6=65', '39-23=16'] Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,31 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[65, 62], Operations: ['71-6=65', '23+39=62'] Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,31 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,31 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[39, 71, 29], Operations: ['6+23=29'] Exploring Operation: 39-29=10, Resulting Numbers: [71, 10] Generated Node #0,3,0: 31:[71, 10] Operation: 39-29=10 Exploring Operation: 39+29=68, Resulting Numbers: [71, 68] Generated Node #0,3,1: 31:[71, 68] Operation: 39+29=68 Exploring Operation: 71-39=32, Resulting Numbers: [29, 32] Generated Node #0,3,2: 31:[29, 32] Operation: 71-39=32 Exploring Operation: 71-29=42, Resulting Numbers: [39, 42] Generated Node #0,3,3: 31:[39, 42] Operation: 71-29=42 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[29, 32], Operations: ['6+23=29', '71-39=32'] Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 29*32=928, Resulting Numbers: [928] 928,31 unequal: No Solution Exploring Operation: 29+32=61, Resulting Numbers: [61] 61,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[39, 42], Operations: ['6+23=29', '71-29=42'] Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,31 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[71, 10], Operations: ['6+23=29', '39-29=10'] Exploring Operation: 71*10=710, Resulting Numbers: [710] 710,31 unequal: No Solution Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[71, 68], Operations: ['6+23=29', '39+29=68'] Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 18, 48, 30, 76 ]
36
[ "48+30=78", "78-76=2", "18*2=36" ]
Current State: 36:[18, 48, 30, 76], Operations: [] Exploring Operation: 48+30=78, Resulting Numbers: [18, 76, 78] Generated Node #2: [18, 76, 78] from Operation: 48+30=78 Current State: 36:[18, 76, 78], Operations: ['48+30=78'] Exploring Operation: 78-76=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 78-76=2 Current State: 36:[18, 2], Operations: ['48+30=78', '78-76=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[18, 48, 30, 76], Operations: [] Exploring Operation: 76-30=46, Resulting Numbers: [18, 48, 46] Generated Node #0,0: 36:[18, 48, 46] Operation: 76-30=46 Exploring Operation: 76-48=28, Resulting Numbers: [18, 30, 28] Generated Node #0,1: 36:[18, 30, 28] Operation: 76-48=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[18, 30, 28], Operations: ['76-48=28'] Exploring Operation: 30-28=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 36:[18, 2] Operation: 30-28=2 Exploring Operation: 28-18=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 36:[30, 10] Operation: 28-18=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[18, 2], Operations: ['76-48=28', '30-28=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[18, 48, 30, 76], Operations: [] Exploring Operation: 76-48=28, Resulting Numbers: [18, 30, 28] Generated Node #0,1: 36:[18, 30, 28] Operation: 76-48=28 Moving to Node #0,1 Current State: 36:[18, 30, 28], Operations: ['76-48=28'] Exploring Operation: 30-28=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 36:[18, 2] Operation: 30-28=2 Moving to Node #0,1,0 Current State: 36:[18, 2], Operations: ['76-48=28', '30-28=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 78, 22, 55, 70 ]
70
[ "78-22=56", "56-55=1", "70*1=70" ]
Current State: 70:[78, 22, 55, 70], Operations: [] Exploring Operation: 78-22=56, Resulting Numbers: [55, 70, 56] Generated Node #2: [55, 70, 56] from Operation: 78-22=56 Current State: 70:[55, 70, 56], Operations: ['78-22=56'] Exploring Operation: 56-55=1, Resulting Numbers: [70, 1] Generated Node #3: [70, 1] from Operation: 56-55=1 Current State: 70:[70, 1], Operations: ['78-22=56', '56-55=1'] Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[78, 22, 55, 70], Operations: [] Exploring Operation: 55-22=33, Resulting Numbers: [78, 70, 33] Generated Node #0,0: 70:[78, 70, 33] Operation: 55-22=33 Moving to Node #0,0 Current State: 70:[78, 70, 33], Operations: ['55-22=33'] Exploring Operation: 78-70=8, Resulting Numbers: [33, 8] Generated Node #0,0,0: 70:[33, 8] Operation: 78-70=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[33, 8], Operations: ['55-22=33', '78-70=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 55, 57, 34, 88 ]
57
[ "55+34=89", "89-88=1", "57*1=57" ]
Current State: 57:[55, 57, 34, 88], Operations: [] Exploring Operation: 55+34=89, Resulting Numbers: [57, 88, 89] Generated Node #2: [57, 88, 89] from Operation: 55+34=89 Current State: 57:[57, 88, 89], Operations: ['55+34=89'] Exploring Operation: 89-88=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 89-88=1 Current State: 57:[57, 1], Operations: ['55+34=89', '89-88=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[55, 57, 34, 88], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [55, 34, 31] Generated Node #0,0: 57:[55, 34, 31] Operation: 88-57=31 Exploring Operation: 88-55=33, Resulting Numbers: [57, 34, 33] Generated Node #0,1: 57:[57, 34, 33] Operation: 88-55=33 Exploring Operation: 88-34=54, Resulting Numbers: [55, 57, 54] Generated Node #0,2: 57:[55, 57, 54] Operation: 88-34=54 Moving to Node #0,2 Current State: 57:[55, 57, 54], Operations: ['88-34=54'] Exploring Operation: 57-54=3, Resulting Numbers: [55, 3] Generated Node #0,2,0: 57:[55, 3] Operation: 57-54=3 Exploring Operation: 57-55=2, Resulting Numbers: [54, 2] Generated Node #0,2,1: 57:[54, 2] Operation: 57-55=2 Exploring Operation: 55-54=1, Resulting Numbers: [57, 1] Generated Node #0,2,2: 57:[57, 1] Operation: 55-54=1 Moving to Node #0,0 Current State: 57:[55, 34, 31], Operations: ['88-57=31'] Exploring Operation: 34-31=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 57:[55, 3] Operation: 34-31=3 Exploring Operation: 34+31=65, Resulting Numbers: [55, 65] Generated Node #0,0,1: 57:[55, 65] Operation: 34+31=65 Exploring Operation: 55-34=21, Resulting Numbers: [31, 21] Generated Node #0,0,2: 57:[31, 21] Operation: 55-34=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[55, 3], Operations: ['88-57=31', '34-31=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,57 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[55, 65], Operations: ['88-57=31', '34+31=65'] Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,57 unequal: No Solution Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[31, 21], Operations: ['88-57=31', '55-34=21'] Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,57 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,57 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: 57:[57, 34, 33], Operations: ['88-55=33'] Exploring Operation: 57-34=23, Resulting Numbers: [33, 23] Generated Node #0,1,0: 57:[33, 23] Operation: 57-34=23 Exploring Operation: 34+33=67, Resulting Numbers: [57, 67] Generated Node #0,1,1: 57:[57, 67] Operation: 34+33=67 Exploring Operation: 34-33=1, Resulting Numbers: [57, 1] Generated Node #0,1,2: 57:[57, 1] Operation: 34-33=1 Moving to Node #0,2,0 Current State: 57:[55, 3], Operations: ['88-34=54', '57-54=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,57 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[57, 1], Operations: ['88-34=54', '55-54=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[55, 57, 34, 88], Operations: [] Exploring Operation: 88-34=54, Resulting Numbers: [55, 57, 54] Generated Node #0,2: 57:[55, 57, 54] Operation: 88-34=54 Moving to Node #0,2 Current State: 57:[55, 57, 54], Operations: ['88-34=54'] Exploring Operation: 55-54=1, Resulting Numbers: [57, 1] Generated Node #0,2,2: 57:[57, 1] Operation: 55-54=1 Moving to Node #0,2,2 Current State: 57:[57, 1], Operations: ['88-34=54', '55-54=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 86, 94, 84, 74 ]
54
[ "86-84=2", "74*2=148", "148-94=54" ]
Current State: 54:[86, 94, 84, 74], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [94, 74, 2] Generated Node #2: [94, 74, 2] from Operation: 86-84=2 Current State: 54:[94, 74, 2], Operations: ['86-84=2'] Exploring Operation: 74*2=148, Resulting Numbers: [94, 148] Generated Node #3: [94, 148] from Operation: 74*2=148 Current State: 54:[94, 148], Operations: ['86-84=2', '74*2=148'] Exploring Operation: 148-94=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[86, 94, 84, 74], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [86, 74, 10] Generated Node #0,0: 54:[86, 74, 10] Operation: 94-84=10 Exploring Operation: 94-86=8, Resulting Numbers: [84, 74, 8] Generated Node #0,1: 54:[84, 74, 8] Operation: 94-86=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[84, 74, 8], Operations: ['94-86=8'] Exploring Operation: 84-8=76, Resulting Numbers: [74, 76] Generated Node #0,1,0: 54:[74, 76] Operation: 84-8=76 Exploring Operation: 84-74=10, Resulting Numbers: [8, 10] Generated Node #0,1,1: 54:[8, 10] Operation: 84-74=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[8, 10], Operations: ['94-86=8', '84-74=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,54 unequal: No Solution No 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: 54:[74, 76], Operations: ['94-86=8', '84-8=76'] Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,54 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,54 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: 54:[86, 74, 10], Operations: ['94-84=10'] Exploring Operation: 86-10=76, Resulting Numbers: [74, 76] Generated Node #0,0,0: 54:[74, 76] Operation: 86-10=76 Exploring Operation: 86-74=12, Resulting Numbers: [10, 12] Generated Node #0,0,1: 54:[10, 12] Operation: 86-74=12 Moving to Node #0,0,1 Current State: 54:[10, 12], Operations: ['94-84=10', '86-74=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[74, 76], Operations: ['94-84=10', '86-10=76'] Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 63, 83, 37, 38 ]
19
[ "83-63=20", "38-37=1", "20-1=19" ]
Current State: 19:[63, 83, 37, 38], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [37, 38, 20] Generated Node #2: [37, 38, 20] from Operation: 83-63=20 Current State: 19:[37, 38, 20], Operations: ['83-63=20'] Exploring Operation: 38-37=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 38-37=1 Current State: 19:[20, 1], Operations: ['83-63=20', '38-37=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[63, 83, 37, 38], Operations: [] Exploring Operation: 63-38=25, Resulting Numbers: [83, 37, 25] Generated Node #0,0: 19:[83, 37, 25] Operation: 63-38=25 Exploring Operation: 83-63=20, Resulting Numbers: [37, 38, 20] Generated Node #0,1: 19:[37, 38, 20] Operation: 83-63=20 Exploring Operation: 83-38=45, Resulting Numbers: [63, 37, 45] Generated Node #0,2: 19:[63, 37, 45] Operation: 83-38=45 Moving to Node #0,1 Current State: 19:[37, 38, 20], Operations: ['83-63=20'] Exploring Operation: 38-37=1, Resulting Numbers: [20, 1] Generated Node #0,1,0: 19:[20, 1] Operation: 38-37=1 Exploring Operation: 37-20=17, Resulting Numbers: [38, 17] Generated Node #0,1,1: 19:[38, 17] Operation: 37-20=17 Exploring Operation: 38-20=18, Resulting Numbers: [37, 18] Generated Node #0,1,2: 19:[37, 18] Operation: 38-20=18 Moving to Node #0,0 Current State: 19:[83, 37, 25], Operations: ['63-38=25'] Exploring Operation: 83-37=46, Resulting Numbers: [25, 46] Generated Node #0,0,0: 19:[25, 46] Operation: 83-37=46 Exploring Operation: 83-25=58, Resulting Numbers: [37, 58] Generated Node #0,0,1: 19:[37, 58] Operation: 83-25=58 Exploring Operation: 37-25=12, Resulting Numbers: [83, 12] Generated Node #0,0,2: 19:[83, 12] Operation: 37-25=12 Moving to Node #0,2 Current State: 19:[63, 37, 45], Operations: ['83-38=45'] Exploring Operation: 63-45=18, Resulting Numbers: [37, 18] Generated Node #0,2,0: 19:[37, 18] Operation: 63-45=18 Exploring Operation: 45-37=8, Resulting Numbers: [63, 8] Generated Node #0,2,1: 19:[63, 8] Operation: 45-37=8 Exploring Operation: 63-37=26, Resulting Numbers: [45, 26] Generated Node #0,2,2: 19:[45, 26] Operation: 63-37=26 Moving to Node #0,1,0 Current State: 19:[20, 1], Operations: ['83-63=20', '38-37=1'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,19 unequal: No Solution 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:[63, 83, 37, 38], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [37, 38, 20] Generated Node #0,1: 19:[37, 38, 20] Operation: 83-63=20 Moving to Node #0,1 Current State: 19:[37, 38, 20], Operations: ['83-63=20'] Exploring Operation: 38-37=1, Resulting Numbers: [20, 1] Generated Node #0,1,0: 19:[20, 1] Operation: 38-37=1 Moving to Node #0,1,0 Current State: 19:[20, 1], Operations: ['83-63=20', '38-37=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 18, 73, 42, 35 ]
48
[ "73-18=55", "42-35=7", "55-7=48" ]
Current State: 48:[18, 73, 42, 35], Operations: [] Exploring Operation: 73-18=55, Resulting Numbers: [42, 35, 55] Generated Node #2: [42, 35, 55] from Operation: 73-18=55 Current State: 48:[42, 35, 55], Operations: ['73-18=55'] Exploring Operation: 42-35=7, Resulting Numbers: [55, 7] Generated Node #3: [55, 7] from Operation: 42-35=7 Current State: 48:[55, 7], Operations: ['73-18=55', '42-35=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[18, 73, 42, 35], Operations: [] Exploring Operation: 73-18=55, Resulting Numbers: [42, 35, 55] Generated Node #0,0: 48:[42, 35, 55] Operation: 73-18=55 Exploring Operation: 73-35=38, Resulting Numbers: [18, 42, 38] Generated Node #0,1: 48:[18, 42, 38] Operation: 73-35=38 Exploring Operation: 73-42=31, Resulting Numbers: [18, 35, 31] Generated Node #0,2: 48:[18, 35, 31] Operation: 73-42=31 Exploring Operation: 42-35=7, Resulting Numbers: [18, 73, 7] Generated Node #0,3: 48:[18, 73, 7] Operation: 42-35=7 Moving to Node #0,1 Current State: 48:[18, 42, 38], Operations: ['73-35=38'] Exploring Operation: 42-18=24, Resulting Numbers: [38, 24] Generated Node #0,1,0: 48:[38, 24] Operation: 42-18=24 Exploring Operation: 42-38=4, Resulting Numbers: [18, 4] Generated Node #0,1,1: 48:[18, 4] Operation: 42-38=4 Exploring Operation: 38-18=20, Resulting Numbers: [42, 20] Generated Node #0,1,2: 48:[42, 20] Operation: 38-18=20 Exploring Operation: 18+38=56, Resulting Numbers: [42, 56] Generated Node #0,1,3: 48:[42, 56] Operation: 18+38=56 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[18, 4], Operations: ['73-35=38', '42-38=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[38, 24], Operations: ['73-35=38', '42-18=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,48 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[42, 20], Operations: ['73-35=38', '38-18=20'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[42, 56], Operations: ['73-35=38', '18+38=56'] Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,48 unequal: No Solution Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 48:[18, 35, 31], Operations: ['73-42=31'] Exploring Operation: 35-18=17, Resulting Numbers: [31, 17] Generated Node #0,2,0: 48:[31, 17] Operation: 35-18=17 Exploring Operation: 35-31=4, Resulting Numbers: [18, 4] Generated Node #0,2,1: 48:[18, 4] Operation: 35-31=4 Exploring Operation: 18+35=53, Resulting Numbers: [31, 53] Generated Node #0,2,2: 48:[31, 53] Operation: 18+35=53 Exploring Operation: 18+31=49, Resulting Numbers: [35, 49] Generated Node #0,2,3: 48:[35, 49] Operation: 18+31=49 Moving to Node #0,0 Current State: 48:[42, 35, 55], Operations: ['73-18=55'] Exploring Operation: 55-42=13, Resulting Numbers: [35, 13] Generated Node #0,0,0: 48:[35, 13] Operation: 55-42=13 Exploring Operation: 42+35=77, Resulting Numbers: [55, 77] Generated Node #0,0,1: 48:[55, 77] Operation: 42+35=77 Exploring Operation: 55-35=20, Resulting Numbers: [42, 20] Generated Node #0,0,2: 48:[42, 20] Operation: 55-35=20 Exploring Operation: 42-35=7, Resulting Numbers: [55, 7] Generated Node #0,0,3: 48:[55, 7] Operation: 42-35=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[55, 7], Operations: ['73-18=55', '42-35=7'] Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[18, 73, 42, 35], Operations: [] Exploring Operation: 73-18=55, Resulting Numbers: [42, 35, 55] Generated Node #0,0: 48:[42, 35, 55] Operation: 73-18=55 Moving to Node #0,0 Current State: 48:[42, 35, 55], Operations: ['73-18=55'] Exploring Operation: 42-35=7, Resulting Numbers: [55, 7] Generated Node #0,0,3: 48:[55, 7] Operation: 42-35=7 Moving to Node #0,0,3 Current State: 48:[55, 7], Operations: ['73-18=55', '42-35=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 7, 95, 11, 56 ]
57
[ "7+95=102", "56-11=45", "102-45=57" ]
Current State: 57:[7, 95, 11, 56], Operations: [] Exploring Operation: 7+95=102, Resulting Numbers: [11, 56, 102] Generated Node #2: [11, 56, 102] from Operation: 7+95=102 Current State: 57:[11, 56, 102], Operations: ['7+95=102'] Exploring Operation: 56-11=45, Resulting Numbers: [102, 45] Generated Node #3: [102, 45] from Operation: 56-11=45 Current State: 57:[102, 45], Operations: ['7+95=102', '56-11=45'] Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[7, 95, 11, 56], Operations: [] Exploring Operation: 11-7=4, Resulting Numbers: [95, 56, 4] Generated Node #0,0: 57:[95, 56, 4] Operation: 11-7=4 Exploring Operation: 7+11=18, Resulting Numbers: [95, 56, 18] Generated Node #0,1: 57:[95, 56, 18] Operation: 7+11=18 Exploring Operation: 95-56=39, Resulting Numbers: [7, 11, 39] Generated Node #0,2: 57:[7, 11, 39] Operation: 95-56=39 Exploring Operation: 95-11=84, Resulting Numbers: [7, 56, 84] Generated Node #0,3: 57:[7, 56, 84] Operation: 95-11=84 Exploring Operation: 95-7=88, Resulting Numbers: [11, 56, 88] Generated Node #0,4: 57:[11, 56, 88] Operation: 95-7=88 Moving to Node #0,2 Current State: 57:[7, 11, 39], Operations: ['95-56=39'] Exploring Operation: 7+11=18, Resulting Numbers: [39, 18] Generated Node #0,2,0: 57:[39, 18] Operation: 7+11=18 Exploring Operation: 11+39=50, Resulting Numbers: [7, 50] Generated Node #0,2,1: 57:[7, 50] Operation: 11+39=50 Exploring Operation: 11-7=4, Resulting Numbers: [39, 4] Generated Node #0,2,2: 57:[39, 4] Operation: 11-7=4 Exploring Operation: 7+39=46, Resulting Numbers: [11, 46] Generated Node #0,2,3: 57:[11, 46] Operation: 7+39=46 Exploring Operation: 39-11=28, Resulting Numbers: [7, 28] Generated Node #0,2,4: 57:[7, 28] Operation: 39-11=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[7, 50], Operations: ['95-56=39', '11+39=50'] Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,57 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[7, 95, 11, 56], Operations: [] Exploring Operation: 95-56=39, Resulting Numbers: [7, 11, 39] Generated Node #0,2: 57:[7, 11, 39] Operation: 95-56=39 Moving to Node #0,2 Current State: 57:[7, 11, 39], Operations: ['95-56=39'] Exploring Operation: 11+39=50, Resulting Numbers: [7, 50] Generated Node #0,2,1: 57:[7, 50] Operation: 11+39=50 Moving to Node #0,2,1 Current State: 57:[7, 50], Operations: ['95-56=39', '11+39=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 45, 20, 18, 76 ]
68
[ "20*18=360", "360/45=8", "76-8=68" ]
Current State: 68:[45, 20, 18, 76], Operations: [] Exploring Operation: 20*18=360, Resulting Numbers: [45, 76, 360] Generated Node #2: [45, 76, 360] from Operation: 20*18=360 Current State: 68:[45, 76, 360], Operations: ['20*18=360'] Exploring Operation: 360/45=8, Resulting Numbers: [76, 8] Generated Node #3: [76, 8] from Operation: 360/45=8 Current State: 68:[76, 8], Operations: ['20*18=360', '360/45=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[45, 20, 18, 76], Operations: [] Exploring Operation: 45+18=63, Resulting Numbers: [20, 76, 63] Generated Node #0,0: 68:[20, 76, 63] Operation: 45+18=63 Exploring Operation: 45-20=25, Resulting Numbers: [18, 76, 25] Generated Node #0,1: 68:[18, 76, 25] Operation: 45-20=25 Exploring Operation: 45+20=65, Resulting Numbers: [18, 76, 65] Generated Node #0,2: 68:[18, 76, 65] Operation: 45+20=65 Exploring Operation: 45-18=27, Resulting Numbers: [20, 76, 27] Generated Node #0,3: 68:[20, 76, 27] Operation: 45-18=27 Exploring Operation: 76-45=31, Resulting Numbers: [20, 18, 31] Generated Node #0,4: 68:[20, 18, 31] Operation: 76-45=31 Moving to Node #0,4 Current State: 68:[20, 18, 31], Operations: ['76-45=31'] Exploring Operation: 20+31=51, Resulting Numbers: [18, 51] Generated Node #0,4,0: 68:[18, 51] Operation: 20+31=51 Exploring Operation: 31-18=13, Resulting Numbers: [20, 13] Generated Node #0,4,1: 68:[20, 13] Operation: 31-18=13 Exploring Operation: 31-20=11, Resulting Numbers: [18, 11] Generated Node #0,4,2: 68:[18, 11] Operation: 31-20=11 Exploring Operation: 20-18=2, Resulting Numbers: [31, 2] Generated Node #0,4,3: 68:[31, 2] Operation: 20-18=2 Exploring Operation: 20+18=38, Resulting Numbers: [31, 38] Generated Node #0,4,4: 68:[31, 38] Operation: 20+18=38 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[31, 2], Operations: ['76-45=31', '20-18=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,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,4,1 Current State: 68:[20, 13], Operations: ['76-45=31', '31-18=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,68 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,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,4,2 Current State: 68:[18, 11], Operations: ['76-45=31', '31-20=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,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,4,4 Current State: 68:[31, 38], Operations: ['76-45=31', '20+18=38'] Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,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,4,0 Current State: 68:[18, 51], Operations: ['76-45=31', '20+31=51'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,68 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,68 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: 68:[18, 76, 65], Operations: ['45+20=65'] Exploring Operation: 18+76=94, Resulting Numbers: [65, 94] Generated Node #0,2,0: 68:[65, 94] Operation: 18+76=94 Exploring Operation: 76-65=11, Resulting Numbers: [18, 11] Generated Node #0,2,1: 68:[18, 11] Operation: 76-65=11 Exploring Operation: 76-18=58, Resulting Numbers: [65, 58] Generated Node #0,2,2: 68:[65, 58] Operation: 76-18=58 Exploring Operation: 18+65=83, Resulting Numbers: [76, 83] Generated Node #0,2,3: 68:[76, 83] Operation: 18+65=83 Exploring Operation: 65-18=47, Resulting Numbers: [76, 47] Generated Node #0,2,4: 68:[76, 47] Operation: 65-18=47 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[18, 11], Operations: ['45+20=65', '76-65=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,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,2 Current State: 68:[65, 58], Operations: ['45+20=65', '76-18=58'] Exploring Operation: 65-58=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 65*58=3770, Resulting Numbers: [3770] 3770,68 unequal: No Solution Exploring Operation: 65+58=123, Resulting Numbers: [123] 123,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,4 Current State: 68:[76, 47], Operations: ['45+20=65', '65-18=47'] Exploring Operation: 76+47=123, Resulting Numbers: [123] 123,68 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 76*47=3572, Resulting Numbers: [3572] 3572,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,3 Current State: 68:[76, 83], Operations: ['45+20=65', '18+65=83'] Exploring Operation: 76+83=159, Resulting Numbers: [159] 159,68 unequal: No Solution Exploring Operation: 76*83=6308, Resulting Numbers: [6308] 6308,68 unequal: No Solution Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[65, 94], Operations: ['45+20=65', '18+76=94'] Exploring Operation: 65+94=159, Resulting Numbers: [159] 159,68 unequal: No Solution Exploring Operation: 65*94=6110, Resulting Numbers: [6110] 6110,68 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[20, 76, 63], Operations: ['45+18=63'] Exploring Operation: 76-63=13, Resulting Numbers: [20, 13] Generated Node #0,0,0: 68:[20, 13] Operation: 76-63=13 Exploring Operation: 20+76=96, Resulting Numbers: [63, 96] Generated Node #0,0,1: 68:[63, 96] Operation: 20+76=96 Exploring Operation: 76-20=56, Resulting Numbers: [63, 56] Generated Node #0,0,2: 68:[63, 56] Operation: 76-20=56 Exploring Operation: 20+63=83, Resulting Numbers: [76, 83] Generated Node #0,0,3: 68:[76, 83] Operation: 20+63=83 Exploring Operation: 63-20=43, Resulting Numbers: [76, 43] Generated Node #0,0,4: 68:[76, 43] Operation: 63-20=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[20, 13], Operations: ['45+18=63', '76-63=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,68 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[63, 56], Operations: ['45+18=63', '76-20=56'] Exploring Operation: 63+56=119, Resulting Numbers: [119] 119,68 unequal: No Solution Exploring Operation: 63*56=3528, Resulting Numbers: [3528] 3528,68 unequal: No Solution Exploring Operation: 63-56=7, Resulting Numbers: [7] 7,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,4 Current State: 68:[76, 43], Operations: ['45+18=63', '63-20=43'] Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,68 unequal: No Solution Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,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,3 Current State: 68:[76, 83], Operations: ['45+18=63', '20+63=83'] Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 76*83=6308, Resulting Numbers: [6308] 6308,68 unequal: No Solution Exploring Operation: 76+83=159, Resulting Numbers: [159] 159,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,1 Current State: 68:[63, 96], Operations: ['45+18=63', '20+76=96'] Exploring Operation: 63+96=159, Resulting Numbers: [159] 159,68 unequal: No Solution Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 63*96=6048, Resulting Numbers: [6048] 6048,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 68:[18, 76, 25], Operations: ['45-20=25'] Exploring Operation: 76-18=58, Resulting Numbers: [25, 58] Generated Node #0,1,0: 68:[25, 58] Operation: 76-18=58 Exploring Operation: 76-25=51, Resulting Numbers: [18, 51] Generated Node #0,1,1: 68:[18, 51] Operation: 76-25=51 Exploring Operation: 18+76=94, Resulting Numbers: [25, 94] Generated Node #0,1,2: 68:[25, 94] Operation: 18+76=94 Exploring Operation: 25-18=7, Resulting Numbers: [76, 7] Generated Node #0,1,3: 68:[76, 7] Operation: 25-18=7 Exploring Operation: 18+25=43, Resulting Numbers: [76, 43] Generated Node #0,1,4: 68:[76, 43] Operation: 18+25=43 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 68:[76, 7], Operations: ['45-20=25', '25-18=7'] Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,68 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,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,4 Current State: 68:[76, 43], Operations: ['45-20=25', '18+25=43'] Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,68 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,68 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,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,0 Current State: 68:[25, 58], Operations: ['45-20=25', '76-18=58'] Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,68 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[18, 51], Operations: ['45-20=25', '76-25=51'] Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[25, 94], Operations: ['45-20=25', '18+76=94'] Exploring Operation: 25+94=119, Resulting Numbers: [119] 119,68 unequal: No Solution Exploring Operation: 25*94=2350, Resulting Numbers: [2350] 2350,68 unequal: No Solution Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,68 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: 68:[20, 76, 27], Operations: ['45-18=27'] Exploring Operation: 20+76=96, Resulting Numbers: [27, 96] Generated Node #0,3,0: 68:[27, 96] Operation: 20+76=96 Exploring Operation: 76-20=56, Resulting Numbers: [27, 56] Generated Node #0,3,1: 68:[27, 56] Operation: 76-20=56 Exploring Operation: 27-20=7, Resulting Numbers: [76, 7] Generated Node #0,3,2: 68:[76, 7] Operation: 27-20=7 Exploring Operation: 20+27=47, Resulting Numbers: [76, 47] Generated Node #0,3,3: 68:[76, 47] Operation: 20+27=47 Exploring Operation: 76-27=49, Resulting Numbers: [20, 49] Generated Node #0,3,4: 68:[20, 49] Operation: 76-27=49 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[76, 7], Operations: ['45-18=27', '27-20=7'] Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,68 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,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,3,4 Current State: 68:[20, 49], Operations: ['45-18=27', '76-27=49'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,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,3,1 Current State: 68:[27, 56], Operations: ['45-18=27', '76-20=56'] Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,68 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,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,3,3 Current State: 68:[76, 47], Operations: ['45-18=27', '20+27=47'] Exploring Operation: 76*47=3572, Resulting Numbers: [3572] 3572,68 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 76+47=123, Resulting Numbers: [123] 123,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,3,0 Current State: 68:[27, 96], Operations: ['45-18=27', '20+76=96'] Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,68 unequal: No Solution Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,68 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
[ 2, 18, 21, 28 ]
62
[ "21-18=3", "28+3=31", "2*31=62" ]
Current State: 62:[2, 18, 21, 28], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [2, 28, 3] Generated Node #2: [2, 28, 3] from Operation: 21-18=3 Current State: 62:[2, 28, 3], Operations: ['21-18=3'] Exploring Operation: 28+3=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 28+3=31 Current State: 62:[2, 31], Operations: ['21-18=3', '28+3=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[2, 18, 21, 28], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [2, 28, 3] Generated Node #0,0: 62:[2, 28, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [2, 28, 39] Generated Node #0,1: 62:[2, 28, 39] Operation: 18+21=39 Moving to Node #0,0 Current State: 62:[2, 28, 3], Operations: ['21-18=3'] Exploring Operation: 2+28=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 62:[3, 30] Operation: 2+28=30 Exploring Operation: 28+3=31, Resulting Numbers: [2, 31] Generated Node #0,0,1: 62:[2, 31] Operation: 28+3=31 Moving to Node #0,1 Current State: 62:[2, 28, 39], Operations: ['18+21=39'] Exploring Operation: 2+28=30, Resulting Numbers: [39, 30] Generated Node #0,1,0: 62:[39, 30] Operation: 2+28=30 Exploring Operation: 28+39=67, Resulting Numbers: [2, 67] Generated Node #0,1,1: 62:[2, 67] Operation: 28+39=67 Moving to Node #0,0,1 Current State: 62:[2, 31], Operations: ['21-18=3', '28+3=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[2, 18, 21, 28], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [2, 28, 3] Generated Node #0,0: 62:[2, 28, 3] Operation: 21-18=3 Moving to Node #0,0 Current State: 62:[2, 28, 3], Operations: ['21-18=3'] Exploring Operation: 28+3=31, Resulting Numbers: [2, 31] Generated Node #0,0,1: 62:[2, 31] Operation: 28+3=31 Moving to Node #0,0,1 Current State: 62:[2, 31], Operations: ['21-18=3', '28+3=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 51, 3, 78, 56 ]
91
[ "51-3=48", "78*56=4368", "4368/48=91" ]
Current State: 91:[51, 3, 78, 56], Operations: [] Exploring Operation: 51-3=48, Resulting Numbers: [78, 56, 48] Generated Node #2: [78, 56, 48] from Operation: 51-3=48 Current State: 91:[78, 56, 48], Operations: ['51-3=48'] Exploring Operation: 78*56=4368, Resulting Numbers: [48, 4368] Generated Node #3: [48, 4368] from Operation: 78*56=4368 Current State: 91:[48, 4368], Operations: ['51-3=48', '78*56=4368'] Exploring Operation: 4368/48=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[51, 3, 78, 56], Operations: [] Exploring Operation: 51+56=107, Resulting Numbers: [3, 78, 107] Generated Node #0,0: 91:[3, 78, 107] Operation: 51+56=107 Exploring Operation: 78-56=22, Resulting Numbers: [51, 3, 22] Generated Node #0,1: 91:[51, 3, 22] Operation: 78-56=22 Exploring Operation: 56-51=5, Resulting Numbers: [3, 78, 5] Generated Node #0,2: 91:[3, 78, 5] Operation: 56-51=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[3, 78, 5], Operations: ['56-51=5'] Exploring Operation: 3+5=8, Resulting Numbers: [78, 8] Generated Node #0,2,0: 91:[78, 8] Operation: 3+5=8 Exploring Operation: 78+5=83, Resulting Numbers: [3, 83] Generated Node #0,2,1: 91:[3, 83] Operation: 78+5=83 Exploring Operation: 3+78=81, Resulting Numbers: [5, 81] Generated Node #0,2,2: 91:[5, 81] Operation: 3+78=81 Moving to Node #0,2,1 Current State: 91:[3, 83], Operations: ['56-51=5', '78+5=83'] Exploring Operation: 3*83=249, Resulting Numbers: [249] 249,91 unequal: No Solution Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[5, 81], Operations: ['56-51=5', '3+78=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,91 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[78, 8], Operations: ['56-51=5', '3+5=8'] Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 78*8=624, Resulting Numbers: [624] 624,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[3, 78, 107], Operations: ['51+56=107'] Exploring Operation: 3+78=81, Resulting Numbers: [107, 81] Generated Node #0,0,0: 91:[107, 81] Operation: 3+78=81 Exploring Operation: 107-78=29, Resulting Numbers: [3, 29] Generated Node #0,0,1: 91:[3, 29] Operation: 107-78=29 Exploring Operation: 107-3=104, Resulting Numbers: [78, 104] Generated Node #0,0,2: 91:[78, 104] Operation: 107-3=104 Moving to Node #0,0,1 Current State: 91:[3, 29], Operations: ['51+56=107', '107-78=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,91 unequal: No Solution 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,0,0 Current State: 91:[107, 81], Operations: ['51+56=107', '3+78=81'] Exploring Operation: 107+81=188, Resulting Numbers: [188] 188,91 unequal: No Solution Exploring Operation: 107*81=8667, Resulting Numbers: [8667] 8667,91 unequal: No Solution Exploring Operation: 107-81=26, Resulting Numbers: [26] 26,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[78, 104], Operations: ['51+56=107', '107-3=104'] Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,91 unequal: No Solution Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,91 unequal: No Solution Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,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,1 Current State: 91:[51, 3, 22], Operations: ['78-56=22'] Exploring Operation: 51+22=73, Resulting Numbers: [3, 73] Generated Node #0,1,0: 91:[3, 73] Operation: 51+22=73 Exploring Operation: 51-22=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 91:[3, 29] Operation: 51-22=29 Exploring Operation: 51/3=17, Resulting Numbers: [22, 17] Generated Node #0,1,2: 91:[22, 17] Operation: 51/3=17 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[22, 17], Operations: ['78-56=22', '51/3=17'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,91 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,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:[3, 29], Operations: ['78-56=22', '51-22=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 Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[3, 73], Operations: ['78-56=22', '51+22=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,91 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 77, 42, 83, 54 ]
16
[ "83-77=6", "42+54=96", "96/6=16" ]
Current State: 16:[77, 42, 83, 54], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [42, 54, 6] Generated Node #2: [42, 54, 6] from Operation: 83-77=6 Current State: 16:[42, 54, 6], Operations: ['83-77=6'] Exploring Operation: 42+54=96, Resulting Numbers: [6, 96] Generated Node #3: [6, 96] from Operation: 42+54=96 Current State: 16:[6, 96], Operations: ['83-77=6', '42+54=96'] Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[77, 42, 83, 54], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [42, 83, 23] Generated Node #0,0: 16:[42, 83, 23] Operation: 77-54=23 Exploring Operation: 83-77=6, Resulting Numbers: [42, 54, 6] Generated Node #0,1: 16:[42, 54, 6] Operation: 83-77=6 Moving to Node #0,1 Current State: 16:[42, 54, 6], Operations: ['83-77=6'] Exploring Operation: 54/6=9, Resulting Numbers: [42, 9] Generated Node #0,1,0: 16:[42, 9] Operation: 54/6=9 Exploring Operation: 54-42=12, Resulting Numbers: [6, 12] Generated Node #0,1,1: 16:[6, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[6, 12], Operations: ['83-77=6', '54-42=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[42, 9], Operations: ['83-77=6', '54/6=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 16:[42, 83, 23], Operations: ['77-54=23'] Exploring Operation: 42-23=19, Resulting Numbers: [83, 19] Generated Node #0,0,0: 16:[83, 19] Operation: 42-23=19 Exploring Operation: 83-42=41, Resulting Numbers: [23, 41] Generated Node #0,0,1: 16:[23, 41] Operation: 83-42=41 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[23, 41], Operations: ['77-54=23', '83-42=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[83, 19], Operations: ['77-54=23', '42-23=19'] Exploring Operation: 83+19=102, Resulting Numbers: [102] 102,16 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,16 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
[ 80, 77, 25, 9 ]
68
[ "80+77=157", "25*9=225", "225-157=68" ]
Current State: 68:[80, 77, 25, 9], Operations: [] Exploring Operation: 80+77=157, Resulting Numbers: [25, 9, 157] Generated Node #2: [25, 9, 157] from Operation: 80+77=157 Current State: 68:[25, 9, 157], Operations: ['80+77=157'] Exploring Operation: 25*9=225, Resulting Numbers: [157, 225] Generated Node #3: [157, 225] from Operation: 25*9=225 Current State: 68:[157, 225], Operations: ['80+77=157', '25*9=225'] Exploring Operation: 225-157=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[80, 77, 25, 9], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [25, 9, 3] Generated Node #0,0: 68:[25, 9, 3] Operation: 80-77=3 Exploring Operation: 80-9=71, Resulting Numbers: [77, 25, 71] Generated Node #0,1: 68:[77, 25, 71] Operation: 80-9=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[25, 9, 3], Operations: ['80-77=3'] Exploring Operation: 25-9=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 68:[3, 16] Operation: 25-9=16 Exploring Operation: 25+9=34, Resulting Numbers: [3, 34] Generated Node #0,0,1: 68:[3, 34] Operation: 25+9=34 Moving to Node #0,0,1 Current State: 68:[3, 34], Operations: ['80-77=3', '25+9=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[3, 16], Operations: ['80-77=3', '25-9=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,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:[77, 25, 71], Operations: ['80-9=71'] Exploring Operation: 77-71=6, Resulting Numbers: [25, 6] Generated Node #0,1,0: 68:[25, 6] Operation: 77-71=6 Exploring Operation: 77-25=52, Resulting Numbers: [71, 52] Generated Node #0,1,1: 68:[71, 52] Operation: 77-25=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[25, 6], Operations: ['80-9=71', '77-71=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,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,1,1 Current State: 68:[71, 52], Operations: ['80-9=71', '77-25=52'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 71+52=123, Resulting Numbers: [123] 123,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_2
mult_heuristic
[ 66, 4, 81, 22 ]
82
[ "81-66=15", "4*15=60", "22+60=82" ]
Current State: 82:[66, 4, 81, 22], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [4, 22, 15] Generated Node #2: [4, 22, 15] from Operation: 81-66=15 Current State: 82:[4, 22, 15], Operations: ['81-66=15'] Exploring Operation: 4*15=60, Resulting Numbers: [22, 60] Generated Node #3: [22, 60] from Operation: 4*15=60 Current State: 82:[22, 60], Operations: ['81-66=15', '4*15=60'] Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[66, 4, 81, 22], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [4, 81, 3] Generated Node #0,0: 82:[4, 81, 3] Operation: 66/22=3 Exploring Operation: 66-22=44, Resulting Numbers: [4, 81, 44] Generated Node #0,1: 82:[4, 81, 44] Operation: 66-22=44 Moving to Node #0,0 Current State: 82:[4, 81, 3], Operations: ['66/22=3'] Exploring Operation: 4-3=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 82:[81, 1] Operation: 4-3=1 Exploring Operation: 4+81=85, Resulting Numbers: [3, 85] Generated Node #0,0,1: 82:[3, 85] Operation: 4+81=85 Moving to Node #0,1 Current State: 82:[4, 81, 44], Operations: ['66-22=44'] Exploring Operation: 4+81=85, Resulting Numbers: [44, 85] Generated Node #0,1,0: 82:[44, 85] Operation: 4+81=85 Exploring Operation: 44-4=40, Resulting Numbers: [81, 40] Generated Node #0,1,1: 82:[81, 40] Operation: 44-4=40 Moving to Node #0,0,0 Current State: 82:[81, 1], Operations: ['66/22=3', '4-3=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[66, 4, 81, 22], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [4, 81, 3] Generated Node #0,0: 82:[4, 81, 3] Operation: 66/22=3 Moving to Node #0,0 Current State: 82:[4, 81, 3], Operations: ['66/22=3'] Exploring Operation: 4-3=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 82:[81, 1] Operation: 4-3=1 Moving to Node #0,0,0 Current State: 82:[81, 1], Operations: ['66/22=3', '4-3=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 23, 7, 88, 40 ]
33
[ "23*7=161", "88+40=128", "161-128=33" ]
Current State: 33:[23, 7, 88, 40], Operations: [] Exploring Operation: 23*7=161, Resulting Numbers: [88, 40, 161] Generated Node #2: [88, 40, 161] from Operation: 23*7=161 Current State: 33:[88, 40, 161], Operations: ['23*7=161'] Exploring Operation: 88+40=128, Resulting Numbers: [161, 128] Generated Node #3: [161, 128] from Operation: 88+40=128 Current State: 33:[161, 128], Operations: ['23*7=161', '88+40=128'] Exploring Operation: 161-128=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[23, 7, 88, 40], Operations: [] Exploring Operation: 88-40=48, Resulting Numbers: [23, 7, 48] Generated Node #0,0: 33:[23, 7, 48] Operation: 88-40=48 Exploring Operation: 88-23=65, Resulting Numbers: [7, 40, 65] Generated Node #0,1: 33:[7, 40, 65] Operation: 88-23=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[23, 7, 48], Operations: ['88-40=48'] Exploring Operation: 48-23=25, Resulting Numbers: [7, 25] Generated Node #0,0,0: 33:[7, 25] Operation: 48-23=25 Exploring Operation: 23+7=30, Resulting Numbers: [48, 30] Generated Node #0,0,1: 33:[48, 30] Operation: 23+7=30 Moving to Node #0,0,0 Current State: 33:[7, 25], Operations: ['88-40=48', '48-23=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[48, 30], Operations: ['88-40=48', '23+7=30'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[7, 40, 65], Operations: ['88-23=65'] Exploring Operation: 40-7=33, Resulting Numbers: [65, 33] Generated Node #0,1,0: 33:[65, 33] Operation: 40-7=33 Exploring Operation: 65-40=25, Resulting Numbers: [7, 25] Generated Node #0,1,1: 33:[7, 25] Operation: 65-40=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[7, 25], Operations: ['88-23=65', '65-40=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[65, 33], Operations: ['88-23=65', '40-7=33'] Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 86, 89, 46, 94 ]
44
[ "89-86=3", "46*3=138", "138-94=44" ]
Current State: 44:[86, 89, 46, 94], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [46, 94, 3] Generated Node #2: [46, 94, 3] from Operation: 89-86=3 Current State: 44:[46, 94, 3], Operations: ['89-86=3'] Exploring Operation: 46*3=138, Resulting Numbers: [94, 138] Generated Node #3: [94, 138] from Operation: 46*3=138 Current State: 44:[94, 138], Operations: ['89-86=3', '46*3=138'] Exploring Operation: 138-94=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[86, 89, 46, 94], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [46, 94, 3] Generated Node #0,0: 44:[46, 94, 3] Operation: 89-86=3 Exploring Operation: 94-89=5, Resulting Numbers: [86, 46, 5] Generated Node #0,1: 44:[86, 46, 5] Operation: 94-89=5 Exploring Operation: 94-86=8, Resulting Numbers: [89, 46, 8] Generated Node #0,2: 44:[89, 46, 8] Operation: 94-86=8 Moving to Node #0,1 Current State: 44:[86, 46, 5], Operations: ['94-89=5'] Exploring Operation: 86-5=81, Resulting Numbers: [46, 81] Generated Node #0,1,0: 44:[46, 81] Operation: 86-5=81 Exploring Operation: 86-46=40, Resulting Numbers: [5, 40] Generated Node #0,1,1: 44:[5, 40] Operation: 86-46=40 Exploring Operation: 46-5=41, Resulting Numbers: [86, 41] Generated Node #0,1,2: 44:[86, 41] Operation: 46-5=41 Moving to Node #0,2 Current State: 44:[89, 46, 8], Operations: ['94-86=8'] Exploring Operation: 46-8=38, Resulting Numbers: [89, 38] Generated Node #0,2,0: 44:[89, 38] Operation: 46-8=38 Exploring Operation: 89-46=43, Resulting Numbers: [8, 43] Generated Node #0,2,1: 44:[8, 43] Operation: 89-46=43 Exploring Operation: 89-8=81, Resulting Numbers: [46, 81] Generated Node #0,2,2: 44:[46, 81] Operation: 89-8=81 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[8, 43], Operations: ['94-86=8', '89-46=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,44 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[46, 81], Operations: ['94-86=8', '89-8=81'] Exploring Operation: 46*81=3726, Resulting Numbers: [3726] 3726,44 unequal: No Solution Exploring Operation: 46+81=127, Resulting Numbers: [127] 127,44 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[89, 38], Operations: ['94-86=8', '46-8=38'] Exploring Operation: 89*38=3382, Resulting Numbers: [3382] 3382,44 unequal: No Solution Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 89+38=127, Resulting Numbers: [127] 127,44 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: 44:[46, 94, 3], Operations: ['89-86=3'] Exploring Operation: 94-46=48, Resulting Numbers: [3, 48] Generated Node #0,0,0: 44:[3, 48] Operation: 94-46=48 Exploring Operation: 46-3=43, Resulting Numbers: [94, 43] Generated Node #0,0,1: 44:[94, 43] Operation: 46-3=43 Exploring Operation: 94-3=91, Resulting Numbers: [46, 91] Generated Node #0,0,2: 44:[46, 91] Operation: 94-3=91 Moving to Node #0,1,1 Current State: 44:[5, 40], Operations: ['94-89=5', '86-46=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[3, 48], Operations: ['89-86=3', '94-46=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[46, 81], Operations: ['94-89=5', '86-5=81'] Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 46*81=3726, Resulting Numbers: [3726] 3726,44 unequal: No Solution Exploring Operation: 46+81=127, Resulting Numbers: [127] 127,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[86, 41], Operations: ['94-89=5', '46-5=41'] Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,44 unequal: No Solution Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[46, 91], Operations: ['89-86=3', '94-3=91'] Exploring Operation: 46*91=4186, Resulting Numbers: [4186] 4186,44 unequal: No Solution Exploring Operation: 46+91=137, Resulting Numbers: [137] 137,44 unequal: No Solution Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[94, 43], Operations: ['89-86=3', '46-3=43'] Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,44 unequal: No Solution Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,44 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 23, 50, 25, 34 ]
64
[ "23+50=73", "34-25=9", "73-9=64" ]
Current State: 64:[23, 50, 25, 34], Operations: [] Exploring Operation: 23+50=73, Resulting Numbers: [25, 34, 73] Generated Node #2: [25, 34, 73] from Operation: 23+50=73 Current State: 64:[25, 34, 73], Operations: ['23+50=73'] Exploring Operation: 34-25=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 34-25=9 Current State: 64:[73, 9], Operations: ['23+50=73', '34-25=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[23, 50, 25, 34], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [50, 34, 2] Generated Node #0,0: 64:[50, 34, 2] Operation: 25-23=2 Exploring Operation: 50/25=2, Resulting Numbers: [23, 34, 2] Generated Node #0,1: 64:[23, 34, 2] Operation: 50/25=2 Exploring Operation: 50-34=16, Resulting Numbers: [23, 25, 16] Generated Node #0,2: 64:[23, 25, 16] Operation: 50-34=16 Exploring Operation: 50-25=25, Resulting Numbers: [23, 34, 25] Generated Node #0,3: 64:[23, 34, 25] Operation: 50-25=25 Exploring Operation: 50-23=27, Resulting Numbers: [25, 34, 27] Generated Node #0,4: 64:[25, 34, 27] Operation: 50-23=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[23, 34, 2], Operations: ['50/25=2'] Exploring Operation: 23-2=21, Resulting Numbers: [34, 21] Generated Node #0,1,0: 64:[34, 21] Operation: 23-2=21 Exploring Operation: 23+34=57, Resulting Numbers: [2, 57] Generated Node #0,1,1: 64:[2, 57] Operation: 23+34=57 Exploring Operation: 34-2=32, Resulting Numbers: [23, 32] Generated Node #0,1,2: 64:[23, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [23, 17] Generated Node #0,1,3: 64:[23, 17] Operation: 34/2=17 Exploring Operation: 34-23=11, Resulting Numbers: [2, 11] Generated Node #0,1,4: 64:[2, 11] Operation: 34-23=11 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 64:[2, 11], Operations: ['50/25=2', '34-23=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[34, 21], Operations: ['50/25=2', '23-2=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,64 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[2, 57], Operations: ['50/25=2', '23+34=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,64 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[23, 32], Operations: ['50/25=2', '34-2=32'] Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[23, 17], Operations: ['50/25=2', '34/2=17'] Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,64 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[23, 25, 16], Operations: ['50-34=16'] Exploring Operation: 25-23=2, Resulting Numbers: [16, 2] Generated Node #0,2,0: 64:[16, 2] Operation: 25-23=2 Exploring Operation: 23+16=39, Resulting Numbers: [25, 39] Generated Node #0,2,1: 64:[25, 39] Operation: 23+16=39 Exploring Operation: 25-16=9, Resulting Numbers: [23, 9] Generated Node #0,2,2: 64:[23, 9] Operation: 25-16=9 Exploring Operation: 23+25=48, Resulting Numbers: [16, 48] Generated Node #0,2,3: 64:[16, 48] Operation: 23+25=48 Exploring Operation: 23-16=7, Resulting Numbers: [25, 7] Generated Node #0,2,4: 64:[25, 7] Operation: 23-16=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[16, 2], Operations: ['50-34=16', '25-23=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[23, 9], Operations: ['50-34=16', '25-16=9'] Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,64 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 64:[25, 7], Operations: ['50-34=16', '23-16=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,64 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[25, 39], Operations: ['50-34=16', '23+16=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[23, 50, 25, 34], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [23, 25, 16] Generated Node #0,2: 64:[23, 25, 16] Operation: 50-34=16 Moving to Node #0,2 Current State: 64:[23, 25, 16], Operations: ['50-34=16'] Exploring Operation: 23+16=39, Resulting Numbers: [25, 39] Generated Node #0,2,1: 64:[25, 39] Operation: 23+16=39 Moving to Node #0,2,1 Current State: 64:[25, 39], Operations: ['50-34=16', '23+16=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_5
sum_heuristic
[ 87, 89, 94, 38 ]
66
[ "89-87=2", "94+38=132", "132/2=66" ]
Current State: 66:[87, 89, 94, 38], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [94, 38, 2] Generated Node #2: [94, 38, 2] from Operation: 89-87=2 Current State: 66:[94, 38, 2], Operations: ['89-87=2'] Exploring Operation: 94+38=132, Resulting Numbers: [2, 132] Generated Node #3: [2, 132] from Operation: 94+38=132 Current State: 66:[2, 132], Operations: ['89-87=2', '94+38=132'] Exploring Operation: 132/2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[87, 89, 94, 38], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [87, 38, 5] Generated Node #0,0: 66:[87, 38, 5] Operation: 94-89=5 Moving to Node #0,0 Current State: 66:[87, 38, 5], Operations: ['94-89=5'] Exploring Operation: 87-38=49, Resulting Numbers: [5, 49] Generated Node #0,0,0: 66:[5, 49] Operation: 87-38=49 Moving to Node #0,0,0 Current State: 66:[5, 49], Operations: ['94-89=5', '87-38=49'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,66 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 52, 58, 60, 65 ]
56
[ "60-52=8", "65-58=7", "8*7=56" ]
Current State: 56:[52, 58, 60, 65], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [58, 65, 8] Generated Node #2: [58, 65, 8] from Operation: 60-52=8 Current State: 56:[58, 65, 8], Operations: ['60-52=8'] Exploring Operation: 65-58=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 65-58=7 Current State: 56:[8, 7], Operations: ['60-52=8', '65-58=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[52, 58, 60, 65], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [52, 58, 5] Generated Node #0,0: 56:[52, 58, 5] Operation: 65-60=5 Exploring Operation: 60-58=2, Resulting Numbers: [52, 65, 2] Generated Node #0,1: 56:[52, 65, 2] Operation: 60-58=2 Exploring Operation: 60-52=8, Resulting Numbers: [58, 65, 8] Generated Node #0,2: 56:[58, 65, 8] Operation: 60-52=8 Exploring Operation: 65-58=7, Resulting Numbers: [52, 60, 7] Generated Node #0,3: 56:[52, 60, 7] Operation: 65-58=7 Exploring Operation: 65-52=13, Resulting Numbers: [58, 60, 13] Generated Node #0,4: 56:[58, 60, 13] Operation: 65-52=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[52, 58, 5], Operations: ['65-60=5'] Exploring Operation: 58+5=63, Resulting Numbers: [52, 63] Generated Node #0,0,0: 56:[52, 63] Operation: 58+5=63 Exploring Operation: 52-5=47, Resulting Numbers: [58, 47] Generated Node #0,0,1: 56:[58, 47] Operation: 52-5=47 Exploring Operation: 58-5=53, Resulting Numbers: [52, 53] Generated Node #0,0,2: 56:[52, 53] Operation: 58-5=53 Exploring Operation: 52+5=57, Resulting Numbers: [58, 57] Generated Node #0,0,3: 56:[58, 57] Operation: 52+5=57 Exploring Operation: 58-52=6, Resulting Numbers: [5, 6] Generated Node #0,0,4: 56:[5, 6] Operation: 58-52=6 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 56:[5, 6], Operations: ['65-60=5', '58-52=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,56 unequal: No Solution No 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: 56:[58, 57], Operations: ['65-60=5', '52+5=57'] Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,56 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,56 unequal: No Solution No 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: 56:[52, 53], Operations: ['65-60=5', '58-5=53'] Exploring Operation: 52*53=2756, Resulting Numbers: [2756] 2756,56 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,56 unequal: No Solution No 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: 56:[52, 63], Operations: ['65-60=5', '58+5=63'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 52*63=3276, Resulting Numbers: [3276] 3276,56 unequal: No Solution Exploring Operation: 52+63=115, Resulting Numbers: [115] 115,56 unequal: No Solution No 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: 56:[58, 47], Operations: ['65-60=5', '52-5=47'] Exploring Operation: 58+47=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 58*47=2726, Resulting Numbers: [2726] 2726,56 unequal: No Solution Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,56 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: 56:[58, 60, 13], Operations: ['65-52=13'] Exploring Operation: 60-13=47, Resulting Numbers: [58, 47] Generated Node #0,4,0: 56:[58, 47] Operation: 60-13=47 Exploring Operation: 60-58=2, Resulting Numbers: [13, 2] Generated Node #0,4,1: 56:[13, 2] Operation: 60-58=2 Exploring Operation: 60+13=73, Resulting Numbers: [58, 73] Generated Node #0,4,2: 56:[58, 73] Operation: 60+13=73 Exploring Operation: 58-13=45, Resulting Numbers: [60, 45] Generated Node #0,4,3: 56:[60, 45] Operation: 58-13=45 Exploring Operation: 58+13=71, Resulting Numbers: [60, 71] Generated Node #0,4,4: 56:[60, 71] Operation: 58+13=71 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 56:[13, 2], Operations: ['65-52=13', '60-58=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,56 unequal: No Solution No 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: 56:[58, 47], Operations: ['65-52=13', '60-13=47'] Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 58*47=2726, Resulting Numbers: [2726] 2726,56 unequal: No Solution Exploring Operation: 58+47=105, Resulting Numbers: [105] 105,56 unequal: No Solution No 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: 56:[60, 45], Operations: ['65-52=13', '58-13=45'] Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 56:[58, 73], Operations: ['65-52=13', '60+13=73'] Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,56 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,56 unequal: No Solution No 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: 56:[60, 71], Operations: ['65-52=13', '58+13=71'] Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,56 unequal: No Solution Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,56 unequal: No Solution Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,56 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: 56:[52, 60, 7], Operations: ['65-58=7'] Exploring Operation: 52+7=59, Resulting Numbers: [60, 59] Generated Node #0,3,0: 56:[60, 59] Operation: 52+7=59 Exploring Operation: 52-7=45, Resulting Numbers: [60, 45] Generated Node #0,3,1: 56:[60, 45] Operation: 52-7=45 Exploring Operation: 60-52=8, Resulting Numbers: [7, 8] Generated Node #0,3,2: 56:[7, 8] Operation: 60-52=8 Exploring Operation: 60-7=53, Resulting Numbers: [52, 53] Generated Node #0,3,3: 56:[52, 53] Operation: 60-7=53 Exploring Operation: 60+7=67, Resulting Numbers: [52, 67] Generated Node #0,3,4: 56:[52, 67] Operation: 60+7=67 Moving to Node #0,3,2 Current State: 56:[7, 8], Operations: ['65-58=7', '60-52=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[52, 58, 60, 65], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [52, 60, 7] Generated Node #0,3: 56:[52, 60, 7] Operation: 65-58=7 Moving to Node #0,3 Current State: 56:[52, 60, 7], Operations: ['65-58=7'] Exploring Operation: 60-52=8, Resulting Numbers: [7, 8] Generated Node #0,3,2: 56:[7, 8] Operation: 60-52=8 Moving to Node #0,3,2 Current State: 56:[7, 8], Operations: ['65-58=7', '60-52=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 74, 70, 53, 4 ]
89
[ "74+70=144", "144/4=36", "53+36=89" ]
Current State: 89:[74, 70, 53, 4], Operations: [] Exploring Operation: 74+70=144, Resulting Numbers: [53, 4, 144] Generated Node #2: [53, 4, 144] from Operation: 74+70=144 Current State: 89:[53, 4, 144], Operations: ['74+70=144'] Exploring Operation: 144/4=36, Resulting Numbers: [53, 36] Generated Node #3: [53, 36] from Operation: 144/4=36 Current State: 89:[53, 36], Operations: ['74+70=144', '144/4=36'] Exploring Operation: 53+36=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[74, 70, 53, 4], Operations: [] Exploring Operation: 74+4=78, Resulting Numbers: [70, 53, 78] Generated Node #0,0: 89:[70, 53, 78] Operation: 74+4=78 Exploring Operation: 70+4=74, Resulting Numbers: [74, 53, 74] Generated Node #0,1: 89:[74, 53, 74] Operation: 70+4=74 Exploring Operation: 74-4=70, Resulting Numbers: [70, 53, 70] Generated Node #0,2: 89:[70, 53, 70] Operation: 74-4=70 Exploring Operation: 53+4=57, Resulting Numbers: [74, 70, 57] Generated Node #0,3: 89:[74, 70, 57] Operation: 53+4=57 Moving to Node #0,0 Current State: 89:[70, 53, 78], Operations: ['74+4=78'] Exploring Operation: 53+78=131, Resulting Numbers: [70, 131] Generated Node #0,0,0: 89:[70, 131] Operation: 53+78=131 Exploring Operation: 78-53=25, Resulting Numbers: [70, 25] Generated Node #0,0,1: 89:[70, 25] Operation: 78-53=25 Exploring Operation: 70+53=123, Resulting Numbers: [78, 123] Generated Node #0,0,2: 89:[78, 123] Operation: 70+53=123 Exploring Operation: 70-53=17, Resulting Numbers: [78, 17] Generated Node #0,0,3: 89:[78, 17] Operation: 70-53=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[78, 123], Operations: ['74+4=78', '70+53=123'] Exploring Operation: 123-78=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 78+123=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 78*123=9594, Resulting Numbers: [9594] 9594,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,0,0 Current State: 89:[70, 131], Operations: ['74+4=78', '53+78=131'] Exploring Operation: 70+131=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 131-70=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 70*131=9170, Resulting Numbers: [9170] 9170,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,0,1 Current State: 89:[70, 25], Operations: ['74+4=78', '78-53=25'] Exploring Operation: 70*25=1750, Resulting Numbers: [1750] 1750,89 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,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,0,3 Current State: 89:[78, 17], Operations: ['74+4=78', '70-53=17'] Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,89 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,89 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: 89:[74, 70, 57], Operations: ['53+4=57'] Exploring Operation: 74-57=17, Resulting Numbers: [70, 17] Generated Node #0,3,0: 89:[70, 17] Operation: 74-57=17 Exploring Operation: 70+57=127, Resulting Numbers: [74, 127] Generated Node #0,3,1: 89:[74, 127] Operation: 70+57=127 Exploring Operation: 74+57=131, Resulting Numbers: [70, 131] Generated Node #0,3,2: 89:[70, 131] Operation: 74+57=131 Exploring Operation: 74+70=144, Resulting Numbers: [57, 144] Generated Node #0,3,3: 89:[57, 144] Operation: 74+70=144 Moving to Node #0,1 Current State: 89:[74, 53, 74], Operations: ['70+4=74'] Exploring Operation: 74+53=127, Resulting Numbers: [74, 127] Generated Node #0,1,0: 89:[74, 127] Operation: 74+53=127 Exploring Operation: 53+74=127, Resulting Numbers: [74, 127] Generated Node #0,1,1: 89:[74, 127] Operation: 53+74=127 Exploring Operation: 74-53=21, Resulting Numbers: [74, 21] Generated Node #0,1,2: 89:[74, 21] Operation: 74-53=21 Exploring Operation: 74-53=21, Resulting Numbers: [74, 21] Generated Node #0,1,3: 89:[74, 21] Operation: 74-53=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[74, 127], Operations: ['70+4=74', '74+53=127'] Exploring Operation: 74+127=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 127-74=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 74*127=9398, Resulting Numbers: [9398] 9398,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,1,1 Current State: 89:[74, 127], Operations: ['70+4=74', '53+74=127'] Exploring Operation: 74*127=9398, Resulting Numbers: [9398] 9398,89 unequal: No Solution Exploring Operation: 74+127=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 127-74=53, Resulting Numbers: [53] 53,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,1,2 Current State: 89:[74, 21], Operations: ['70+4=74', '74-53=21'] Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,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,1,3 Current State: 89:[74, 21], Operations: ['70+4=74', '74-53=21'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,89 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: 89:[70, 53, 70], Operations: ['74-4=70'] Exploring Operation: 70-53=17, Resulting Numbers: [70, 17] Generated Node #0,2,0: 89:[70, 17] Operation: 70-53=17 Exploring Operation: 70+53=123, Resulting Numbers: [70, 123] Generated Node #0,2,1: 89:[70, 123] Operation: 70+53=123 Exploring Operation: 53+70=123, Resulting Numbers: [70, 123] Generated Node #0,2,2: 89:[70, 123] Operation: 53+70=123 Exploring Operation: 70+70=140, Resulting Numbers: [53, 140] Generated Node #0,2,3: 89:[53, 140] Operation: 70+70=140 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[70, 123], Operations: ['74-4=70', '70+53=123'] Exploring Operation: 70*123=8610, Resulting Numbers: [8610] 8610,89 unequal: No Solution Exploring Operation: 70+123=193, Resulting Numbers: [193] 193,89 unequal: No Solution Exploring Operation: 123-70=53, Resulting Numbers: [53] 53,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[70, 123], Operations: ['74-4=70', '53+70=123'] Exploring Operation: 70+123=193, Resulting Numbers: [193] 193,89 unequal: No Solution Exploring Operation: 123-70=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 70*123=8610, Resulting Numbers: [8610] 8610,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[53, 140], Operations: ['74-4=70', '70+70=140'] Exploring Operation: 53*140=7420, Resulting Numbers: [7420] 7420,89 unequal: No Solution Exploring Operation: 53+140=193, Resulting Numbers: [193] 193,89 unequal: No Solution Exploring Operation: 140-53=87, Resulting Numbers: [87] 87,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[70, 17], Operations: ['74-4=70', '70-53=17'] Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 70*17=1190, Resulting Numbers: [1190] 1190,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 89:[74, 127], Operations: ['53+4=57', '70+57=127'] Exploring Operation: 74*127=9398, Resulting Numbers: [9398] 9398,89 unequal: No Solution Exploring Operation: 74+127=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 127-74=53, Resulting Numbers: [53] 53,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[70, 131], Operations: ['53+4=57', '74+57=131'] Exploring Operation: 70*131=9170, Resulting Numbers: [9170] 9170,89 unequal: No Solution Exploring Operation: 131-70=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 70+131=201, Resulting Numbers: [201] 201,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[57, 144], Operations: ['53+4=57', '74+70=144'] Exploring Operation: 144-57=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 57*144=8208, Resulting Numbers: [8208] 8208,89 unequal: No Solution Exploring Operation: 57+144=201, Resulting Numbers: [201] 201,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[70, 17], Operations: ['53+4=57', '74-57=17'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 70*17=1190, Resulting Numbers: [1190] 1190,89 unequal: No Solution Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,89 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 68, 54, 61, 23 ]
63
[ "54+61=115", "115/23=5", "68-5=63" ]
Current State: 63:[68, 54, 61, 23], Operations: [] Exploring Operation: 54+61=115, Resulting Numbers: [68, 23, 115] Generated Node #2: [68, 23, 115] from Operation: 54+61=115 Current State: 63:[68, 23, 115], Operations: ['54+61=115'] Exploring Operation: 115/23=5, Resulting Numbers: [68, 5] Generated Node #3: [68, 5] from Operation: 115/23=5 Current State: 63:[68, 5], Operations: ['54+61=115', '115/23=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[68, 54, 61, 23], Operations: [] Exploring Operation: 61-54=7, Resulting Numbers: [68, 23, 7] Generated Node #0,0: 63:[68, 23, 7] Operation: 61-54=7 Exploring Operation: 68-54=14, Resulting Numbers: [61, 23, 14] Generated Node #0,1: 63:[61, 23, 14] Operation: 68-54=14 Exploring Operation: 68-61=7, Resulting Numbers: [54, 23, 7] Generated Node #0,2: 63:[54, 23, 7] Operation: 68-61=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[68, 23, 7], Operations: ['61-54=7'] Exploring Operation: 68-7=61, Resulting Numbers: [23, 61] Generated Node #0,0,0: 63:[23, 61] Operation: 68-7=61 Exploring Operation: 68+7=75, Resulting Numbers: [23, 75] Generated Node #0,0,1: 63:[23, 75] Operation: 68+7=75 Exploring Operation: 23-7=16, Resulting Numbers: [68, 16] Generated Node #0,0,2: 63:[68, 16] Operation: 23-7=16 Moving to Node #0,0,0 Current State: 63:[23, 61], Operations: ['61-54=7', '68-7=61'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,63 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[68, 16], Operations: ['61-54=7', '23-7=16'] Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,63 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[23, 75], Operations: ['61-54=7', '68+7=75'] Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,63 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[61, 23, 14], Operations: ['68-54=14'] Exploring Operation: 61-14=47, Resulting Numbers: [23, 47] Generated Node #0,1,0: 63:[23, 47] Operation: 61-14=47 Exploring Operation: 23-14=9, Resulting Numbers: [61, 9] Generated Node #0,1,1: 63:[61, 9] Operation: 23-14=9 Exploring Operation: 61+14=75, Resulting Numbers: [23, 75] Generated Node #0,1,2: 63:[23, 75] Operation: 61+14=75 Moving to Node #0,1,1 Current State: 63:[61, 9], Operations: ['68-54=14', '23-14=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[23, 75], Operations: ['68-54=14', '61+14=75'] Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,63 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[23, 47], Operations: ['68-54=14', '61-14=47'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 23*47=1081, Resulting Numbers: [1081] 1081,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[54, 23, 7], Operations: ['68-61=7'] Exploring Operation: 54-23=31, Resulting Numbers: [7, 31] Generated Node #0,2,0: 63:[7, 31] Operation: 54-23=31 Exploring Operation: 54+7=61, Resulting Numbers: [23, 61] Generated Node #0,2,1: 63:[23, 61] Operation: 54+7=61 Exploring Operation: 54+23=77, Resulting Numbers: [7, 77] Generated Node #0,2,2: 63:[7, 77] Operation: 54+23=77 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[23, 61], Operations: ['68-61=7', '54+7=61'] Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,63 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[7, 31], Operations: ['68-61=7', '54-23=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,63 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[7, 77], Operations: ['68-61=7', '54+23=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 11, 62, 87, 81 ]
45
[ "62-11=51", "87-81=6", "51-6=45" ]
Current State: 45:[11, 62, 87, 81], Operations: [] Exploring Operation: 62-11=51, Resulting Numbers: [87, 81, 51] Generated Node #2: [87, 81, 51] from Operation: 62-11=51 Current State: 45:[87, 81, 51], Operations: ['62-11=51'] Exploring Operation: 87-81=6, Resulting Numbers: [51, 6] Generated Node #3: [51, 6] from Operation: 87-81=6 Current State: 45:[51, 6], Operations: ['62-11=51', '87-81=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[11, 62, 87, 81], Operations: [] Exploring Operation: 87-11=76, Resulting Numbers: [62, 81, 76] Generated Node #0,0: 45:[62, 81, 76] Operation: 87-11=76 Exploring Operation: 87-81=6, Resulting Numbers: [11, 62, 6] Generated Node #0,1: 45:[11, 62, 6] Operation: 87-81=6 Exploring Operation: 62-11=51, Resulting Numbers: [87, 81, 51] Generated Node #0,2: 45:[87, 81, 51] Operation: 62-11=51 Exploring Operation: 87-62=25, Resulting Numbers: [11, 81, 25] Generated Node #0,3: 45:[11, 81, 25] Operation: 87-62=25 Exploring Operation: 81-62=19, Resulting Numbers: [11, 87, 19] Generated Node #0,4: 45:[11, 87, 19] Operation: 81-62=19 Moving to Node #0,1 Current State: 45:[11, 62, 6], Operations: ['87-81=6'] Exploring Operation: 62+6=68, Resulting Numbers: [11, 68] Generated Node #0,1,0: 45:[11, 68] Operation: 62+6=68 Exploring Operation: 62-11=51, Resulting Numbers: [6, 51] Generated Node #0,1,1: 45:[6, 51] Operation: 62-11=51 Exploring Operation: 62-6=56, Resulting Numbers: [11, 56] Generated Node #0,1,2: 45:[11, 56] Operation: 62-6=56 Exploring Operation: 11-6=5, Resulting Numbers: [62, 5] Generated Node #0,1,3: 45:[62, 5] Operation: 11-6=5 Exploring Operation: 11+6=17, Resulting Numbers: [62, 17] Generated Node #0,1,4: 45:[62, 17] Operation: 11+6=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[6, 51], Operations: ['87-81=6', '62-11=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[11, 62, 87, 81], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [11, 62, 6] Generated Node #0,1: 45:[11, 62, 6] Operation: 87-81=6 Moving to Node #0,1 Current State: 45:[11, 62, 6], Operations: ['87-81=6'] Exploring Operation: 62-11=51, Resulting Numbers: [6, 51] Generated Node #0,1,1: 45:[6, 51] Operation: 62-11=51 Moving to Node #0,1,1 Current State: 45:[6, 51], Operations: ['87-81=6', '62-11=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 21, 47, 49, 41 ]
83
[ "49-47=2", "21*2=42", "41+42=83" ]
Current State: 83:[21, 47, 49, 41], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [21, 41, 2] Generated Node #2: [21, 41, 2] from Operation: 49-47=2 Current State: 83:[21, 41, 2], Operations: ['49-47=2'] Exploring Operation: 21*2=42, Resulting Numbers: [41, 42] Generated Node #3: [41, 42] from Operation: 21*2=42 Current State: 83:[41, 42], Operations: ['49-47=2', '21*2=42'] Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[21, 47, 49, 41], Operations: [] Exploring Operation: 21+47=68, Resulting Numbers: [49, 41, 68] Generated Node #0,0: 83:[49, 41, 68] Operation: 21+47=68 Exploring Operation: 21+41=62, Resulting Numbers: [47, 49, 62] Generated Node #0,1: 83:[47, 49, 62] Operation: 21+41=62 Exploring Operation: 47+41=88, Resulting Numbers: [21, 49, 88] Generated Node #0,2: 83:[21, 49, 88] Operation: 47+41=88 Exploring Operation: 49+41=90, Resulting Numbers: [21, 47, 90] Generated Node #0,3: 83:[21, 47, 90] Operation: 49+41=90 Exploring Operation: 21+49=70, Resulting Numbers: [47, 41, 70] Generated Node #0,4: 83:[47, 41, 70] Operation: 21+49=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[49, 41, 68], Operations: ['21+47=68'] Exploring Operation: 41+68=109, Resulting Numbers: [49, 109] Generated Node #0,0,0: 83:[49, 109] Operation: 41+68=109 Exploring Operation: 49-41=8, Resulting Numbers: [68, 8] Generated Node #0,0,1: 83:[68, 8] Operation: 49-41=8 Exploring Operation: 68-41=27, Resulting Numbers: [49, 27] Generated Node #0,0,2: 83:[49, 27] Operation: 68-41=27 Exploring Operation: 49+68=117, Resulting Numbers: [41, 117] Generated Node #0,0,3: 83:[41, 117] Operation: 49+68=117 Exploring Operation: 49+41=90, Resulting Numbers: [68, 90] Generated Node #0,0,4: 83:[68, 90] Operation: 49+41=90 Moving to Node #0,0,4 Current State: 83:[68, 90], Operations: ['21+47=68', '49+41=90'] Exploring Operation: 68*90=6120, Resulting Numbers: [6120] 6120,83 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 68+90=158, Resulting Numbers: [158] 158,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[49, 109], Operations: ['21+47=68', '41+68=109'] Exploring Operation: 49+109=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 49*109=5341, Resulting Numbers: [5341] 5341,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[41, 117], Operations: ['21+47=68', '49+68=117'] Exploring Operation: 117-41=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 41+117=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 41*117=4797, Resulting Numbers: [4797] 4797,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[68, 8], Operations: ['21+47=68', '49-41=8'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 68*8=544, Resulting Numbers: [544] 544,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[49, 27], Operations: ['21+47=68', '68-41=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,83 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[47, 49, 62], Operations: ['21+41=62'] Exploring Operation: 47+62=109, Resulting Numbers: [49, 109] Generated Node #0,1,0: 83:[49, 109] Operation: 47+62=109 Exploring Operation: 49-47=2, Resulting Numbers: [62, 2] Generated Node #0,1,1: 83:[62, 2] Operation: 49-47=2 Exploring Operation: 62-47=15, Resulting Numbers: [49, 15] Generated Node #0,1,2: 83:[49, 15] Operation: 62-47=15 Exploring Operation: 49+62=111, Resulting Numbers: [47, 111] Generated Node #0,1,3: 83:[47, 111] Operation: 49+62=111 Exploring Operation: 47+49=96, Resulting Numbers: [62, 96] Generated Node #0,1,4: 83:[62, 96] Operation: 47+49=96 Moving to Node #0,1,4 Current State: 83:[62, 96], Operations: ['21+41=62', '47+49=96'] Exploring Operation: 96-62=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 62*96=5952, Resulting Numbers: [5952] 5952,83 unequal: No Solution Exploring Operation: 62+96=158, Resulting Numbers: [158] 158,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[49, 109], Operations: ['21+41=62', '47+62=109'] Exploring Operation: 49+109=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 49*109=5341, Resulting Numbers: [5341] 5341,83 unequal: No Solution Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[47, 111], Operations: ['21+41=62', '49+62=111'] Exploring Operation: 47+111=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,83 unequal: No Solution Exploring Operation: 47*111=5217, Resulting Numbers: [5217] 5217,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[62, 2], Operations: ['21+41=62', '49-47=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,83 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[49, 15], Operations: ['21+41=62', '62-47=15'] Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,83 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[47, 41, 70], Operations: ['21+49=70'] Exploring Operation: 41+70=111, Resulting Numbers: [47, 111] Generated Node #0,4,0: 83:[47, 111] Operation: 41+70=111 Exploring Operation: 47-41=6, Resulting Numbers: [70, 6] Generated Node #0,4,1: 83:[70, 6] Operation: 47-41=6 Exploring Operation: 47+41=88, Resulting Numbers: [70, 88] Generated Node #0,4,2: 83:[70, 88] Operation: 47+41=88 Exploring Operation: 47+70=117, Resulting Numbers: [41, 117] Generated Node #0,4,3: 83:[41, 117] Operation: 47+70=117 Exploring Operation: 70-41=29, Resulting Numbers: [47, 29] Generated Node #0,4,4: 83:[47, 29] Operation: 70-41=29 Moving to Node #0,4,2 Current State: 83:[70, 88], Operations: ['21+49=70', '47+41=88'] Exploring Operation: 70*88=6160, Resulting Numbers: [6160] 6160,83 unequal: No Solution Exploring Operation: 70+88=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[47, 111], Operations: ['21+49=70', '41+70=111'] Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,83 unequal: No Solution Exploring Operation: 47+111=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 47*111=5217, Resulting Numbers: [5217] 5217,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[41, 117], Operations: ['21+49=70', '47+70=117'] Exploring Operation: 41*117=4797, Resulting Numbers: [4797] 4797,83 unequal: No Solution Exploring Operation: 41+117=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 117-41=76, Resulting Numbers: [76] 76,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[70, 6], Operations: ['21+49=70', '47-41=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,83 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[47, 29], Operations: ['21+49=70', '70-41=29'] Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,83 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[21, 49, 88], Operations: ['47+41=88'] Exploring Operation: 21+88=109, Resulting Numbers: [49, 109] Generated Node #0,2,0: 83:[49, 109] Operation: 21+88=109 Exploring Operation: 21+49=70, Resulting Numbers: [88, 70] Generated Node #0,2,1: 83:[88, 70] Operation: 21+49=70 Exploring Operation: 88-21=67, Resulting Numbers: [49, 67] Generated Node #0,2,2: 83:[49, 67] Operation: 88-21=67 Exploring Operation: 88-49=39, Resulting Numbers: [21, 39] Generated Node #0,2,3: 83:[21, 39] Operation: 88-49=39 Exploring Operation: 49-21=28, Resulting Numbers: [88, 28] Generated Node #0,2,4: 83:[88, 28] Operation: 49-21=28 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[88, 70], Operations: ['47+41=88', '21+49=70'] Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,83 unequal: No Solution Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[49, 67], Operations: ['47+41=88', '88-21=67'] Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 49*67=3283, Resulting Numbers: [3283] 3283,83 unequal: No Solution Exploring Operation: 49+67=116, Resulting Numbers: [116] 116,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[49, 109], Operations: ['47+41=88', '21+88=109'] Exploring Operation: 49*109=5341, Resulting Numbers: [5341] 5341,83 unequal: No Solution Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 49+109=158, Resulting Numbers: [158] 158,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 83:[88, 28], Operations: ['47+41=88', '49-21=28'] Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,83 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[21, 39], Operations: ['47+41=88', '88-49=39'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,83 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[21, 47, 90], Operations: ['49+41=90'] Exploring Operation: 90-47=43, Resulting Numbers: [21, 43] Generated Node #0,3,0: 83:[21, 43] Operation: 90-47=43 Exploring Operation: 90-21=69, Resulting Numbers: [47, 69] Generated Node #0,3,1: 83:[47, 69] Operation: 90-21=69 Exploring Operation: 47-21=26, Resulting Numbers: [90, 26] Generated Node #0,3,2: 83:[90, 26] Operation: 47-21=26 Exploring Operation: 21+90=111, Resulting Numbers: [47, 111] Generated Node #0,3,3: 83:[47, 111] Operation: 21+90=111 Exploring Operation: 21+47=68, Resulting Numbers: [90, 68] Generated Node #0,3,4: 83:[90, 68] Operation: 21+47=68 Moving to Node #0,3,4 Current State: 83:[90, 68], Operations: ['49+41=90', '21+47=68'] Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[47, 69], Operations: ['49+41=90', '90-21=69'] Exploring Operation: 47+69=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 69-47=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 47*69=3243, Resulting Numbers: [3243] 3243,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[90, 26], Operations: ['49+41=90', '47-21=26'] Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,83 unequal: No Solution Exploring Operation: 90*26=2340, Resulting Numbers: [2340] 2340,83 unequal: No Solution Exploring Operation: 90+26=116, Resulting Numbers: [116] 116,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[47, 111], Operations: ['49+41=90', '21+90=111'] Exploring Operation: 47*111=5217, Resulting Numbers: [5217] 5217,83 unequal: No Solution Exploring Operation: 47+111=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[21, 43], Operations: ['49+41=90', '90-47=43'] Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,83 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,83 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,83 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
[ 39, 12, 12, 43 ]
39
[ "12-12=0", "43*0=0", "39+0=39" ]
Current State: 39:[39, 12, 12, 43], Operations: [] Exploring Operation: 12-12=0, Resulting Numbers: [39, 43, 0] Generated Node #2: [39, 43, 0] from Operation: 12-12=0 Current State: 39:[39, 43, 0], Operations: ['12-12=0'] Exploring Operation: 43*0=0, Resulting Numbers: [39, 0] Generated Node #3: [39, 0] from Operation: 43*0=0 Current State: 39:[39, 0], Operations: ['12-12=0', '43*0=0'] Exploring Operation: 39+0=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[39, 12, 12, 43], Operations: [] Exploring Operation: 12/12=1, Resulting Numbers: [39, 43, 1] Generated Node #0,0: 39:[39, 43, 1] Operation: 12/12=1 Exploring Operation: 43-39=4, Resulting Numbers: [12, 12, 4] Generated Node #0,1: 39:[12, 12, 4] Operation: 43-39=4 Exploring Operation: 12-12=0, Resulting Numbers: [39, 43, 0] Generated Node #0,2: 39:[39, 43, 0] Operation: 12-12=0 Moving to Node #0,1 Current State: 39:[12, 12, 4], Operations: ['43-39=4'] Exploring Operation: 12/4=3, Resulting Numbers: [12, 3] Generated Node #0,1,0: 39:[12, 3] Operation: 12/4=3 Exploring Operation: 12/4=3, Resulting Numbers: [12, 3] Generated Node #0,1,1: 39:[12, 3] Operation: 12/4=3 Exploring Operation: 12/12=1, Resulting Numbers: [4, 1] Generated Node #0,1,2: 39:[4, 1] Operation: 12/12=1 Moving to Node #0,0 Current State: 39:[39, 43, 1], Operations: ['12/12=1'] Exploring Operation: 43-39=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 39:[1, 4] Operation: 43-39=4 Exploring Operation: 39*1=39, Resulting Numbers: [43, 39] Generated Node #0,0,1: 39:[43, 39] Operation: 39*1=39 Exploring Operation: 43-1=42, Resulting Numbers: [39, 42] Generated Node #0,0,2: 39:[39, 42] Operation: 43-1=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[1, 4], Operations: ['12/12=1', '43-39=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[39, 42], Operations: ['12/12=1', '43-1=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,39 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[43, 39], Operations: ['12/12=1', '39*1=39'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,39 unequal: No Solution Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 39:[39, 43, 0], Operations: ['12-12=0'] Exploring Operation: 39+0=39, Resulting Numbers: [43, 39] Generated Node #0,2,0: 39:[43, 39] Operation: 39+0=39 Exploring Operation: 43*0=0, Resulting Numbers: [39, 0] Generated Node #0,2,1: 39:[39, 0] Operation: 43*0=0 Exploring Operation: 43-39=4, Resulting Numbers: [0, 4] Generated Node #0,2,2: 39:[0, 4] Operation: 43-39=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[39, 0], Operations: ['12-12=0', '43*0=0'] Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[39, 12, 12, 43], Operations: [] Exploring Operation: 12-12=0, Resulting Numbers: [39, 43, 0] Generated Node #0,2: 39:[39, 43, 0] Operation: 12-12=0 Moving to Node #0,2 Current State: 39:[39, 43, 0], Operations: ['12-12=0'] Exploring Operation: 43*0=0, Resulting Numbers: [39, 0] Generated Node #0,2,1: 39:[39, 0] Operation: 43*0=0 Moving to Node #0,2,1 Current State: 39:[39, 0], Operations: ['12-12=0', '43*0=0'] Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 81, 53, 77, 79 ]
55
[ "81+77=158", "158/79=2", "53+2=55" ]
Current State: 55:[81, 53, 77, 79], Operations: [] Exploring Operation: 81+77=158, Resulting Numbers: [53, 79, 158] Generated Node #2: [53, 79, 158] from Operation: 81+77=158 Current State: 55:[53, 79, 158], Operations: ['81+77=158'] Exploring Operation: 158/79=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 158/79=2 Current State: 55:[53, 2], Operations: ['81+77=158', '158/79=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[81, 53, 77, 79], Operations: [] Exploring Operation: 81-53=28, Resulting Numbers: [77, 79, 28] Generated Node #0,0: 55:[77, 79, 28] Operation: 81-53=28 Exploring Operation: 81-77=4, Resulting Numbers: [53, 79, 4] Generated Node #0,1: 55:[53, 79, 4] Operation: 81-77=4 Exploring Operation: 79-77=2, Resulting Numbers: [81, 53, 2] Generated Node #0,2: 55:[81, 53, 2] Operation: 79-77=2 Exploring Operation: 81-79=2, Resulting Numbers: [53, 77, 2] Generated Node #0,3: 55:[53, 77, 2] Operation: 81-79=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[53, 79, 4], Operations: ['81-77=4'] Exploring Operation: 79-4=75, Resulting Numbers: [53, 75] Generated Node #0,1,0: 55:[53, 75] Operation: 79-4=75 Exploring Operation: 53-4=49, Resulting Numbers: [79, 49] Generated Node #0,1,1: 55:[79, 49] Operation: 53-4=49 Exploring Operation: 79-53=26, Resulting Numbers: [4, 26] Generated Node #0,1,2: 55:[4, 26] Operation: 79-53=26 Exploring Operation: 53+4=57, Resulting Numbers: [79, 57] Generated Node #0,1,3: 55:[79, 57] Operation: 53+4=57 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[4, 26], Operations: ['81-77=4', '79-53=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[53, 75], Operations: ['81-77=4', '79-4=75'] Exploring Operation: 53+75=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 53*75=3975, Resulting Numbers: [3975] 3975,55 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[79, 57], Operations: ['81-77=4', '53+4=57'] Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,55 unequal: No Solution Exploring Operation: 79*57=4503, Resulting Numbers: [4503] 4503,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[79, 49], Operations: ['81-77=4', '53-4=49'] Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[53, 77, 2], Operations: ['81-79=2'] Exploring Operation: 53-2=51, Resulting Numbers: [77, 51] Generated Node #0,3,0: 55:[77, 51] Operation: 53-2=51 Exploring Operation: 77-53=24, Resulting Numbers: [2, 24] Generated Node #0,3,1: 55:[2, 24] Operation: 77-53=24 Exploring Operation: 53+2=55, Resulting Numbers: [77, 55] Generated Node #0,3,2: 55:[77, 55] Operation: 53+2=55 Exploring Operation: 77-2=75, Resulting Numbers: [53, 75] Generated Node #0,3,3: 55:[53, 75] Operation: 77-2=75 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 55:[2, 24], Operations: ['81-79=2', '77-53=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[77, 55], Operations: ['81-79=2', '53+2=55'] Exploring Operation: 77*55=4235, Resulting Numbers: [4235] 4235,55 unequal: No Solution Exploring Operation: 77+55=132, Resulting Numbers: [132] 132,55 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[53, 75], Operations: ['81-79=2', '77-2=75'] Exploring Operation: 53*75=3975, Resulting Numbers: [3975] 3975,55 unequal: No Solution Exploring Operation: 53+75=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[77, 51], Operations: ['81-79=2', '53-2=51'] Exploring Operation: 77+51=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 77*51=3927, Resulting Numbers: [3927] 3927,55 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[81, 53, 2], Operations: ['79-77=2'] Exploring Operation: 81-2=79, Resulting Numbers: [53, 79] Generated Node #0,2,0: 55:[53, 79] Operation: 81-2=79 Exploring Operation: 81-53=28, Resulting Numbers: [2, 28] Generated Node #0,2,1: 55:[2, 28] Operation: 81-53=28 Exploring Operation: 81+2=83, Resulting Numbers: [53, 83] Generated Node #0,2,2: 55:[53, 83] Operation: 81+2=83 Exploring Operation: 53+2=55, Resulting Numbers: [81, 55] Generated Node #0,2,3: 55:[81, 55] Operation: 53+2=55 Moving to Node #0,2,1 Current State: 55:[2, 28], Operations: ['79-77=2', '81-53=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[81, 55], Operations: ['79-77=2', '53+2=55'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,55 unequal: No Solution Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[53, 79], Operations: ['79-77=2', '81-2=79'] Exploring Operation: 53*79=4187, Resulting Numbers: [4187] 4187,55 unequal: No Solution Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 53+79=132, Resulting Numbers: [132] 132,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[53, 83], Operations: ['79-77=2', '81+2=83'] Exploring Operation: 83-53=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 53+83=136, Resulting Numbers: [136] 136,55 unequal: No Solution Exploring Operation: 53*83=4399, Resulting Numbers: [4399] 4399,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[77, 79, 28], Operations: ['81-53=28'] Exploring Operation: 77+28=105, Resulting Numbers: [79, 105] Generated Node #0,0,0: 55:[79, 105] Operation: 77+28=105 Exploring Operation: 79-77=2, Resulting Numbers: [28, 2] Generated Node #0,0,1: 55:[28, 2] Operation: 79-77=2 Exploring Operation: 79-28=51, Resulting Numbers: [77, 51] Generated Node #0,0,2: 55:[77, 51] Operation: 79-28=51 Exploring Operation: 77-28=49, Resulting Numbers: [79, 49] Generated Node #0,0,3: 55:[79, 49] Operation: 77-28=49 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[28, 2], Operations: ['81-53=28', '79-77=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[77, 51], Operations: ['81-53=28', '79-28=51'] Exploring Operation: 77*51=3927, Resulting Numbers: [3927] 3927,55 unequal: No Solution Exploring Operation: 77+51=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 55:[79, 49], Operations: ['81-53=28', '77-28=49'] Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,55 unequal: No Solution Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[79, 105], Operations: ['81-53=28', '77+28=105'] Exploring Operation: 105-79=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 79+105=184, Resulting Numbers: [184] 184,55 unequal: No Solution Exploring Operation: 79*105=8295, Resulting Numbers: [8295] 8295,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 92, 19, 71 ]
98
[ "96+92=188", "19+71=90", "188-90=98" ]
Current State: 98:[96, 92, 19, 71], Operations: [] Exploring Operation: 96+92=188, Resulting Numbers: [19, 71, 188] Generated Node #2: [19, 71, 188] from Operation: 96+92=188 Current State: 98:[19, 71, 188], Operations: ['96+92=188'] Exploring Operation: 19+71=90, Resulting Numbers: [188, 90] Generated Node #3: [188, 90] from Operation: 19+71=90 Current State: 98:[188, 90], Operations: ['96+92=188', '19+71=90'] Exploring Operation: 188-90=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[96, 92, 19, 71], Operations: [] Exploring Operation: 71-19=52, Resulting Numbers: [96, 92, 52] Generated Node #0,0: 98:[96, 92, 52] Operation: 71-19=52 Moving to Node #0,0 Current State: 98:[96, 92, 52], Operations: ['71-19=52'] Exploring Operation: 96-92=4, Resulting Numbers: [52, 4] Generated Node #0,0,0: 98:[52, 4] Operation: 96-92=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[52, 4], Operations: ['71-19=52', '96-92=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 37, 9, 68, 55 ]
94
[ "55-37=18", "9*18=162", "162-68=94" ]
Current State: 94:[37, 9, 68, 55], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [9, 68, 18] Generated Node #2: [9, 68, 18] from Operation: 55-37=18 Current State: 94:[9, 68, 18], Operations: ['55-37=18'] Exploring Operation: 9*18=162, Resulting Numbers: [68, 162] Generated Node #3: [68, 162] from Operation: 9*18=162 Current State: 94:[68, 162], Operations: ['55-37=18', '9*18=162'] Exploring Operation: 162-68=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[37, 9, 68, 55], Operations: [] Exploring Operation: 37+68=105, Resulting Numbers: [9, 55, 105] Generated Node #0,0: 94:[9, 55, 105] Operation: 37+68=105 Exploring Operation: 68-55=13, Resulting Numbers: [37, 9, 13] Generated Node #0,1: 94:[37, 9, 13] Operation: 68-55=13 Moving to Node #0,0 Current State: 94:[9, 55, 105], Operations: ['37+68=105'] Exploring Operation: 105-9=96, Resulting Numbers: [55, 96] Generated Node #0,0,0: 94:[55, 96] Operation: 105-9=96 Exploring Operation: 105-55=50, Resulting Numbers: [9, 50] Generated Node #0,0,1: 94:[9, 50] Operation: 105-55=50 Moving to Node #0,1 Current State: 94:[37, 9, 13], Operations: ['68-55=13'] Exploring Operation: 37+9=46, Resulting Numbers: [13, 46] Generated Node #0,1,0: 94:[13, 46] Operation: 37+9=46 Exploring Operation: 37+13=50, Resulting Numbers: [9, 50] Generated Node #0,1,1: 94:[9, 50] Operation: 37+13=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[9, 50], Operations: ['68-55=13', '37+13=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[13, 46], Operations: ['68-55=13', '37+9=46'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 94:[55, 96], Operations: ['37+68=105', '105-9=96'] Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[9, 50], Operations: ['37+68=105', '105-55=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,94 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 51, 98, 12, 40 ]
19
[ "98-51=47", "40-12=28", "47-28=19" ]
Current State: 19:[51, 98, 12, 40], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [12, 40, 47] Generated Node #2: [12, 40, 47] from Operation: 98-51=47 Current State: 19:[12, 40, 47], Operations: ['98-51=47'] Exploring Operation: 40-12=28, Resulting Numbers: [47, 28] Generated Node #3: [47, 28] from Operation: 40-12=28 Current State: 19:[47, 28], Operations: ['98-51=47', '40-12=28'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[51, 98, 12, 40], Operations: [] Exploring Operation: 98-40=58, Resulting Numbers: [51, 12, 58] Generated Node #0,0: 19:[51, 12, 58] Operation: 98-40=58 Exploring Operation: 98-51=47, Resulting Numbers: [12, 40, 47] Generated Node #0,1: 19:[12, 40, 47] Operation: 98-51=47 Exploring Operation: 51-40=11, Resulting Numbers: [98, 12, 11] Generated Node #0,2: 19:[98, 12, 11] Operation: 51-40=11 Moving to Node #0,1 Current State: 19:[12, 40, 47], Operations: ['98-51=47'] Exploring Operation: 47-40=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 19:[12, 7] Operation: 47-40=7 Exploring Operation: 47-12=35, Resulting Numbers: [40, 35] Generated Node #0,1,1: 19:[40, 35] Operation: 47-12=35 Exploring Operation: 40-12=28, Resulting Numbers: [47, 28] Generated Node #0,1,2: 19:[47, 28] Operation: 40-12=28 Moving to Node #0,0 Current State: 19:[51, 12, 58], Operations: ['98-40=58'] Exploring Operation: 51-12=39, Resulting Numbers: [58, 39] Generated Node #0,0,0: 19:[58, 39] Operation: 51-12=39 Exploring Operation: 58-12=46, Resulting Numbers: [51, 46] Generated Node #0,0,1: 19:[51, 46] Operation: 58-12=46 Exploring Operation: 58-51=7, Resulting Numbers: [12, 7] Generated Node #0,0,2: 19:[12, 7] Operation: 58-51=7 Moving to Node #0,2 Current State: 19:[98, 12, 11], Operations: ['51-40=11'] Exploring Operation: 98-11=87, Resulting Numbers: [12, 87] Generated Node #0,2,0: 19:[12, 87] Operation: 98-11=87 Exploring Operation: 12+11=23, Resulting Numbers: [98, 23] Generated Node #0,2,1: 19:[98, 23] Operation: 12+11=23 Exploring Operation: 98-12=86, Resulting Numbers: [11, 86] Generated Node #0,2,2: 19:[11, 86] Operation: 98-12=86 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[12, 87], Operations: ['51-40=11', '98-11=87'] Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,19 unequal: No Solution Exploring Operation: 12*87=1044, Resulting Numbers: [1044] 1044,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:[11, 86], Operations: ['51-40=11', '98-12=86'] Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 11*86=946, Resulting Numbers: [946] 946,19 unequal: No Solution Exploring Operation: 11+86=97, Resulting Numbers: [97] 97,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,1 Current State: 19:[98, 23], Operations: ['51-40=11', '12+11=23'] Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 98*23=2254, Resulting Numbers: [2254] 2254,19 unequal: No Solution Exploring Operation: 98+23=121, Resulting Numbers: [121] 121,19 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: 19:[12, 7], Operations: ['98-51=47', '47-40=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[51, 98, 12, 40], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [12, 40, 47] Generated Node #0,1: 19:[12, 40, 47] Operation: 98-51=47 Moving to Node #0,1 Current State: 19:[12, 40, 47], Operations: ['98-51=47'] Exploring Operation: 47-40=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 19:[12, 7] Operation: 47-40=7 Moving to Node #0,1,0 Current State: 19:[12, 7], Operations: ['98-51=47', '47-40=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 24, 72, 38, 28 ]
38
[ "72-24=48", "38-28=10", "48-10=38" ]
Current State: 38:[24, 72, 38, 28], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [38, 28, 48] Generated Node #2: [38, 28, 48] from Operation: 72-24=48 Current State: 38:[38, 28, 48], Operations: ['72-24=48'] Exploring Operation: 38-28=10, Resulting Numbers: [48, 10] Generated Node #3: [48, 10] from Operation: 38-28=10 Current State: 38:[48, 10], Operations: ['72-24=48', '38-28=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[24, 72, 38, 28], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [38, 28, 3] Generated Node #0,0: 38:[38, 28, 3] Operation: 72/24=3 Exploring Operation: 28-24=4, Resulting Numbers: [72, 38, 4] Generated Node #0,1: 38:[72, 38, 4] Operation: 28-24=4 Exploring Operation: 72-24=48, Resulting Numbers: [38, 28, 48] Generated Node #0,2: 38:[38, 28, 48] Operation: 72-24=48 Exploring Operation: 72-28=44, Resulting Numbers: [24, 38, 44] Generated Node #0,3: 38:[24, 38, 44] Operation: 72-28=44 Exploring Operation: 72-38=34, Resulting Numbers: [24, 28, 34] Generated Node #0,4: 38:[24, 28, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[38, 28, 3], Operations: ['72/24=3'] Exploring Operation: 38+3=41, Resulting Numbers: [28, 41] Generated Node #0,0,0: 38:[28, 41] Operation: 38+3=41 Exploring Operation: 38-28=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 38:[3, 10] Operation: 38-28=10 Exploring Operation: 38-3=35, Resulting Numbers: [28, 35] Generated Node #0,0,2: 38:[28, 35] Operation: 38-3=35 Exploring Operation: 28-3=25, Resulting Numbers: [38, 25] Generated Node #0,0,3: 38:[38, 25] Operation: 28-3=25 Exploring Operation: 28+3=31, Resulting Numbers: [38, 31] Generated Node #0,0,4: 38:[38, 31] Operation: 28+3=31 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[38, 25], Operations: ['72/24=3', '28-3=25'] Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,38 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 38:[38, 31], Operations: ['72/24=3', '28+3=31'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,38 unequal: No Solution Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[3, 10], Operations: ['72/24=3', '38-28=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[28, 41], Operations: ['72/24=3', '38+3=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,38 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[28, 35], Operations: ['72/24=3', '38-3=35'] Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,38 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[24, 38, 44], Operations: ['72-28=44'] Exploring Operation: 44-38=6, Resulting Numbers: [24, 6] Generated Node #0,3,0: 38:[24, 6] Operation: 44-38=6 Exploring Operation: 24+38=62, Resulting Numbers: [44, 62] Generated Node #0,3,1: 38:[44, 62] Operation: 24+38=62 Exploring Operation: 44-24=20, Resulting Numbers: [38, 20] Generated Node #0,3,2: 38:[38, 20] Operation: 44-24=20 Exploring Operation: 24+44=68, Resulting Numbers: [38, 68] Generated Node #0,3,3: 38:[38, 68] Operation: 24+44=68 Exploring Operation: 38-24=14, Resulting Numbers: [44, 14] Generated Node #0,3,4: 38:[44, 14] Operation: 38-24=14 Moving to Node #0,3,2 Current State: 38:[38, 20], Operations: ['72-28=44', '44-24=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,38 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[24, 6], Operations: ['72-28=44', '44-38=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,38 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,38 unequal: No Solution Moving to Node #0,3,4 Current State: 38:[44, 14], Operations: ['72-28=44', '38-24=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[44, 62], Operations: ['72-28=44', '24+38=62'] Exploring Operation: 44*62=2728, Resulting Numbers: [2728] 2728,38 unequal: No Solution Exploring Operation: 44+62=106, Resulting Numbers: [106] 106,38 unequal: No Solution Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[38, 68], Operations: ['72-28=44', '24+44=68'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,38 unequal: No Solution Exploring Operation: 38*68=2584, Resulting Numbers: [2584] 2584,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,4 Current State: 38:[24, 28, 34], Operations: ['72-38=34'] Exploring Operation: 34-28=6, Resulting Numbers: [24, 6] Generated Node #0,4,0: 38:[24, 6] Operation: 34-28=6 Exploring Operation: 28-24=4, Resulting Numbers: [34, 4] Generated Node #0,4,1: 38:[34, 4] Operation: 28-24=4 Exploring Operation: 24+34=58, Resulting Numbers: [28, 58] Generated Node #0,4,2: 38:[28, 58] Operation: 24+34=58 Exploring Operation: 34-24=10, Resulting Numbers: [28, 10] Generated Node #0,4,3: 38:[28, 10] Operation: 34-24=10 Exploring Operation: 24+28=52, Resulting Numbers: [34, 52] Generated Node #0,4,4: 38:[34, 52] Operation: 24+28=52 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 38:[34, 4], Operations: ['72-38=34', '28-24=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[24, 72, 38, 28], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [24, 28, 34] Generated Node #0,4: 38:[24, 28, 34] Operation: 72-38=34 Moving to Node #0,4 Current State: 38:[24, 28, 34], Operations: ['72-38=34'] Exploring Operation: 28-24=4, Resulting Numbers: [34, 4] Generated Node #0,4,1: 38:[34, 4] Operation: 28-24=4 Moving to Node #0,4,1 Current State: 38:[34, 4], Operations: ['72-38=34', '28-24=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic