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
[ 48, 42, 7, 22 ]
35
[ "48-42=6", "7+22=29", "6+29=35" ]
Current State: 35:[48, 42, 7, 22], Operations: [] Exploring Operation: 48-42=6, Resulting Numbers: [7, 22, 6] Generated Node #2: [7, 22, 6] from Operation: 48-42=6 Current State: 35:[7, 22, 6], Operations: ['48-42=6'] Exploring Operation: 7+22=29, Resulting Numbers: [6, 29] Generated Node #3: [6, 29] from Operation: 7+22=29 Current State: 35:[6, 29], Operations: ['48-42=6', '7+22=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[48, 42, 7, 22], Operations: [] Exploring Operation: 48-42=6, Resulting Numbers: [7, 22, 6] Generated Node #0,0: 35:[7, 22, 6] Operation: 48-42=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[7, 22, 6], Operations: ['48-42=6'] Exploring Operation: 7+22=29, Resulting Numbers: [6, 29] Generated Node #0,0,0: 35:[6, 29] Operation: 7+22=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[6, 29], Operations: ['48-42=6', '7+22=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[48, 42, 7, 22], Operations: [] Exploring Operation: 48-42=6, Resulting Numbers: [7, 22, 6] Generated Node #0,0: 35:[7, 22, 6] Operation: 48-42=6 Moving to Node #0,0 Current State: 35:[7, 22, 6], Operations: ['48-42=6'] Exploring Operation: 7+22=29, Resulting Numbers: [6, 29] Generated Node #0,0,0: 35:[6, 29] Operation: 7+22=29 Moving to Node #0,0,0 Current State: 35:[6, 29], Operations: ['48-42=6', '7+22=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 5, 82, 73, 41 ]
86
[ "82-73=9", "5*9=45", "41+45=86" ]
Current State: 86:[5, 82, 73, 41], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [5, 41, 9] Generated Node #2: [5, 41, 9] from Operation: 82-73=9 Current State: 86:[5, 41, 9], Operations: ['82-73=9'] Exploring Operation: 5*9=45, Resulting Numbers: [41, 45] Generated Node #3: [41, 45] from Operation: 5*9=45 Current State: 86:[41, 45], Operations: ['82-73=9', '5*9=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[5, 82, 73, 41], Operations: [] Exploring Operation: 5+82=87, Resulting Numbers: [73, 41, 87] Generated Node #0,0: 86:[73, 41, 87] Operation: 5+82=87 Exploring Operation: 82-73=9, Resulting Numbers: [5, 41, 9] Generated Node #0,1: 86:[5, 41, 9] Operation: 82-73=9 Exploring Operation: 5+73=78, Resulting Numbers: [82, 41, 78] Generated Node #0,2: 86:[82, 41, 78] Operation: 5+73=78 Exploring Operation: 82/41=2, Resulting Numbers: [5, 73, 2] Generated Node #0,3: 86:[5, 73, 2] Operation: 82/41=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[5, 41, 9], Operations: ['82-73=9'] Exploring Operation: 5*9=45, Resulting Numbers: [41, 45] Generated Node #0,1,0: 86:[41, 45] Operation: 5*9=45 Exploring Operation: 5+41=46, Resulting Numbers: [9, 46] Generated Node #0,1,1: 86:[9, 46] Operation: 5+41=46 Exploring Operation: 41+9=50, Resulting Numbers: [5, 50] Generated Node #0,1,2: 86:[5, 50] Operation: 41+9=50 Exploring Operation: 9-5=4, Resulting Numbers: [41, 4] Generated Node #0,1,3: 86:[41, 4] Operation: 9-5=4 Moving to Node #0,1,0 Current State: 86:[41, 45], Operations: ['82-73=9', '5*9=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[5, 82, 73, 41], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [5, 41, 9] Generated Node #0,1: 86:[5, 41, 9] Operation: 82-73=9 Moving to Node #0,1 Current State: 86:[5, 41, 9], Operations: ['82-73=9'] Exploring Operation: 5*9=45, Resulting Numbers: [41, 45] Generated Node #0,1,0: 86:[41, 45] Operation: 5*9=45 Moving to Node #0,1,0 Current State: 86:[41, 45], Operations: ['82-73=9', '5*9=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 28, 70, 46, 8 ]
25
[ "70-46=24", "24/8=3", "28-3=25" ]
Current State: 25:[28, 70, 46, 8], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [28, 8, 24] Generated Node #2: [28, 8, 24] from Operation: 70-46=24 Current State: 25:[28, 8, 24], Operations: ['70-46=24'] Exploring Operation: 24/8=3, Resulting Numbers: [28, 3] Generated Node #3: [28, 3] from Operation: 24/8=3 Current State: 25:[28, 3], Operations: ['70-46=24', '24/8=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[28, 70, 46, 8], Operations: [] Exploring Operation: 46-28=18, Resulting Numbers: [70, 8, 18] Generated Node #0,0: 25:[70, 8, 18] Operation: 46-28=18 Exploring Operation: 70-28=42, Resulting Numbers: [46, 8, 42] Generated Node #0,1: 25:[46, 8, 42] Operation: 70-28=42 Exploring Operation: 70-46=24, Resulting Numbers: [28, 8, 24] Generated Node #0,2: 25:[28, 8, 24] Operation: 70-46=24 Exploring Operation: 70-8=62, Resulting Numbers: [28, 46, 62] Generated Node #0,3: 25:[28, 46, 62] Operation: 70-8=62 Moving to Node #0,2 Current State: 25:[28, 8, 24], Operations: ['70-46=24'] Exploring Operation: 28-8=20, Resulting Numbers: [24, 20] Generated Node #0,2,0: 25:[24, 20] Operation: 28-8=20 Exploring Operation: 28-24=4, Resulting Numbers: [8, 4] Generated Node #0,2,1: 25:[8, 4] Operation: 28-24=4 Exploring Operation: 8+24=32, Resulting Numbers: [28, 32] Generated Node #0,2,2: 25:[28, 32] Operation: 8+24=32 Exploring Operation: 24/8=3, Resulting Numbers: [28, 3] Generated Node #0,2,3: 25:[28, 3] Operation: 24/8=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[8, 4], Operations: ['70-46=24', '28-24=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[28, 3], Operations: ['70-46=24', '24/8=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[28, 70, 46, 8], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [28, 8, 24] Generated Node #0,2: 25:[28, 8, 24] Operation: 70-46=24 Moving to Node #0,2 Current State: 25:[28, 8, 24], Operations: ['70-46=24'] Exploring Operation: 24/8=3, Resulting Numbers: [28, 3] Generated Node #0,2,3: 25:[28, 3] Operation: 24/8=3 Moving to Node #0,2,3 Current State: 25:[28, 3], Operations: ['70-46=24', '24/8=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 95, 38, 25, 27 ]
76
[ "27-25=2", "38/2=19", "95-19=76" ]
Current State: 76:[95, 38, 25, 27], Operations: [] Exploring Operation: 27-25=2, Resulting Numbers: [95, 38, 2] Generated Node #2: [95, 38, 2] from Operation: 27-25=2 Current State: 76:[95, 38, 2], Operations: ['27-25=2'] Exploring Operation: 38/2=19, Resulting Numbers: [95, 19] Generated Node #3: [95, 19] from Operation: 38/2=19 Current State: 76:[95, 19], Operations: ['27-25=2', '38/2=19'] Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[95, 38, 25, 27], Operations: [] Exploring Operation: 95-25=70, Resulting Numbers: [38, 27, 70] Generated Node #0,0: 76:[38, 27, 70] Operation: 95-25=70 Exploring Operation: 95-27=68, Resulting Numbers: [38, 25, 68] Generated Node #0,1: 76:[38, 25, 68] Operation: 95-27=68 Moving to Node #0,0 Current State: 76:[38, 27, 70], Operations: ['95-25=70'] Exploring Operation: 38-27=11, Resulting Numbers: [70, 11] Generated Node #0,0,0: 76:[70, 11] Operation: 38-27=11 Exploring Operation: 70-27=43, Resulting Numbers: [38, 43] Generated Node #0,0,1: 76:[38, 43] Operation: 70-27=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[38, 43], Operations: ['95-25=70', '70-27=43'] Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[70, 11], Operations: ['95-25=70', '38-27=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,76 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: 76:[38, 25, 68], Operations: ['95-27=68'] Exploring Operation: 38-25=13, Resulting Numbers: [68, 13] Generated Node #0,1,0: 76:[68, 13] Operation: 38-25=13 Exploring Operation: 68-25=43, Resulting Numbers: [38, 43] Generated Node #0,1,1: 76:[38, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[38, 43], Operations: ['95-27=68', '68-25=43'] Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,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,0 Current State: 76:[68, 13], Operations: ['95-27=68', '38-25=13'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,76 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
[ 59, 5, 28, 86 ]
57
[ "59+86=145", "145/5=29", "28+29=57" ]
Current State: 57:[59, 5, 28, 86], Operations: [] Exploring Operation: 59+86=145, Resulting Numbers: [5, 28, 145] Generated Node #2: [5, 28, 145] from Operation: 59+86=145 Current State: 57:[5, 28, 145], Operations: ['59+86=145'] Exploring Operation: 145/5=29, Resulting Numbers: [28, 29] Generated Node #3: [28, 29] from Operation: 145/5=29 Current State: 57:[28, 29], Operations: ['59+86=145', '145/5=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[59, 5, 28, 86], Operations: [] Exploring Operation: 86-28=58, Resulting Numbers: [59, 5, 58] Generated Node #0,0: 57:[59, 5, 58] Operation: 86-28=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[59, 5, 58], Operations: ['86-28=58'] Exploring Operation: 59-5=54, Resulting Numbers: [58, 54] Generated Node #0,0,0: 57:[58, 54] Operation: 59-5=54 Moving to Node #0,0,0 Current State: 57:[58, 54], Operations: ['86-28=58', '59-5=54'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,57 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
[ 2, 39, 30, 5 ]
17
[ "5-2=3", "39/3=13", "30-13=17" ]
Current State: 17:[2, 39, 30, 5], Operations: [] Exploring Operation: 5-2=3, Resulting Numbers: [39, 30, 3] Generated Node #2: [39, 30, 3] from Operation: 5-2=3 Current State: 17:[39, 30, 3], Operations: ['5-2=3'] Exploring Operation: 39/3=13, Resulting Numbers: [30, 13] Generated Node #3: [30, 13] from Operation: 39/3=13 Current State: 17:[30, 13], Operations: ['5-2=3', '39/3=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[2, 39, 30, 5], Operations: [] Exploring Operation: 30/2=15, Resulting Numbers: [39, 5, 15] Generated Node #0,0: 17:[39, 5, 15] Operation: 30/2=15 Exploring Operation: 39-30=9, Resulting Numbers: [2, 5, 9] Generated Node #0,1: 17:[2, 5, 9] Operation: 39-30=9 Moving to Node #0,1 Current State: 17:[2, 5, 9], Operations: ['39-30=9'] Exploring Operation: 2*5=10, Resulting Numbers: [9, 10] Generated Node #0,1,0: 17:[9, 10] Operation: 2*5=10 Exploring Operation: 2*9=18, Resulting Numbers: [5, 18] Generated Node #0,1,1: 17:[5, 18] Operation: 2*9=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[5, 18], Operations: ['39-30=9', '2*9=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[9, 10], Operations: ['39-30=9', '2*5=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,17 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: 17:[39, 5, 15], Operations: ['30/2=15'] Exploring Operation: 39-15=24, Resulting Numbers: [5, 24] Generated Node #0,0,0: 17:[5, 24] Operation: 39-15=24 Exploring Operation: 39-5=34, Resulting Numbers: [15, 34] Generated Node #0,0,1: 17:[15, 34] Operation: 39-5=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[5, 24], Operations: ['30/2=15', '39-15=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[15, 34], Operations: ['30/2=15', '39-5=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,17 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
[ 15, 92, 26, 30 ]
40
[ "30/15=2", "26*2=52", "92-52=40" ]
Current State: 40:[15, 92, 26, 30], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [92, 26, 2] Generated Node #2: [92, 26, 2] from Operation: 30/15=2 Current State: 40:[92, 26, 2], Operations: ['30/15=2'] Exploring Operation: 26*2=52, Resulting Numbers: [92, 52] Generated Node #3: [92, 52] from Operation: 26*2=52 Current State: 40:[92, 52], Operations: ['30/15=2', '26*2=52'] Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[15, 92, 26, 30], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [15, 26, 62] Generated Node #0,0: 40:[15, 26, 62] Operation: 92-30=62 Exploring Operation: 92-26=66, Resulting Numbers: [15, 30, 66] Generated Node #0,1: 40:[15, 30, 66] Operation: 92-26=66 Exploring Operation: 92-15=77, Resulting Numbers: [26, 30, 77] Generated Node #0,2: 40:[26, 30, 77] Operation: 92-15=77 Moving to Node #0,0 Current State: 40:[15, 26, 62], Operations: ['92-30=62'] Exploring Operation: 15+26=41, Resulting Numbers: [62, 41] Generated Node #0,0,0: 40:[62, 41] Operation: 15+26=41 Exploring Operation: 62-15=47, Resulting Numbers: [26, 47] Generated Node #0,0,1: 40:[26, 47] Operation: 62-15=47 Exploring Operation: 62-26=36, Resulting Numbers: [15, 36] Generated Node #0,0,2: 40:[15, 36] Operation: 62-26=36 Moving to Node #0,1 Current State: 40:[15, 30, 66], Operations: ['92-26=66'] Exploring Operation: 66-30=36, Resulting Numbers: [15, 36] Generated Node #0,1,0: 40:[15, 36] Operation: 66-30=36 Exploring Operation: 66-15=51, Resulting Numbers: [30, 51] Generated Node #0,1,1: 40:[30, 51] Operation: 66-15=51 Exploring Operation: 30/15=2, Resulting Numbers: [66, 2] Generated Node #0,1,2: 40:[66, 2] Operation: 30/15=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[15, 36], Operations: ['92-26=66', '66-30=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,40 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[30, 51], Operations: ['92-26=66', '66-15=51'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,40 unequal: No Solution Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[66, 2], Operations: ['92-26=66', '30/15=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,40 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: 40:[26, 30, 77], Operations: ['92-15=77'] Exploring Operation: 77-26=51, Resulting Numbers: [30, 51] Generated Node #0,2,0: 40:[30, 51] Operation: 77-26=51 Exploring Operation: 30-26=4, Resulting Numbers: [77, 4] Generated Node #0,2,1: 40:[77, 4] Operation: 30-26=4 Exploring Operation: 77-30=47, Resulting Numbers: [26, 47] Generated Node #0,2,2: 40:[26, 47] Operation: 77-30=47 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 40:[26, 47], Operations: ['92-15=77', '77-30=47'] Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,40 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[30, 51], Operations: ['92-15=77', '77-26=51'] Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 40:[77, 4], Operations: ['92-15=77', '30-26=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,40 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,40 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: 40:[15, 36], Operations: ['92-30=62', '62-26=36'] Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,40 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[26, 47], Operations: ['92-30=62', '62-15=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,40 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[62, 41], Operations: ['92-30=62', '15+26=41'] Exploring Operation: 62*41=2542, Resulting Numbers: [2542] 2542,40 unequal: No Solution Exploring Operation: 62+41=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,40 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 63, 68, 89 ]
82
[ "63-2=61", "89-68=21", "61+21=82" ]
Current State: 82:[2, 63, 68, 89], Operations: [] Exploring Operation: 63-2=61, Resulting Numbers: [68, 89, 61] Generated Node #2: [68, 89, 61] from Operation: 63-2=61 Current State: 82:[68, 89, 61], Operations: ['63-2=61'] Exploring Operation: 89-68=21, Resulting Numbers: [61, 21] Generated Node #3: [61, 21] from Operation: 89-68=21 Current State: 82:[61, 21], Operations: ['63-2=61', '89-68=21'] Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[2, 63, 68, 89], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [63, 89, 34] Generated Node #0,0: 82:[63, 89, 34] Operation: 68/2=34 Exploring Operation: 89-63=26, Resulting Numbers: [2, 68, 26] Generated Node #0,1: 82:[2, 68, 26] Operation: 89-63=26 Exploring Operation: 68-63=5, Resulting Numbers: [2, 89, 5] Generated Node #0,2: 82:[2, 89, 5] Operation: 68-63=5 Exploring Operation: 2+63=65, Resulting Numbers: [68, 89, 65] Generated Node #0,3: 82:[68, 89, 65] Operation: 2+63=65 Moving to Node #0,2 Current State: 82:[2, 89, 5], Operations: ['68-63=5'] Exploring Operation: 89-2=87, Resulting Numbers: [5, 87] Generated Node #0,2,0: 82:[5, 87] Operation: 89-2=87 Exploring Operation: 2+89=91, Resulting Numbers: [5, 91] Generated Node #0,2,1: 82:[5, 91] Operation: 2+89=91 Exploring Operation: 5-2=3, Resulting Numbers: [89, 3] Generated Node #0,2,2: 82:[89, 3] Operation: 5-2=3 Exploring Operation: 89-5=84, Resulting Numbers: [2, 84] Generated Node #0,2,3: 82:[2, 84] Operation: 89-5=84 Moving to Node #0,1 Current State: 82:[2, 68, 26], Operations: ['89-63=26'] Exploring Operation: 2*26=52, Resulting Numbers: [68, 52] Generated Node #0,1,0: 82:[68, 52] Operation: 2*26=52 Exploring Operation: 68/2=34, Resulting Numbers: [26, 34] Generated Node #0,1,1: 82:[26, 34] Operation: 68/2=34 Exploring Operation: 68-26=42, Resulting Numbers: [2, 42] Generated Node #0,1,2: 82:[2, 42] Operation: 68-26=42 Exploring Operation: 68+26=94, Resulting Numbers: [2, 94] Generated Node #0,1,3: 82:[2, 94] Operation: 68+26=94 Moving to Node #0,0 Current State: 82:[63, 89, 34], Operations: ['68/2=34'] Exploring Operation: 63+34=97, Resulting Numbers: [89, 97] Generated Node #0,0,0: 82:[89, 97] Operation: 63+34=97 Exploring Operation: 63-34=29, Resulting Numbers: [89, 29] Generated Node #0,0,1: 82:[89, 29] Operation: 63-34=29 Exploring Operation: 89-63=26, Resulting Numbers: [34, 26] Generated Node #0,0,2: 82:[34, 26] Operation: 89-63=26 Exploring Operation: 89-34=55, Resulting Numbers: [63, 55] Generated Node #0,0,3: 82:[63, 55] Operation: 89-34=55 Moving to Node #0,3 Current State: 82:[68, 89, 65], Operations: ['2+63=65'] Exploring Operation: 68-65=3, Resulting Numbers: [89, 3] Generated Node #0,3,0: 82:[89, 3] Operation: 68-65=3 Exploring Operation: 68+65=133, Resulting Numbers: [89, 133] Generated Node #0,3,1: 82:[89, 133] Operation: 68+65=133 Exploring Operation: 89-68=21, Resulting Numbers: [65, 21] Generated Node #0,3,2: 82:[65, 21] Operation: 89-68=21 Exploring Operation: 89-65=24, Resulting Numbers: [68, 24] Generated Node #0,3,3: 82:[68, 24] Operation: 89-65=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[89, 3], Operations: ['2+63=65', '68-65=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,82 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[68, 24], Operations: ['2+63=65', '89-65=24'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,82 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[65, 21], Operations: ['2+63=65', '89-68=21'] Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,82 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[89, 133], Operations: ['2+63=65', '68+65=133'] Exploring Operation: 133-89=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 89+133=222, Resulting Numbers: [222] 222,82 unequal: No Solution Exploring Operation: 89*133=11837, Resulting Numbers: [11837] 11837,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 82:[2, 42], Operations: ['89-63=26', '68-26=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,82 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[2, 84], Operations: ['68-63=5', '89-5=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[2, 63, 68, 89], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [2, 89, 5] Generated Node #0,2: 82:[2, 89, 5] Operation: 68-63=5 Moving to Node #0,2 Current State: 82:[2, 89, 5], Operations: ['68-63=5'] Exploring Operation: 89-5=84, Resulting Numbers: [2, 84] Generated Node #0,2,3: 82:[2, 84] Operation: 89-5=84 Moving to Node #0,2,3 Current State: 82:[2, 84], Operations: ['68-63=5', '89-5=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.962674
hs_4
sum_heuristic
[ 50, 40, 42, 54 ]
78
[ "50+40=90", "54-42=12", "90-12=78" ]
Current State: 78:[50, 40, 42, 54], Operations: [] Exploring Operation: 50+40=90, Resulting Numbers: [42, 54, 90] Generated Node #2: [42, 54, 90] from Operation: 50+40=90 Current State: 78:[42, 54, 90], Operations: ['50+40=90'] Exploring Operation: 54-42=12, Resulting Numbers: [90, 12] Generated Node #3: [90, 12] from Operation: 54-42=12 Current State: 78:[90, 12], Operations: ['50+40=90', '54-42=12'] Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[50, 40, 42, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [50, 40, 12] Generated Node #0,0: 78:[50, 40, 12] Operation: 54-42=12 Exploring Operation: 54-50=4, Resulting Numbers: [40, 42, 4] Generated Node #0,1: 78:[40, 42, 4] Operation: 54-50=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[40, 42, 4], Operations: ['54-50=4'] Exploring Operation: 42-40=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 78:[4, 2] Operation: 42-40=2 Exploring Operation: 42-4=38, Resulting Numbers: [40, 38] Generated Node #0,1,1: 78:[40, 38] Operation: 42-4=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[4, 2], Operations: ['54-50=4', '42-40=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[40, 38], Operations: ['54-50=4', '42-4=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[50, 40, 42, 54], Operations: [] Exploring Operation: 54-50=4, Resulting Numbers: [40, 42, 4] Generated Node #0,1: 78:[40, 42, 4] Operation: 54-50=4 Moving to Node #0,1 Current State: 78:[40, 42, 4], Operations: ['54-50=4'] Exploring Operation: 42-4=38, Resulting Numbers: [40, 38] Generated Node #0,1,1: 78:[40, 38] Operation: 42-4=38 Moving to Node #0,1,1 Current State: 78:[40, 38], Operations: ['54-50=4', '42-4=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 71, 96, 99, 45 ]
55
[ "96-71=25", "99*25=2475", "2475/45=55" ]
Current State: 55:[71, 96, 99, 45], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [99, 45, 25] Generated Node #2: [99, 45, 25] from Operation: 96-71=25 Current State: 55:[99, 45, 25], Operations: ['96-71=25'] Exploring Operation: 99*25=2475, Resulting Numbers: [45, 2475] Generated Node #3: [45, 2475] from Operation: 99*25=2475 Current State: 55:[45, 2475], Operations: ['96-71=25', '99*25=2475'] Exploring Operation: 2475/45=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[71, 96, 99, 45], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [71, 45, 3] Generated Node #0,0: 55:[71, 45, 3] Operation: 99-96=3 Exploring Operation: 99-45=54, Resulting Numbers: [71, 96, 54] Generated Node #0,1: 55:[71, 96, 54] Operation: 99-45=54 Exploring Operation: 96-71=25, Resulting Numbers: [99, 45, 25] Generated Node #0,2: 55:[99, 45, 25] Operation: 96-71=25 Exploring Operation: 96-45=51, Resulting Numbers: [71, 99, 51] Generated Node #0,3: 55:[71, 99, 51] Operation: 96-45=51 Exploring Operation: 99-71=28, Resulting Numbers: [96, 45, 28] Generated Node #0,4: 55:[96, 45, 28] Operation: 99-71=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[71, 45, 3], Operations: ['99-96=3'] Exploring Operation: 71+3=74, Resulting Numbers: [45, 74] Generated Node #0,0,0: 55:[45, 74] Operation: 71+3=74 Exploring Operation: 71-3=68, Resulting Numbers: [45, 68] Generated Node #0,0,1: 55:[45, 68] Operation: 71-3=68 Exploring Operation: 71-45=26, Resulting Numbers: [3, 26] Generated Node #0,0,2: 55:[3, 26] Operation: 71-45=26 Exploring Operation: 45+3=48, Resulting Numbers: [71, 48] Generated Node #0,0,3: 55:[71, 48] Operation: 45+3=48 Exploring Operation: 45/3=15, Resulting Numbers: [71, 15] Generated Node #0,0,4: 55:[71, 15] Operation: 45/3=15 Moving to Node #0,0,2 Current State: 55:[3, 26], Operations: ['99-96=3', '71-45=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[71, 15], Operations: ['99-96=3', '45/3=15'] Exploring Operation: 71*15=1065, Resulting Numbers: [1065] 1065,55 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 71+15=86, Resulting Numbers: [86] 86,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[45, 68], Operations: ['99-96=3', '71-3=68'] Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,55 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[71, 48], Operations: ['99-96=3', '45+3=48'] Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 71*48=3408, Resulting Numbers: [3408] 3408,55 unequal: No Solution Exploring Operation: 71+48=119, Resulting Numbers: [119] 119,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[45, 74], Operations: ['99-96=3', '71+3=74'] Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,55 unequal: No Solution Exploring Operation: 45*74=3330, Resulting Numbers: [3330] 3330,55 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[71, 96, 54], Operations: ['99-45=54'] Exploring Operation: 96-54=42, Resulting Numbers: [71, 42] Generated Node #0,1,0: 55:[71, 42] Operation: 96-54=42 Exploring Operation: 96-71=25, Resulting Numbers: [54, 25] Generated Node #0,1,1: 55:[54, 25] Operation: 96-71=25 Exploring Operation: 96+54=150, Resulting Numbers: [71, 150] Generated Node #0,1,2: 55:[71, 150] Operation: 96+54=150 Exploring Operation: 71-54=17, Resulting Numbers: [96, 17] Generated Node #0,1,3: 55:[96, 17] Operation: 71-54=17 Exploring Operation: 71+54=125, Resulting Numbers: [96, 125] Generated Node #0,1,4: 55:[96, 125] Operation: 71+54=125 Moving to Node #0,1,1 Current State: 55:[54, 25], Operations: ['99-45=54', '96-71=25'] Exploring Operation: 54*25=1350, Resulting Numbers: [1350] 1350,55 unequal: No Solution Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[71, 42], Operations: ['99-45=54', '96-54=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[96, 17], Operations: ['99-45=54', '71-54=17'] Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,55 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[71, 150], Operations: ['99-45=54', '96+54=150'] Exploring Operation: 71*150=10650, Resulting Numbers: [10650] 10650,55 unequal: No Solution Exploring Operation: 71+150=221, Resulting Numbers: [221] 221,55 unequal: No Solution Exploring Operation: 150-71=79, Resulting Numbers: [79] 79,55 unequal: No Solution Moving to Node #0,1,4 Current State: 55:[96, 125], Operations: ['99-45=54', '71+54=125'] Exploring Operation: 96+125=221, Resulting Numbers: [221] 221,55 unequal: No Solution Exploring Operation: 125-96=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 96*125=12000, Resulting Numbers: [12000] 12000,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[71, 99, 51], Operations: ['96-45=51'] Exploring Operation: 99+51=150, Resulting Numbers: [71, 150] Generated Node #0,3,0: 55:[71, 150] Operation: 99+51=150 Exploring Operation: 71+51=122, Resulting Numbers: [99, 122] Generated Node #0,3,1: 55:[99, 122] Operation: 71+51=122 Exploring Operation: 71-51=20, Resulting Numbers: [99, 20] Generated Node #0,3,2: 55:[99, 20] Operation: 71-51=20 Exploring Operation: 99-51=48, Resulting Numbers: [71, 48] Generated Node #0,3,3: 55:[71, 48] Operation: 99-51=48 Exploring Operation: 99-71=28, Resulting Numbers: [51, 28] Generated Node #0,3,4: 55:[51, 28] Operation: 99-71=28 Moving to Node #0,3,4 Current State: 55:[51, 28], Operations: ['96-45=51', '99-71=28'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,55 unequal: No Solution Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[71, 48], Operations: ['96-45=51', '99-51=48'] Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 71+48=119, Resulting Numbers: [119] 119,55 unequal: No Solution Exploring Operation: 71*48=3408, Resulting Numbers: [3408] 3408,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[99, 20], Operations: ['96-45=51', '71-51=20'] Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,55 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[71, 150], Operations: ['96-45=51', '99+51=150'] Exploring Operation: 150-71=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 71*150=10650, Resulting Numbers: [10650] 10650,55 unequal: No Solution Exploring Operation: 71+150=221, Resulting Numbers: [221] 221,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[99, 122], Operations: ['96-45=51', '71+51=122'] Exploring Operation: 99*122=12078, Resulting Numbers: [12078] 12078,55 unequal: No Solution Exploring Operation: 99+122=221, Resulting Numbers: [221] 221,55 unequal: No Solution Exploring Operation: 122-99=23, Resulting Numbers: [23] 23,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[99, 45, 25], Operations: ['96-71=25'] Exploring Operation: 99-45=54, Resulting Numbers: [25, 54] Generated Node #0,2,0: 55:[25, 54] Operation: 99-45=54 Exploring Operation: 45+25=70, Resulting Numbers: [99, 70] Generated Node #0,2,1: 55:[99, 70] Operation: 45+25=70 Exploring Operation: 99-25=74, Resulting Numbers: [45, 74] Generated Node #0,2,2: 55:[45, 74] Operation: 99-25=74 Exploring Operation: 45-25=20, Resulting Numbers: [99, 20] Generated Node #0,2,3: 55:[99, 20] Operation: 45-25=20 Exploring Operation: 99+25=124, Resulting Numbers: [45, 124] Generated Node #0,2,4: 55:[45, 124] Operation: 99+25=124 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[25, 54], Operations: ['96-71=25', '99-45=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,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,2,2 Current State: 55:[45, 74], Operations: ['96-71=25', '99-25=74'] Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,55 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 45*74=3330, Resulting Numbers: [3330] 3330,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,2,3 Current State: 55:[99, 20], Operations: ['96-71=25', '45-25=20'] Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,55 unequal: No Solution Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,55 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,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,2,1 Current State: 55:[99, 70], Operations: ['96-71=25', '45+25=70'] Exploring Operation: 99+70=169, Resulting Numbers: [169] 169,55 unequal: No Solution Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 99*70=6930, Resulting Numbers: [6930] 6930,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,2,4 Current State: 55:[45, 124], Operations: ['96-71=25', '99+25=124'] Exploring Operation: 45+124=169, Resulting Numbers: [169] 169,55 unequal: No Solution Exploring Operation: 45*124=5580, Resulting Numbers: [5580] 5580,55 unequal: No Solution Exploring Operation: 124-45=79, Resulting Numbers: [79] 79,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,4 Current State: 55:[96, 45, 28], Operations: ['99-71=28'] Exploring Operation: 96+28=124, Resulting Numbers: [45, 124] Generated Node #0,4,0: 55:[45, 124] Operation: 96+28=124 Exploring Operation: 96-45=51, Resulting Numbers: [28, 51] Generated Node #0,4,1: 55:[28, 51] Operation: 96-45=51 Exploring Operation: 96-28=68, Resulting Numbers: [45, 68] Generated Node #0,4,2: 55:[45, 68] Operation: 96-28=68 Exploring Operation: 45-28=17, Resulting Numbers: [96, 17] Generated Node #0,4,3: 55:[96, 17] Operation: 45-28=17 Exploring Operation: 45+28=73, Resulting Numbers: [96, 73] Generated Node #0,4,4: 55:[96, 73] Operation: 45+28=73 Moving to Node #0,4,1 Current State: 55:[28, 51], Operations: ['99-71=28', '96-45=51'] Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,55 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[45, 68], Operations: ['99-71=28', '96-28=68'] Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[96, 17], Operations: ['99-71=28', '45-28=17'] Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,55 unequal: No Solution Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[96, 73], Operations: ['99-71=28', '45+28=73'] Exploring Operation: 96-73=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 96*73=7008, Resulting Numbers: [7008] 7008,55 unequal: No Solution Exploring Operation: 96+73=169, Resulting Numbers: [169] 169,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[45, 124], Operations: ['99-71=28', '96+28=124'] Exploring Operation: 45*124=5580, Resulting Numbers: [5580] 5580,55 unequal: No Solution Exploring Operation: 124-45=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 45+124=169, Resulting Numbers: [169] 169,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 21, 73, 56, 25 ]
12
[ "21*56=1176", "73+25=98", "1176/98=12" ]
Current State: 12:[21, 73, 56, 25], Operations: [] Exploring Operation: 21*56=1176, Resulting Numbers: [73, 25, 1176] Generated Node #2: [73, 25, 1176] from Operation: 21*56=1176 Current State: 12:[73, 25, 1176], Operations: ['21*56=1176'] Exploring Operation: 73+25=98, Resulting Numbers: [1176, 98] Generated Node #3: [1176, 98] from Operation: 73+25=98 Current State: 12:[1176, 98], Operations: ['21*56=1176', '73+25=98'] Exploring Operation: 1176/98=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[21, 73, 56, 25], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [21, 25, 17] Generated Node #0,0: 12:[21, 25, 17] Operation: 73-56=17 Moving to Node #0,0 Current State: 12:[21, 25, 17], Operations: ['73-56=17'] Exploring Operation: 25-21=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 12:[17, 4] Operation: 25-21=4 Moving to Node #0,0,0 Current State: 12:[17, 4], Operations: ['73-56=17', '25-21=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,12 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 16, 23, 70, 71 ]
39
[ "16+23=39", "71-70=1", "39*1=39" ]
Current State: 39:[16, 23, 70, 71], Operations: [] Exploring Operation: 16+23=39, Resulting Numbers: [70, 71, 39] Generated Node #2: [70, 71, 39] from Operation: 16+23=39 Current State: 39:[70, 71, 39], Operations: ['16+23=39'] Exploring Operation: 71-70=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 71-70=1 Current State: 39:[39, 1], Operations: ['16+23=39', '71-70=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[16, 23, 70, 71], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [16, 23, 1] Generated Node #0,0: 39:[16, 23, 1] Operation: 71-70=1 Exploring Operation: 70-23=47, Resulting Numbers: [16, 71, 47] Generated Node #0,1: 39:[16, 71, 47] Operation: 70-23=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[16, 23, 1], Operations: ['71-70=1'] Exploring Operation: 16+23=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 39:[1, 39] Operation: 16+23=39 Exploring Operation: 23-16=7, Resulting Numbers: [1, 7] Generated Node #0,0,1: 39:[1, 7] Operation: 23-16=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[1, 39], Operations: ['71-70=1', '16+23=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[16, 23, 70, 71], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [16, 23, 1] Generated Node #0,0: 39:[16, 23, 1] Operation: 71-70=1 Moving to Node #0,0 Current State: 39:[16, 23, 1], Operations: ['71-70=1'] Exploring Operation: 16+23=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 39:[1, 39] Operation: 16+23=39 Moving to Node #0,0,0 Current State: 39:[1, 39], Operations: ['71-70=1', '16+23=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 25, 93, 2, 91 ]
29
[ "25+93=118", "91-2=89", "118-89=29" ]
Current State: 29:[25, 93, 2, 91], Operations: [] Exploring Operation: 25+93=118, Resulting Numbers: [2, 91, 118] Generated Node #2: [2, 91, 118] from Operation: 25+93=118 Current State: 29:[2, 91, 118], Operations: ['25+93=118'] Exploring Operation: 91-2=89, Resulting Numbers: [118, 89] Generated Node #3: [118, 89] from Operation: 91-2=89 Current State: 29:[118, 89], Operations: ['25+93=118', '91-2=89'] Exploring Operation: 118-89=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[25, 93, 2, 91], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [25, 2, 2] Generated Node #0,0: 29:[25, 2, 2] Operation: 93-91=2 Exploring Operation: 25+2=27, Resulting Numbers: [93, 91, 27] Generated Node #0,1: 29:[93, 91, 27] Operation: 25+2=27 Exploring Operation: 93-25=68, Resulting Numbers: [2, 91, 68] Generated Node #0,2: 29:[2, 91, 68] Operation: 93-25=68 Moving to Node #0,0 Current State: 29:[25, 2, 2], Operations: ['93-91=2'] Exploring Operation: 25+2=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 29:[2, 27] Operation: 25+2=27 Exploring Operation: 25+2=27, Resulting Numbers: [2, 27] Generated Node #0,0,1: 29:[2, 27] Operation: 25+2=27 Exploring Operation: 2+2=4, Resulting Numbers: [25, 4] Generated Node #0,0,2: 29:[25, 4] Operation: 2+2=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[2, 27], Operations: ['93-91=2', '25+2=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[25, 93, 2, 91], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [25, 2, 2] Generated Node #0,0: 29:[25, 2, 2] Operation: 93-91=2 Moving to Node #0,0 Current State: 29:[25, 2, 2], Operations: ['93-91=2'] Exploring Operation: 25+2=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 29:[2, 27] Operation: 25+2=27 Moving to Node #0,0,0 Current State: 29:[2, 27], Operations: ['93-91=2', '25+2=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 92, 75, 84, 16 ]
77
[ "92-84=8", "16/8=2", "75+2=77" ]
Current State: 77:[92, 75, 84, 16], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [75, 16, 8] Generated Node #2: [75, 16, 8] from Operation: 92-84=8 Current State: 77:[75, 16, 8], Operations: ['92-84=8'] Exploring Operation: 16/8=2, Resulting Numbers: [75, 2] Generated Node #3: [75, 2] from Operation: 16/8=2 Current State: 77:[75, 2], Operations: ['92-84=8', '16/8=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[92, 75, 84, 16], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [84, 16, 17] Generated Node #0,0: 77:[84, 16, 17] Operation: 92-75=17 Exploring Operation: 92-84=8, Resulting Numbers: [75, 16, 8] Generated Node #0,1: 77:[75, 16, 8] Operation: 92-84=8 Exploring Operation: 92-16=76, Resulting Numbers: [75, 84, 76] Generated Node #0,2: 77:[75, 84, 76] Operation: 92-16=76 Moving to Node #0,1 Current State: 77:[75, 16, 8], Operations: ['92-84=8'] Exploring Operation: 16/8=2, Resulting Numbers: [75, 2] Generated Node #0,1,0: 77:[75, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [75, 8] Generated Node #0,1,1: 77:[75, 8] Operation: 16-8=8 Exploring Operation: 75+8=83, Resulting Numbers: [16, 83] Generated Node #0,1,2: 77:[16, 83] Operation: 75+8=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[75, 8], Operations: ['92-84=8', '16-8=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,77 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[75, 2], Operations: ['92-84=8', '16/8=2'] Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,77 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[92, 75, 84, 16], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [75, 16, 8] Generated Node #0,1: 77:[75, 16, 8] Operation: 92-84=8 Moving to Node #0,1 Current State: 77:[75, 16, 8], Operations: ['92-84=8'] Exploring Operation: 16/8=2, Resulting Numbers: [75, 2] Generated Node #0,1,0: 77:[75, 2] Operation: 16/8=2 Moving to Node #0,1,0 Current State: 77:[75, 2], Operations: ['92-84=8', '16/8=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 87, 39, 13, 21 ]
50
[ "87*13=1131", "1131/39=29", "21+29=50" ]
Current State: 50:[87, 39, 13, 21], Operations: [] Exploring Operation: 87*13=1131, Resulting Numbers: [39, 21, 1131] Generated Node #2: [39, 21, 1131] from Operation: 87*13=1131 Current State: 50:[39, 21, 1131], Operations: ['87*13=1131'] Exploring Operation: 1131/39=29, Resulting Numbers: [21, 29] Generated Node #3: [21, 29] from Operation: 1131/39=29 Current State: 50:[21, 29], Operations: ['87*13=1131', '1131/39=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[87, 39, 13, 21], Operations: [] Exploring Operation: 39-13=26, Resulting Numbers: [87, 21, 26] Generated Node #0,0: 50:[87, 21, 26] Operation: 39-13=26 Exploring Operation: 87-13=74, Resulting Numbers: [39, 21, 74] Generated Node #0,1: 50:[39, 21, 74] Operation: 87-13=74 Exploring Operation: 87-39=48, Resulting Numbers: [13, 21, 48] Generated Node #0,2: 50:[13, 21, 48] Operation: 87-39=48 Exploring Operation: 87-21=66, Resulting Numbers: [39, 13, 66] Generated Node #0,3: 50:[39, 13, 66] Operation: 87-21=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[13, 21, 48], Operations: ['87-39=48'] Exploring Operation: 48-13=35, Resulting Numbers: [21, 35] Generated Node #0,2,0: 50:[21, 35] Operation: 48-13=35 Exploring Operation: 48-21=27, Resulting Numbers: [13, 27] Generated Node #0,2,1: 50:[13, 27] Operation: 48-21=27 Exploring Operation: 21-13=8, Resulting Numbers: [48, 8] Generated Node #0,2,2: 50:[48, 8] Operation: 21-13=8 Exploring Operation: 13+21=34, Resulting Numbers: [48, 34] Generated Node #0,2,3: 50:[48, 34] Operation: 13+21=34 Moving to Node #0,2,2 Current State: 50:[48, 8], Operations: ['87-39=48', '21-13=8'] Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,50 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[13, 27], Operations: ['87-39=48', '48-21=27'] Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,50 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[48, 34], Operations: ['87-39=48', '13+21=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,50 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[21, 35], Operations: ['87-39=48', '48-13=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,50 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,50 unequal: No Solution No 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: 50:[39, 13, 66], Operations: ['87-21=66'] Exploring Operation: 66-39=27, Resulting Numbers: [13, 27] Generated Node #0,3,0: 50:[13, 27] Operation: 66-39=27 Exploring Operation: 66-13=53, Resulting Numbers: [39, 53] Generated Node #0,3,1: 50:[39, 53] Operation: 66-13=53 Exploring Operation: 39/13=3, Resulting Numbers: [66, 3] Generated Node #0,3,2: 50:[66, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [66, 26] Generated Node #0,3,3: 50:[66, 26] Operation: 39-13=26 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[13, 27], Operations: ['87-21=66', '66-39=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,50 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,50 unequal: No Solution No 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: 50:[39, 53], Operations: ['87-21=66', '66-13=53'] Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,50 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,50 unequal: No Solution No 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: 50:[66, 3], Operations: ['87-21=66', '39/13=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,50 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,50 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,50 unequal: No Solution No 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: 50:[66, 26], Operations: ['87-21=66', '39-13=26'] Exploring Operation: 66+26=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 66*26=1716, Resulting Numbers: [1716] 1716,50 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: 50:[39, 21, 74], Operations: ['87-13=74'] Exploring Operation: 74-39=35, Resulting Numbers: [21, 35] Generated Node #0,1,0: 50:[21, 35] Operation: 74-39=35 Exploring Operation: 39-21=18, Resulting Numbers: [74, 18] Generated Node #0,1,1: 50:[74, 18] Operation: 39-21=18 Exploring Operation: 39+21=60, Resulting Numbers: [74, 60] Generated Node #0,1,2: 50:[74, 60] Operation: 39+21=60 Exploring Operation: 74-21=53, Resulting Numbers: [39, 53] Generated Node #0,1,3: 50:[39, 53] Operation: 74-21=53 Moving to Node #0,1,0 Current State: 50:[21, 35], Operations: ['87-13=74', '74-39=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,50 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[39, 53], Operations: ['87-13=74', '74-21=53'] Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[74, 18], Operations: ['87-13=74', '39-21=18'] Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[74, 60], Operations: ['87-13=74', '39+21=60'] Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,50 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,50 unequal: No Solution No solution 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: 50:[87, 21, 26], Operations: ['39-13=26'] Exploring Operation: 21+26=47, Resulting Numbers: [87, 47] Generated Node #0,0,0: 50:[87, 47] Operation: 21+26=47 Exploring Operation: 87-21=66, Resulting Numbers: [26, 66] Generated Node #0,0,1: 50:[26, 66] Operation: 87-21=66 Exploring Operation: 87-26=61, Resulting Numbers: [21, 61] Generated Node #0,0,2: 50:[21, 61] Operation: 87-26=61 Exploring Operation: 26-21=5, Resulting Numbers: [87, 5] Generated Node #0,0,3: 50:[87, 5] Operation: 26-21=5 Moving to Node #0,0,2 Current State: 50:[21, 61], Operations: ['39-13=26', '87-26=61'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,50 unequal: No Solution Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[26, 66], Operations: ['39-13=26', '87-21=66'] Exploring Operation: 26*66=1716, Resulting Numbers: [1716] 1716,50 unequal: No Solution Exploring Operation: 26+66=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[87, 5], Operations: ['39-13=26', '26-21=5'] Exploring Operation: 87*5=435, Resulting Numbers: [435] 435,50 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[87, 47], Operations: ['39-13=26', '21+26=47'] Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 87*47=4089, Resulting Numbers: [4089] 4089,50 unequal: No Solution Exploring Operation: 87+47=134, Resulting Numbers: [134] 134,50 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
[ 44, 21, 22, 8 ]
84
[ "44/22=2", "21*8=168", "168/2=84" ]
Current State: 84:[44, 21, 22, 8], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [21, 8, 2] Generated Node #2: [21, 8, 2] from Operation: 44/22=2 Current State: 84:[21, 8, 2], Operations: ['44/22=2'] Exploring Operation: 21*8=168, Resulting Numbers: [2, 168] Generated Node #3: [2, 168] from Operation: 21*8=168 Current State: 84:[2, 168], Operations: ['44/22=2', '21*8=168'] Exploring Operation: 168/2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[44, 21, 22, 8], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [44, 21, 14] Generated Node #0,0: 84:[44, 21, 14] Operation: 22-8=14 Exploring Operation: 44-22=22, Resulting Numbers: [21, 8, 22] Generated Node #0,1: 84:[21, 8, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [21, 8, 2] Generated Node #0,2: 84:[21, 8, 2] Operation: 44/22=2 Moving to Node #0,2 Current State: 84:[21, 8, 2], Operations: ['44/22=2'] Exploring Operation: 8/2=4, Resulting Numbers: [21, 4] Generated Node #0,2,0: 84:[21, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [21, 6] Generated Node #0,2,1: 84:[21, 6] Operation: 8-2=6 Exploring Operation: 21+8=29, Resulting Numbers: [2, 29] Generated Node #0,2,2: 84:[2, 29] Operation: 21+8=29 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[21, 4], Operations: ['44/22=2', '8/2=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[44, 21, 22, 8], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [21, 8, 2] Generated Node #0,2: 84:[21, 8, 2] Operation: 44/22=2 Moving to Node #0,2 Current State: 84:[21, 8, 2], Operations: ['44/22=2'] Exploring Operation: 8/2=4, Resulting Numbers: [21, 4] Generated Node #0,2,0: 84:[21, 4] Operation: 8/2=4 Moving to Node #0,2,0 Current State: 84:[21, 4], Operations: ['44/22=2', '8/2=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 60, 41, 13, 5 ]
40
[ "60/5=12", "41-13=28", "12+28=40" ]
Current State: 40:[60, 41, 13, 5], Operations: [] Exploring Operation: 60/5=12, Resulting Numbers: [41, 13, 12] Generated Node #2: [41, 13, 12] from Operation: 60/5=12 Current State: 40:[41, 13, 12], Operations: ['60/5=12'] Exploring Operation: 41-13=28, Resulting Numbers: [12, 28] Generated Node #3: [12, 28] from Operation: 41-13=28 Current State: 40:[12, 28], Operations: ['60/5=12', '41-13=28'] Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[60, 41, 13, 5], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [41, 5, 47] Generated Node #0,0: 40:[41, 5, 47] Operation: 60-13=47 Exploring Operation: 60/5=12, Resulting Numbers: [41, 13, 12] Generated Node #0,1: 40:[41, 13, 12] Operation: 60/5=12 Exploring Operation: 60-41=19, Resulting Numbers: [13, 5, 19] Generated Node #0,2: 40:[13, 5, 19] Operation: 60-41=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[13, 5, 19], Operations: ['60-41=19'] Exploring Operation: 13+5=18, Resulting Numbers: [19, 18] Generated Node #0,2,0: 40:[19, 18] Operation: 13+5=18 Exploring Operation: 19-13=6, Resulting Numbers: [5, 6] Generated Node #0,2,1: 40:[5, 6] Operation: 19-13=6 Exploring Operation: 13-5=8, Resulting Numbers: [19, 8] Generated Node #0,2,2: 40:[19, 8] Operation: 13-5=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[5, 6], Operations: ['60-41=19', '19-13=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[19, 8], Operations: ['60-41=19', '13-5=8'] Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,40 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[19, 18], Operations: ['60-41=19', '13+5=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,40 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[41, 13, 12], Operations: ['60/5=12'] Exploring Operation: 13-12=1, Resulting Numbers: [41, 1] Generated Node #0,1,0: 40:[41, 1] Operation: 13-12=1 Exploring Operation: 41-13=28, Resulting Numbers: [12, 28] Generated Node #0,1,1: 40:[12, 28] Operation: 41-13=28 Exploring Operation: 13+12=25, Resulting Numbers: [41, 25] Generated Node #0,1,2: 40:[41, 25] Operation: 13+12=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[41, 1], Operations: ['60/5=12', '13-12=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[60, 41, 13, 5], Operations: [] Exploring Operation: 60/5=12, Resulting Numbers: [41, 13, 12] Generated Node #0,1: 40:[41, 13, 12] Operation: 60/5=12 Moving to Node #0,1 Current State: 40:[41, 13, 12], Operations: ['60/5=12'] Exploring Operation: 13-12=1, Resulting Numbers: [41, 1] Generated Node #0,1,0: 40:[41, 1] Operation: 13-12=1 Moving to Node #0,1,0 Current State: 40:[41, 1], Operations: ['60/5=12', '13-12=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 35, 20, 27, 51 ]
63
[ "35-20=15", "27+51=78", "78-15=63" ]
Current State: 63:[35, 20, 27, 51], Operations: [] Exploring Operation: 35-20=15, Resulting Numbers: [27, 51, 15] Generated Node #2: [27, 51, 15] from Operation: 35-20=15 Current State: 63:[27, 51, 15], Operations: ['35-20=15'] Exploring Operation: 27+51=78, Resulting Numbers: [15, 78] Generated Node #3: [15, 78] from Operation: 27+51=78 Current State: 63:[15, 78], Operations: ['35-20=15', '27+51=78'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[35, 20, 27, 51], Operations: [] Exploring Operation: 35+27=62, Resulting Numbers: [20, 51, 62] Generated Node #0,0: 63:[20, 51, 62] Operation: 35+27=62 Exploring Operation: 51-35=16, Resulting Numbers: [20, 27, 16] Generated Node #0,1: 63:[20, 27, 16] Operation: 51-35=16 Moving to Node #0,1 Current State: 63:[20, 27, 16], Operations: ['51-35=16'] Exploring Operation: 27-20=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 63:[16, 7] Operation: 27-20=7 Exploring Operation: 27-16=11, Resulting Numbers: [20, 11] Generated Node #0,1,1: 63:[20, 11] Operation: 27-16=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[20, 11], Operations: ['51-35=16', '27-16=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[16, 7], Operations: ['51-35=16', '27-20=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,63 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: 63:[20, 51, 62], Operations: ['35+27=62'] Exploring Operation: 20+51=71, Resulting Numbers: [62, 71] Generated Node #0,0,0: 63:[62, 71] Operation: 20+51=71 Exploring Operation: 62-51=11, Resulting Numbers: [20, 11] Generated Node #0,0,1: 63:[20, 11] Operation: 62-51=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[20, 11], Operations: ['35+27=62', '62-51=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[62, 71], Operations: ['35+27=62', '20+51=71'] Exploring Operation: 71-62=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 62+71=133, Resulting Numbers: [133] 133,63 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
[ 97, 52, 93, 83 ]
100
[ "83-52=31", "93/31=3", "97+3=100" ]
Current State: 100:[97, 52, 93, 83], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [97, 93, 31] Generated Node #2: [97, 93, 31] from Operation: 83-52=31 Current State: 100:[97, 93, 31], Operations: ['83-52=31'] Exploring Operation: 93/31=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 93/31=3 Current State: 100:[97, 3], Operations: ['83-52=31', '93/31=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[97, 52, 93, 83], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [97, 52, 10] Generated Node #0,0: 100:[97, 52, 10] Operation: 93-83=10 Exploring Operation: 97-83=14, Resulting Numbers: [52, 93, 14] Generated Node #0,1: 100:[52, 93, 14] Operation: 97-83=14 Moving to Node #0,0 Current State: 100:[97, 52, 10], Operations: ['93-83=10'] Exploring Operation: 97-52=45, Resulting Numbers: [10, 45] Generated Node #0,0,0: 100:[10, 45] Operation: 97-52=45 Exploring Operation: 97+10=107, Resulting Numbers: [52, 107] Generated Node #0,0,1: 100:[52, 107] Operation: 97+10=107 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[10, 45], Operations: ['93-83=10', '97-52=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[52, 107], Operations: ['93-83=10', '97+10=107'] Exploring Operation: 107-52=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 52+107=159, Resulting Numbers: [159] 159,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 100:[52, 93, 14], Operations: ['97-83=14'] Exploring Operation: 93-52=41, Resulting Numbers: [14, 41] Generated Node #0,1,0: 100:[14, 41] Operation: 93-52=41 Exploring Operation: 93+14=107, Resulting Numbers: [52, 107] Generated Node #0,1,1: 100:[52, 107] Operation: 93+14=107 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[52, 107], Operations: ['97-83=14', '93+14=107'] Exploring Operation: 107-52=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 52+107=159, Resulting Numbers: [159] 159,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[14, 41], Operations: ['97-83=14', '93-52=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,100 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
[ 2, 9, 80, 80 ]
71
[ "2*80=160", "9+80=89", "160-89=71" ]
Current State: 71:[2, 9, 80, 80], Operations: [] Exploring Operation: 2*80=160, Resulting Numbers: [9, 160] Generated Node #2: [9, 160] from Operation: 2*80=160 Current State: 71:[9, 160], Operations: ['2*80=160'] Exploring Operation: 9+80=89, Resulting Numbers: [160, 89] Generated Node #3: [160, 89] from Operation: 9+80=89 Current State: 71:[160, 89], Operations: ['2*80=160', '9+80=89'] Exploring Operation: 160-89=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[2, 9, 80, 80], Operations: [] Exploring Operation: 80-9=71, Resulting Numbers: [2, 80, 71] Generated Node #0,0: 71:[2, 80, 71] Operation: 80-9=71 Exploring Operation: 2*9=18, Resulting Numbers: [80, 80, 18] Generated Node #0,1: 71:[80, 80, 18] Operation: 2*9=18 Exploring Operation: 2+9=11, Resulting Numbers: [80, 80, 11] Generated Node #0,2: 71:[80, 80, 11] Operation: 2+9=11 Exploring Operation: 80-2=78, Resulting Numbers: [9, 80, 78] Generated Node #0,3: 71:[9, 80, 78] Operation: 80-2=78 Exploring Operation: 80-2=78, Resulting Numbers: [9, 80, 78] Generated Node #0,4: 71:[9, 80, 78] Operation: 80-2=78 Moving to Node #0,1 Current State: 71:[80, 80, 18], Operations: ['2*9=18'] Exploring Operation: 80/80=1, Resulting Numbers: [18, 1] Generated Node #0,1,0: 71:[18, 1] Operation: 80/80=1 Exploring Operation: 80-18=62, Resulting Numbers: [80, 62] Generated Node #0,1,1: 71:[80, 62] Operation: 80-18=62 Exploring Operation: 80+18=98, Resulting Numbers: [80, 98] Generated Node #0,1,2: 71:[80, 98] Operation: 80+18=98 Exploring Operation: 80+18=98, Resulting Numbers: [80, 98] Generated Node #0,1,3: 71:[80, 98] Operation: 80+18=98 Exploring Operation: 80-18=62, Resulting Numbers: [80, 62] Generated Node #0,1,4: 71:[80, 62] Operation: 80-18=62 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[80, 62], Operations: ['2*9=18', '80-18=62'] Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,71 unequal: No Solution Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,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:[80, 62], Operations: ['2*9=18', '80-18=62'] Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,71 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,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:[80, 98], Operations: ['2*9=18', '80+18=98'] Exploring Operation: 80+98=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 80*98=7840, Resulting Numbers: [7840] 7840,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:[80, 98], Operations: ['2*9=18', '80+18=98'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 80+98=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 80*98=7840, Resulting Numbers: [7840] 7840,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,0 Current State: 71:[18, 1], Operations: ['2*9=18', '80/80=1'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,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:[80, 80, 11], Operations: ['2+9=11'] Exploring Operation: 80+11=91, Resulting Numbers: [80, 91] Generated Node #0,2,0: 71:[80, 91] Operation: 80+11=91 Exploring Operation: 80-11=69, Resulting Numbers: [80, 69] Generated Node #0,2,1: 71:[80, 69] Operation: 80-11=69 Exploring Operation: 80-11=69, Resulting Numbers: [80, 69] Generated Node #0,2,2: 71:[80, 69] Operation: 80-11=69 Exploring Operation: 80/80=1, Resulting Numbers: [11, 1] Generated Node #0,2,3: 71:[11, 1] Operation: 80/80=1 Exploring Operation: 80+11=91, Resulting Numbers: [80, 91] Generated Node #0,2,4: 71:[80, 91] Operation: 80+11=91 Moving to Node #0,4 Current State: 71:[9, 80, 78], Operations: ['80-2=78'] Exploring Operation: 78-9=69, Resulting Numbers: [80, 69] Generated Node #0,4,0: 71:[80, 69] Operation: 78-9=69 Exploring Operation: 9+78=87, Resulting Numbers: [80, 87] Generated Node #0,4,1: 71:[80, 87] Operation: 9+78=87 Exploring Operation: 9+80=89, Resulting Numbers: [78, 89] Generated Node #0,4,2: 71:[78, 89] Operation: 9+80=89 Exploring Operation: 80-9=71, Resulting Numbers: [78, 71] Generated Node #0,4,3: 71:[78, 71] Operation: 80-9=71 Exploring Operation: 80-78=2, Resulting Numbers: [9, 2] Generated Node #0,4,4: 71:[9, 2] Operation: 80-78=2 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 71:[78, 71], Operations: ['80-2=78', '80-9=71'] Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,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:[80, 69], Operations: ['80-2=78', '78-9=69'] Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,71 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,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,1 Current State: 71:[80, 87], Operations: ['80-2=78', '9+78=87'] Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,71 unequal: No Solution Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,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:[78, 89], Operations: ['80-2=78', '9+80=89'] Exploring Operation: 78*89=6942, Resulting Numbers: [6942] 6942,71 unequal: No Solution Exploring Operation: 78+89=167, Resulting Numbers: [167] 167,71 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,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:[9, 2], Operations: ['80-2=78', '80-78=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,71 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: 71:[2, 80, 71], Operations: ['80-9=71'] Exploring Operation: 2+80=82, Resulting Numbers: [71, 82] Generated Node #0,0,0: 71:[71, 82] Operation: 2+80=82 Exploring Operation: 71-2=69, Resulting Numbers: [80, 69] Generated Node #0,0,1: 71:[80, 69] Operation: 71-2=69 Exploring Operation: 80/2=40, Resulting Numbers: [71, 40] Generated Node #0,0,2: 71:[71, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [71, 78] Generated Node #0,0,3: 71:[71, 78] Operation: 80-2=78 Exploring Operation: 2+71=73, Resulting Numbers: [80, 73] Generated Node #0,0,4: 71:[80, 73] Operation: 2+71=73 Moving to Node #0,3 Current State: 71:[9, 80, 78], Operations: ['80-2=78'] Exploring Operation: 9+80=89, Resulting Numbers: [78, 89] Generated Node #0,3,0: 71:[78, 89] Operation: 9+80=89 Exploring Operation: 78-9=69, Resulting Numbers: [80, 69] Generated Node #0,3,1: 71:[80, 69] Operation: 78-9=69 Exploring Operation: 80-9=71, Resulting Numbers: [78, 71] Generated Node #0,3,2: 71:[78, 71] Operation: 80-9=71 Exploring Operation: 80-78=2, Resulting Numbers: [9, 2] Generated Node #0,3,3: 71:[9, 2] Operation: 80-78=2 Exploring Operation: 9+78=87, Resulting Numbers: [80, 87] Generated Node #0,3,4: 71:[80, 87] Operation: 9+78=87 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 71:[78, 71], Operations: ['80-2=78', '80-9=71'] Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,71 unequal: No Solution Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,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,3,1 Current State: 71:[80, 69], Operations: ['80-2=78', '78-9=69'] Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,71 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,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,3,0 Current State: 71:[78, 89], Operations: ['80-2=78', '9+80=89'] Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 78+89=167, Resulting Numbers: [167] 167,71 unequal: No Solution Exploring Operation: 78*89=6942, Resulting Numbers: [6942] 6942,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,3,4 Current State: 71:[80, 87], Operations: ['80-2=78', '9+78=87'] Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,71 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,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,3,3 Current State: 71:[9, 2], Operations: ['80-2=78', '80-78=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 71:[71, 78], Operations: ['80-9=71', '80-2=78'] Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,71 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[80, 69], Operations: ['2+9=11', '80-11=69'] Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[71, 82], Operations: ['80-9=71', '2+80=82'] Exploring Operation: 71*82=5822, Resulting Numbers: [5822] 5822,71 unequal: No Solution Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[80, 73], Operations: ['80-9=71', '2+71=73'] Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,71 unequal: No Solution Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[80, 69], Operations: ['2+9=11', '80-11=69'] Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[80, 69], Operations: ['80-9=71', '71-2=69'] Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[80, 91], Operations: ['2+9=11', '80+11=91'] Exploring Operation: 80*91=7280, Resulting Numbers: [7280] 7280,71 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 80+91=171, Resulting Numbers: [171] 171,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[80, 91], Operations: ['2+9=11', '80+11=91'] Exploring Operation: 80+91=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 80*91=7280, Resulting Numbers: [7280] 7280,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[71, 40], Operations: ['80-9=71', '80/2=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[11, 1], Operations: ['2+9=11', '80/80=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 90, 36, 38 ]
48
[ "6+90=96", "38-36=2", "96/2=48" ]
Current State: 48:[6, 90, 36, 38], Operations: [] Exploring Operation: 6+90=96, Resulting Numbers: [36, 38, 96] Generated Node #2: [36, 38, 96] from Operation: 6+90=96 Current State: 48:[36, 38, 96], Operations: ['6+90=96'] Exploring Operation: 38-36=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 38-36=2 Current State: 48:[96, 2], Operations: ['6+90=96', '38-36=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[6, 90, 36, 38], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [6, 38, 54] Generated Node #0,0: 48:[6, 38, 54] Operation: 90-36=54 Moving to Node #0,0 Current State: 48:[6, 38, 54], Operations: ['90-36=54'] Exploring Operation: 54-38=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 48:[6, 16] Operation: 54-38=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[6, 16], Operations: ['90-36=54', '54-38=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 66, 75, 85, 26 ]
68
[ "75-66=9", "85-26=59", "9+59=68" ]
Current State: 68:[66, 75, 85, 26], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [85, 26, 9] Generated Node #2: [85, 26, 9] from Operation: 75-66=9 Current State: 68:[85, 26, 9], Operations: ['75-66=9'] Exploring Operation: 85-26=59, Resulting Numbers: [9, 59] Generated Node #3: [9, 59] from Operation: 85-26=59 Current State: 68:[9, 59], Operations: ['75-66=9', '85-26=59'] Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[66, 75, 85, 26], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [66, 75, 59] Generated Node #0,0: 68:[66, 75, 59] Operation: 85-26=59 Exploring Operation: 85-66=19, Resulting Numbers: [75, 26, 19] Generated Node #0,1: 68:[75, 26, 19] Operation: 85-66=19 Exploring Operation: 85-75=10, Resulting Numbers: [66, 26, 10] Generated Node #0,2: 68:[66, 26, 10] Operation: 85-75=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[66, 26, 10], Operations: ['85-75=10'] Exploring Operation: 26-10=16, Resulting Numbers: [66, 16] Generated Node #0,2,0: 68:[66, 16] Operation: 26-10=16 Exploring Operation: 66-26=40, Resulting Numbers: [10, 40] Generated Node #0,2,1: 68:[10, 40] Operation: 66-26=40 Exploring Operation: 26+10=36, Resulting Numbers: [66, 36] Generated Node #0,2,2: 68:[66, 36] Operation: 26+10=36 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[66, 16], Operations: ['85-75=10', '26-10=16'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,68 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 68:[66, 36], Operations: ['85-75=10', '26+10=36'] Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,68 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[10, 40], Operations: ['85-75=10', '66-26=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[75, 26, 19], Operations: ['85-66=19'] Exploring Operation: 75-26=49, Resulting Numbers: [19, 49] Generated Node #0,1,0: 68:[19, 49] Operation: 75-26=49 Exploring Operation: 26+19=45, Resulting Numbers: [75, 45] Generated Node #0,1,1: 68:[75, 45] Operation: 26+19=45 Exploring Operation: 26-19=7, Resulting Numbers: [75, 7] Generated Node #0,1,2: 68:[75, 7] Operation: 26-19=7 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[75, 7], Operations: ['85-66=19', '26-19=7'] Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,68 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[66, 75, 85, 26], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [75, 26, 19] Generated Node #0,1: 68:[75, 26, 19] Operation: 85-66=19 Moving to Node #0,1 Current State: 68:[75, 26, 19], Operations: ['85-66=19'] Exploring Operation: 26-19=7, Resulting Numbers: [75, 7] Generated Node #0,1,2: 68:[75, 7] Operation: 26-19=7 Moving to Node #0,1,2 Current State: 68:[75, 7], Operations: ['85-66=19', '26-19=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 32, 56, 7, 11 ]
92
[ "32+56=88", "11-7=4", "88+4=92" ]
Current State: 92:[32, 56, 7, 11], Operations: [] Exploring Operation: 32+56=88, Resulting Numbers: [7, 11, 88] Generated Node #2: [7, 11, 88] from Operation: 32+56=88 Current State: 92:[7, 11, 88], Operations: ['32+56=88'] Exploring Operation: 11-7=4, Resulting Numbers: [88, 4] Generated Node #3: [88, 4] from Operation: 11-7=4 Current State: 92:[88, 4], Operations: ['32+56=88', '11-7=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[32, 56, 7, 11], Operations: [] Exploring Operation: 32+56=88, Resulting Numbers: [7, 11, 88] Generated Node #0,0: 92:[7, 11, 88] Operation: 32+56=88 Exploring Operation: 56-11=45, Resulting Numbers: [32, 7, 45] Generated Node #0,1: 92:[32, 7, 45] Operation: 56-11=45 Exploring Operation: 32-11=21, Resulting Numbers: [56, 7, 21] Generated Node #0,2: 92:[56, 7, 21] Operation: 32-11=21 Exploring Operation: 32+11=43, Resulting Numbers: [56, 7, 43] Generated Node #0,3: 92:[56, 7, 43] Operation: 32+11=43 Exploring Operation: 56-32=24, Resulting Numbers: [7, 11, 24] Generated Node #0,4: 92:[7, 11, 24] Operation: 56-32=24 Moving to Node #0,4 Current State: 92:[7, 11, 24], Operations: ['56-32=24'] Exploring Operation: 11-7=4, Resulting Numbers: [24, 4] Generated Node #0,4,0: 92:[24, 4] Operation: 11-7=4 Exploring Operation: 24-7=17, Resulting Numbers: [11, 17] Generated Node #0,4,1: 92:[11, 17] Operation: 24-7=17 Exploring Operation: 7+11=18, Resulting Numbers: [24, 18] Generated Node #0,4,2: 92:[24, 18] Operation: 7+11=18 Exploring Operation: 24-11=13, Resulting Numbers: [7, 13] Generated Node #0,4,3: 92:[7, 13] Operation: 24-11=13 Exploring Operation: 11+24=35, Resulting Numbers: [7, 35] Generated Node #0,4,4: 92:[7, 35] Operation: 11+24=35 Moving to Node #0,1 Current State: 92:[32, 7, 45], Operations: ['56-11=45'] Exploring Operation: 45-32=13, Resulting Numbers: [7, 13] Generated Node #0,1,0: 92:[7, 13] Operation: 45-32=13 Exploring Operation: 7+45=52, Resulting Numbers: [32, 52] Generated Node #0,1,1: 92:[32, 52] Operation: 7+45=52 Exploring Operation: 45-7=38, Resulting Numbers: [32, 38] Generated Node #0,1,2: 92:[32, 38] Operation: 45-7=38 Exploring Operation: 32-7=25, Resulting Numbers: [45, 25] Generated Node #0,1,3: 92:[45, 25] Operation: 32-7=25 Exploring Operation: 32+7=39, Resulting Numbers: [45, 39] Generated Node #0,1,4: 92:[45, 39] Operation: 32+7=39 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[45, 25], Operations: ['56-11=45', '32-7=25'] Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,92 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,92 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 92:[45, 39], Operations: ['56-11=45', '32+7=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,92 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[7, 13], Operations: ['56-11=45', '45-32=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[32, 52], Operations: ['56-11=45', '7+45=52'] Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,92 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[32, 38], Operations: ['56-11=45', '45-7=38'] Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,92 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,92 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: 92:[7, 11, 88], Operations: ['32+56=88'] Exploring Operation: 11-7=4, Resulting Numbers: [88, 4] Generated Node #0,0,0: 92:[88, 4] Operation: 11-7=4 Exploring Operation: 11+88=99, Resulting Numbers: [7, 99] Generated Node #0,0,1: 92:[7, 99] Operation: 11+88=99 Exploring Operation: 7+88=95, Resulting Numbers: [11, 95] Generated Node #0,0,2: 92:[11, 95] Operation: 7+88=95 Exploring Operation: 88/11=8, Resulting Numbers: [7, 8] Generated Node #0,0,3: 92:[7, 8] Operation: 88/11=8 Exploring Operation: 7+11=18, Resulting Numbers: [88, 18] Generated Node #0,0,4: 92:[88, 18] Operation: 7+11=18 Moving to Node #0,2 Current State: 92:[56, 7, 21], Operations: ['32-11=21'] Exploring Operation: 21/7=3, Resulting Numbers: [56, 3] Generated Node #0,2,0: 92:[56, 3] Operation: 21/7=3 Exploring Operation: 56/7=8, Resulting Numbers: [21, 8] Generated Node #0,2,1: 92:[21, 8] Operation: 56/7=8 Exploring Operation: 7+21=28, Resulting Numbers: [56, 28] Generated Node #0,2,2: 92:[56, 28] Operation: 7+21=28 Exploring Operation: 56-21=35, Resulting Numbers: [7, 35] Generated Node #0,2,3: 92:[7, 35] Operation: 56-21=35 Exploring Operation: 56-7=49, Resulting Numbers: [21, 49] Generated Node #0,2,4: 92:[21, 49] Operation: 56-7=49 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 92:[21, 49], Operations: ['32-11=21', '56-7=49'] Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,92 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[21, 8], Operations: ['32-11=21', '56/7=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[56, 3], Operations: ['32-11=21', '21/7=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,92 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[7, 35], Operations: ['32-11=21', '56-21=35'] Exploring Operation: 7*35=245, Resulting Numbers: [245] 245,92 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[56, 28], Operations: ['32-11=21', '7+21=28'] Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,92 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: 92:[56, 7, 43], Operations: ['32+11=43'] Exploring Operation: 56-43=13, Resulting Numbers: [7, 13] Generated Node #0,3,0: 92:[7, 13] Operation: 56-43=13 Exploring Operation: 56+43=99, Resulting Numbers: [7, 99] Generated Node #0,3,1: 92:[7, 99] Operation: 56+43=99 Exploring Operation: 56/7=8, Resulting Numbers: [43, 8] Generated Node #0,3,2: 92:[43, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [43, 49] Generated Node #0,3,3: 92:[43, 49] Operation: 56-7=49 Exploring Operation: 7+43=50, Resulting Numbers: [56, 50] Generated Node #0,3,4: 92:[56, 50] Operation: 7+43=50 Moving to Node #0,4,0 Current State: 92:[24, 4], Operations: ['56-32=24', '11-7=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,92 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[88, 4], Operations: ['32+56=88', '11-7=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[32, 56, 7, 11], Operations: [] Exploring Operation: 32+56=88, Resulting Numbers: [7, 11, 88] Generated Node #0,0: 92:[7, 11, 88] Operation: 32+56=88 Moving to Node #0,0 Current State: 92:[7, 11, 88], Operations: ['32+56=88'] Exploring Operation: 11-7=4, Resulting Numbers: [88, 4] Generated Node #0,0,0: 92:[88, 4] Operation: 11-7=4 Moving to Node #0,0,0 Current State: 92:[88, 4], Operations: ['32+56=88', '11-7=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.938368
hs_5
sum_heuristic
[ 69, 23, 27, 70 ]
94
[ "69/23=3", "27+70=97", "97-3=94" ]
Current State: 94:[69, 23, 27, 70], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [27, 70, 3] Generated Node #2: [27, 70, 3] from Operation: 69/23=3 Current State: 94:[27, 70, 3], Operations: ['69/23=3'] Exploring Operation: 27+70=97, Resulting Numbers: [3, 97] Generated Node #3: [3, 97] from Operation: 27+70=97 Current State: 94:[3, 97], Operations: ['69/23=3', '27+70=97'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[69, 23, 27, 70], Operations: [] Exploring Operation: 69-23=46, Resulting Numbers: [27, 70, 46] Generated Node #0,0: 94:[27, 70, 46] Operation: 69-23=46 Exploring Operation: 70-23=47, Resulting Numbers: [69, 27, 47] Generated Node #0,1: 94:[69, 27, 47] Operation: 70-23=47 Exploring Operation: 70-69=1, Resulting Numbers: [23, 27, 1] Generated Node #0,2: 94:[23, 27, 1] Operation: 70-69=1 Exploring Operation: 23+70=93, Resulting Numbers: [69, 27, 93] Generated Node #0,3: 94:[69, 27, 93] Operation: 23+70=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[69, 27, 47], Operations: ['70-23=47'] Exploring Operation: 47-27=20, Resulting Numbers: [69, 20] Generated Node #0,1,0: 94:[69, 20] Operation: 47-27=20 Exploring Operation: 69-27=42, Resulting Numbers: [47, 42] Generated Node #0,1,1: 94:[47, 42] Operation: 69-27=42 Exploring Operation: 69+27=96, Resulting Numbers: [47, 96] Generated Node #0,1,2: 94:[47, 96] Operation: 69+27=96 Exploring Operation: 69-47=22, Resulting Numbers: [27, 22] Generated Node #0,1,3: 94:[27, 22] Operation: 69-47=22 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[47, 96], Operations: ['70-23=47', '69+27=96'] Exploring Operation: 47+96=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 47*96=4512, Resulting Numbers: [4512] 4512,94 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[47, 42], Operations: ['70-23=47', '69-27=42'] Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,94 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[69, 20], Operations: ['70-23=47', '47-27=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 94:[27, 22], Operations: ['70-23=47', '69-47=22'] Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,94 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[23, 27, 1], Operations: ['70-69=1'] Exploring Operation: 27+1=28, Resulting Numbers: [23, 28] Generated Node #0,2,0: 94:[23, 28] Operation: 27+1=28 Exploring Operation: 27-23=4, Resulting Numbers: [1, 4] Generated Node #0,2,1: 94:[1, 4] Operation: 27-23=4 Exploring Operation: 23-1=22, Resulting Numbers: [27, 22] Generated Node #0,2,2: 94:[27, 22] Operation: 23-1=22 Exploring Operation: 23+27=50, Resulting Numbers: [1, 50] Generated Node #0,2,3: 94:[1, 50] Operation: 23+27=50 Moving to Node #0,2,1 Current State: 94:[1, 4], Operations: ['70-69=1', '27-23=4'] Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[1, 50], Operations: ['70-69=1', '23+27=50'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[27, 22], Operations: ['70-69=1', '23-1=22'] Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,94 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[23, 28], Operations: ['70-69=1', '27+1=28'] Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,94 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,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 Current State: 94:[69, 27, 93], Operations: ['23+70=93'] Exploring Operation: 69-27=42, Resulting Numbers: [93, 42] Generated Node #0,3,0: 94:[93, 42] Operation: 69-27=42 Exploring Operation: 93-27=66, Resulting Numbers: [69, 66] Generated Node #0,3,1: 94:[69, 66] Operation: 93-27=66 Exploring Operation: 93-69=24, Resulting Numbers: [27, 24] Generated Node #0,3,2: 94:[27, 24] Operation: 93-69=24 Exploring Operation: 69+27=96, Resulting Numbers: [93, 96] Generated Node #0,3,3: 94:[93, 96] Operation: 69+27=96 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 94:[93, 96], Operations: ['23+70=93', '69+27=96'] Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 93*96=8928, Resulting Numbers: [8928] 8928,94 unequal: No Solution Exploring Operation: 93+96=189, Resulting Numbers: [189] 189,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 94:[93, 42], Operations: ['23+70=93', '69-27=42'] Exploring Operation: 93+42=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 93*42=3906, Resulting Numbers: [3906] 3906,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 94:[69, 66], Operations: ['23+70=93', '93-27=66'] Exploring Operation: 69*66=4554, Resulting Numbers: [4554] 4554,94 unequal: No Solution Exploring Operation: 69+66=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 94:[27, 24], Operations: ['23+70=93', '93-69=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[27, 70, 46], Operations: ['69-23=46'] Exploring Operation: 70+46=116, Resulting Numbers: [27, 116] Generated Node #0,0,0: 94:[27, 116] Operation: 70+46=116 Exploring Operation: 27+70=97, Resulting Numbers: [46, 97] Generated Node #0,0,1: 94:[46, 97] Operation: 27+70=97 Exploring Operation: 70-27=43, Resulting Numbers: [46, 43] Generated Node #0,0,2: 94:[46, 43] Operation: 70-27=43 Exploring Operation: 46-27=19, Resulting Numbers: [70, 19] Generated Node #0,0,3: 94:[70, 19] Operation: 46-27=19 Moving to Node #0,0,1 Current State: 94:[46, 97], Operations: ['69-23=46', '27+70=97'] Exploring Operation: 46+97=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 46*97=4462, Resulting Numbers: [4462] 4462,94 unequal: No Solution Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[46, 43], Operations: ['69-23=46', '70-27=43'] Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[70, 19], Operations: ['69-23=46', '46-27=19'] Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[27, 116], Operations: ['69-23=46', '70+46=116'] Exploring Operation: 27+116=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 27*116=3132, Resulting Numbers: [3132] 3132,94 unequal: No Solution Exploring Operation: 116-27=89, Resulting Numbers: [89] 89,94 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
[ 47, 87, 7, 10 ]
37
[ "87-47=40", "10-7=3", "40-3=37" ]
Current State: 37:[47, 87, 7, 10], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [7, 10, 40] Generated Node #2: [7, 10, 40] from Operation: 87-47=40 Current State: 37:[7, 10, 40], Operations: ['87-47=40'] Exploring Operation: 10-7=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 10-7=3 Current State: 37:[40, 3], Operations: ['87-47=40', '10-7=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[47, 87, 7, 10], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [7, 10, 40] Generated Node #0,0: 37:[7, 10, 40] Operation: 87-47=40 Exploring Operation: 47-7=40, Resulting Numbers: [87, 10, 40] Generated Node #0,1: 37:[87, 10, 40] Operation: 47-7=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[7, 10, 40], Operations: ['87-47=40'] Exploring Operation: 40-7=33, Resulting Numbers: [10, 33] Generated Node #0,0,0: 37:[10, 33] Operation: 40-7=33 Exploring Operation: 7+10=17, Resulting Numbers: [40, 17] Generated Node #0,0,1: 37:[40, 17] Operation: 7+10=17 Moving to Node #0,0,1 Current State: 37:[40, 17], Operations: ['87-47=40', '7+10=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[10, 33], Operations: ['87-47=40', '40-7=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[87, 10, 40], Operations: ['47-7=40'] Exploring Operation: 87-40=47, Resulting Numbers: [10, 47] Generated Node #0,1,0: 37:[10, 47] Operation: 87-40=47 Exploring Operation: 87-10=77, Resulting Numbers: [40, 77] Generated Node #0,1,1: 37:[40, 77] Operation: 87-10=77 Moving to Node #0,1,0 Current State: 37:[10, 47], Operations: ['47-7=40', '87-40=47'] Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,37 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[47, 87, 7, 10], Operations: [] Exploring Operation: 47-7=40, Resulting Numbers: [87, 10, 40] Generated Node #0,1: 37:[87, 10, 40] Operation: 47-7=40 Moving to Node #0,1 Current State: 37:[87, 10, 40], Operations: ['47-7=40'] Exploring Operation: 87-40=47, Resulting Numbers: [10, 47] Generated Node #0,1,0: 37:[10, 47] Operation: 87-40=47 Moving to Node #0,1,0 Current State: 37:[10, 47], Operations: ['47-7=40', '87-40=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 13, 11, 89, 12 ]
83
[ "13-11=2", "12/2=6", "89-6=83" ]
Current State: 83:[13, 11, 89, 12], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [89, 12, 2] Generated Node #2: [89, 12, 2] from Operation: 13-11=2 Current State: 83:[89, 12, 2], Operations: ['13-11=2'] Exploring Operation: 12/2=6, Resulting Numbers: [89, 6] Generated Node #3: [89, 6] from Operation: 12/2=6 Current State: 83:[89, 6], Operations: ['13-11=2', '12/2=6'] Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[13, 11, 89, 12], Operations: [] Exploring Operation: 13+12=25, Resulting Numbers: [11, 89, 25] Generated Node #0,0: 83:[11, 89, 25] Operation: 13+12=25 Exploring Operation: 11+12=23, Resulting Numbers: [13, 89, 23] Generated Node #0,1: 83:[13, 89, 23] Operation: 11+12=23 Exploring Operation: 13*11=143, Resulting Numbers: [89, 12, 143] Generated Node #0,2: 83:[89, 12, 143] Operation: 13*11=143 Exploring Operation: 13+11=24, Resulting Numbers: [89, 12, 24] Generated Node #0,3: 83:[89, 12, 24] Operation: 13+11=24 Exploring Operation: 11*12=132, Resulting Numbers: [13, 89, 132] Generated Node #0,4: 83:[13, 89, 132] Operation: 11*12=132 Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[13, 89, 132], Operations: ['11*12=132'] Exploring Operation: 132-13=119, Resulting Numbers: [89, 119] Generated Node #0,4,0: 83:[89, 119] Operation: 132-13=119 Exploring Operation: 132-89=43, Resulting Numbers: [13, 43] Generated Node #0,4,1: 83:[13, 43] Operation: 132-89=43 Exploring Operation: 89-13=76, Resulting Numbers: [132, 76] Generated Node #0,4,2: 83:[132, 76] Operation: 89-13=76 Exploring Operation: 13+89=102, Resulting Numbers: [132, 102] Generated Node #0,4,3: 83:[132, 102] Operation: 13+89=102 Exploring Operation: 13+132=145, Resulting Numbers: [89, 145] Generated Node #0,4,4: 83:[89, 145] Operation: 13+132=145 Moving to Node #0,4,0 Current State: 83:[89, 119], Operations: ['11*12=132', '132-13=119'] Exploring Operation: 119-89=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 89+119=208, Resulting Numbers: [208] 208,83 unequal: No Solution Exploring Operation: 89*119=10591, Resulting Numbers: [10591] 10591,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[132, 76], Operations: ['11*12=132', '89-13=76'] Exploring Operation: 132-76=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 132+76=208, Resulting Numbers: [208] 208,83 unequal: No Solution Exploring Operation: 132*76=10032, Resulting Numbers: [10032] 10032,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[132, 102], Operations: ['11*12=132', '13+89=102'] Exploring Operation: 132+102=234, Resulting Numbers: [234] 234,83 unequal: No Solution Exploring Operation: 132*102=13464, Resulting Numbers: [13464] 13464,83 unequal: No Solution Exploring Operation: 132-102=30, Resulting Numbers: [30] 30,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[89, 145], Operations: ['11*12=132', '13+132=145'] Exploring Operation: 89*145=12905, Resulting Numbers: [12905] 12905,83 unequal: No Solution Exploring Operation: 89+145=234, Resulting Numbers: [234] 234,83 unequal: No Solution Exploring Operation: 145-89=56, Resulting Numbers: [56] 56,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[13, 43], Operations: ['11*12=132', '132-89=43'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,83 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[11, 89, 25], Operations: ['13+12=25'] Exploring Operation: 11+89=100, Resulting Numbers: [25, 100] Generated Node #0,0,0: 83:[25, 100] Operation: 11+89=100 Exploring Operation: 25-11=14, Resulting Numbers: [89, 14] Generated Node #0,0,1: 83:[89, 14] Operation: 25-11=14 Exploring Operation: 89-11=78, Resulting Numbers: [25, 78] Generated Node #0,0,2: 83:[25, 78] Operation: 89-11=78 Exploring Operation: 89-25=64, Resulting Numbers: [11, 64] Generated Node #0,0,3: 83:[11, 64] Operation: 89-25=64 Exploring Operation: 11+25=36, Resulting Numbers: [89, 36] Generated Node #0,0,4: 83:[89, 36] Operation: 11+25=36 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 83:[89, 36], Operations: ['13+12=25', '11+25=36'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,83 unequal: No Solution Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[25, 78], Operations: ['13+12=25', '89-11=78'] Exploring Operation: 25+78=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 25*78=1950, Resulting Numbers: [1950] 1950,83 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[25, 100], Operations: ['13+12=25', '11+89=100'] Exploring Operation: 100-25=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 100/25=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 25*100=2500, Resulting Numbers: [2500] 2500,83 unequal: No Solution Exploring Operation: 25+100=125, Resulting Numbers: [125] 125,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[89, 14], Operations: ['13+12=25', '25-11=14'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 89*14=1246, Resulting Numbers: [1246] 1246,83 unequal: No Solution Exploring Operation: 89+14=103, Resulting Numbers: [103] 103,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[11, 64], Operations: ['13+12=25', '89-25=64'] Exploring Operation: 11*64=704, Resulting Numbers: [704] 704,83 unequal: No Solution Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,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,1 Current State: 83:[13, 89, 23], Operations: ['11+12=23'] Exploring Operation: 13+89=102, Resulting Numbers: [23, 102] Generated Node #0,1,0: 83:[23, 102] Operation: 13+89=102 Exploring Operation: 89-23=66, Resulting Numbers: [13, 66] Generated Node #0,1,1: 83:[13, 66] Operation: 89-23=66 Exploring Operation: 89-13=76, Resulting Numbers: [23, 76] Generated Node #0,1,2: 83:[23, 76] Operation: 89-13=76 Exploring Operation: 23-13=10, Resulting Numbers: [89, 10] Generated Node #0,1,3: 83:[89, 10] Operation: 23-13=10 Exploring Operation: 13+23=36, Resulting Numbers: [89, 36] Generated Node #0,1,4: 83:[89, 36] Operation: 13+23=36 Moving to Node #0,1,4 Current State: 83:[89, 36], Operations: ['11+12=23', '13+23=36'] Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,83 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[23, 76], Operations: ['11+12=23', '89-13=76'] Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 23*76=1748, Resulting Numbers: [1748] 1748,83 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[23, 102], Operations: ['11+12=23', '13+89=102'] Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 23*102=2346, Resulting Numbers: [2346] 2346,83 unequal: No Solution Exploring Operation: 23+102=125, Resulting Numbers: [125] 125,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[89, 10], Operations: ['11+12=23', '23-13=10'] Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,83 unequal: No Solution Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[13, 66], Operations: ['11+12=23', '89-23=66'] Exploring Operation: 13*66=858, Resulting Numbers: [858] 858,83 unequal: No Solution Exploring Operation: 13+66=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[89, 12, 24], Operations: ['13+11=24'] Exploring Operation: 12+24=36, Resulting Numbers: [89, 36] Generated Node #0,3,0: 83:[89, 36] Operation: 12+24=36 Exploring Operation: 24-12=12, Resulting Numbers: [89, 12] Generated Node #0,3,1: 83:[89, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [89, 2] Generated Node #0,3,2: 83:[89, 2] Operation: 24/12=2 Exploring Operation: 89+12=101, Resulting Numbers: [24, 101] Generated Node #0,3,3: 83:[24, 101] Operation: 89+12=101 Exploring Operation: 89-12=77, Resulting Numbers: [24, 77] Generated Node #0,3,4: 83:[24, 77] Operation: 89-12=77 Moving to Node #0,3,0 Current State: 83:[89, 36], Operations: ['13+11=24', '12+24=36'] Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,83 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[24, 77], Operations: ['13+11=24', '89-12=77'] Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,83 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[89, 12], Operations: ['13+11=24', '24-12=12'] Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,83 unequal: No Solution Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[24, 101], Operations: ['13+11=24', '89+12=101'] Exploring Operation: 24*101=2424, Resulting Numbers: [2424] 2424,83 unequal: No Solution Exploring Operation: 101-24=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 24+101=125, Resulting Numbers: [125] 125,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[89, 2], Operations: ['13+11=24', '24/12=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,83 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,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:[89, 12, 143], Operations: ['13*11=143'] Exploring Operation: 89+12=101, Resulting Numbers: [143, 101] Generated Node #0,2,0: 83:[143, 101] Operation: 89+12=101 Exploring Operation: 143-12=131, Resulting Numbers: [89, 131] Generated Node #0,2,1: 83:[89, 131] Operation: 143-12=131 Exploring Operation: 12+143=155, Resulting Numbers: [89, 155] Generated Node #0,2,2: 83:[89, 155] Operation: 12+143=155 Exploring Operation: 143-89=54, Resulting Numbers: [12, 54] Generated Node #0,2,3: 83:[12, 54] Operation: 143-89=54 Exploring Operation: 89-12=77, Resulting Numbers: [143, 77] Generated Node #0,2,4: 83:[143, 77] Operation: 89-12=77 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[89, 131], Operations: ['13*11=143', '143-12=131'] Exploring Operation: 131-89=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 89+131=220, Resulting Numbers: [220] 220,83 unequal: No Solution Exploring Operation: 89*131=11659, Resulting Numbers: [11659] 11659,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:[143, 77], Operations: ['13*11=143', '89-12=77'] Exploring Operation: 143*77=11011, Resulting Numbers: [11011] 11011,83 unequal: No Solution Exploring Operation: 143-77=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 143+77=220, Resulting Numbers: [220] 220,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:[143, 101], Operations: ['13*11=143', '89+12=101'] Exploring Operation: 143+101=244, Resulting Numbers: [244] 244,83 unequal: No Solution Exploring Operation: 143-101=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 143*101=14443, Resulting Numbers: [14443] 14443,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:[89, 155], Operations: ['13*11=143', '12+143=155'] Exploring Operation: 155-89=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 89*155=13795, Resulting Numbers: [13795] 13795,83 unequal: No Solution Exploring Operation: 89+155=244, Resulting Numbers: [244] 244,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:[12, 54], Operations: ['13*11=143', '143-89=54'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 94, 19, 56, 38 ]
95
[ "94+19=113", "56-38=18", "113-18=95" ]
Current State: 95:[94, 19, 56, 38], Operations: [] Exploring Operation: 94+19=113, Resulting Numbers: [56, 38, 113] Generated Node #2: [56, 38, 113] from Operation: 94+19=113 Current State: 95:[56, 38, 113], Operations: ['94+19=113'] Exploring Operation: 56-38=18, Resulting Numbers: [113, 18] Generated Node #3: [113, 18] from Operation: 56-38=18 Current State: 95:[113, 18], Operations: ['94+19=113', '56-38=18'] Exploring Operation: 113-18=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[94, 19, 56, 38], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [94, 19, 94] Generated Node #0,0: 95:[94, 19, 94] Operation: 56+38=94 Exploring Operation: 56-38=18, Resulting Numbers: [94, 19, 18] Generated Node #0,1: 95:[94, 19, 18] Operation: 56-38=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[94, 19, 94], Operations: ['56+38=94'] Exploring Operation: 94-94=0, Resulting Numbers: [19, 0] Generated Node #0,0,0: 95:[19, 0] Operation: 94-94=0 Exploring Operation: 94/94=1, Resulting Numbers: [19, 1] Generated Node #0,0,1: 95:[19, 1] Operation: 94/94=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[19, 1], Operations: ['56+38=94', '94/94=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[19, 0], Operations: ['56+38=94', '94-94=0'] Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[94, 19, 18], Operations: ['56-38=18'] Exploring Operation: 19-18=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 95:[94, 1] Operation: 19-18=1 Exploring Operation: 94+18=112, Resulting Numbers: [19, 112] Generated Node #0,1,1: 95:[19, 112] Operation: 94+18=112 Moving to Node #0,1,0 Current State: 95:[94, 1], Operations: ['56-38=18', '19-18=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,95 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[94, 19, 56, 38], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [94, 19, 18] Generated Node #0,1: 95:[94, 19, 18] Operation: 56-38=18 Moving to Node #0,1 Current State: 95:[94, 19, 18], Operations: ['56-38=18'] Exploring Operation: 19-18=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 95:[94, 1] Operation: 19-18=1 Moving to Node #0,1,0 Current State: 95:[94, 1], Operations: ['56-38=18', '19-18=1'] Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 30, 45, 86, 92 ]
40
[ "92-86=6", "30/6=5", "45-5=40" ]
Current State: 40:[30, 45, 86, 92], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [30, 45, 6] Generated Node #2: [30, 45, 6] from Operation: 92-86=6 Current State: 40:[30, 45, 6], Operations: ['92-86=6'] Exploring Operation: 30/6=5, Resulting Numbers: [45, 5] Generated Node #3: [45, 5] from Operation: 30/6=5 Current State: 40:[45, 5], Operations: ['92-86=6', '30/6=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[30, 45, 86, 92], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [30, 45, 6] Generated Node #0,0: 40:[30, 45, 6] Operation: 92-86=6 Exploring Operation: 92-30=62, Resulting Numbers: [45, 86, 62] Generated Node #0,1: 40:[45, 86, 62] Operation: 92-30=62 Exploring Operation: 92-45=47, Resulting Numbers: [30, 86, 47] Generated Node #0,2: 40:[30, 86, 47] Operation: 92-45=47 Exploring Operation: 86-30=56, Resulting Numbers: [45, 92, 56] Generated Node #0,3: 40:[45, 92, 56] Operation: 86-30=56 Exploring Operation: 86-45=41, Resulting Numbers: [30, 92, 41] Generated Node #0,4: 40:[30, 92, 41] Operation: 86-45=41 Moving to Node #0,0 Current State: 40:[30, 45, 6], Operations: ['92-86=6'] Exploring Operation: 45-30=15, Resulting Numbers: [6, 15] Generated Node #0,0,0: 40:[6, 15] Operation: 45-30=15 Exploring Operation: 30+6=36, Resulting Numbers: [45, 36] Generated Node #0,0,1: 40:[45, 36] Operation: 30+6=36 Exploring Operation: 45-6=39, Resulting Numbers: [30, 39] Generated Node #0,0,2: 40:[30, 39] Operation: 45-6=39 Exploring Operation: 30-6=24, Resulting Numbers: [45, 24] Generated Node #0,0,3: 40:[45, 24] Operation: 30-6=24 Exploring Operation: 30/6=5, Resulting Numbers: [45, 5] Generated Node #0,0,4: 40:[45, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 40:[45, 5], Operations: ['92-86=6', '30/6=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[30, 45, 86, 92], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [30, 45, 6] Generated Node #0,0: 40:[30, 45, 6] Operation: 92-86=6 Moving to Node #0,0 Current State: 40:[30, 45, 6], Operations: ['92-86=6'] Exploring Operation: 30/6=5, Resulting Numbers: [45, 5] Generated Node #0,0,4: 40:[45, 5] Operation: 30/6=5 Moving to Node #0,0,4 Current State: 40:[45, 5], Operations: ['92-86=6', '30/6=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 81, 42, 16, 1 ]
37
[ "81-1=80", "80/16=5", "42-5=37" ]
Current State: 37:[81, 42, 16, 1], Operations: [] Exploring Operation: 81-1=80, Resulting Numbers: [42, 16, 80] Generated Node #2: [42, 16, 80] from Operation: 81-1=80 Current State: 37:[42, 16, 80], Operations: ['81-1=80'] Exploring Operation: 80/16=5, Resulting Numbers: [42, 5] Generated Node #3: [42, 5] from Operation: 80/16=5 Current State: 37:[42, 5], Operations: ['81-1=80', '80/16=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[81, 42, 16, 1], Operations: [] Exploring Operation: 81-42=39, Resulting Numbers: [16, 1, 39] Generated Node #0,0: 37:[16, 1, 39] Operation: 81-42=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[16, 1, 39], Operations: ['81-42=39'] Exploring Operation: 16+1=17, Resulting Numbers: [39, 17] Generated Node #0,0,0: 37:[39, 17] Operation: 16+1=17 Moving to Node #0,0,0 Current State: 37:[39, 17], Operations: ['81-42=39', '16+1=17'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,37 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
[ 15, 82, 70, 1 ]
28
[ "15+82=97", "70-1=69", "97-69=28" ]
Current State: 28:[15, 82, 70, 1], Operations: [] Exploring Operation: 15+82=97, Resulting Numbers: [70, 1, 97] Generated Node #2: [70, 1, 97] from Operation: 15+82=97 Current State: 28:[70, 1, 97], Operations: ['15+82=97'] Exploring Operation: 70-1=69, Resulting Numbers: [97, 69] Generated Node #3: [97, 69] from Operation: 70-1=69 Current State: 28:[97, 69], Operations: ['15+82=97', '70-1=69'] Exploring Operation: 97-69=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[15, 82, 70, 1], Operations: [] Exploring Operation: 82-15=67, Resulting Numbers: [70, 1, 67] Generated Node #0,0: 28:[70, 1, 67] Operation: 82-15=67 Exploring Operation: 70-15=55, Resulting Numbers: [82, 1, 55] Generated Node #0,1: 28:[82, 1, 55] Operation: 70-15=55 Exploring Operation: 15-1=14, Resulting Numbers: [82, 70, 14] Generated Node #0,2: 28:[82, 70, 14] Operation: 15-1=14 Exploring Operation: 82-70=12, Resulting Numbers: [15, 1, 12] Generated Node #0,3: 28:[15, 1, 12] Operation: 82-70=12 Exploring Operation: 82-1=81, Resulting Numbers: [15, 70, 81] Generated Node #0,4: 28:[15, 70, 81] Operation: 82-1=81 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[15, 1, 12], Operations: ['82-70=12'] Exploring Operation: 15+12=27, Resulting Numbers: [1, 27] Generated Node #0,3,0: 28:[1, 27] Operation: 15+12=27 Exploring Operation: 15*1=15, Resulting Numbers: [12, 15] Generated Node #0,3,1: 28:[12, 15] Operation: 15*1=15 Exploring Operation: 15-1=14, Resulting Numbers: [12, 14] Generated Node #0,3,2: 28:[12, 14] Operation: 15-1=14 Exploring Operation: 1+12=13, Resulting Numbers: [15, 13] Generated Node #0,3,3: 28:[15, 13] Operation: 1+12=13 Exploring Operation: 15-12=3, Resulting Numbers: [1, 3] Generated Node #0,3,4: 28:[1, 3] Operation: 15-12=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[1, 27], Operations: ['82-70=12', '15+12=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[15, 82, 70, 1], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [15, 1, 12] Generated Node #0,3: 28:[15, 1, 12] Operation: 82-70=12 Moving to Node #0,3 Current State: 28:[15, 1, 12], Operations: ['82-70=12'] Exploring Operation: 15+12=27, Resulting Numbers: [1, 27] Generated Node #0,3,0: 28:[1, 27] Operation: 15+12=27 Moving to Node #0,3,0 Current State: 28:[1, 27], Operations: ['82-70=12', '15+12=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 76, 5, 86, 51 ]
91
[ "76-51=25", "25/5=5", "86+5=91" ]
Current State: 91:[76, 5, 86, 51], Operations: [] Exploring Operation: 76-51=25, Resulting Numbers: [5, 86, 25] Generated Node #2: [5, 86, 25] from Operation: 76-51=25 Current State: 91:[5, 86, 25], Operations: ['76-51=25'] Exploring Operation: 25/5=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 25/5=5 Current State: 91:[86, 5], Operations: ['76-51=25', '25/5=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[76, 5, 86, 51], Operations: [] Exploring Operation: 86-51=35, Resulting Numbers: [76, 5, 35] Generated Node #0,0: 91:[76, 5, 35] Operation: 86-51=35 Exploring Operation: 76-51=25, Resulting Numbers: [5, 86, 25] Generated Node #0,1: 91:[5, 86, 25] Operation: 76-51=25 Exploring Operation: 86-76=10, Resulting Numbers: [5, 51, 10] Generated Node #0,2: 91:[5, 51, 10] Operation: 86-76=10 Exploring Operation: 76+51=127, Resulting Numbers: [5, 86, 127] Generated Node #0,3: 91:[5, 86, 127] Operation: 76+51=127 Moving to Node #0,1 Current State: 91:[5, 86, 25], Operations: ['76-51=25'] Exploring Operation: 5+86=91, Resulting Numbers: [25, 91] Generated Node #0,1,0: 91:[25, 91] Operation: 5+86=91 Exploring Operation: 25-5=20, Resulting Numbers: [86, 20] Generated Node #0,1,1: 91:[86, 20] Operation: 25-5=20 Exploring Operation: 86-5=81, Resulting Numbers: [25, 81] Generated Node #0,1,2: 91:[25, 81] Operation: 86-5=81 Exploring Operation: 25/5=5, Resulting Numbers: [86, 5] Generated Node #0,1,3: 91:[86, 5] Operation: 25/5=5 Moving to Node #0,0 Current State: 91:[76, 5, 35], Operations: ['86-51=35'] Exploring Operation: 76+5=81, Resulting Numbers: [35, 81] Generated Node #0,0,0: 91:[35, 81] Operation: 76+5=81 Exploring Operation: 35/5=7, Resulting Numbers: [76, 7] Generated Node #0,0,1: 91:[76, 7] Operation: 35/5=7 Exploring Operation: 76-35=41, Resulting Numbers: [5, 41] Generated Node #0,0,2: 91:[5, 41] Operation: 76-35=41 Exploring Operation: 76+35=111, Resulting Numbers: [5, 111] Generated Node #0,0,3: 91:[5, 111] Operation: 76+35=111 Moving to Node #0,3 Current State: 91:[5, 86, 127], Operations: ['76+51=127'] Exploring Operation: 86-5=81, Resulting Numbers: [127, 81] Generated Node #0,3,0: 91:[127, 81] Operation: 86-5=81 Exploring Operation: 127-86=41, Resulting Numbers: [5, 41] Generated Node #0,3,1: 91:[5, 41] Operation: 127-86=41 Exploring Operation: 127-5=122, Resulting Numbers: [86, 122] Generated Node #0,3,2: 91:[86, 122] Operation: 127-5=122 Exploring Operation: 5+86=91, Resulting Numbers: [127, 91] Generated Node #0,3,3: 91:[127, 91] Operation: 5+86=91 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[5, 41], Operations: ['76+51=127', '127-86=41'] Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,91 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[86, 122], Operations: ['76+51=127', '127-5=122'] Exploring Operation: 122-86=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 86*122=10492, Resulting Numbers: [10492] 10492,91 unequal: No Solution Exploring Operation: 86+122=208, Resulting Numbers: [208] 208,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[127, 91], Operations: ['76+51=127', '5+86=91'] Exploring Operation: 127+91=218, Resulting Numbers: [218] 218,91 unequal: No Solution Exploring Operation: 127-91=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 127*91=11557, Resulting Numbers: [11557] 11557,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[127, 81], Operations: ['76+51=127', '86-5=81'] Exploring Operation: 127+81=208, Resulting Numbers: [208] 208,91 unequal: No Solution Exploring Operation: 127*81=10287, Resulting Numbers: [10287] 10287,91 unequal: No Solution Exploring Operation: 127-81=46, Resulting Numbers: [46] 46,91 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: 91:[5, 51, 10], Operations: ['86-76=10'] Exploring Operation: 5+51=56, Resulting Numbers: [10, 56] Generated Node #0,2,0: 91:[10, 56] Operation: 5+51=56 Exploring Operation: 51-5=46, Resulting Numbers: [10, 46] Generated Node #0,2,1: 91:[10, 46] Operation: 51-5=46 Exploring Operation: 51-10=41, Resulting Numbers: [5, 41] Generated Node #0,2,2: 91:[5, 41] Operation: 51-10=41 Exploring Operation: 51+10=61, Resulting Numbers: [5, 61] Generated Node #0,2,3: 91:[5, 61] Operation: 51+10=61 Moving to Node #0,1,3 Current State: 91:[86, 5], Operations: ['76-51=25', '25/5=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[76, 5, 86, 51], Operations: [] Exploring Operation: 76-51=25, Resulting Numbers: [5, 86, 25] Generated Node #0,1: 91:[5, 86, 25] Operation: 76-51=25 Moving to Node #0,1 Current State: 91:[5, 86, 25], Operations: ['76-51=25'] Exploring Operation: 25/5=5, Resulting Numbers: [86, 5] Generated Node #0,1,3: 91:[86, 5] Operation: 25/5=5 Moving to Node #0,1,3 Current State: 91:[86, 5], Operations: ['76-51=25', '25/5=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 80, 30, 56, 38 ]
44
[ "80-30=50", "56+38=94", "94-50=44" ]
Current State: 44:[80, 30, 56, 38], Operations: [] Exploring Operation: 80-30=50, Resulting Numbers: [56, 38, 50] Generated Node #2: [56, 38, 50] from Operation: 80-30=50 Current State: 44:[56, 38, 50], Operations: ['80-30=50'] Exploring Operation: 56+38=94, Resulting Numbers: [50, 94] Generated Node #3: [50, 94] from Operation: 56+38=94 Current State: 44:[50, 94], Operations: ['80-30=50', '56+38=94'] Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[80, 30, 56, 38], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [30, 56, 42] Generated Node #0,0: 44:[30, 56, 42] Operation: 80-38=42 Exploring Operation: 80-56=24, Resulting Numbers: [30, 38, 24] Generated Node #0,1: 44:[30, 38, 24] Operation: 80-56=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[30, 38, 24], Operations: ['80-56=24'] Exploring Operation: 30-24=6, Resulting Numbers: [38, 6] Generated Node #0,1,0: 44:[38, 6] Operation: 30-24=6 Exploring Operation: 38-30=8, Resulting Numbers: [24, 8] Generated Node #0,1,1: 44:[24, 8] Operation: 38-30=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[24, 8], Operations: ['80-56=24', '38-30=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,44 unequal: No Solution No 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: 44:[38, 6], Operations: ['80-56=24', '30-24=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[80, 30, 56, 38], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [30, 38, 24] Generated Node #0,1: 44:[30, 38, 24] Operation: 80-56=24 Moving to Node #0,1 Current State: 44:[30, 38, 24], Operations: ['80-56=24'] Exploring Operation: 30-24=6, Resulting Numbers: [38, 6] Generated Node #0,1,0: 44:[38, 6] Operation: 30-24=6 Moving to Node #0,1,0 Current State: 44:[38, 6], Operations: ['80-56=24', '30-24=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 14, 48, 62, 82 ]
64
[ "14+82=96", "96/48=2", "62+2=64" ]
Current State: 64:[14, 48, 62, 82], Operations: [] Exploring Operation: 14+82=96, Resulting Numbers: [48, 62, 96] Generated Node #2: [48, 62, 96] from Operation: 14+82=96 Current State: 64:[48, 62, 96], Operations: ['14+82=96'] Exploring Operation: 96/48=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 96/48=2 Current State: 64:[62, 2], Operations: ['14+82=96', '96/48=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[14, 48, 62, 82], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [14, 62, 34] Generated Node #0,0: 64:[14, 62, 34] Operation: 82-48=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[14, 62, 34], Operations: ['82-48=34'] Exploring Operation: 34-14=20, Resulting Numbers: [62, 20] Generated Node #0,0,0: 64:[62, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 64:[62, 20], Operations: ['82-48=34', '34-14=20'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 76, 5, 75 ]
81
[ "76-65=11", "75-5=70", "11+70=81" ]
Current State: 81:[65, 76, 5, 75], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [5, 75, 11] Generated Node #2: [5, 75, 11] from Operation: 76-65=11 Current State: 81:[5, 75, 11], Operations: ['76-65=11'] Exploring Operation: 75-5=70, Resulting Numbers: [11, 70] Generated Node #3: [11, 70] from Operation: 75-5=70 Current State: 81:[11, 70], Operations: ['76-65=11', '75-5=70'] Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[65, 76, 5, 75], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [5, 75, 11] Generated Node #0,0: 81:[5, 75, 11] Operation: 76-65=11 Exploring Operation: 75-65=10, Resulting Numbers: [76, 5, 10] Generated Node #0,1: 81:[76, 5, 10] Operation: 75-65=10 Exploring Operation: 65/5=13, Resulting Numbers: [76, 75, 13] Generated Node #0,2: 81:[76, 75, 13] Operation: 65/5=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[76, 5, 10], Operations: ['75-65=10'] Exploring Operation: 10/5=2, Resulting Numbers: [76, 2] Generated Node #0,1,0: 81:[76, 2] Operation: 10/5=2 Exploring Operation: 76+10=86, Resulting Numbers: [5, 86] Generated Node #0,1,1: 81:[5, 86] Operation: 76+10=86 Exploring Operation: 76+5=81, Resulting Numbers: [10, 81] Generated Node #0,1,2: 81:[10, 81] Operation: 76+5=81 Moving to Node #0,1,2 Current State: 81:[10, 81], Operations: ['75-65=10', '76+5=81'] Exploring Operation: 10*81=810, Resulting Numbers: [810] 810,81 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 10+81=91, Resulting Numbers: [91] 91,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[76, 2], Operations: ['75-65=10', '10/5=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[5, 86], Operations: ['75-65=10', '76+10=86'] Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[65, 76, 5, 75], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [76, 5, 10] Generated Node #0,1: 81:[76, 5, 10] Operation: 75-65=10 Moving to Node #0,1 Current State: 81:[76, 5, 10], Operations: ['75-65=10'] Exploring Operation: 76+10=86, Resulting Numbers: [5, 86] Generated Node #0,1,1: 81:[5, 86] Operation: 76+10=86 Moving to Node #0,1,1 Current State: 81:[5, 86], Operations: ['75-65=10', '76+10=86'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 70, 87, 6, 2 ]
28
[ "87-70=17", "2*17=34", "34-6=28" ]
Current State: 28:[70, 87, 6, 2], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [6, 2, 17] Generated Node #2: [6, 2, 17] from Operation: 87-70=17 Current State: 28:[6, 2, 17], Operations: ['87-70=17'] Exploring Operation: 2*17=34, Resulting Numbers: [6, 34] Generated Node #3: [6, 34] from Operation: 2*17=34 Current State: 28:[6, 34], Operations: ['87-70=17', '2*17=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[70, 87, 6, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [87, 6, 35] Generated Node #0,0: 28:[87, 6, 35] Operation: 70/2=35 Exploring Operation: 87-70=17, Resulting Numbers: [6, 2, 17] Generated Node #0,1: 28:[6, 2, 17] Operation: 87-70=17 Moving to Node #0,1 Current State: 28:[6, 2, 17], Operations: ['87-70=17'] Exploring Operation: 17-2=15, Resulting Numbers: [6, 15] Generated Node #0,1,0: 28:[6, 15] Operation: 17-2=15 Exploring Operation: 6-2=4, Resulting Numbers: [17, 4] Generated Node #0,1,1: 28:[17, 4] Operation: 6-2=4 Moving to Node #0,0 Current State: 28:[87, 6, 35], Operations: ['70/2=35'] Exploring Operation: 87-35=52, Resulting Numbers: [6, 52] Generated Node #0,0,0: 28:[6, 52] Operation: 87-35=52 Exploring Operation: 87-6=81, Resulting Numbers: [35, 81] Generated Node #0,0,1: 28:[35, 81] Operation: 87-6=81 Moving to Node #0,1,0 Current State: 28:[6, 15], Operations: ['87-70=17', '17-2=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[17, 4], Operations: ['87-70=17', '6-2=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[6, 52], Operations: ['70/2=35', '87-35=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[35, 81], Operations: ['70/2=35', '87-6=81'] Exploring Operation: 35+81=116, Resulting Numbers: [116] 116,28 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,28 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 90, 20, 40, 84 ]
96
[ "90*40=3600", "3600/20=180", "180-84=96" ]
Current State: 96:[90, 20, 40, 84], Operations: [] Exploring Operation: 90*40=3600, Resulting Numbers: [20, 84, 3600] Generated Node #2: [20, 84, 3600] from Operation: 90*40=3600 Current State: 96:[20, 84, 3600], Operations: ['90*40=3600'] Exploring Operation: 3600/20=180, Resulting Numbers: [84, 180] Generated Node #3: [84, 180] from Operation: 3600/20=180 Current State: 96:[84, 180], Operations: ['90*40=3600', '3600/20=180'] Exploring Operation: 180-84=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[90, 20, 40, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [20, 40, 6] Generated Node #0,0: 96:[20, 40, 6] Operation: 90-84=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[20, 40, 6], Operations: ['90-84=6'] Exploring Operation: 40/20=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 96:[6, 2] Operation: 40/20=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[6, 2], Operations: ['90-84=6', '40/20=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 98, 80, 86, 66 ]
26
[ "98+80=178", "86+66=152", "178-152=26" ]
Current State: 26:[98, 80, 86, 66], Operations: [] Exploring Operation: 98+80=178, Resulting Numbers: [86, 66, 178] Generated Node #2: [86, 66, 178] from Operation: 98+80=178 Current State: 26:[86, 66, 178], Operations: ['98+80=178'] Exploring Operation: 86+66=152, Resulting Numbers: [178, 152] Generated Node #3: [178, 152] from Operation: 86+66=152 Current State: 26:[178, 152], Operations: ['98+80=178', '86+66=152'] Exploring Operation: 178-152=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[98, 80, 86, 66], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [86, 66, 18] Generated Node #0,0: 26:[86, 66, 18] Operation: 98-80=18 Exploring Operation: 86-80=6, Resulting Numbers: [98, 66, 6] Generated Node #0,1: 26:[98, 66, 6] Operation: 86-80=6 Exploring Operation: 98-66=32, Resulting Numbers: [80, 86, 32] Generated Node #0,2: 26:[80, 86, 32] Operation: 98-66=32 Exploring Operation: 98-86=12, Resulting Numbers: [80, 66, 12] Generated Node #0,3: 26:[80, 66, 12] Operation: 98-86=12 Moving to Node #0,3 Current State: 26:[80, 66, 12], Operations: ['98-86=12'] Exploring Operation: 80-12=68, Resulting Numbers: [66, 68] Generated Node #0,3,0: 26:[66, 68] Operation: 80-12=68 Exploring Operation: 80-66=14, Resulting Numbers: [12, 14] Generated Node #0,3,1: 26:[12, 14] Operation: 80-66=14 Exploring Operation: 80+12=92, Resulting Numbers: [66, 92] Generated Node #0,3,2: 26:[66, 92] Operation: 80+12=92 Exploring Operation: 66-12=54, Resulting Numbers: [80, 54] Generated Node #0,3,3: 26:[80, 54] Operation: 66-12=54 Moving to Node #0,0 Current State: 26:[86, 66, 18], Operations: ['98-80=18'] Exploring Operation: 86-66=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 26:[18, 20] Operation: 86-66=20 Exploring Operation: 66-18=48, Resulting Numbers: [86, 48] Generated Node #0,0,1: 26:[86, 48] Operation: 66-18=48 Exploring Operation: 86+18=104, Resulting Numbers: [66, 104] Generated Node #0,0,2: 26:[66, 104] Operation: 86+18=104 Exploring Operation: 86-18=68, Resulting Numbers: [66, 68] Generated Node #0,0,3: 26:[66, 68] Operation: 86-18=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[18, 20], Operations: ['98-80=18', '86-66=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[86, 48], Operations: ['98-80=18', '66-18=48'] Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 86+48=134, Resulting Numbers: [134] 134,26 unequal: No Solution Exploring Operation: 86*48=4128, Resulting Numbers: [4128] 4128,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[66, 68], Operations: ['98-80=18', '86-18=68'] Exploring Operation: 66+68=134, Resulting Numbers: [134] 134,26 unequal: No Solution Exploring Operation: 66*68=4488, Resulting Numbers: [4488] 4488,26 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[66, 104], Operations: ['98-80=18', '86+18=104'] Exploring Operation: 104-66=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 66+104=170, Resulting Numbers: [170] 170,26 unequal: No Solution Exploring Operation: 66*104=6864, Resulting Numbers: [6864] 6864,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 26:[98, 66, 6], Operations: ['86-80=6'] Exploring Operation: 98-6=92, Resulting Numbers: [66, 92] Generated Node #0,1,0: 26:[66, 92] Operation: 98-6=92 Exploring Operation: 98-66=32, Resulting Numbers: [6, 32] Generated Node #0,1,1: 26:[6, 32] Operation: 98-66=32 Exploring Operation: 66-6=60, Resulting Numbers: [98, 60] Generated Node #0,1,2: 26:[98, 60] Operation: 66-6=60 Exploring Operation: 66/6=11, Resulting Numbers: [98, 11] Generated Node #0,1,3: 26:[98, 11] Operation: 66/6=11 Moving to Node #0,2 Current State: 26:[80, 86, 32], Operations: ['98-66=32'] Exploring Operation: 80-32=48, Resulting Numbers: [86, 48] Generated Node #0,2,0: 26:[86, 48] Operation: 80-32=48 Exploring Operation: 86-32=54, Resulting Numbers: [80, 54] Generated Node #0,2,1: 26:[80, 54] Operation: 86-32=54 Exploring Operation: 80+86=166, Resulting Numbers: [32, 166] Generated Node #0,2,2: 26:[32, 166] Operation: 80+86=166 Exploring Operation: 86-80=6, Resulting Numbers: [32, 6] Generated Node #0,2,3: 26:[32, 6] Operation: 86-80=6 Moving to Node #0,3,1 Current State: 26:[12, 14], Operations: ['98-86=12', '80-66=14'] Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,26 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[98, 80, 86, 66], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [80, 66, 12] Generated Node #0,3: 26:[80, 66, 12] Operation: 98-86=12 Moving to Node #0,3 Current State: 26:[80, 66, 12], Operations: ['98-86=12'] Exploring Operation: 80-66=14, Resulting Numbers: [12, 14] Generated Node #0,3,1: 26:[12, 14] Operation: 80-66=14 Moving to Node #0,3,1 Current State: 26:[12, 14], Operations: ['98-86=12', '80-66=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 58, 32, 80, 28 ]
75
[ "58-28=30", "80*30=2400", "2400/32=75" ]
Current State: 75:[58, 32, 80, 28], Operations: [] Exploring Operation: 58-28=30, Resulting Numbers: [32, 80, 30] Generated Node #2: [32, 80, 30] from Operation: 58-28=30 Current State: 75:[32, 80, 30], Operations: ['58-28=30'] Exploring Operation: 80*30=2400, Resulting Numbers: [32, 2400] Generated Node #3: [32, 2400] from Operation: 80*30=2400 Current State: 75:[32, 2400], Operations: ['58-28=30', '80*30=2400'] Exploring Operation: 2400/32=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[58, 32, 80, 28], Operations: [] Exploring Operation: 58+32=90, Resulting Numbers: [80, 28, 90] Generated Node #0,0: 75:[80, 28, 90] Operation: 58+32=90 Exploring Operation: 80-58=22, Resulting Numbers: [32, 28, 22] Generated Node #0,1: 75:[32, 28, 22] Operation: 80-58=22 Exploring Operation: 58-32=26, Resulting Numbers: [80, 28, 26] Generated Node #0,2: 75:[80, 28, 26] Operation: 58-32=26 Exploring Operation: 58-28=30, Resulting Numbers: [32, 80, 30] Generated Node #0,3: 75:[32, 80, 30] Operation: 58-28=30 Exploring Operation: 58+28=86, Resulting Numbers: [32, 80, 86] Generated Node #0,4: 75:[32, 80, 86] Operation: 58+28=86 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[80, 28, 26], Operations: ['58-32=26'] Exploring Operation: 28-26=2, Resulting Numbers: [80, 2] Generated Node #0,2,0: 75:[80, 2] Operation: 28-26=2 Exploring Operation: 80+28=108, Resulting Numbers: [26, 108] Generated Node #0,2,1: 75:[26, 108] Operation: 80+28=108 Exploring Operation: 80-26=54, Resulting Numbers: [28, 54] Generated Node #0,2,2: 75:[28, 54] Operation: 80-26=54 Exploring Operation: 80-28=52, Resulting Numbers: [26, 52] Generated Node #0,2,3: 75:[26, 52] Operation: 80-28=52 Exploring Operation: 28+26=54, Resulting Numbers: [80, 54] Generated Node #0,2,4: 75:[80, 54] Operation: 28+26=54 Moving to Node #0,2,0 Current State: 75:[80, 2], Operations: ['58-32=26', '28-26=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[26, 52], Operations: ['58-32=26', '80-28=52'] Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,75 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[28, 54], Operations: ['58-32=26', '80-26=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,75 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[80, 54], Operations: ['58-32=26', '28+26=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[26, 108], Operations: ['58-32=26', '80+28=108'] Exploring Operation: 108-26=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 26*108=2808, Resulting Numbers: [2808] 2808,75 unequal: No Solution Exploring Operation: 26+108=134, Resulting Numbers: [134] 134,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,1 Current State: 75:[32, 28, 22], Operations: ['80-58=22'] Exploring Operation: 32-22=10, Resulting Numbers: [28, 10] Generated Node #0,1,0: 75:[28, 10] Operation: 32-22=10 Exploring Operation: 28-22=6, Resulting Numbers: [32, 6] Generated Node #0,1,1: 75:[32, 6] Operation: 28-22=6 Exploring Operation: 32+22=54, Resulting Numbers: [28, 54] Generated Node #0,1,2: 75:[28, 54] Operation: 32+22=54 Exploring Operation: 32+28=60, Resulting Numbers: [22, 60] Generated Node #0,1,3: 75:[22, 60] Operation: 32+28=60 Exploring Operation: 32-28=4, Resulting Numbers: [22, 4] Generated Node #0,1,4: 75:[22, 4] Operation: 32-28=4 Moving to Node #0,1,4 Current State: 75:[22, 4], Operations: ['80-58=22', '32-28=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[32, 6], Operations: ['80-58=22', '28-22=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[28, 10], Operations: ['80-58=22', '32-22=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[22, 60], Operations: ['80-58=22', '32+28=60'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[28, 54], Operations: ['80-58=22', '32+22=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,75 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,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 Current State: 75:[32, 80, 30], Operations: ['58-28=30'] Exploring Operation: 32+30=62, Resulting Numbers: [80, 62] Generated Node #0,3,0: 75:[80, 62] Operation: 32+30=62 Exploring Operation: 32+80=112, Resulting Numbers: [30, 112] Generated Node #0,3,1: 75:[30, 112] Operation: 32+80=112 Exploring Operation: 80-30=50, Resulting Numbers: [32, 50] Generated Node #0,3,2: 75:[32, 50] Operation: 80-30=50 Exploring Operation: 32-30=2, Resulting Numbers: [80, 2] Generated Node #0,3,3: 75:[80, 2] Operation: 32-30=2 Exploring Operation: 80-32=48, Resulting Numbers: [30, 48] Generated Node #0,3,4: 75:[30, 48] Operation: 80-32=48 Moving to Node #0,3,3 Current State: 75:[80, 2], Operations: ['58-28=30', '32-30=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,75 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[80, 62], Operations: ['58-28=30', '32+30=62'] Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,75 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,75 unequal: No Solution Moving to Node #0,3,4 Current State: 75:[30, 48], Operations: ['58-28=30', '80-32=48'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[32, 50], Operations: ['58-28=30', '80-30=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,75 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[30, 112], Operations: ['58-28=30', '32+80=112'] Exploring Operation: 112-30=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 30*112=3360, Resulting Numbers: [3360] 3360,75 unequal: No Solution Exploring Operation: 30+112=142, Resulting Numbers: [142] 142,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 Current State: 75:[80, 28, 90], Operations: ['58+32=90'] Exploring Operation: 80+28=108, Resulting Numbers: [90, 108] Generated Node #0,0,0: 75:[90, 108] Operation: 80+28=108 Exploring Operation: 80-28=52, Resulting Numbers: [90, 52] Generated Node #0,0,1: 75:[90, 52] Operation: 80-28=52 Exploring Operation: 90-28=62, Resulting Numbers: [80, 62] Generated Node #0,0,2: 75:[80, 62] Operation: 90-28=62 Exploring Operation: 28+90=118, Resulting Numbers: [80, 118] Generated Node #0,0,3: 75:[80, 118] Operation: 28+90=118 Exploring Operation: 90-80=10, Resulting Numbers: [28, 10] Generated Node #0,0,4: 75:[28, 10] Operation: 90-80=10 Moving to Node #0,0,4 Current State: 75:[28, 10], Operations: ['58+32=90', '90-80=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,75 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[80, 62], Operations: ['58+32=90', '90-28=62'] Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,75 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[90, 52], Operations: ['58+32=90', '80-28=52'] Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,75 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 90*52=4680, Resulting Numbers: [4680] 4680,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[90, 108], Operations: ['58+32=90', '80+28=108'] Exploring Operation: 90+108=198, Resulting Numbers: [198] 198,75 unequal: No Solution Exploring Operation: 90*108=9720, Resulting Numbers: [9720] 9720,75 unequal: No Solution Exploring Operation: 108-90=18, Resulting Numbers: [18] 18,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[80, 118], Operations: ['58+32=90', '28+90=118'] Exploring Operation: 118-80=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 80*118=9440, Resulting Numbers: [9440] 9440,75 unequal: No Solution Exploring Operation: 80+118=198, Resulting Numbers: [198] 198,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,4 Current State: 75:[32, 80, 86], Operations: ['58+28=86'] Exploring Operation: 32+86=118, Resulting Numbers: [80, 118] Generated Node #0,4,0: 75:[80, 118] Operation: 32+86=118 Exploring Operation: 32+80=112, Resulting Numbers: [86, 112] Generated Node #0,4,1: 75:[86, 112] Operation: 32+80=112 Exploring Operation: 86-32=54, Resulting Numbers: [80, 54] Generated Node #0,4,2: 75:[80, 54] Operation: 86-32=54 Exploring Operation: 80-32=48, Resulting Numbers: [86, 48] Generated Node #0,4,3: 75:[86, 48] Operation: 80-32=48 Exploring Operation: 86-80=6, Resulting Numbers: [32, 6] Generated Node #0,4,4: 75:[32, 6] Operation: 86-80=6 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 75:[32, 6], Operations: ['58+28=86', '86-80=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,75 unequal: No Solution No 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: 75:[80, 54], Operations: ['58+28=86', '86-32=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,75 unequal: No Solution No 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: 75:[86, 48], Operations: ['58+28=86', '80-32=48'] Exploring Operation: 86*48=4128, Resulting Numbers: [4128] 4128,75 unequal: No Solution Exploring Operation: 86+48=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,75 unequal: No Solution No 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: 75:[80, 118], Operations: ['58+28=86', '32+86=118'] Exploring Operation: 80+118=198, Resulting Numbers: [198] 198,75 unequal: No Solution Exploring Operation: 118-80=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 80*118=9440, Resulting Numbers: [9440] 9440,75 unequal: No Solution No 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: 75:[86, 112], Operations: ['58+28=86', '32+80=112'] Exploring Operation: 86*112=9632, Resulting Numbers: [9632] 9632,75 unequal: No Solution Exploring Operation: 112-86=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 86+112=198, Resulting Numbers: [198] 198,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 40, 79, 91, 19 ]
71
[ "79-40=39", "91+19=110", "110-39=71" ]
Current State: 71:[40, 79, 91, 19], Operations: [] Exploring Operation: 79-40=39, Resulting Numbers: [91, 19, 39] Generated Node #2: [91, 19, 39] from Operation: 79-40=39 Current State: 71:[91, 19, 39], Operations: ['79-40=39'] Exploring Operation: 91+19=110, Resulting Numbers: [39, 110] Generated Node #3: [39, 110] from Operation: 91+19=110 Current State: 71:[39, 110], Operations: ['79-40=39', '91+19=110'] Exploring Operation: 110-39=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[40, 79, 91, 19], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [79, 91, 21] Generated Node #0,0: 71:[79, 91, 21] Operation: 40-19=21 Exploring Operation: 79+19=98, Resulting Numbers: [40, 91, 98] Generated Node #0,1: 71:[40, 91, 98] Operation: 79+19=98 Exploring Operation: 91-19=72, Resulting Numbers: [40, 79, 72] Generated Node #0,2: 71:[40, 79, 72] Operation: 91-19=72 Exploring Operation: 79-19=60, Resulting Numbers: [40, 91, 60] Generated Node #0,3: 71:[40, 91, 60] Operation: 79-19=60 Exploring Operation: 40+19=59, Resulting Numbers: [79, 91, 59] Generated Node #0,4: 71:[79, 91, 59] Operation: 40+19=59 Moving to Node #0,2 Current State: 71:[40, 79, 72], Operations: ['91-19=72'] Exploring Operation: 79-40=39, Resulting Numbers: [72, 39] Generated Node #0,2,0: 71:[72, 39] Operation: 79-40=39 Exploring Operation: 40+79=119, Resulting Numbers: [72, 119] Generated Node #0,2,1: 71:[72, 119] Operation: 40+79=119 Exploring Operation: 40+72=112, Resulting Numbers: [79, 112] Generated Node #0,2,2: 71:[79, 112] Operation: 40+72=112 Exploring Operation: 79-72=7, Resulting Numbers: [40, 7] Generated Node #0,2,3: 71:[40, 7] Operation: 79-72=7 Exploring Operation: 72-40=32, Resulting Numbers: [79, 32] Generated Node #0,2,4: 71:[79, 32] Operation: 72-40=32 Moving to Node #0,4 Current State: 71:[79, 91, 59], Operations: ['40+19=59'] Exploring Operation: 91-59=32, Resulting Numbers: [79, 32] Generated Node #0,4,0: 71:[79, 32] Operation: 91-59=32 Exploring Operation: 91-79=12, Resulting Numbers: [59, 12] Generated Node #0,4,1: 71:[59, 12] Operation: 91-79=12 Exploring Operation: 91+59=150, Resulting Numbers: [79, 150] Generated Node #0,4,2: 71:[79, 150] Operation: 91+59=150 Exploring Operation: 79+59=138, Resulting Numbers: [91, 138] Generated Node #0,4,3: 71:[91, 138] Operation: 79+59=138 Exploring Operation: 79-59=20, Resulting Numbers: [91, 20] Generated Node #0,4,4: 71:[91, 20] Operation: 79-59=20 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[79, 32], Operations: ['40+19=59', '91-59=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,71 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,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,1 Current State: 71:[59, 12], Operations: ['40+19=59', '91-79=12'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,71 unequal: No Solution Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[40, 79, 91, 19], Operations: [] Exploring Operation: 40+19=59, Resulting Numbers: [79, 91, 59] Generated Node #0,4: 71:[79, 91, 59] Operation: 40+19=59 Moving to Node #0,4 Current State: 71:[79, 91, 59], Operations: ['40+19=59'] Exploring Operation: 91-79=12, Resulting Numbers: [59, 12] Generated Node #0,4,1: 71:[59, 12] Operation: 91-79=12 Moving to Node #0,4,1 Current State: 71:[59, 12], Operations: ['40+19=59', '91-79=12'] Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 36, 74, 94, 54 ]
38
[ "36+74=110", "94+54=148", "148-110=38" ]
Current State: 38:[36, 74, 94, 54], Operations: [] Exploring Operation: 36+74=110, Resulting Numbers: [94, 54, 110] Generated Node #2: [94, 54, 110] from Operation: 36+74=110 Current State: 38:[94, 54, 110], Operations: ['36+74=110'] Exploring Operation: 94+54=148, Resulting Numbers: [110, 148] Generated Node #3: [110, 148] from Operation: 94+54=148 Current State: 38:[110, 148], Operations: ['36+74=110', '94+54=148'] Exploring Operation: 148-110=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[36, 74, 94, 54], Operations: [] Exploring Operation: 94-74=20, Resulting Numbers: [36, 54, 20] Generated Node #0,0: 38:[36, 54, 20] Operation: 94-74=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[36, 54, 20], Operations: ['94-74=20'] Exploring Operation: 54-36=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 38:[20, 18] Operation: 54-36=18 Moving to Node #0,0,0 Current State: 38:[20, 18], Operations: ['94-74=20', '54-36=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[36, 74, 94, 54], Operations: [] Exploring Operation: 94-74=20, Resulting Numbers: [36, 54, 20] Generated Node #0,0: 38:[36, 54, 20] Operation: 94-74=20 Moving to Node #0,0 Current State: 38:[36, 54, 20], Operations: ['94-74=20'] Exploring Operation: 54-36=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 38:[20, 18] Operation: 54-36=18 Moving to Node #0,0,0 Current State: 38:[20, 18], Operations: ['94-74=20', '54-36=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 94, 84, 81, 85 ]
93
[ "94-85=9", "81/9=9", "84+9=93" ]
Current State: 93:[94, 84, 81, 85], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [84, 81, 9] Generated Node #2: [84, 81, 9] from Operation: 94-85=9 Current State: 93:[84, 81, 9], Operations: ['94-85=9'] Exploring Operation: 81/9=9, Resulting Numbers: [84, 9] Generated Node #3: [84, 9] from Operation: 81/9=9 Current State: 93:[84, 9], Operations: ['94-85=9', '81/9=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[94, 84, 81, 85], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [94, 85, 3] Generated Node #0,0: 93:[94, 85, 3] Operation: 84-81=3 Moving to Node #0,0 Current State: 93:[94, 85, 3], Operations: ['84-81=3'] Exploring Operation: 94-85=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 93:[3, 9] Operation: 94-85=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[3, 9], Operations: ['84-81=3', '94-85=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 11, 3, 40, 40 ]
94
[ "11+3=14", "40+40=80", "14+80=94" ]
Current State: 94:[11, 3, 40, 40], Operations: [] Exploring Operation: 11+3=14, Resulting Numbers: [40, 40, 14] Generated Node #2: [40, 40, 14] from Operation: 11+3=14 Current State: 94:[40, 40, 14], Operations: ['11+3=14'] Exploring Operation: 40+40=80, Resulting Numbers: [14, 80] Generated Node #3: [14, 80] from Operation: 40+40=80 Current State: 94:[14, 80], Operations: ['11+3=14', '40+40=80'] Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[11, 3, 40, 40], Operations: [] Exploring Operation: 11+40=51, Resulting Numbers: [3, 40, 51] Generated Node #0,0: 94:[3, 40, 51] Operation: 11+40=51 Exploring Operation: 40/40=1, Resulting Numbers: [11, 3, 1] Generated Node #0,1: 94:[11, 3, 1] Operation: 40/40=1 Exploring Operation: 11+40=51, Resulting Numbers: [3, 40, 51] Generated Node #0,2: 94:[3, 40, 51] Operation: 11+40=51 Moving to Node #0,1 Current State: 94:[11, 3, 1], Operations: ['40/40=1'] Exploring Operation: 11-3=8, Resulting Numbers: [1, 8] Generated Node #0,1,0: 94:[1, 8] Operation: 11-3=8 Exploring Operation: 3-1=2, Resulting Numbers: [11, 2] Generated Node #0,1,1: 94:[11, 2] Operation: 3-1=2 Exploring Operation: 11-1=10, Resulting Numbers: [3, 10] Generated Node #0,1,2: 94:[3, 10] Operation: 11-1=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[1, 8], Operations: ['40/40=1', '11-3=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[11, 2], Operations: ['40/40=1', '3-1=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[3, 10], Operations: ['40/40=1', '11-1=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,94 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,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:[3, 40, 51], Operations: ['11+40=51'] Exploring Operation: 51-3=48, Resulting Numbers: [40, 48] Generated Node #0,0,0: 94:[40, 48] Operation: 51-3=48 Exploring Operation: 40+51=91, Resulting Numbers: [3, 91] Generated Node #0,0,1: 94:[3, 91] Operation: 40+51=91 Exploring Operation: 3+40=43, Resulting Numbers: [51, 43] Generated Node #0,0,2: 94:[51, 43] Operation: 3+40=43 Moving to Node #0,2 Current State: 94:[3, 40, 51], Operations: ['11+40=51'] Exploring Operation: 51-3=48, Resulting Numbers: [40, 48] Generated Node #0,2,0: 94:[40, 48] Operation: 51-3=48 Exploring Operation: 3+40=43, Resulting Numbers: [51, 43] Generated Node #0,2,1: 94:[51, 43] Operation: 3+40=43 Exploring Operation: 40+51=91, Resulting Numbers: [3, 91] Generated Node #0,2,2: 94:[3, 91] Operation: 40+51=91 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[3, 91], Operations: ['11+40=51', '40+51=91'] Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,94 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[11, 3, 40, 40], Operations: [] Exploring Operation: 11+40=51, Resulting Numbers: [3, 40, 51] Generated Node #0,2: 94:[3, 40, 51] Operation: 11+40=51 Moving to Node #0,2 Current State: 94:[3, 40, 51], Operations: ['11+40=51'] Exploring Operation: 40+51=91, Resulting Numbers: [3, 91] Generated Node #0,2,2: 94:[3, 91] Operation: 40+51=91 Moving to Node #0,2,2 Current State: 94:[3, 91], Operations: ['11+40=51', '40+51=91'] Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 89, 18, 78, 95 ]
88
[ "89-18=71", "95-78=17", "71+17=88" ]
Current State: 88:[89, 18, 78, 95], Operations: [] Exploring Operation: 89-18=71, Resulting Numbers: [78, 95, 71] Generated Node #2: [78, 95, 71] from Operation: 89-18=71 Current State: 88:[78, 95, 71], Operations: ['89-18=71'] Exploring Operation: 95-78=17, Resulting Numbers: [71, 17] Generated Node #3: [71, 17] from Operation: 95-78=17 Current State: 88:[71, 17], Operations: ['89-18=71', '95-78=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[89, 18, 78, 95], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [89, 18, 17] Generated Node #0,0: 88:[89, 18, 17] Operation: 95-78=17 Moving to Node #0,0 Current State: 88:[89, 18, 17], Operations: ['95-78=17'] Exploring Operation: 18-17=1, Resulting Numbers: [89, 1] Generated Node #0,0,0: 88:[89, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 88:[89, 1], Operations: ['95-78=17', '18-17=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[89, 18, 78, 95], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [89, 18, 17] Generated Node #0,0: 88:[89, 18, 17] Operation: 95-78=17 Moving to Node #0,0 Current State: 88:[89, 18, 17], Operations: ['95-78=17'] Exploring Operation: 18-17=1, Resulting Numbers: [89, 1] Generated Node #0,0,0: 88:[89, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 88:[89, 1], Operations: ['95-78=17', '18-17=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 31, 4, 39, 26 ]
59
[ "31*4=124", "39+26=65", "124-65=59" ]
Current State: 59:[31, 4, 39, 26], Operations: [] Exploring Operation: 31*4=124, Resulting Numbers: [39, 26, 124] Generated Node #2: [39, 26, 124] from Operation: 31*4=124 Current State: 59:[39, 26, 124], Operations: ['31*4=124'] Exploring Operation: 39+26=65, Resulting Numbers: [124, 65] Generated Node #3: [124, 65] from Operation: 39+26=65 Current State: 59:[124, 65], Operations: ['31*4=124', '39+26=65'] Exploring Operation: 124-65=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[31, 4, 39, 26], Operations: [] Exploring Operation: 4+26=30, Resulting Numbers: [31, 39, 30] Generated Node #0,0: 59:[31, 39, 30] Operation: 4+26=30 Exploring Operation: 4+39=43, Resulting Numbers: [31, 26, 43] Generated Node #0,1: 59:[31, 26, 43] Operation: 4+39=43 Exploring Operation: 31+4=35, Resulting Numbers: [39, 26, 35] Generated Node #0,2: 59:[39, 26, 35] Operation: 31+4=35 Exploring Operation: 31+26=57, Resulting Numbers: [4, 39, 57] Generated Node #0,3: 59:[4, 39, 57] Operation: 31+26=57 Moving to Node #0,0 Current State: 59:[31, 39, 30], Operations: ['4+26=30'] Exploring Operation: 31-30=1, Resulting Numbers: [39, 1] Generated Node #0,0,0: 59:[39, 1] Operation: 31-30=1 Exploring Operation: 31+39=70, Resulting Numbers: [30, 70] Generated Node #0,0,1: 59:[30, 70] Operation: 31+39=70 Exploring Operation: 31+30=61, Resulting Numbers: [39, 61] Generated Node #0,0,2: 59:[39, 61] Operation: 31+30=61 Exploring Operation: 39+30=69, Resulting Numbers: [31, 69] Generated Node #0,0,3: 59:[31, 69] Operation: 39+30=69 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[39, 61], Operations: ['4+26=30', '31+30=61'] Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,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,3 Current State: 59:[31, 69], Operations: ['4+26=30', '39+30=69'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,59 unequal: No Solution Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,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,1 Current State: 59:[30, 70], Operations: ['4+26=30', '31+39=70'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 30*70=2100, Resulting Numbers: [2100] 2100,59 unequal: No Solution Exploring Operation: 30+70=100, Resulting Numbers: [100] 100,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,0 Current State: 59:[39, 1], Operations: ['4+26=30', '31-30=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[39, 26, 35], Operations: ['31+4=35'] Exploring Operation: 26+35=61, Resulting Numbers: [39, 61] Generated Node #0,2,0: 59:[39, 61] Operation: 26+35=61 Exploring Operation: 39-26=13, Resulting Numbers: [35, 13] Generated Node #0,2,1: 59:[35, 13] Operation: 39-26=13 Exploring Operation: 39+35=74, Resulting Numbers: [26, 74] Generated Node #0,2,2: 59:[26, 74] Operation: 39+35=74 Exploring Operation: 39+26=65, Resulting Numbers: [35, 65] Generated Node #0,2,3: 59:[35, 65] Operation: 39+26=65 Moving to Node #0,1 Current State: 59:[31, 26, 43], Operations: ['4+39=43'] Exploring Operation: 31+26=57, Resulting Numbers: [43, 57] Generated Node #0,1,0: 59:[43, 57] Operation: 31+26=57 Exploring Operation: 26+43=69, Resulting Numbers: [31, 69] Generated Node #0,1,1: 59:[31, 69] Operation: 26+43=69 Exploring Operation: 31+43=74, Resulting Numbers: [26, 74] Generated Node #0,1,2: 59:[26, 74] Operation: 31+43=74 Exploring Operation: 31-26=5, Resulting Numbers: [43, 5] Generated Node #0,1,3: 59:[43, 5] Operation: 31-26=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[43, 57], Operations: ['4+39=43', '31+26=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[31, 69], Operations: ['4+39=43', '26+43=69'] Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,59 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[26, 74], Operations: ['4+39=43', '31+43=74'] Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,59 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[43, 5], Operations: ['4+39=43', '31-26=5'] Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,59 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,59 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: 59:[4, 39, 57], Operations: ['31+26=57'] Exploring Operation: 4+39=43, Resulting Numbers: [57, 43] Generated Node #0,3,0: 59:[57, 43] Operation: 4+39=43 Exploring Operation: 57-4=53, Resulting Numbers: [39, 53] Generated Node #0,3,1: 59:[39, 53] Operation: 57-4=53 Exploring Operation: 39-4=35, Resulting Numbers: [57, 35] Generated Node #0,3,2: 59:[57, 35] Operation: 39-4=35 Exploring Operation: 4+57=61, Resulting Numbers: [39, 61] Generated Node #0,3,3: 59:[39, 61] Operation: 4+57=61 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[57, 43], Operations: ['31+26=57', '4+39=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[39, 61], Operations: ['31+26=57', '4+57=61'] Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,59 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[39, 53], Operations: ['31+26=57', '57-4=53'] Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,59 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[57, 35], Operations: ['31+26=57', '39-4=35'] Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 59:[39, 61], Operations: ['31+4=35', '26+35=61'] Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,59 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[35, 65], Operations: ['31+4=35', '39+26=65'] Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,59 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[26, 74], Operations: ['31+4=35', '39+35=74'] Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[35, 13], Operations: ['31+4=35', '39-26=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,59 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 19, 6, 4, 42 ]
31
[ "6+42=48", "48/4=12", "19+12=31" ]
Current State: 31:[19, 6, 4, 42], Operations: [] Exploring Operation: 6+42=48, Resulting Numbers: [19, 4, 48] Generated Node #2: [19, 4, 48] from Operation: 6+42=48 Current State: 31:[19, 4, 48], Operations: ['6+42=48'] Exploring Operation: 48/4=12, Resulting Numbers: [19, 12] Generated Node #3: [19, 12] from Operation: 48/4=12 Current State: 31:[19, 12], Operations: ['6+42=48', '48/4=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[19, 6, 4, 42], Operations: [] Exploring Operation: 6*4=24, Resulting Numbers: [19, 42, 24] Generated Node #0,0: 31:[19, 42, 24] Operation: 6*4=24 Exploring Operation: 6+4=10, Resulting Numbers: [19, 42, 10] Generated Node #0,1: 31:[19, 42, 10] Operation: 6+4=10 Exploring Operation: 19+4=23, Resulting Numbers: [6, 42, 23] Generated Node #0,2: 31:[6, 42, 23] Operation: 19+4=23 Exploring Operation: 42-6=36, Resulting Numbers: [19, 4, 36] Generated Node #0,3: 31:[19, 4, 36] Operation: 42-6=36 Exploring Operation: 19+6=25, Resulting Numbers: [4, 42, 25] Generated Node #0,4: 31:[4, 42, 25] Operation: 19+6=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[19, 42, 24], Operations: ['6*4=24'] Exploring Operation: 19+24=43, Resulting Numbers: [42, 43] Generated Node #0,0,0: 31:[42, 43] Operation: 19+24=43 Exploring Operation: 19+42=61, Resulting Numbers: [24, 61] Generated Node #0,0,1: 31:[24, 61] Operation: 19+42=61 Exploring Operation: 42-24=18, Resulting Numbers: [19, 18] Generated Node #0,0,2: 31:[19, 18] Operation: 42-24=18 Exploring Operation: 42-19=23, Resulting Numbers: [24, 23] Generated Node #0,0,3: 31:[24, 23] Operation: 42-19=23 Exploring Operation: 24-19=5, Resulting Numbers: [42, 5] Generated Node #0,0,4: 31:[42, 5] Operation: 24-19=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[24, 23], Operations: ['6*4=24', '42-19=23'] Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,31 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[42, 43], Operations: ['6*4=24', '19+24=43'] Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[19, 18], Operations: ['6*4=24', '42-24=18'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,31 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[24, 61], Operations: ['6*4=24', '19+42=61'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 24*61=1464, Resulting Numbers: [1464] 1464,31 unequal: No Solution Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 31:[42, 5], Operations: ['6*4=24', '24-19=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,31 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[19, 42, 10], Operations: ['6+4=10'] Exploring Operation: 19-10=9, Resulting Numbers: [42, 9] Generated Node #0,1,0: 31:[42, 9] Operation: 19-10=9 Exploring Operation: 42-10=32, Resulting Numbers: [19, 32] Generated Node #0,1,1: 31:[19, 32] Operation: 42-10=32 Exploring Operation: 42-19=23, Resulting Numbers: [10, 23] Generated Node #0,1,2: 31:[10, 23] Operation: 42-19=23 Exploring Operation: 42+10=52, Resulting Numbers: [19, 52] Generated Node #0,1,3: 31:[19, 52] Operation: 42+10=52 Exploring Operation: 19+10=29, Resulting Numbers: [42, 29] Generated Node #0,1,4: 31:[42, 29] Operation: 19+10=29 Moving to Node #0,1,1 Current State: 31:[19, 32], Operations: ['6+4=10', '42-10=32'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[42, 29], Operations: ['6+4=10', '19+10=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,31 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[10, 23], Operations: ['6+4=10', '42-19=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,31 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[42, 9], Operations: ['6+4=10', '19-10=9'] Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,31 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[19, 52], Operations: ['6+4=10', '42+10=52'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,31 unequal: No Solution Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,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:[6, 42, 23], Operations: ['19+4=23'] Exploring Operation: 6+23=29, Resulting Numbers: [42, 29] Generated Node #0,2,0: 31:[42, 29] Operation: 6+23=29 Exploring Operation: 42/6=7, Resulting Numbers: [23, 7] Generated Node #0,2,1: 31:[23, 7] Operation: 42/6=7 Exploring Operation: 42-6=36, Resulting Numbers: [23, 36] Generated Node #0,2,2: 31:[23, 36] Operation: 42-6=36 Exploring Operation: 23-6=17, Resulting Numbers: [42, 17] Generated Node #0,2,3: 31:[42, 17] Operation: 23-6=17 Exploring Operation: 6+42=48, Resulting Numbers: [23, 48] Generated Node #0,2,4: 31:[23, 48] Operation: 6+42=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[42, 29], Operations: ['19+4=23', '6+23=29'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,31 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[23, 36], Operations: ['19+4=23', '42-6=36'] Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,31 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[42, 17], Operations: ['19+4=23', '23-6=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,31 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 31:[23, 48], Operations: ['19+4=23', '6+42=48'] Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 23+48=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 23*48=1104, Resulting Numbers: [1104] 1104,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[23, 7], Operations: ['19+4=23', '42/6=7'] Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,31 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[19, 4, 36], Operations: ['42-6=36'] Exploring Operation: 4+36=40, Resulting Numbers: [19, 40] Generated Node #0,3,0: 31:[19, 40] Operation: 4+36=40 Exploring Operation: 19-4=15, Resulting Numbers: [36, 15] Generated Node #0,3,1: 31:[36, 15] Operation: 19-4=15 Exploring Operation: 36/4=9, Resulting Numbers: [19, 9] Generated Node #0,3,2: 31:[19, 9] Operation: 36/4=9 Exploring Operation: 19+4=23, Resulting Numbers: [36, 23] Generated Node #0,3,3: 31:[36, 23] Operation: 19+4=23 Exploring Operation: 36-4=32, Resulting Numbers: [19, 32] Generated Node #0,3,4: 31:[19, 32] Operation: 36-4=32 Moving to Node #0,3,3 Current State: 31:[36, 23], Operations: ['42-6=36', '19+4=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,31 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[19, 32], Operations: ['42-6=36', '36-4=32'] Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,31 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[19, 40], Operations: ['42-6=36', '4+36=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,31 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[36, 15], Operations: ['42-6=36', '19-4=15'] Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,31 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[19, 9], Operations: ['42-6=36', '36/4=9'] Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,31 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,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,4 Current State: 31:[4, 42, 25], Operations: ['19+6=25'] Exploring Operation: 42-4=38, Resulting Numbers: [25, 38] Generated Node #0,4,0: 31:[25, 38] Operation: 42-4=38 Exploring Operation: 4+25=29, Resulting Numbers: [42, 29] Generated Node #0,4,1: 31:[42, 29] Operation: 4+25=29 Exploring Operation: 42-25=17, Resulting Numbers: [4, 17] Generated Node #0,4,2: 31:[4, 17] Operation: 42-25=17 Exploring Operation: 4+42=46, Resulting Numbers: [25, 46] Generated Node #0,4,3: 31:[25, 46] Operation: 4+42=46 Exploring Operation: 25-4=21, Resulting Numbers: [42, 21] Generated Node #0,4,4: 31:[42, 21] Operation: 25-4=21 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[25, 38], Operations: ['19+6=25', '42-4=38'] Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,31 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 31:[42, 29], Operations: ['19+6=25', '4+25=29'] Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,31 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[25, 46], Operations: ['19+6=25', '4+42=46'] Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,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,4 Current State: 31:[42, 21], Operations: ['19+6=25', '25-4=21'] Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,31 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,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:[4, 17], Operations: ['19+6=25', '42-25=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,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_5
mult_heuristic
[ 54, 30, 51, 57 ]
27
[ "57-54=3", "30+51=81", "81/3=27" ]
Current State: 27:[54, 30, 51, 57], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [30, 51, 3] Generated Node #2: [30, 51, 3] from Operation: 57-54=3 Current State: 27:[30, 51, 3], Operations: ['57-54=3'] Exploring Operation: 30+51=81, Resulting Numbers: [3, 81] Generated Node #3: [3, 81] from Operation: 30+51=81 Current State: 27:[3, 81], Operations: ['57-54=3', '30+51=81'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[54, 30, 51, 57], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [54, 30, 6] Generated Node #0,0: 27:[54, 30, 6] Operation: 57-51=6 Exploring Operation: 54-51=3, Resulting Numbers: [30, 57, 3] Generated Node #0,1: 27:[30, 57, 3] Operation: 54-51=3 Exploring Operation: 57-54=3, Resulting Numbers: [30, 51, 3] Generated Node #0,2: 27:[30, 51, 3] Operation: 57-54=3 Moving to Node #0,2 Current State: 27:[30, 51, 3], Operations: ['57-54=3'] Exploring Operation: 51/3=17, Resulting Numbers: [30, 17] Generated Node #0,2,0: 27:[30, 17] Operation: 51/3=17 Exploring Operation: 51-30=21, Resulting Numbers: [3, 21] Generated Node #0,2,1: 27:[3, 21] Operation: 51-30=21 Exploring Operation: 30-3=27, Resulting Numbers: [51, 27] Generated Node #0,2,2: 27:[51, 27] Operation: 30-3=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[3, 21], Operations: ['57-54=3', '51-30=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,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,0 Current State: 27:[30, 17], Operations: ['57-54=3', '51/3=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,27 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,27 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,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,2 Current State: 27:[51, 27], Operations: ['57-54=3', '30-3=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,27 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: 27:[54, 30, 6], Operations: ['57-51=6'] Exploring Operation: 54/6=9, Resulting Numbers: [30, 9] Generated Node #0,0,0: 27:[30, 9] Operation: 54/6=9 Exploring Operation: 54-6=48, Resulting Numbers: [30, 48] Generated Node #0,0,1: 27:[30, 48] Operation: 54-6=48 Exploring Operation: 54-30=24, Resulting Numbers: [6, 24] Generated Node #0,0,2: 27:[6, 24] Operation: 54-30=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[30, 9], Operations: ['57-51=6', '54/6=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,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,2 Current State: 27:[6, 24], Operations: ['57-51=6', '54-30=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,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,1 Current State: 27:[30, 48], Operations: ['57-51=6', '54-6=48'] Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,27 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,27 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: 27:[30, 57, 3], Operations: ['54-51=3'] Exploring Operation: 30-3=27, Resulting Numbers: [57, 27] Generated Node #0,1,0: 27:[57, 27] Operation: 30-3=27 Exploring Operation: 57-30=27, Resulting Numbers: [3, 27] Generated Node #0,1,1: 27:[3, 27] Operation: 57-30=27 Exploring Operation: 57/3=19, Resulting Numbers: [30, 19] Generated Node #0,1,2: 27:[30, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[3, 27], Operations: ['54-51=3', '57-30=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,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,1,2 Current State: 27:[30, 19], Operations: ['54-51=3', '57/3=19'] Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,27 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,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,1,0 Current State: 27:[57, 27], Operations: ['54-51=3', '30-3=27'] Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,27 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,27 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
[ 89, 15, 6, 69 ]
31
[ "89*6=534", "534-69=465", "465/15=31" ]
Current State: 31:[89, 15, 6, 69], Operations: [] Exploring Operation: 89*6=534, Resulting Numbers: [15, 69, 534] Generated Node #2: [15, 69, 534] from Operation: 89*6=534 Current State: 31:[15, 69, 534], Operations: ['89*6=534'] Exploring Operation: 534-69=465, Resulting Numbers: [15, 465] Generated Node #3: [15, 465] from Operation: 534-69=465 Current State: 31:[15, 465], Operations: ['89*6=534', '534-69=465'] Exploring Operation: 465/15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[89, 15, 6, 69], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [15, 6, 20] Generated Node #0,0: 31:[15, 6, 20] Operation: 89-69=20 Exploring Operation: 89-15=74, Resulting Numbers: [6, 69, 74] Generated Node #0,1: 31:[6, 69, 74] Operation: 89-15=74 Exploring Operation: 89-6=83, Resulting Numbers: [15, 69, 83] Generated Node #0,2: 31:[15, 69, 83] Operation: 89-6=83 Moving to Node #0,0 Current State: 31:[15, 6, 20], Operations: ['89-69=20'] Exploring Operation: 15+6=21, Resulting Numbers: [20, 21] Generated Node #0,0,0: 31:[20, 21] Operation: 15+6=21 Exploring Operation: 6+20=26, Resulting Numbers: [15, 26] Generated Node #0,0,1: 31:[15, 26] Operation: 6+20=26 Exploring Operation: 15+20=35, Resulting Numbers: [6, 35] Generated Node #0,0,2: 31:[6, 35] Operation: 15+20=35 Moving to Node #0,1 Current State: 31:[6, 69, 74], Operations: ['89-15=74'] Exploring Operation: 74-6=68, Resulting Numbers: [69, 68] Generated Node #0,1,0: 31:[69, 68] Operation: 74-6=68 Exploring Operation: 69-6=63, Resulting Numbers: [74, 63] Generated Node #0,1,1: 31:[74, 63] Operation: 69-6=63 Exploring Operation: 74-69=5, Resulting Numbers: [6, 5] Generated Node #0,1,2: 31:[6, 5] Operation: 74-69=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[6, 5], Operations: ['89-15=74', '74-69=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[69, 68], Operations: ['89-15=74', '74-6=68'] Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,31 unequal: No Solution Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[74, 63], Operations: ['89-15=74', '69-6=63'] Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,31 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,31 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: 31:[15, 69, 83], Operations: ['89-6=83'] Exploring Operation: 83-15=68, Resulting Numbers: [69, 68] Generated Node #0,2,0: 31:[69, 68] Operation: 83-15=68 Exploring Operation: 69-15=54, Resulting Numbers: [83, 54] Generated Node #0,2,1: 31:[83, 54] Operation: 69-15=54 Exploring Operation: 83-69=14, Resulting Numbers: [15, 14] Generated Node #0,2,2: 31:[15, 14] Operation: 83-69=14 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[15, 14], Operations: ['89-6=83', '83-69=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,31 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,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,0 Current State: 31:[69, 68], Operations: ['89-6=83', '83-15=68'] Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,31 unequal: No Solution Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,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,1 Current State: 31:[83, 54], Operations: ['89-6=83', '69-15=54'] Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 83+54=137, Resulting Numbers: [137] 137,31 unequal: No Solution Exploring Operation: 83*54=4482, Resulting Numbers: [4482] 4482,31 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: 31:[20, 21], Operations: ['89-69=20', '15+6=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,31 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[15, 26], Operations: ['89-69=20', '6+20=26'] Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,31 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[6, 35], Operations: ['89-69=20', '15+20=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,31 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 60, 24, 20, 11 ]
88
[ "60/20=3", "24*11=264", "264/3=88" ]
Current State: 88:[60, 24, 20, 11], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [24, 11, 3] Generated Node #2: [24, 11, 3] from Operation: 60/20=3 Current State: 88:[24, 11, 3], Operations: ['60/20=3'] Exploring Operation: 24*11=264, Resulting Numbers: [3, 264] Generated Node #3: [3, 264] from Operation: 24*11=264 Current State: 88:[3, 264], Operations: ['60/20=3', '24*11=264'] Exploring Operation: 264/3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[60, 24, 20, 11], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [24, 11, 3] Generated Node #0,0: 88:[24, 11, 3] Operation: 60/20=3 Exploring Operation: 60+24=84, Resulting Numbers: [20, 11, 84] Generated Node #0,1: 88:[20, 11, 84] Operation: 60+24=84 Exploring Operation: 60-20=40, Resulting Numbers: [24, 11, 40] Generated Node #0,2: 88:[24, 11, 40] Operation: 60-20=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[24, 11, 3], Operations: ['60/20=3'] Exploring Operation: 24/3=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 88:[11, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [11, 21] Generated Node #0,0,1: 88:[11, 21] Operation: 24-3=21 Exploring Operation: 11-3=8, Resulting Numbers: [24, 8] Generated Node #0,0,2: 88:[24, 8] Operation: 11-3=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[11, 8], Operations: ['60/20=3', '24/3=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[60, 24, 20, 11], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [24, 11, 3] Generated Node #0,0: 88:[24, 11, 3] Operation: 60/20=3 Moving to Node #0,0 Current State: 88:[24, 11, 3], Operations: ['60/20=3'] Exploring Operation: 24/3=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 88:[11, 8] Operation: 24/3=8 Moving to Node #0,0,0 Current State: 88:[11, 8], Operations: ['60/20=3', '24/3=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 37, 76, 2, 31 ]
53
[ "76-31=45", "2*45=90", "90-37=53" ]
Current State: 53:[37, 76, 2, 31], Operations: [] Exploring Operation: 76-31=45, Resulting Numbers: [37, 2, 45] Generated Node #2: [37, 2, 45] from Operation: 76-31=45 Current State: 53:[37, 2, 45], Operations: ['76-31=45'] Exploring Operation: 2*45=90, Resulting Numbers: [37, 90] Generated Node #3: [37, 90] from Operation: 2*45=90 Current State: 53:[37, 90], Operations: ['76-31=45', '2*45=90'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[37, 76, 2, 31], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [37, 31, 38] Generated Node #0,0: 53:[37, 31, 38] Operation: 76/2=38 Exploring Operation: 37+2=39, Resulting Numbers: [76, 31, 39] Generated Node #0,1: 53:[76, 31, 39] Operation: 37+2=39 Exploring Operation: 2*31=62, Resulting Numbers: [37, 76, 62] Generated Node #0,2: 53:[37, 76, 62] Operation: 2*31=62 Exploring Operation: 76-2=74, Resulting Numbers: [37, 31, 74] Generated Node #0,3: 53:[37, 31, 74] Operation: 76-2=74 Exploring Operation: 2+31=33, Resulting Numbers: [37, 76, 33] Generated Node #0,4: 53:[37, 76, 33] Operation: 2+31=33 Moving to Node #0,2 Current State: 53:[37, 76, 62], Operations: ['2*31=62'] Exploring Operation: 76-62=14, Resulting Numbers: [37, 14] Generated Node #0,2,0: 53:[37, 14] Operation: 76-62=14 Exploring Operation: 37+62=99, Resulting Numbers: [76, 99] Generated Node #0,2,1: 53:[76, 99] Operation: 37+62=99 Exploring Operation: 62-37=25, Resulting Numbers: [76, 25] Generated Node #0,2,2: 53:[76, 25] Operation: 62-37=25 Exploring Operation: 76-37=39, Resulting Numbers: [62, 39] Generated Node #0,2,3: 53:[62, 39] Operation: 76-37=39 Exploring Operation: 37+76=113, Resulting Numbers: [62, 113] Generated Node #0,2,4: 53:[62, 113] Operation: 37+76=113 Moving to Node #0,0 Current State: 53:[37, 31, 38], Operations: ['76/2=38'] Exploring Operation: 38-31=7, Resulting Numbers: [37, 7] Generated Node #0,0,0: 53:[37, 7] Operation: 38-31=7 Exploring Operation: 37-31=6, Resulting Numbers: [38, 6] Generated Node #0,0,1: 53:[38, 6] Operation: 37-31=6 Exploring Operation: 37+38=75, Resulting Numbers: [31, 75] Generated Node #0,0,2: 53:[31, 75] Operation: 37+38=75 Exploring Operation: 37+31=68, Resulting Numbers: [38, 68] Generated Node #0,0,3: 53:[38, 68] Operation: 37+31=68 Exploring Operation: 31+38=69, Resulting Numbers: [37, 69] Generated Node #0,0,4: 53:[37, 69] Operation: 31+38=69 Moving to Node #0,1 Current State: 53:[76, 31, 39], Operations: ['37+2=39'] Exploring Operation: 76-39=37, Resulting Numbers: [31, 37] Generated Node #0,1,0: 53:[31, 37] Operation: 76-39=37 Exploring Operation: 76-31=45, Resulting Numbers: [39, 45] Generated Node #0,1,1: 53:[39, 45] Operation: 76-31=45 Exploring Operation: 39-31=8, Resulting Numbers: [76, 8] Generated Node #0,1,2: 53:[76, 8] Operation: 39-31=8 Exploring Operation: 76+31=107, Resulting Numbers: [39, 107] Generated Node #0,1,3: 53:[39, 107] Operation: 76+31=107 Exploring Operation: 31+39=70, Resulting Numbers: [76, 70] Generated Node #0,1,4: 53:[76, 70] Operation: 31+39=70 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[39, 45], Operations: ['37+2=39', '76-31=45'] Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,53 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,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:[31, 37], Operations: ['37+2=39', '76-39=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,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,4 Current State: 53:[76, 70], Operations: ['37+2=39', '31+39=70'] Exploring Operation: 76+70=146, Resulting Numbers: [146] 146,53 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 76*70=5320, Resulting Numbers: [5320] 5320,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:[76, 8], Operations: ['37+2=39', '39-31=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,53 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,53 unequal: No Solution No 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: 53:[39, 107], Operations: ['37+2=39', '76+31=107'] Exploring Operation: 39*107=4173, Resulting Numbers: [4173] 4173,53 unequal: No Solution Exploring Operation: 107-39=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 39+107=146, Resulting Numbers: [146] 146,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:[37, 31, 74], Operations: ['76-2=74'] Exploring Operation: 74-31=43, Resulting Numbers: [37, 43] Generated Node #0,3,0: 53:[37, 43] Operation: 74-31=43 Exploring Operation: 74-37=37, Resulting Numbers: [31, 37] Generated Node #0,3,1: 53:[31, 37] Operation: 74-37=37 Exploring Operation: 37+31=68, Resulting Numbers: [74, 68] Generated Node #0,3,2: 53:[74, 68] Operation: 37+31=68 Exploring Operation: 31+74=105, Resulting Numbers: [37, 105] Generated Node #0,3,3: 53:[37, 105] Operation: 31+74=105 Exploring Operation: 37-31=6, Resulting Numbers: [74, 6] Generated Node #0,3,4: 53:[74, 6] Operation: 37-31=6 Moving to Node #0,4 Current State: 53:[37, 76, 33], Operations: ['2+31=33'] Exploring Operation: 76+33=109, Resulting Numbers: [37, 109] Generated Node #0,4,0: 53:[37, 109] Operation: 76+33=109 Exploring Operation: 37-33=4, Resulting Numbers: [76, 4] Generated Node #0,4,1: 53:[76, 4] Operation: 37-33=4 Exploring Operation: 76-37=39, Resulting Numbers: [33, 39] Generated Node #0,4,2: 53:[33, 39] Operation: 76-37=39 Exploring Operation: 37+33=70, Resulting Numbers: [76, 70] Generated Node #0,4,3: 53:[76, 70] Operation: 37+33=70 Exploring Operation: 76-33=43, Resulting Numbers: [37, 43] Generated Node #0,4,4: 53:[37, 43] Operation: 76-33=43 Moving to Node #0,2,3 Current State: 53:[62, 39], Operations: ['2*31=62', '76-37=39'] Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,53 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[37, 43], Operations: ['76-2=74', '74-31=43'] Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,53 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[37, 43], Operations: ['2+31=33', '76-33=43'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[38, 68], Operations: ['76/2=38', '37+31=68'] Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 38*68=2584, Resulting Numbers: [2584] 2584,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[37, 69], Operations: ['76/2=38', '31+38=69'] Exploring Operation: 37+69=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 37*69=2553, Resulting Numbers: [2553] 2553,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[33, 39], Operations: ['2+31=33', '76-37=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[74, 68], Operations: ['76-2=74', '37+31=68'] Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,53 unequal: No Solution Exploring Operation: 74*68=5032, Resulting Numbers: [5032] 5032,53 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[31, 37], Operations: ['76-2=74', '74-37=37'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,53 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[76, 70], Operations: ['2+31=33', '37+33=70'] Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 76+70=146, Resulting Numbers: [146] 146,53 unequal: No Solution Exploring Operation: 76*70=5320, Resulting Numbers: [5320] 5320,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[31, 75], Operations: ['76/2=38', '37+38=75'] Exploring Operation: 31+75=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 31*75=2325, Resulting Numbers: [2325] 2325,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[76, 25], Operations: ['2*31=62', '62-37=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,53 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[37, 14], Operations: ['2*31=62', '76-62=14'] Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,53 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[38, 6], Operations: ['76/2=38', '37-31=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[37, 7], Operations: ['76/2=38', '38-31=7'] Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,53 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[74, 6], Operations: ['76-2=74', '37-31=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,53 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[37, 105], Operations: ['76-2=74', '31+74=105'] Exploring Operation: 37+105=142, Resulting Numbers: [142] 142,53 unequal: No Solution Exploring Operation: 105-37=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 37*105=3885, Resulting Numbers: [3885] 3885,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[62, 113], Operations: ['2*31=62', '37+76=113'] Exploring Operation: 62*113=7006, Resulting Numbers: [7006] 7006,53 unequal: No Solution Exploring Operation: 62+113=175, Resulting Numbers: [175] 175,53 unequal: No Solution Exploring Operation: 113-62=51, Resulting Numbers: [51] 51,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[76, 99], Operations: ['2*31=62', '37+62=99'] Exploring Operation: 76*99=7524, Resulting Numbers: [7524] 7524,53 unequal: No Solution Exploring Operation: 99-76=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 76+99=175, Resulting Numbers: [175] 175,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[37, 109], Operations: ['2+31=33', '76+33=109'] Exploring Operation: 37*109=4033, Resulting Numbers: [4033] 4033,53 unequal: No Solution Exploring Operation: 109-37=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 37+109=146, Resulting Numbers: [146] 146,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[76, 4], Operations: ['2+31=33', '37-33=4'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,53 unequal: No Solution Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 99, 18, 10, 7 ]
64
[ "99-18=81", "10+7=17", "81-17=64" ]
Current State: 64:[99, 18, 10, 7], Operations: [] Exploring Operation: 99-18=81, Resulting Numbers: [10, 7, 81] Generated Node #2: [10, 7, 81] from Operation: 99-18=81 Current State: 64:[10, 7, 81], Operations: ['99-18=81'] Exploring Operation: 10+7=17, Resulting Numbers: [81, 17] Generated Node #3: [81, 17] from Operation: 10+7=17 Current State: 64:[81, 17], Operations: ['99-18=81', '10+7=17'] Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[99, 18, 10, 7], Operations: [] Exploring Operation: 99-10=89, Resulting Numbers: [18, 7, 89] Generated Node #0,0: 64:[18, 7, 89] Operation: 99-10=89 Exploring Operation: 99-18=81, Resulting Numbers: [10, 7, 81] Generated Node #0,1: 64:[10, 7, 81] Operation: 99-18=81 Exploring Operation: 99-7=92, Resulting Numbers: [18, 10, 92] Generated Node #0,2: 64:[18, 10, 92] Operation: 99-7=92 Exploring Operation: 10+7=17, Resulting Numbers: [99, 18, 17] Generated Node #0,3: 64:[99, 18, 17] Operation: 10+7=17 Exploring Operation: 18-10=8, Resulting Numbers: [99, 7, 8] Generated Node #0,4: 64:[99, 7, 8] Operation: 18-10=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[10, 7, 81], Operations: ['99-18=81'] Exploring Operation: 81-10=71, Resulting Numbers: [7, 71] Generated Node #0,1,0: 64:[7, 71] Operation: 81-10=71 Exploring Operation: 10-7=3, Resulting Numbers: [81, 3] Generated Node #0,1,1: 64:[81, 3] Operation: 10-7=3 Exploring Operation: 81-7=74, Resulting Numbers: [10, 74] Generated Node #0,1,2: 64:[10, 74] Operation: 81-7=74 Exploring Operation: 10*7=70, Resulting Numbers: [81, 70] Generated Node #0,1,3: 64:[81, 70] Operation: 10*7=70 Exploring Operation: 10+7=17, Resulting Numbers: [81, 17] Generated Node #0,1,4: 64:[81, 17] Operation: 10+7=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[7, 71], Operations: ['99-18=81', '81-10=71'] Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[99, 18, 10, 7], Operations: [] Exploring Operation: 99-18=81, Resulting Numbers: [10, 7, 81] Generated Node #0,1: 64:[10, 7, 81] Operation: 99-18=81 Moving to Node #0,1 Current State: 64:[10, 7, 81], Operations: ['99-18=81'] Exploring Operation: 81-10=71, Resulting Numbers: [7, 71] Generated Node #0,1,0: 64:[7, 71] Operation: 81-10=71 Moving to Node #0,1,0 Current State: 64:[7, 71], Operations: ['99-18=81', '81-10=71'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 46, 50, 50, 23 ]
68
[ "46+23=69", "50/50=1", "69-1=68" ]
Current State: 68:[46, 50, 50, 23], Operations: [] Exploring Operation: 46+23=69, Resulting Numbers: [50, 50, 69] Generated Node #2: [50, 50, 69] from Operation: 46+23=69 Current State: 68:[50, 50, 69], Operations: ['46+23=69'] Exploring Operation: 50/50=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 50/50=1 Current State: 68:[69, 1], Operations: ['46+23=69', '50/50=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[46, 50, 50, 23], Operations: [] Exploring Operation: 50/50=1, Resulting Numbers: [46, 23, 1] Generated Node #0,0: 68:[46, 23, 1] Operation: 50/50=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[46, 23, 1], Operations: ['50/50=1'] Exploring Operation: 46/23=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 68:[1, 2] Operation: 46/23=2 Moving to Node #0,0,0 Current State: 68:[1, 2], Operations: ['50/50=1', '46/23=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,68 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
[ 20, 94, 78, 57 ]
95
[ "94-20=74", "78-57=21", "74+21=95" ]
Current State: 95:[20, 94, 78, 57], Operations: [] Exploring Operation: 94-20=74, Resulting Numbers: [78, 57, 74] Generated Node #2: [78, 57, 74] from Operation: 94-20=74 Current State: 95:[78, 57, 74], Operations: ['94-20=74'] Exploring Operation: 78-57=21, Resulting Numbers: [74, 21] Generated Node #3: [74, 21] from Operation: 78-57=21 Current State: 95:[74, 21], Operations: ['94-20=74', '78-57=21'] Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[20, 94, 78, 57], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [20, 78, 37] Generated Node #0,0: 95:[20, 78, 37] Operation: 94-57=37 Exploring Operation: 78-57=21, Resulting Numbers: [20, 94, 21] Generated Node #0,1: 95:[20, 94, 21] Operation: 78-57=21 Exploring Operation: 57-20=37, Resulting Numbers: [94, 78, 37] Generated Node #0,2: 95:[94, 78, 37] Operation: 57-20=37 Exploring Operation: 20+57=77, Resulting Numbers: [94, 78, 77] Generated Node #0,3: 95:[94, 78, 77] Operation: 20+57=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[20, 94, 21], Operations: ['78-57=21'] Exploring Operation: 20+94=114, Resulting Numbers: [21, 114] Generated Node #0,1,0: 95:[21, 114] Operation: 20+94=114 Exploring Operation: 21-20=1, Resulting Numbers: [94, 1] Generated Node #0,1,1: 95:[94, 1] Operation: 21-20=1 Exploring Operation: 94+21=115, Resulting Numbers: [20, 115] Generated Node #0,1,2: 95:[20, 115] Operation: 94+21=115 Exploring Operation: 94-20=74, Resulting Numbers: [21, 74] Generated Node #0,1,3: 95:[21, 74] Operation: 94-20=74 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[94, 1], Operations: ['78-57=21', '21-20=1'] Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[20, 94, 78, 57], Operations: [] Exploring Operation: 78-57=21, Resulting Numbers: [20, 94, 21] Generated Node #0,1: 95:[20, 94, 21] Operation: 78-57=21 Moving to Node #0,1 Current State: 95:[20, 94, 21], Operations: ['78-57=21'] Exploring Operation: 21-20=1, Resulting Numbers: [94, 1] Generated Node #0,1,1: 95:[94, 1] Operation: 21-20=1 Moving to Node #0,1,1 Current State: 95:[94, 1], Operations: ['78-57=21', '21-20=1'] Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 89, 71, 4, 8 ]
42
[ "89+71=160", "8+160=168", "168/4=42" ]
Current State: 42:[89, 71, 4, 8], Operations: [] Exploring Operation: 89+71=160, Resulting Numbers: [4, 8, 160] Generated Node #2: [4, 8, 160] from Operation: 89+71=160 Current State: 42:[4, 8, 160], Operations: ['89+71=160'] Exploring Operation: 8+160=168, Resulting Numbers: [4, 168] Generated Node #3: [4, 168] from Operation: 8+160=168 Current State: 42:[4, 168], Operations: ['89+71=160', '8+160=168'] Exploring Operation: 168/4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[89, 71, 4, 8], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [4, 8, 18] Generated Node #0,0: 42:[4, 8, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 42:[4, 8, 18], Operations: ['89-71=18'] Exploring Operation: 18-4=14, Resulting Numbers: [8, 14] Generated Node #0,0,0: 42:[8, 14] Operation: 18-4=14 Moving to Node #0,0,0 Current State: 42:[8, 14], Operations: ['89-71=18', '18-4=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 3, 17, 32, 21 ]
87
[ "21/3=7", "17*7=119", "119-32=87" ]
Current State: 87:[3, 17, 32, 21], Operations: [] Exploring Operation: 21/3=7, Resulting Numbers: [17, 32, 7] Generated Node #2: [17, 32, 7] from Operation: 21/3=7 Current State: 87:[17, 32, 7], Operations: ['21/3=7'] Exploring Operation: 17*7=119, Resulting Numbers: [32, 119] Generated Node #3: [32, 119] from Operation: 17*7=119 Current State: 87:[32, 119], Operations: ['21/3=7', '17*7=119'] Exploring Operation: 119-32=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 17, 32, 21], Operations: [] Exploring Operation: 17+21=38, Resulting Numbers: [3, 32, 38] Generated Node #0,0: 87:[3, 32, 38] Operation: 17+21=38 Exploring Operation: 21/3=7, Resulting Numbers: [17, 32, 7] Generated Node #0,1: 87:[17, 32, 7] Operation: 21/3=7 Exploring Operation: 3+17=20, Resulting Numbers: [32, 21, 20] Generated Node #0,2: 87:[32, 21, 20] Operation: 3+17=20 Exploring Operation: 21-17=4, Resulting Numbers: [3, 32, 4] Generated Node #0,3: 87:[3, 32, 4] Operation: 21-17=4 Moving to Node #0,3 Current State: 87:[3, 32, 4], Operations: ['21-17=4'] Exploring Operation: 32-4=28, Resulting Numbers: [3, 28] Generated Node #0,3,0: 87:[3, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [3, 8] Generated Node #0,3,1: 87:[3, 8] Operation: 32/4=8 Exploring Operation: 4-3=1, Resulting Numbers: [32, 1] Generated Node #0,3,2: 87:[32, 1] Operation: 4-3=1 Exploring Operation: 32-3=29, Resulting Numbers: [4, 29] Generated Node #0,3,3: 87:[4, 29] Operation: 32-3=29 Moving to Node #0,0 Current State: 87:[3, 32, 38], Operations: ['17+21=38'] Exploring Operation: 3+32=35, Resulting Numbers: [38, 35] Generated Node #0,0,0: 87:[38, 35] Operation: 3+32=35 Exploring Operation: 32-3=29, Resulting Numbers: [38, 29] Generated Node #0,0,1: 87:[38, 29] Operation: 32-3=29 Exploring Operation: 38-3=35, Resulting Numbers: [32, 35] Generated Node #0,0,2: 87:[32, 35] Operation: 38-3=35 Exploring Operation: 38-32=6, Resulting Numbers: [3, 6] Generated Node #0,0,3: 87:[3, 6] Operation: 38-32=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[3, 6], Operations: ['17+21=38', '38-32=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[38, 29], Operations: ['17+21=38', '32-3=29'] Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,87 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[32, 35], Operations: ['17+21=38', '38-3=35'] Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,87 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[38, 35], Operations: ['17+21=38', '3+32=35'] Exploring Operation: 38*35=1330, Resulting Numbers: [1330] 1330,87 unequal: No Solution Exploring Operation: 38+35=73, Resulting Numbers: [73] 73,87 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 87:[17, 32, 7], Operations: ['21/3=7'] Exploring Operation: 17+7=24, Resulting Numbers: [32, 24] Generated Node #0,1,0: 87:[32, 24] Operation: 17+7=24 Exploring Operation: 17-7=10, Resulting Numbers: [32, 10] Generated Node #0,1,1: 87:[32, 10] Operation: 17-7=10 Exploring Operation: 32-7=25, Resulting Numbers: [17, 25] Generated Node #0,1,2: 87:[17, 25] Operation: 32-7=25 Exploring Operation: 32-17=15, Resulting Numbers: [7, 15] Generated Node #0,1,3: 87:[7, 15] Operation: 32-17=15 Moving to Node #0,2 Current State: 87:[32, 21, 20], Operations: ['3+17=20'] Exploring Operation: 21+20=41, Resulting Numbers: [32, 41] Generated Node #0,2,0: 87:[32, 41] Operation: 21+20=41 Exploring Operation: 32-21=11, Resulting Numbers: [20, 11] Generated Node #0,2,1: 87:[20, 11] Operation: 32-21=11 Exploring Operation: 21-20=1, Resulting Numbers: [32, 1] Generated Node #0,2,2: 87:[32, 1] Operation: 21-20=1 Exploring Operation: 32-20=12, Resulting Numbers: [21, 12] Generated Node #0,2,3: 87:[21, 12] Operation: 32-20=12 Moving to Node #0,3,0 Current State: 87:[3, 28], Operations: ['21-17=4', '32-4=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,87 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[4, 29], Operations: ['21-17=4', '32-3=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[3, 8], Operations: ['21-17=4', '32/4=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[32, 1], Operations: ['21-17=4', '4-3=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[32, 1], Operations: ['3+17=20', '21-20=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[32, 24], Operations: ['21/3=7', '17+7=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,87 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,87 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[32, 10], Operations: ['21/3=7', '17-7=10'] Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,87 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[32, 41], Operations: ['3+17=20', '21+20=41'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,87 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[17, 25], Operations: ['21/3=7', '32-7=25'] Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[7, 15], Operations: ['21/3=7', '32-17=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,87 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[20, 11], Operations: ['3+17=20', '32-21=11'] Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,87 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[21, 12], Operations: ['3+17=20', '32-20=12'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,87 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,87 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 23, 3, 8, 53 ]
82
[ "53-23=30", "3*30=90", "90-8=82" ]
Current State: 82:[23, 3, 8, 53], Operations: [] Exploring Operation: 53-23=30, Resulting Numbers: [3, 8, 30] Generated Node #2: [3, 8, 30] from Operation: 53-23=30 Current State: 82:[3, 8, 30], Operations: ['53-23=30'] Exploring Operation: 3*30=90, Resulting Numbers: [8, 90] Generated Node #3: [8, 90] from Operation: 3*30=90 Current State: 82:[8, 90], Operations: ['53-23=30', '3*30=90'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[23, 3, 8, 53], Operations: [] Exploring Operation: 23-8=15, Resulting Numbers: [3, 53, 15] Generated Node #0,0: 82:[3, 53, 15] Operation: 23-8=15 Exploring Operation: 23+8=31, Resulting Numbers: [3, 53, 31] Generated Node #0,1: 82:[3, 53, 31] Operation: 23+8=31 Exploring Operation: 53-23=30, Resulting Numbers: [3, 8, 30] Generated Node #0,2: 82:[3, 8, 30] Operation: 53-23=30 Exploring Operation: 23+53=76, Resulting Numbers: [3, 8, 76] Generated Node #0,3: 82:[3, 8, 76] Operation: 23+53=76 Exploring Operation: 53-8=45, Resulting Numbers: [23, 3, 45] Generated Node #0,4: 82:[23, 3, 45] Operation: 53-8=45 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[3, 8, 76], Operations: ['23+53=76'] Exploring Operation: 76-3=73, Resulting Numbers: [8, 73] Generated Node #0,3,0: 82:[8, 73] Operation: 76-3=73 Exploring Operation: 8+76=84, Resulting Numbers: [3, 84] Generated Node #0,3,1: 82:[3, 84] Operation: 8+76=84 Exploring Operation: 3+8=11, Resulting Numbers: [76, 11] Generated Node #0,3,2: 82:[76, 11] Operation: 3+8=11 Exploring Operation: 3+76=79, Resulting Numbers: [8, 79] Generated Node #0,3,3: 82:[8, 79] Operation: 3+76=79 Exploring Operation: 8-3=5, Resulting Numbers: [76, 5] Generated Node #0,3,4: 82:[76, 5] Operation: 8-3=5 Moving to Node #0,3,1 Current State: 82:[3, 84], Operations: ['23+53=76', '8+76=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,82 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[76, 5], Operations: ['23+53=76', '8-3=5'] Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,82 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[8, 79], Operations: ['23+53=76', '3+76=79'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,82 unequal: No Solution Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 8*79=632, Resulting Numbers: [632] 632,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[8, 73], Operations: ['23+53=76', '76-3=73'] Exploring Operation: 8*73=584, Resulting Numbers: [584] 584,82 unequal: No Solution Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[76, 11], Operations: ['23+53=76', '3+8=11'] Exploring Operation: 76+11=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 76*11=836, Resulting Numbers: [836] 836,82 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[3, 8, 30], Operations: ['53-23=30'] Exploring Operation: 8+30=38, Resulting Numbers: [3, 38] Generated Node #0,2,0: 82:[3, 38] Operation: 8+30=38 Exploring Operation: 3+30=33, Resulting Numbers: [8, 33] Generated Node #0,2,1: 82:[8, 33] Operation: 3+30=33 Exploring Operation: 8-3=5, Resulting Numbers: [30, 5] Generated Node #0,2,2: 82:[30, 5] Operation: 8-3=5 Exploring Operation: 3*30=90, Resulting Numbers: [8, 90] Generated Node #0,2,3: 82:[8, 90] Operation: 3*30=90 Exploring Operation: 30/3=10, Resulting Numbers: [8, 10] Generated Node #0,2,4: 82:[8, 10] Operation: 30/3=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[3, 38], Operations: ['53-23=30', '8+30=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,82 unequal: No Solution Exploring Operation: 38-3=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:[8, 33], Operations: ['53-23=30', '3+30=33'] Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,82 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[30, 5], Operations: ['53-23=30', '8-3=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,82 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[8, 90], Operations: ['53-23=30', '3*30=90'] Exploring Operation: 8*90=720, Resulting Numbers: [720] 720,82 unequal: No Solution Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[23, 3, 8, 53], Operations: [] Exploring Operation: 53-23=30, Resulting Numbers: [3, 8, 30] Generated Node #0,2: 82:[3, 8, 30] Operation: 53-23=30 Moving to Node #0,2 Current State: 82:[3, 8, 30], Operations: ['53-23=30'] Exploring Operation: 3*30=90, Resulting Numbers: [8, 90] Generated Node #0,2,3: 82:[8, 90] Operation: 3*30=90 Moving to Node #0,2,3 Current State: 82:[8, 90], Operations: ['53-23=30', '3*30=90'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 96, 54, 77, 48 ]
50
[ "96/48=2", "54/2=27", "77-27=50" ]
Current State: 50:[96, 54, 77, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [54, 77, 2] Generated Node #2: [54, 77, 2] from Operation: 96/48=2 Current State: 50:[54, 77, 2], Operations: ['96/48=2'] Exploring Operation: 54/2=27, Resulting Numbers: [77, 27] Generated Node #3: [77, 27] from Operation: 54/2=27 Current State: 50:[77, 27], Operations: ['96/48=2', '54/2=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[96, 54, 77, 48], Operations: [] Exploring Operation: 96-77=19, Resulting Numbers: [54, 48, 19] Generated Node #0,0: 50:[54, 48, 19] Operation: 96-77=19 Moving to Node #0,0 Current State: 50:[54, 48, 19], Operations: ['96-77=19'] Exploring Operation: 54-48=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 50:[19, 6] Operation: 54-48=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[19, 6], Operations: ['96-77=19', '54-48=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,50 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
[ 77, 18, 11, 42 ]
44
[ "77*18=1386", "1386/42=33", "11+33=44" ]
Current State: 44:[77, 18, 11, 42], Operations: [] Exploring Operation: 77*18=1386, Resulting Numbers: [11, 42, 1386] Generated Node #2: [11, 42, 1386] from Operation: 77*18=1386 Current State: 44:[11, 42, 1386], Operations: ['77*18=1386'] Exploring Operation: 1386/42=33, Resulting Numbers: [11, 33] Generated Node #3: [11, 33] from Operation: 1386/42=33 Current State: 44:[11, 33], Operations: ['77*18=1386', '1386/42=33'] Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[77, 18, 11, 42], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [18, 42, 7] Generated Node #0,0: 44:[18, 42, 7] Operation: 77/11=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[18, 42, 7], Operations: ['77/11=7'] Exploring Operation: 18-7=11, Resulting Numbers: [42, 11] Generated Node #0,0,0: 44:[42, 11] Operation: 18-7=11 Moving to Node #0,0,0 Current State: 44:[42, 11], Operations: ['77/11=7', '18-7=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,44 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
[ 1, 35, 19, 45 ]
100
[ "1+35=36", "19+45=64", "36+64=100" ]
Current State: 100:[1, 35, 19, 45], Operations: [] Exploring Operation: 1+35=36, Resulting Numbers: [19, 45, 36] Generated Node #2: [19, 45, 36] from Operation: 1+35=36 Current State: 100:[19, 45, 36], Operations: ['1+35=36'] Exploring Operation: 19+45=64, Resulting Numbers: [36, 64] Generated Node #3: [36, 64] from Operation: 19+45=64 Current State: 100:[36, 64], Operations: ['1+35=36', '19+45=64'] Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[1, 35, 19, 45], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [1, 19, 10] Generated Node #0,0: 100:[1, 19, 10] Operation: 45-35=10 Moving to Node #0,0 Current State: 100:[1, 19, 10], Operations: ['45-35=10'] Exploring Operation: 1+19=20, Resulting Numbers: [10, 20] Generated Node #0,0,0: 100:[10, 20] Operation: 1+19=20 Moving to Node #0,0,0 Current State: 100:[10, 20], Operations: ['45-35=10', '1+19=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,100 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 61, 79, 20, 72 ]
24
[ "79-61=18", "72/18=4", "20+4=24" ]
Current State: 24:[61, 79, 20, 72], Operations: [] Exploring Operation: 79-61=18, Resulting Numbers: [20, 72, 18] Generated Node #2: [20, 72, 18] from Operation: 79-61=18 Current State: 24:[20, 72, 18], Operations: ['79-61=18'] Exploring Operation: 72/18=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 72/18=4 Current State: 24:[20, 4], Operations: ['79-61=18', '72/18=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[61, 79, 20, 72], Operations: [] Exploring Operation: 61-20=41, Resulting Numbers: [79, 72, 41] Generated Node #0,0: 24:[79, 72, 41] Operation: 61-20=41 Exploring Operation: 72-61=11, Resulting Numbers: [79, 20, 11] Generated Node #0,1: 24:[79, 20, 11] Operation: 72-61=11 Exploring Operation: 79-61=18, Resulting Numbers: [20, 72, 18] Generated Node #0,2: 24:[20, 72, 18] Operation: 79-61=18 Exploring Operation: 79-20=59, Resulting Numbers: [61, 72, 59] Generated Node #0,3: 24:[61, 72, 59] Operation: 79-20=59 Exploring Operation: 79-72=7, Resulting Numbers: [61, 20, 7] Generated Node #0,4: 24:[61, 20, 7] Operation: 79-72=7 Moving to Node #0,4 Current State: 24:[61, 20, 7], Operations: ['79-72=7'] Exploring Operation: 61-7=54, Resulting Numbers: [20, 54] Generated Node #0,4,0: 24:[20, 54] Operation: 61-7=54 Exploring Operation: 20+7=27, Resulting Numbers: [61, 27] Generated Node #0,4,1: 24:[61, 27] Operation: 20+7=27 Exploring Operation: 20-7=13, Resulting Numbers: [61, 13] Generated Node #0,4,2: 24:[61, 13] Operation: 20-7=13 Exploring Operation: 61+7=68, Resulting Numbers: [20, 68] Generated Node #0,4,3: 24:[20, 68] Operation: 61+7=68 Exploring Operation: 61-20=41, Resulting Numbers: [7, 41] Generated Node #0,4,4: 24:[7, 41] Operation: 61-20=41 Moving to Node #0,2 Current State: 24:[20, 72, 18], Operations: ['79-61=18'] Exploring Operation: 20+18=38, Resulting Numbers: [72, 38] Generated Node #0,2,0: 24:[72, 38] Operation: 20+18=38 Exploring Operation: 72-20=52, Resulting Numbers: [18, 52] Generated Node #0,2,1: 24:[18, 52] Operation: 72-20=52 Exploring Operation: 72-18=54, Resulting Numbers: [20, 54] Generated Node #0,2,2: 24:[20, 54] Operation: 72-18=54 Exploring Operation: 20-18=2, Resulting Numbers: [72, 2] Generated Node #0,2,3: 24:[72, 2] Operation: 20-18=2 Exploring Operation: 72/18=4, Resulting Numbers: [20, 4] Generated Node #0,2,4: 24:[20, 4] Operation: 72/18=4 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[20, 4], Operations: ['79-61=18', '72/18=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[61, 79, 20, 72], Operations: [] Exploring Operation: 79-61=18, Resulting Numbers: [20, 72, 18] Generated Node #0,2: 24:[20, 72, 18] Operation: 79-61=18 Moving to Node #0,2 Current State: 24:[20, 72, 18], Operations: ['79-61=18'] Exploring Operation: 72/18=4, Resulting Numbers: [20, 4] Generated Node #0,2,4: 24:[20, 4] Operation: 72/18=4 Moving to Node #0,2,4 Current State: 24:[20, 4], Operations: ['79-61=18', '72/18=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 20, 58, 32, 62 ]
48
[ "20+58=78", "62-32=30", "78-30=48" ]
Current State: 48:[20, 58, 32, 62], Operations: [] Exploring Operation: 20+58=78, Resulting Numbers: [32, 62, 78] Generated Node #2: [32, 62, 78] from Operation: 20+58=78 Current State: 48:[32, 62, 78], Operations: ['20+58=78'] Exploring Operation: 62-32=30, Resulting Numbers: [78, 30] Generated Node #3: [78, 30] from Operation: 62-32=30 Current State: 48:[78, 30], Operations: ['20+58=78', '62-32=30'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[20, 58, 32, 62], Operations: [] Exploring Operation: 58-32=26, Resulting Numbers: [20, 62, 26] Generated Node #0,0: 48:[20, 62, 26] Operation: 58-32=26 Exploring Operation: 62-58=4, Resulting Numbers: [20, 32, 4] Generated Node #0,1: 48:[20, 32, 4] Operation: 62-58=4 Moving to Node #0,1 Current State: 48:[20, 32, 4], Operations: ['62-58=4'] Exploring Operation: 20+32=52, Resulting Numbers: [4, 52] Generated Node #0,1,0: 48:[4, 52] Operation: 20+32=52 Exploring Operation: 32-20=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 48:[4, 12] Operation: 32-20=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[4, 12], Operations: ['62-58=4', '32-20=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[20, 58, 32, 62], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [20, 32, 4] Generated Node #0,1: 48:[20, 32, 4] Operation: 62-58=4 Moving to Node #0,1 Current State: 48:[20, 32, 4], Operations: ['62-58=4'] Exploring Operation: 32-20=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 48:[4, 12] Operation: 32-20=12 Moving to Node #0,1,1 Current State: 48:[4, 12], Operations: ['62-58=4', '32-20=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 35, 25, 96, 76 ]
10
[ "35-25=10", "96-76=20", "20-10=10" ]
Current State: 10:[35, 25, 96, 76], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [96, 76, 10] Generated Node #2: [96, 76, 10] from Operation: 35-25=10 Current State: 10:[96, 76, 10], Operations: ['35-25=10'] Exploring Operation: 96-76=20, Resulting Numbers: [10, 20] Generated Node #3: [10, 20] from Operation: 96-76=20 Current State: 10:[10, 20], Operations: ['35-25=10', '96-76=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[35, 25, 96, 76], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [35, 25, 20] Generated Node #0,0: 10:[35, 25, 20] Operation: 96-76=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[35, 25, 20], Operations: ['96-76=20'] Exploring Operation: 35-25=10, Resulting Numbers: [20, 10] Generated Node #0,0,0: 10:[20, 10] Operation: 35-25=10 Moving to Node #0,0,0 Current State: 10:[20, 10], Operations: ['96-76=20', '35-25=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[35, 25, 96, 76], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [35, 25, 20] Generated Node #0,0: 10:[35, 25, 20] Operation: 96-76=20 Moving to Node #0,0 Current State: 10:[35, 25, 20], Operations: ['96-76=20'] Exploring Operation: 35-25=10, Resulting Numbers: [20, 10] Generated Node #0,0,0: 10:[20, 10] Operation: 35-25=10 Moving to Node #0,0,0 Current State: 10:[20, 10], Operations: ['96-76=20', '35-25=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 13, 25, 24, 17 ]
66
[ "24-17=7", "13*7=91", "91-25=66" ]
Current State: 66:[13, 25, 24, 17], Operations: [] Exploring Operation: 24-17=7, Resulting Numbers: [13, 25, 7] Generated Node #2: [13, 25, 7] from Operation: 24-17=7 Current State: 66:[13, 25, 7], Operations: ['24-17=7'] Exploring Operation: 13*7=91, Resulting Numbers: [25, 91] Generated Node #3: [25, 91] from Operation: 13*7=91 Current State: 66:[25, 91], Operations: ['24-17=7', '13*7=91'] Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[13, 25, 24, 17], Operations: [] Exploring Operation: 25-17=8, Resulting Numbers: [13, 24, 8] Generated Node #0,0: 66:[13, 24, 8] Operation: 25-17=8 Exploring Operation: 24-17=7, Resulting Numbers: [13, 25, 7] Generated Node #0,1: 66:[13, 25, 7] Operation: 24-17=7 Exploring Operation: 25-13=12, Resulting Numbers: [24, 17, 12] Generated Node #0,2: 66:[24, 17, 12] Operation: 25-13=12 Exploring Operation: 17-13=4, Resulting Numbers: [25, 24, 4] Generated Node #0,3: 66:[25, 24, 4] Operation: 17-13=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[13, 24, 8], Operations: ['25-17=8'] Exploring Operation: 13-8=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 66:[24, 5] Operation: 13-8=5 Exploring Operation: 24/8=3, Resulting Numbers: [13, 3] Generated Node #0,0,1: 66:[13, 3] Operation: 24/8=3 Exploring Operation: 24-13=11, Resulting Numbers: [8, 11] Generated Node #0,0,2: 66:[8, 11] Operation: 24-13=11 Exploring Operation: 13+8=21, Resulting Numbers: [24, 21] Generated Node #0,0,3: 66:[24, 21] Operation: 13+8=21 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[13, 3], Operations: ['25-17=8', '24/8=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[8, 11], Operations: ['25-17=8', '24-13=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,66 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[24, 5], Operations: ['25-17=8', '13-8=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,66 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 66:[24, 21], Operations: ['25-17=8', '13+8=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[13, 25, 7], Operations: ['24-17=7'] Exploring Operation: 25-13=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 66:[7, 12] Operation: 25-13=12 Exploring Operation: 13+7=20, Resulting Numbers: [25, 20] Generated Node #0,1,1: 66:[25, 20] Operation: 13+7=20 Exploring Operation: 13-7=6, Resulting Numbers: [25, 6] Generated Node #0,1,2: 66:[25, 6] Operation: 13-7=6 Exploring Operation: 25+7=32, Resulting Numbers: [13, 32] Generated Node #0,1,3: 66:[13, 32] Operation: 25+7=32 Moving to Node #0,1,0 Current State: 66:[7, 12], Operations: ['24-17=7', '25-13=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[13, 32], Operations: ['24-17=7', '25+7=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,66 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[25, 6], Operations: ['24-17=7', '13-7=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[25, 20], Operations: ['24-17=7', '13+7=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,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 Current State: 66:[25, 24, 4], Operations: ['17-13=4'] Exploring Operation: 24/4=6, Resulting Numbers: [25, 6] Generated Node #0,3,0: 66:[25, 6] Operation: 24/4=6 Exploring Operation: 25-4=21, Resulting Numbers: [24, 21] Generated Node #0,3,1: 66:[24, 21] Operation: 25-4=21 Exploring Operation: 25-24=1, Resulting Numbers: [4, 1] Generated Node #0,3,2: 66:[4, 1] Operation: 25-24=1 Exploring Operation: 24-4=20, Resulting Numbers: [25, 20] Generated Node #0,3,3: 66:[25, 20] Operation: 24-4=20 Moving to Node #0,3,2 Current State: 66:[4, 1], Operations: ['17-13=4', '25-24=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[24, 21], Operations: ['17-13=4', '25-4=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,66 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[25, 6], Operations: ['17-13=4', '24/4=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,66 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[25, 20], Operations: ['17-13=4', '24-4=20'] Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,66 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,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,2 Current State: 66:[24, 17, 12], Operations: ['25-13=12'] Exploring Operation: 17-12=5, Resulting Numbers: [24, 5] Generated Node #0,2,0: 66:[24, 5] Operation: 17-12=5 Exploring Operation: 24/12=2, Resulting Numbers: [17, 2] Generated Node #0,2,1: 66:[17, 2] Operation: 24/12=2 Exploring Operation: 24-17=7, Resulting Numbers: [12, 7] Generated Node #0,2,2: 66:[12, 7] Operation: 24-17=7 Exploring Operation: 24-12=12, Resulting Numbers: [17, 12] Generated Node #0,2,3: 66:[17, 12] Operation: 24-12=12 Moving to Node #0,2,2 Current State: 66:[12, 7], Operations: ['25-13=12', '24-17=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[24, 5], Operations: ['25-13=12', '17-12=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,66 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[17, 2], Operations: ['25-13=12', '24/12=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[17, 12], Operations: ['25-13=12', '24-12=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,66 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 62, 2, 19, 99 ]
98
[ "99-19=80", "2*80=160", "160-62=98" ]
Current State: 98:[62, 2, 19, 99], Operations: [] Exploring Operation: 99-19=80, Resulting Numbers: [62, 2, 80] Generated Node #2: [62, 2, 80] from Operation: 99-19=80 Current State: 98:[62, 2, 80], Operations: ['99-19=80'] Exploring Operation: 2*80=160, Resulting Numbers: [62, 160] Generated Node #3: [62, 160] from Operation: 2*80=160 Current State: 98:[62, 160], Operations: ['99-19=80', '2*80=160'] Exploring Operation: 160-62=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[62, 2, 19, 99], Operations: [] Exploring Operation: 62-2=60, Resulting Numbers: [19, 99, 60] Generated Node #0,0: 98:[19, 99, 60] Operation: 62-2=60 Exploring Operation: 62-19=43, Resulting Numbers: [2, 99, 43] Generated Node #0,1: 98:[2, 99, 43] Operation: 62-19=43 Exploring Operation: 99-62=37, Resulting Numbers: [2, 19, 37] Generated Node #0,2: 98:[2, 19, 37] Operation: 99-62=37 Exploring Operation: 19-2=17, Resulting Numbers: [62, 99, 17] Generated Node #0,3: 98:[62, 99, 17] Operation: 19-2=17 Exploring Operation: 62+19=81, Resulting Numbers: [2, 99, 81] Generated Node #0,4: 98:[2, 99, 81] Operation: 62+19=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[2, 99, 43], Operations: ['62-19=43'] Exploring Operation: 99-2=97, Resulting Numbers: [43, 97] Generated Node #0,1,0: 98:[43, 97] Operation: 99-2=97 Exploring Operation: 43-2=41, Resulting Numbers: [99, 41] Generated Node #0,1,1: 98:[99, 41] Operation: 43-2=41 Exploring Operation: 99-43=56, Resulting Numbers: [2, 56] Generated Node #0,1,2: 98:[2, 56] Operation: 99-43=56 Exploring Operation: 2+43=45, Resulting Numbers: [99, 45] Generated Node #0,1,3: 98:[99, 45] Operation: 2+43=45 Exploring Operation: 2+99=101, Resulting Numbers: [43, 101] Generated Node #0,1,4: 98:[43, 101] Operation: 2+99=101 Moving to Node #0,1,3 Current State: 98:[99, 45], Operations: ['62-19=43', '2+43=45'] Exploring Operation: 99+45=144, Resulting Numbers: [144] 144,98 unequal: No Solution Exploring Operation: 99*45=4455, Resulting Numbers: [4455] 4455,98 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[2, 56], Operations: ['62-19=43', '99-43=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[43, 97], Operations: ['62-19=43', '99-2=97'] Exploring Operation: 43+97=140, Resulting Numbers: [140] 140,98 unequal: No Solution Exploring Operation: 43*97=4171, Resulting Numbers: [4171] 4171,98 unequal: No Solution Exploring Operation: 97-43=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[99, 41], Operations: ['62-19=43', '43-2=41'] Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,98 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[43, 101], Operations: ['62-19=43', '2+99=101'] Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,98 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[19, 99, 60], Operations: ['62-2=60'] Exploring Operation: 99-19=80, Resulting Numbers: [60, 80] Generated Node #0,0,0: 98:[60, 80] Operation: 99-19=80 Exploring Operation: 19+60=79, Resulting Numbers: [99, 79] Generated Node #0,0,1: 98:[99, 79] Operation: 19+60=79 Exploring Operation: 99-60=39, Resulting Numbers: [19, 39] Generated Node #0,0,2: 98:[19, 39] Operation: 99-60=39 Exploring Operation: 60-19=41, Resulting Numbers: [99, 41] Generated Node #0,0,3: 98:[99, 41] Operation: 60-19=41 Exploring Operation: 19+99=118, Resulting Numbers: [60, 118] Generated Node #0,0,4: 98:[60, 118] Operation: 19+99=118 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[99, 41], Operations: ['62-2=60', '60-19=41'] Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,98 unequal: No Solution Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[19, 39], Operations: ['62-2=60', '99-60=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,98 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[99, 79], Operations: ['62-2=60', '19+60=79'] Exploring Operation: 99+79=178, Resulting Numbers: [178] 178,98 unequal: No Solution Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 99*79=7821, Resulting Numbers: [7821] 7821,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[60, 80], Operations: ['62-2=60', '99-19=80'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,98 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 98:[60, 118], Operations: ['62-2=60', '19+99=118'] Exploring Operation: 60*118=7080, Resulting Numbers: [7080] 7080,98 unequal: No Solution Exploring Operation: 118-60=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 60+118=178, Resulting Numbers: [178] 178,98 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: 98:[2, 19, 37], Operations: ['99-62=37'] Exploring Operation: 2+37=39, Resulting Numbers: [19, 39] Generated Node #0,2,0: 98:[19, 39] Operation: 2+37=39 Exploring Operation: 37-19=18, Resulting Numbers: [2, 18] Generated Node #0,2,1: 98:[2, 18] Operation: 37-19=18 Exploring Operation: 2+19=21, Resulting Numbers: [37, 21] Generated Node #0,2,2: 98:[37, 21] Operation: 2+19=21 Exploring Operation: 19+37=56, Resulting Numbers: [2, 56] Generated Node #0,2,3: 98:[2, 56] Operation: 19+37=56 Exploring Operation: 19-2=17, Resulting Numbers: [37, 17] Generated Node #0,2,4: 98:[37, 17] Operation: 19-2=17 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[2, 18], Operations: ['99-62=37', '37-19=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 98:[2, 56], Operations: ['99-62=37', '19+37=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[19, 39], Operations: ['99-62=37', '2+37=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 98:[37, 17], Operations: ['99-62=37', '19-2=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,98 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[37, 21], Operations: ['99-62=37', '2+19=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,98 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,98 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: 98:[62, 99, 17], Operations: ['19-2=17'] Exploring Operation: 62+17=79, Resulting Numbers: [99, 79] Generated Node #0,3,0: 98:[99, 79] Operation: 62+17=79 Exploring Operation: 99-62=37, Resulting Numbers: [17, 37] Generated Node #0,3,1: 98:[17, 37] Operation: 99-62=37 Exploring Operation: 99+17=116, Resulting Numbers: [62, 116] Generated Node #0,3,2: 98:[62, 116] Operation: 99+17=116 Exploring Operation: 62-17=45, Resulting Numbers: [99, 45] Generated Node #0,3,3: 98:[99, 45] Operation: 62-17=45 Exploring Operation: 99-17=82, Resulting Numbers: [62, 82] Generated Node #0,3,4: 98:[62, 82] Operation: 99-17=82 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 98:[99, 45], Operations: ['19-2=17', '62-17=45'] Exploring Operation: 99+45=144, Resulting Numbers: [144] 144,98 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 99*45=4455, Resulting Numbers: [4455] 4455,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 98:[17, 37], Operations: ['19-2=17', '99-62=37'] Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,98 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 98:[99, 79], Operations: ['19-2=17', '62+17=79'] Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 99+79=178, Resulting Numbers: [178] 178,98 unequal: No Solution Exploring Operation: 99*79=7821, Resulting Numbers: [7821] 7821,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 98:[62, 82], Operations: ['19-2=17', '99-17=82'] Exploring Operation: 62+82=144, Resulting Numbers: [144] 144,98 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 62*82=5084, Resulting Numbers: [5084] 5084,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 98:[62, 116], Operations: ['19-2=17', '99+17=116'] Exploring Operation: 62+116=178, Resulting Numbers: [178] 178,98 unequal: No Solution Exploring Operation: 116-62=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 62*116=7192, Resulting Numbers: [7192] 7192,98 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: 98:[2, 99, 81], Operations: ['62+19=81'] Exploring Operation: 99-81=18, Resulting Numbers: [2, 18] Generated Node #0,4,0: 98:[2, 18] Operation: 99-81=18 Exploring Operation: 2+99=101, Resulting Numbers: [81, 101] Generated Node #0,4,1: 98:[81, 101] Operation: 2+99=101 Exploring Operation: 2+81=83, Resulting Numbers: [99, 83] Generated Node #0,4,2: 98:[99, 83] Operation: 2+81=83 Exploring Operation: 81-2=79, Resulting Numbers: [99, 79] Generated Node #0,4,3: 98:[99, 79] Operation: 81-2=79 Exploring Operation: 99-2=97, Resulting Numbers: [81, 97] Generated Node #0,4,4: 98:[81, 97] Operation: 99-2=97 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 98:[2, 18], Operations: ['62+19=81', '99-81=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 98:[99, 83], Operations: ['62+19=81', '2+81=83'] Exploring Operation: 99+83=182, Resulting Numbers: [182] 182,98 unequal: No Solution Exploring Operation: 99*83=8217, Resulting Numbers: [8217] 8217,98 unequal: No Solution Exploring Operation: 99-83=16, Resulting Numbers: [16] 16,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 98:[81, 97], Operations: ['62+19=81', '99-2=97'] Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,98 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,98 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 98:[81, 101], Operations: ['62+19=81', '2+99=101'] Exploring Operation: 81*101=8181, Resulting Numbers: [8181] 8181,98 unequal: No Solution Exploring Operation: 81+101=182, Resulting Numbers: [182] 182,98 unequal: No Solution Exploring Operation: 101-81=20, Resulting Numbers: [20] 20,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 98:[99, 79], Operations: ['62+19=81', '81-2=79'] Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 99*79=7821, Resulting Numbers: [7821] 7821,98 unequal: No Solution Exploring Operation: 99+79=178, Resulting Numbers: [178] 178,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 29, 72, 1, 10 ]
34
[ "72-29=43", "10-1=9", "43-9=34" ]
Current State: 34:[29, 72, 1, 10], Operations: [] Exploring Operation: 72-29=43, Resulting Numbers: [1, 10, 43] Generated Node #2: [1, 10, 43] from Operation: 72-29=43 Current State: 34:[1, 10, 43], Operations: ['72-29=43'] Exploring Operation: 10-1=9, Resulting Numbers: [43, 9] Generated Node #3: [43, 9] from Operation: 10-1=9 Current State: 34:[43, 9], Operations: ['72-29=43', '10-1=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[29, 72, 1, 10], Operations: [] Exploring Operation: 72-10=62, Resulting Numbers: [29, 1, 62] Generated Node #0,0: 34:[29, 1, 62] Operation: 72-10=62 Exploring Operation: 29+10=39, Resulting Numbers: [72, 1, 39] Generated Node #0,1: 34:[72, 1, 39] Operation: 29+10=39 Exploring Operation: 72-29=43, Resulting Numbers: [1, 10, 43] Generated Node #0,2: 34:[1, 10, 43] Operation: 72-29=43 Exploring Operation: 29-10=19, Resulting Numbers: [72, 1, 19] Generated Node #0,3: 34:[72, 1, 19] Operation: 29-10=19 Moving to Node #0,2 Current State: 34:[1, 10, 43], Operations: ['72-29=43'] Exploring Operation: 43-10=33, Resulting Numbers: [1, 33] Generated Node #0,2,0: 34:[1, 33] Operation: 43-10=33 Exploring Operation: 1+10=11, Resulting Numbers: [43, 11] Generated Node #0,2,1: 34:[43, 11] Operation: 1+10=11 Exploring Operation: 43-1=42, Resulting Numbers: [10, 42] Generated Node #0,2,2: 34:[10, 42] Operation: 43-1=42 Exploring Operation: 1*10=10, Resulting Numbers: [43, 10] Generated Node #0,2,3: 34:[43, 10] Operation: 1*10=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[1, 33], Operations: ['72-29=43', '43-10=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[29, 72, 1, 10], Operations: [] Exploring Operation: 72-29=43, Resulting Numbers: [1, 10, 43] Generated Node #0,2: 34:[1, 10, 43] Operation: 72-29=43 Moving to Node #0,2 Current State: 34:[1, 10, 43], Operations: ['72-29=43'] Exploring Operation: 43-10=33, Resulting Numbers: [1, 33] Generated Node #0,2,0: 34:[1, 33] Operation: 43-10=33 Moving to Node #0,2,0 Current State: 34:[1, 33], Operations: ['72-29=43', '43-10=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 43, 23, 22, 94 ]
51
[ "94-43=51", "23-22=1", "51*1=51" ]
Current State: 51:[43, 23, 22, 94], Operations: [] Exploring Operation: 94-43=51, Resulting Numbers: [23, 22, 51] Generated Node #2: [23, 22, 51] from Operation: 94-43=51 Current State: 51:[23, 22, 51], Operations: ['94-43=51'] Exploring Operation: 23-22=1, Resulting Numbers: [51, 1] Generated Node #3: [51, 1] from Operation: 23-22=1 Current State: 51:[51, 1], Operations: ['94-43=51', '23-22=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[43, 23, 22, 94], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [43, 23, 72] Generated Node #0,0: 51:[43, 23, 72] Operation: 94-22=72 Exploring Operation: 94-43=51, Resulting Numbers: [23, 22, 51] Generated Node #0,1: 51:[23, 22, 51] Operation: 94-43=51 Exploring Operation: 94-23=71, Resulting Numbers: [43, 22, 71] Generated Node #0,2: 51:[43, 22, 71] Operation: 94-23=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[23, 22, 51], Operations: ['94-43=51'] Exploring Operation: 51-23=28, Resulting Numbers: [22, 28] Generated Node #0,1,0: 51:[22, 28] Operation: 51-23=28 Exploring Operation: 23-22=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 51:[51, 1] Operation: 23-22=1 Exploring Operation: 23+22=45, Resulting Numbers: [51, 45] Generated Node #0,1,2: 51:[51, 45] Operation: 23+22=45 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[51, 1], Operations: ['94-43=51', '23-22=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[43, 23, 22, 94], Operations: [] Exploring Operation: 94-43=51, Resulting Numbers: [23, 22, 51] Generated Node #0,1: 51:[23, 22, 51] Operation: 94-43=51 Moving to Node #0,1 Current State: 51:[23, 22, 51], Operations: ['94-43=51'] Exploring Operation: 23-22=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 51:[51, 1] Operation: 23-22=1 Moving to Node #0,1,1 Current State: 51:[51, 1], Operations: ['94-43=51', '23-22=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 70, 88, 62, 62 ]
34
[ "70+88=158", "62+62=124", "158-124=34" ]
Current State: 34:[70, 88, 62, 62], Operations: [] Exploring Operation: 70+88=158, Resulting Numbers: [62, 62, 158] Generated Node #2: [62, 62, 158] from Operation: 70+88=158 Current State: 34:[62, 62, 158], Operations: ['70+88=158'] Exploring Operation: 62+62=124, Resulting Numbers: [158, 124] Generated Node #3: [158, 124] from Operation: 62+62=124 Current State: 34:[158, 124], Operations: ['70+88=158', '62+62=124'] Exploring Operation: 158-124=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[70, 88, 62, 62], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [70, 62, 26] Generated Node #0,0: 34:[70, 62, 26] Operation: 88-62=26 Exploring Operation: 88-70=18, Resulting Numbers: [62, 62, 18] Generated Node #0,1: 34:[62, 62, 18] Operation: 88-70=18 Moving to Node #0,1 Current State: 34:[62, 62, 18], Operations: ['88-70=18'] Exploring Operation: 62/62=1, Resulting Numbers: [18, 1] Generated Node #0,1,0: 34:[18, 1] Operation: 62/62=1 Exploring Operation: 62-62=0, Resulting Numbers: [18, 0] Generated Node #0,1,1: 34:[18, 0] Operation: 62-62=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[18, 1], Operations: ['88-70=18', '62/62=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[18, 0], Operations: ['88-70=18', '62-62=0'] Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 34:[70, 62, 26], Operations: ['88-62=26'] Exploring Operation: 70-26=44, Resulting Numbers: [62, 44] Generated Node #0,0,0: 34:[62, 44] Operation: 70-26=44 Exploring Operation: 70-62=8, Resulting Numbers: [26, 8] Generated Node #0,0,1: 34:[26, 8] Operation: 70-62=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[26, 8], Operations: ['88-62=26', '70-62=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[70, 88, 62, 62], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [70, 62, 26] Generated Node #0,0: 34:[70, 62, 26] Operation: 88-62=26 Moving to Node #0,0 Current State: 34:[70, 62, 26], Operations: ['88-62=26'] Exploring Operation: 70-62=8, Resulting Numbers: [26, 8] Generated Node #0,0,1: 34:[26, 8] Operation: 70-62=8 Moving to Node #0,0,1 Current State: 34:[26, 8], Operations: ['88-62=26', '70-62=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 7, 2, 78, 58 ]
91
[ "7+58=65", "2*78=156", "156-65=91" ]
Current State: 91:[7, 2, 78, 58], Operations: [] Exploring Operation: 7+58=65, Resulting Numbers: [2, 78, 65] Generated Node #2: [2, 78, 65] from Operation: 7+58=65 Current State: 91:[2, 78, 65], Operations: ['7+58=65'] Exploring Operation: 2*78=156, Resulting Numbers: [65, 156] Generated Node #3: [65, 156] from Operation: 2*78=156 Current State: 91:[65, 156], Operations: ['7+58=65', '2*78=156'] Exploring Operation: 156-65=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[7, 2, 78, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [7, 78, 29] Generated Node #0,0: 91:[7, 78, 29] Operation: 58/2=29 Exploring Operation: 78-58=20, Resulting Numbers: [7, 2, 20] Generated Node #0,1: 91:[7, 2, 20] Operation: 78-58=20 Exploring Operation: 2*58=116, Resulting Numbers: [7, 78, 116] Generated Node #0,2: 91:[7, 78, 116] Operation: 2*58=116 Moving to Node #0,1 Current State: 91:[7, 2, 20], Operations: ['78-58=20'] Exploring Operation: 20-2=18, Resulting Numbers: [7, 18] Generated Node #0,1,0: 91:[7, 18] Operation: 20-2=18 Exploring Operation: 20-7=13, Resulting Numbers: [2, 13] Generated Node #0,1,1: 91:[2, 13] Operation: 20-7=13 Exploring Operation: 20/2=10, Resulting Numbers: [7, 10] Generated Node #0,1,2: 91:[7, 10] Operation: 20/2=10 Moving to Node #0,0 Current State: 91:[7, 78, 29], Operations: ['58/2=29'] Exploring Operation: 7+78=85, Resulting Numbers: [29, 85] Generated Node #0,0,0: 91:[29, 85] Operation: 7+78=85 Exploring Operation: 78+29=107, Resulting Numbers: [7, 107] Generated Node #0,0,1: 91:[7, 107] Operation: 78+29=107 Exploring Operation: 29-7=22, Resulting Numbers: [78, 22] Generated Node #0,0,2: 91:[78, 22] Operation: 29-7=22 Moving to Node #0,2 Current State: 91:[7, 78, 116], Operations: ['2*58=116'] Exploring Operation: 116-7=109, Resulting Numbers: [78, 109] Generated Node #0,2,0: 91:[78, 109] Operation: 116-7=109 Exploring Operation: 7+78=85, Resulting Numbers: [116, 85] Generated Node #0,2,1: 91:[116, 85] Operation: 7+78=85 Exploring Operation: 116-78=38, Resulting Numbers: [7, 38] Generated Node #0,2,2: 91:[7, 38] Operation: 116-78=38 Moving to Node #0,1,2 Current State: 91:[7, 10], Operations: ['78-58=20', '20/2=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[2, 13], Operations: ['78-58=20', '20-7=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[7, 18], Operations: ['78-58=20', '20-2=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[7, 107], Operations: ['58/2=29', '78+29=107'] Exploring Operation: 107-7=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 7+107=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 7*107=749, Resulting Numbers: [749] 749,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[78, 22], Operations: ['58/2=29', '29-7=22'] Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,91 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[29, 85], Operations: ['58/2=29', '7+78=85'] Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 29*85=2465, Resulting Numbers: [2465] 2465,91 unequal: No Solution Exploring Operation: 29+85=114, Resulting Numbers: [114] 114,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[7, 38], Operations: ['2*58=116', '116-78=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,91 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[78, 109], Operations: ['2*58=116', '116-7=109'] Exploring Operation: 78+109=187, Resulting Numbers: [187] 187,91 unequal: No Solution Exploring Operation: 109-78=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 78*109=8502, Resulting Numbers: [8502] 8502,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[116, 85], Operations: ['2*58=116', '7+78=85'] Exploring Operation: 116+85=201, Resulting Numbers: [201] 201,91 unequal: No Solution Exploring Operation: 116*85=9860, Resulting Numbers: [9860] 9860,91 unequal: No Solution Exploring Operation: 116-85=31, Resulting Numbers: [31] 31,91 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 28, 60, 53 ]
68
[ "47+28=75", "60-53=7", "75-7=68" ]
Current State: 68:[47, 28, 60, 53], Operations: [] Exploring Operation: 47+28=75, Resulting Numbers: [60, 53, 75] Generated Node #2: [60, 53, 75] from Operation: 47+28=75 Current State: 68:[60, 53, 75], Operations: ['47+28=75'] Exploring Operation: 60-53=7, Resulting Numbers: [75, 7] Generated Node #3: [75, 7] from Operation: 60-53=7 Current State: 68:[75, 7], Operations: ['47+28=75', '60-53=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[47, 28, 60, 53], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [47, 28, 7] Generated Node #0,0: 68:[47, 28, 7] Operation: 60-53=7 Exploring Operation: 53-47=6, Resulting Numbers: [28, 60, 6] Generated Node #0,1: 68:[28, 60, 6] Operation: 53-47=6 Exploring Operation: 47-28=19, Resulting Numbers: [60, 53, 19] Generated Node #0,2: 68:[60, 53, 19] Operation: 47-28=19 Exploring Operation: 60-47=13, Resulting Numbers: [28, 53, 13] Generated Node #0,3: 68:[28, 53, 13] Operation: 60-47=13 Moving to Node #0,1 Current State: 68:[28, 60, 6], Operations: ['53-47=6'] Exploring Operation: 60-28=32, Resulting Numbers: [6, 32] Generated Node #0,1,0: 68:[6, 32] Operation: 60-28=32 Exploring Operation: 60/6=10, Resulting Numbers: [28, 10] Generated Node #0,1,1: 68:[28, 10] Operation: 60/6=10 Exploring Operation: 28+6=34, Resulting Numbers: [60, 34] Generated Node #0,1,2: 68:[60, 34] Operation: 28+6=34 Exploring Operation: 60+6=66, Resulting Numbers: [28, 66] Generated Node #0,1,3: 68:[28, 66] Operation: 60+6=66 Moving to Node #0,0 Current State: 68:[47, 28, 7], Operations: ['60-53=7'] Exploring Operation: 47+28=75, Resulting Numbers: [7, 75] Generated Node #0,0,0: 68:[7, 75] Operation: 47+28=75 Exploring Operation: 47-7=40, Resulting Numbers: [28, 40] Generated Node #0,0,1: 68:[28, 40] Operation: 47-7=40 Exploring Operation: 47-28=19, Resulting Numbers: [7, 19] Generated Node #0,0,2: 68:[7, 19] Operation: 47-28=19 Exploring Operation: 28/7=4, Resulting Numbers: [47, 4] Generated Node #0,0,3: 68:[47, 4] Operation: 28/7=4 Moving to Node #0,3 Current State: 68:[28, 53, 13], Operations: ['60-47=13'] Exploring Operation: 28+53=81, Resulting Numbers: [13, 81] Generated Node #0,3,0: 68:[13, 81] Operation: 28+53=81 Exploring Operation: 53-13=40, Resulting Numbers: [28, 40] Generated Node #0,3,1: 68:[28, 40] Operation: 53-13=40 Exploring Operation: 53+13=66, Resulting Numbers: [28, 66] Generated Node #0,3,2: 68:[28, 66] Operation: 53+13=66 Exploring Operation: 53-28=25, Resulting Numbers: [13, 25] Generated Node #0,3,3: 68:[13, 25] Operation: 53-28=25 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[28, 66], Operations: ['60-47=13', '53+13=66'] Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,68 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,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:[28, 40], Operations: ['60-47=13', '53-13=40'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[47, 28, 60, 53], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [28, 53, 13] Generated Node #0,3: 68:[28, 53, 13] Operation: 60-47=13 Moving to Node #0,3 Current State: 68:[28, 53, 13], Operations: ['60-47=13'] Exploring Operation: 53-13=40, Resulting Numbers: [28, 40] Generated Node #0,3,1: 68:[28, 40] Operation: 53-13=40 Moving to Node #0,3,1 Current State: 68:[28, 40], Operations: ['60-47=13', '53-13=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 58, 55, 54, 85 ]
27
[ "85-58=27", "55-54=1", "27*1=27" ]
Current State: 27:[58, 55, 54, 85], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [55, 54, 27] Generated Node #2: [55, 54, 27] from Operation: 85-58=27 Current State: 27:[55, 54, 27], Operations: ['85-58=27'] Exploring Operation: 55-54=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 55-54=1 Current State: 27:[27, 1], Operations: ['85-58=27', '55-54=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[58, 55, 54, 85], Operations: [] Exploring Operation: 85-55=30, Resulting Numbers: [58, 54, 30] Generated Node #0,0: 27:[58, 54, 30] Operation: 85-55=30 Exploring Operation: 85-58=27, Resulting Numbers: [55, 54, 27] Generated Node #0,1: 27:[55, 54, 27] Operation: 85-58=27 Moving to Node #0,1 Current State: 27:[55, 54, 27], Operations: ['85-58=27'] Exploring Operation: 55-27=28, Resulting Numbers: [54, 28] Generated Node #0,1,0: 27:[54, 28] Operation: 55-27=28 Exploring Operation: 55-54=1, Resulting Numbers: [27, 1] Generated Node #0,1,1: 27:[27, 1] Operation: 55-54=1 Moving to Node #0,0 Current State: 27:[58, 54, 30], Operations: ['85-55=30'] Exploring Operation: 58-54=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 27:[30, 4] Operation: 58-54=4 Exploring Operation: 58-30=28, Resulting Numbers: [54, 28] Generated Node #0,0,1: 27:[54, 28] Operation: 58-30=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[30, 4], Operations: ['85-55=30', '58-54=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,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,1 Current State: 27:[54, 28], Operations: ['85-55=30', '58-30=28'] Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,27 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 27:[27, 1], Operations: ['85-58=27', '55-54=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[58, 55, 54, 85], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [55, 54, 27] Generated Node #0,1: 27:[55, 54, 27] Operation: 85-58=27 Moving to Node #0,1 Current State: 27:[55, 54, 27], Operations: ['85-58=27'] Exploring Operation: 55-54=1, Resulting Numbers: [27, 1] Generated Node #0,1,1: 27:[27, 1] Operation: 55-54=1 Moving to Node #0,1,1 Current State: 27:[27, 1], Operations: ['85-58=27', '55-54=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 25, 7, 57, 34 ]
17
[ "25*34=850", "57-7=50", "850/50=17" ]
Current State: 17:[25, 7, 57, 34], Operations: [] Exploring Operation: 25*34=850, Resulting Numbers: [7, 57, 850] Generated Node #2: [7, 57, 850] from Operation: 25*34=850 Current State: 17:[7, 57, 850], Operations: ['25*34=850'] Exploring Operation: 57-7=50, Resulting Numbers: [850, 50] Generated Node #3: [850, 50] from Operation: 57-7=50 Current State: 17:[850, 50], Operations: ['25*34=850', '57-7=50'] Exploring Operation: 850/50=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[25, 7, 57, 34], Operations: [] Exploring Operation: 57-34=23, Resulting Numbers: [25, 7, 23] Generated Node #0,0: 17:[25, 7, 23] Operation: 57-34=23 Moving to Node #0,0 Current State: 17:[25, 7, 23], Operations: ['57-34=23'] Exploring Operation: 25-7=18, Resulting Numbers: [23, 18] Generated Node #0,0,0: 17:[23, 18] Operation: 25-7=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[23, 18], Operations: ['57-34=23', '25-7=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 22, 88, 3, 25 ]
38
[ "88-22=66", "3+25=28", "66-28=38" ]
Current State: 38:[22, 88, 3, 25], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [3, 25, 66] Generated Node #2: [3, 25, 66] from Operation: 88-22=66 Current State: 38:[3, 25, 66], Operations: ['88-22=66'] Exploring Operation: 3+25=28, Resulting Numbers: [66, 28] Generated Node #3: [66, 28] from Operation: 3+25=28 Current State: 38:[66, 28], Operations: ['88-22=66', '3+25=28'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[22, 88, 3, 25], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [3, 25, 66] Generated Node #0,0: 38:[3, 25, 66] Operation: 88-22=66 Exploring Operation: 88-25=63, Resulting Numbers: [22, 3, 63] Generated Node #0,1: 38:[22, 3, 63] Operation: 88-25=63 Exploring Operation: 88/22=4, Resulting Numbers: [3, 25, 4] Generated Node #0,2: 38:[3, 25, 4] Operation: 88/22=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[3, 25, 4], Operations: ['88/22=4'] Exploring Operation: 4-3=1, Resulting Numbers: [25, 1] Generated Node #0,2,0: 38:[25, 1] Operation: 4-3=1 Exploring Operation: 25-3=22, Resulting Numbers: [4, 22] Generated Node #0,2,1: 38:[4, 22] Operation: 25-3=22 Exploring Operation: 25-4=21, Resulting Numbers: [3, 21] Generated Node #0,2,2: 38:[3, 21] Operation: 25-4=21 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[3, 21], Operations: ['88/22=4', '25-4=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,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,2,1 Current State: 38:[4, 22], Operations: ['88/22=4', '25-3=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,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,2,0 Current State: 38:[25, 1], Operations: ['88/22=4', '4-3=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,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,1 Current State: 38:[22, 3, 63], Operations: ['88-25=63'] Exploring Operation: 22-3=19, Resulting Numbers: [63, 19] Generated Node #0,1,0: 38:[63, 19] Operation: 22-3=19 Exploring Operation: 63-22=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 38:[3, 41] Operation: 63-22=41 Exploring Operation: 63/3=21, Resulting Numbers: [22, 21] Generated Node #0,1,2: 38:[22, 21] Operation: 63/3=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[3, 41], Operations: ['88-25=63', '63-22=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,38 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[22, 88, 3, 25], Operations: [] Exploring Operation: 88-25=63, Resulting Numbers: [22, 3, 63] Generated Node #0,1: 38:[22, 3, 63] Operation: 88-25=63 Moving to Node #0,1 Current State: 38:[22, 3, 63], Operations: ['88-25=63'] Exploring Operation: 63-22=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 38:[3, 41] Operation: 63-22=41 Moving to Node #0,1,1 Current State: 38:[3, 41], Operations: ['88-25=63', '63-22=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 30, 71, 2, 51 ]
90
[ "71-30=41", "51-2=49", "41+49=90" ]
Current State: 90:[30, 71, 2, 51], Operations: [] Exploring Operation: 71-30=41, Resulting Numbers: [2, 51, 41] Generated Node #2: [2, 51, 41] from Operation: 71-30=41 Current State: 90:[2, 51, 41], Operations: ['71-30=41'] Exploring Operation: 51-2=49, Resulting Numbers: [41, 49] Generated Node #3: [41, 49] from Operation: 51-2=49 Current State: 90:[41, 49], Operations: ['71-30=41', '51-2=49'] Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[30, 71, 2, 51], Operations: [] Exploring Operation: 71-51=20, Resulting Numbers: [30, 2, 20] Generated Node #0,0: 90:[30, 2, 20] Operation: 71-51=20 Moving to Node #0,0 Current State: 90:[30, 2, 20], Operations: ['71-51=20'] Exploring Operation: 30-20=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 90:[2, 10] Operation: 30-20=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[2, 10], Operations: ['71-51=20', '30-20=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,90 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
[ 63, 22, 84, 78 ]
69
[ "84-78=6", "22*6=132", "132-63=69" ]
Current State: 69:[63, 22, 84, 78], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [63, 22, 6] Generated Node #2: [63, 22, 6] from Operation: 84-78=6 Current State: 69:[63, 22, 6], Operations: ['84-78=6'] Exploring Operation: 22*6=132, Resulting Numbers: [63, 132] Generated Node #3: [63, 132] from Operation: 22*6=132 Current State: 69:[63, 132], Operations: ['84-78=6', '22*6=132'] Exploring Operation: 132-63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[63, 22, 84, 78], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [22, 78, 21] Generated Node #0,0: 69:[22, 78, 21] Operation: 84-63=21 Exploring Operation: 84-78=6, Resulting Numbers: [63, 22, 6] Generated Node #0,1: 69:[63, 22, 6] Operation: 84-78=6 Moving to Node #0,1 Current State: 69:[63, 22, 6], Operations: ['84-78=6'] Exploring Operation: 63+6=69, Resulting Numbers: [22, 69] Generated Node #0,1,0: 69:[22, 69] Operation: 63+6=69 Exploring Operation: 22+6=28, Resulting Numbers: [63, 28] Generated Node #0,1,1: 69:[63, 28] Operation: 22+6=28 Moving to Node #0,0 Current State: 69:[22, 78, 21], Operations: ['84-63=21'] Exploring Operation: 22-21=1, Resulting Numbers: [78, 1] Generated Node #0,0,0: 69:[78, 1] Operation: 22-21=1 Exploring Operation: 78-21=57, Resulting Numbers: [22, 57] Generated Node #0,0,1: 69:[22, 57] Operation: 78-21=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[78, 1], Operations: ['84-63=21', '22-21=1'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[22, 57], Operations: ['84-63=21', '78-21=57'] Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,69 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: 69:[22, 69], Operations: ['84-78=6', '63+6=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[63, 28], Operations: ['84-78=6', '22+6=28'] Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,69 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,69 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 46, 85, 97 ]
73
[ "63+46=109", "85+97=182", "182-109=73" ]
Current State: 73:[63, 46, 85, 97], Operations: [] Exploring Operation: 63+46=109, Resulting Numbers: [85, 97, 109] Generated Node #2: [85, 97, 109] from Operation: 63+46=109 Current State: 73:[85, 97, 109], Operations: ['63+46=109'] Exploring Operation: 85+97=182, Resulting Numbers: [109, 182] Generated Node #3: [109, 182] from Operation: 85+97=182 Current State: 73:[109, 182], Operations: ['63+46=109', '85+97=182'] Exploring Operation: 182-109=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[63, 46, 85, 97], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [63, 85, 51] Generated Node #0,0: 73:[63, 85, 51] Operation: 97-46=51 Exploring Operation: 85-46=39, Resulting Numbers: [63, 97, 39] Generated Node #0,1: 73:[63, 97, 39] Operation: 85-46=39 Moving to Node #0,0 Current State: 73:[63, 85, 51], Operations: ['97-46=51'] Exploring Operation: 85-51=34, Resulting Numbers: [63, 34] Generated Node #0,0,0: 73:[63, 34] Operation: 85-51=34 Exploring Operation: 63+51=114, Resulting Numbers: [85, 114] Generated Node #0,0,1: 73:[85, 114] Operation: 63+51=114 Moving to Node #0,1 Current State: 73:[63, 97, 39], Operations: ['85-46=39'] Exploring Operation: 63+39=102, Resulting Numbers: [97, 102] Generated Node #0,1,0: 73:[97, 102] Operation: 63+39=102 Exploring Operation: 97-39=58, Resulting Numbers: [63, 58] Generated Node #0,1,1: 73:[63, 58] Operation: 97-39=58 Moving to Node #0,1,1 Current State: 73:[63, 58], Operations: ['85-46=39', '97-39=58'] Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 63+58=121, Resulting Numbers: [121] 121,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[63, 34], Operations: ['97-46=51', '85-51=34'] Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[85, 114], Operations: ['97-46=51', '63+51=114'] Exploring Operation: 114-85=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 85+114=199, Resulting Numbers: [199] 199,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[97, 102], Operations: ['85-46=39', '63+39=102'] Exploring Operation: 102-97=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 97+102=199, Resulting Numbers: [199] 199,73 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 5, 8, 70, 87 ]
65
[ "70/5=14", "87-8=79", "79-14=65" ]
Current State: 65:[5, 8, 70, 87], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [8, 87, 14] Generated Node #2: [8, 87, 14] from Operation: 70/5=14 Current State: 65:[8, 87, 14], Operations: ['70/5=14'] Exploring Operation: 87-8=79, Resulting Numbers: [14, 79] Generated Node #3: [14, 79] from Operation: 87-8=79 Current State: 65:[14, 79], Operations: ['70/5=14', '87-8=79'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[5, 8, 70, 87], Operations: [] Exploring Operation: 87-5=82, Resulting Numbers: [8, 70, 82] Generated Node #0,0: 65:[8, 70, 82] Operation: 87-5=82 Exploring Operation: 87-8=79, Resulting Numbers: [5, 70, 79] Generated Node #0,1: 65:[5, 70, 79] Operation: 87-8=79 Exploring Operation: 70-5=65, Resulting Numbers: [8, 87, 65] Generated Node #0,2: 65:[8, 87, 65] Operation: 70-5=65 Exploring Operation: 87-70=17, Resulting Numbers: [5, 8, 17] Generated Node #0,3: 65:[5, 8, 17] Operation: 87-70=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[5, 8, 17], Operations: ['87-70=17'] Exploring Operation: 17-8=9, Resulting Numbers: [5, 9] Generated Node #0,3,0: 65:[5, 9] Operation: 17-8=9 Exploring Operation: 17-5=12, Resulting Numbers: [8, 12] Generated Node #0,3,1: 65:[8, 12] Operation: 17-5=12 Exploring Operation: 8-5=3, Resulting Numbers: [17, 3] Generated Node #0,3,2: 65:[17, 3] Operation: 8-5=3 Exploring Operation: 5+8=13, Resulting Numbers: [17, 13] Generated Node #0,3,3: 65:[17, 13] Operation: 5+8=13 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 65:[5, 9], Operations: ['87-70=17', '17-8=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 65:[8, 12], Operations: ['87-70=17', '17-5=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 65:[17, 13], Operations: ['87-70=17', '5+8=13'] Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,65 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 65:[17, 3], Operations: ['87-70=17', '8-5=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,65 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[5, 70, 79], Operations: ['87-8=79'] Exploring Operation: 79-70=9, Resulting Numbers: [5, 9] Generated Node #0,1,0: 65:[5, 9] Operation: 79-70=9 Exploring Operation: 70/5=14, Resulting Numbers: [79, 14] Generated Node #0,1,1: 65:[79, 14] Operation: 70/5=14 Exploring Operation: 79-5=74, Resulting Numbers: [70, 74] Generated Node #0,1,2: 65:[70, 74] Operation: 79-5=74 Exploring Operation: 70-5=65, Resulting Numbers: [79, 65] Generated Node #0,1,3: 65:[79, 65] Operation: 70-5=65 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[5, 9], Operations: ['87-8=79', '79-70=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,65 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[70, 74], Operations: ['87-8=79', '79-5=74'] Exploring Operation: 70*74=5180, Resulting Numbers: [5180] 5180,65 unequal: No Solution Exploring Operation: 70+74=144, Resulting Numbers: [144] 144,65 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[79, 65], Operations: ['87-8=79', '70-5=65'] Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 79*65=5135, Resulting Numbers: [5135] 5135,65 unequal: No Solution Exploring Operation: 79+65=144, Resulting Numbers: [144] 144,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[79, 14], Operations: ['87-8=79', '70/5=14'] Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,65 unequal: No Solution Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,65 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[5, 8, 70, 87], Operations: [] Exploring Operation: 87-8=79, Resulting Numbers: [5, 70, 79] Generated Node #0,1: 65:[5, 70, 79] Operation: 87-8=79 Moving to Node #0,1 Current State: 65:[5, 70, 79], Operations: ['87-8=79'] Exploring Operation: 70/5=14, Resulting Numbers: [79, 14] Generated Node #0,1,1: 65:[79, 14] Operation: 70/5=14 Moving to Node #0,1,1 Current State: 65:[79, 14], Operations: ['87-8=79', '70/5=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 88, 87, 47, 68 ]
60
[ "88+87=175", "47+68=115", "175-115=60" ]
Current State: 60:[88, 87, 47, 68], Operations: [] Exploring Operation: 88+87=175, Resulting Numbers: [47, 68, 175] Generated Node #2: [47, 68, 175] from Operation: 88+87=175 Current State: 60:[47, 68, 175], Operations: ['88+87=175'] Exploring Operation: 47+68=115, Resulting Numbers: [175, 115] Generated Node #3: [175, 115] from Operation: 47+68=115 Current State: 60:[175, 115], Operations: ['88+87=175', '47+68=115'] Exploring Operation: 175-115=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[88, 87, 47, 68], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [47, 68, 1] Generated Node #0,0: 60:[47, 68, 1] Operation: 88-87=1 Moving to Node #0,0 Current State: 60:[47, 68, 1], Operations: ['88-87=1'] Exploring Operation: 68-47=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 60:[1, 21] Operation: 68-47=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[1, 21], Operations: ['88-87=1', '68-47=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 74, 6, 12, 42 ]
95
[ "12/6=2", "42/2=21", "74+21=95" ]
Current State: 95:[74, 6, 12, 42], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [74, 42, 2] Generated Node #2: [74, 42, 2] from Operation: 12/6=2 Current State: 95:[74, 42, 2], Operations: ['12/6=2'] Exploring Operation: 42/2=21, Resulting Numbers: [74, 21] Generated Node #3: [74, 21] from Operation: 42/2=21 Current State: 95:[74, 21], Operations: ['12/6=2', '42/2=21'] Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[74, 6, 12, 42], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [74, 12, 7] Generated Node #0,0: 95:[74, 12, 7] Operation: 42/6=7 Exploring Operation: 74+42=116, Resulting Numbers: [6, 12, 116] Generated Node #0,1: 95:[6, 12, 116] Operation: 74+42=116 Exploring Operation: 74-42=32, Resulting Numbers: [6, 12, 32] Generated Node #0,2: 95:[6, 12, 32] Operation: 74-42=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[6, 12, 32], Operations: ['74-42=32'] Exploring Operation: 32-12=20, Resulting Numbers: [6, 20] Generated Node #0,2,0: 95:[6, 20] Operation: 32-12=20 Exploring Operation: 6+12=18, Resulting Numbers: [32, 18] Generated Node #0,2,1: 95:[32, 18] Operation: 6+12=18 Exploring Operation: 12-6=6, Resulting Numbers: [32, 6] Generated Node #0,2,2: 95:[32, 6] Operation: 12-6=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[6, 20], Operations: ['74-42=32', '32-12=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,95 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[32, 18], Operations: ['74-42=32', '6+12=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,95 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,95 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[32, 6], Operations: ['74-42=32', '12-6=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,95 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[6, 12, 116], Operations: ['74+42=116'] Exploring Operation: 12-6=6, Resulting Numbers: [116, 6] Generated Node #0,1,0: 95:[116, 6] Operation: 12-6=6 Exploring Operation: 116-12=104, Resulting Numbers: [6, 104] Generated Node #0,1,1: 95:[6, 104] Operation: 116-12=104 Exploring Operation: 6+12=18, Resulting Numbers: [116, 18] Generated Node #0,1,2: 95:[116, 18] Operation: 6+12=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[6, 104], Operations: ['74+42=116', '116-12=104'] Exploring Operation: 6*104=624, Resulting Numbers: [624] 624,95 unequal: No Solution Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 6+104=110, Resulting Numbers: [110] 110,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[116, 6], Operations: ['74+42=116', '12-6=6'] Exploring Operation: 116-6=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 116*6=696, Resulting Numbers: [696] 696,95 unequal: No Solution Exploring Operation: 116+6=122, Resulting Numbers: [122] 122,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[116, 18], Operations: ['74+42=116', '6+12=18'] Exploring Operation: 116*18=2088, Resulting Numbers: [2088] 2088,95 unequal: No Solution Exploring Operation: 116-18=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 116+18=134, Resulting Numbers: [134] 134,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[74, 12, 7], Operations: ['42/6=7'] Exploring Operation: 12+7=19, Resulting Numbers: [74, 19] Generated Node #0,0,0: 95:[74, 19] Operation: 12+7=19 Exploring Operation: 74+7=81, Resulting Numbers: [12, 81] Generated Node #0,0,1: 95:[12, 81] Operation: 74+7=81 Exploring Operation: 74+12=86, Resulting Numbers: [7, 86] Generated Node #0,0,2: 95:[7, 86] Operation: 74+12=86 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[7, 86], Operations: ['42/6=7', '74+12=86'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 7*86=602, Resulting Numbers: [602] 602,95 unequal: No Solution Exploring Operation: 7+86=93, Resulting Numbers: [93] 93,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[74, 19], Operations: ['42/6=7', '12+7=19'] Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,95 unequal: No Solution Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[12, 81], Operations: ['42/6=7', '74+7=81'] Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,95 unequal: No Solution Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,95 unequal: No Solution Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 23, 97, 5, 5 ]
97
[ "5-5=0", "23*0=0", "97+0=97" ]
Current State: 97:[23, 97, 5, 5], Operations: [] Exploring Operation: 5-5=0, Resulting Numbers: [23, 97, 0] Generated Node #2: [23, 97, 0] from Operation: 5-5=0 Current State: 97:[23, 97, 0], Operations: ['5-5=0'] Exploring Operation: 23*0=0, Resulting Numbers: [97, 0] Generated Node #3: [97, 0] from Operation: 23*0=0 Current State: 97:[97, 0], Operations: ['5-5=0', '23*0=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[23, 97, 5, 5], Operations: [] Exploring Operation: 23*5=115, Resulting Numbers: [97, 5, 115] Generated Node #0,0: 97:[97, 5, 115] Operation: 23*5=115 Exploring Operation: 23*5=115, Resulting Numbers: [97, 5, 115] Generated Node #0,1: 97:[97, 5, 115] Operation: 23*5=115 Exploring Operation: 23+5=28, Resulting Numbers: [97, 5, 28] Generated Node #0,2: 97:[97, 5, 28] Operation: 23+5=28 Exploring Operation: 5*5=25, Resulting Numbers: [23, 97, 25] Generated Node #0,3: 97:[23, 97, 25] Operation: 5*5=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[97, 5, 115], Operations: ['23*5=115'] Exploring Operation: 97+5=102, Resulting Numbers: [115, 102] Generated Node #0,0,0: 97:[115, 102] Operation: 97+5=102 Exploring Operation: 115-5=110, Resulting Numbers: [97, 110] Generated Node #0,0,1: 97:[97, 110] Operation: 115-5=110 Exploring Operation: 5+115=120, Resulting Numbers: [97, 120] Generated Node #0,0,2: 97:[97, 120] Operation: 5+115=120 Exploring Operation: 97-5=92, Resulting Numbers: [115, 92] Generated Node #0,0,3: 97:[115, 92] Operation: 97-5=92 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[97, 110], Operations: ['23*5=115', '115-5=110'] Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 97*110=10670, Resulting Numbers: [10670] 10670,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[115, 102], Operations: ['23*5=115', '97+5=102'] Exploring Operation: 115+102=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 115*102=11730, Resulting Numbers: [11730] 11730,97 unequal: No Solution Exploring Operation: 115-102=13, Resulting Numbers: [13] 13,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[97, 120], Operations: ['23*5=115', '5+115=120'] Exploring Operation: 97+120=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 120-97=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 97*120=11640, Resulting Numbers: [11640] 11640,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,3 Current State: 97:[115, 92], Operations: ['23*5=115', '97-5=92'] Exploring Operation: 115*92=10580, Resulting Numbers: [10580] 10580,97 unequal: No Solution Exploring Operation: 115+92=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 115-92=23, Resulting Numbers: [23] 23,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:[97, 5, 115], Operations: ['23*5=115'] Exploring Operation: 97+5=102, Resulting Numbers: [115, 102] Generated Node #0,1,0: 97:[115, 102] Operation: 97+5=102 Exploring Operation: 5+115=120, Resulting Numbers: [97, 120] Generated Node #0,1,1: 97:[97, 120] Operation: 5+115=120 Exploring Operation: 97-5=92, Resulting Numbers: [115, 92] Generated Node #0,1,2: 97:[115, 92] Operation: 97-5=92 Exploring Operation: 115-5=110, Resulting Numbers: [97, 110] Generated Node #0,1,3: 97:[97, 110] Operation: 115-5=110 Moving to Node #0,1,3 Current State: 97:[97, 110], Operations: ['23*5=115', '115-5=110'] Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 97*110=10670, Resulting Numbers: [10670] 10670,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[97, 120], Operations: ['23*5=115', '5+115=120'] Exploring Operation: 97*120=11640, Resulting Numbers: [11640] 11640,97 unequal: No Solution Exploring Operation: 97+120=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 120-97=23, Resulting Numbers: [23] 23,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[115, 102], Operations: ['23*5=115', '97+5=102'] Exploring Operation: 115*102=11730, Resulting Numbers: [11730] 11730,97 unequal: No Solution Exploring Operation: 115+102=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 115-102=13, Resulting Numbers: [13] 13,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[115, 92], Operations: ['23*5=115', '97-5=92'] Exploring Operation: 115+92=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 115-92=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 115*92=10580, Resulting Numbers: [10580] 10580,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,3 Current State: 97:[23, 97, 25], Operations: ['5*5=25'] Exploring Operation: 97-23=74, Resulting Numbers: [25, 74] Generated Node #0,3,0: 97:[25, 74] Operation: 97-23=74 Exploring Operation: 23+25=48, Resulting Numbers: [97, 48] Generated Node #0,3,1: 97:[97, 48] Operation: 23+25=48 Exploring Operation: 23+97=120, Resulting Numbers: [25, 120] Generated Node #0,3,2: 97:[25, 120] Operation: 23+97=120 Exploring Operation: 25-23=2, Resulting Numbers: [97, 2] Generated Node #0,3,3: 97:[97, 2] Operation: 25-23=2 Moving to Node #0,3,1 Current State: 97:[97, 48], Operations: ['5*5=25', '23+25=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[25, 120], Operations: ['5*5=25', '23+97=120'] Exploring Operation: 25*120=3000, Resulting Numbers: [3000] 3000,97 unequal: No Solution Exploring Operation: 25+120=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 120-25=95, Resulting Numbers: [95] 95,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[25, 74], Operations: ['5*5=25', '97-23=74'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,97 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[97, 2], Operations: ['5*5=25', '25-23=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,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,2 Current State: 97:[97, 5, 28], Operations: ['23+5=28'] Exploring Operation: 97+5=102, Resulting Numbers: [28, 102] Generated Node #0,2,0: 97:[28, 102] Operation: 97+5=102 Exploring Operation: 97-5=92, Resulting Numbers: [28, 92] Generated Node #0,2,1: 97:[28, 92] Operation: 97-5=92 Exploring Operation: 5+28=33, Resulting Numbers: [97, 33] Generated Node #0,2,2: 97:[97, 33] Operation: 5+28=33 Exploring Operation: 5*28=140, Resulting Numbers: [97, 140] Generated Node #0,2,3: 97:[97, 140] Operation: 5*28=140 Moving to Node #0,2,3 Current State: 97:[97, 140], Operations: ['23+5=28', '5*28=140'] Exploring Operation: 97+140=237, Resulting Numbers: [237] 237,97 unequal: No Solution Exploring Operation: 140-97=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 97*140=13580, Resulting Numbers: [13580] 13580,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[97, 33], Operations: ['23+5=28', '5+28=33'] Exploring Operation: 97*33=3201, Resulting Numbers: [3201] 3201,97 unequal: No Solution Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[28, 92], Operations: ['23+5=28', '97-5=92'] Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,97 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[28, 102], Operations: ['23+5=28', '97+5=102'] Exploring Operation: 28+102=130, Resulting Numbers: [130] 130,97 unequal: No Solution Exploring Operation: 28*102=2856, Resulting Numbers: [2856] 2856,97 unequal: No Solution Exploring Operation: 102-28=74, Resulting Numbers: [74] 74,97 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
[ 43, 28, 40, 57 ]
42
[ "57-43=14", "28/14=2", "40+2=42" ]
Current State: 42:[43, 28, 40, 57], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [28, 40, 14] Generated Node #2: [28, 40, 14] from Operation: 57-43=14 Current State: 42:[28, 40, 14], Operations: ['57-43=14'] Exploring Operation: 28/14=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 28/14=2 Current State: 42:[40, 2], Operations: ['57-43=14', '28/14=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[43, 28, 40, 57], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [28, 40, 14] Generated Node #0,0: 42:[28, 40, 14] Operation: 57-43=14 Exploring Operation: 57-28=29, Resulting Numbers: [43, 40, 29] Generated Node #0,1: 42:[43, 40, 29] Operation: 57-28=29 Exploring Operation: 57-40=17, Resulting Numbers: [43, 28, 17] Generated Node #0,2: 42:[43, 28, 17] Operation: 57-40=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[28, 40, 14], Operations: ['57-43=14'] Exploring Operation: 28+14=42, Resulting Numbers: [40, 42] Generated Node #0,0,0: 42:[40, 42] Operation: 28+14=42 Exploring Operation: 40-28=12, Resulting Numbers: [14, 12] Generated Node #0,0,1: 42:[14, 12] Operation: 40-28=12 Exploring Operation: 28-14=14, Resulting Numbers: [40, 14] Generated Node #0,0,2: 42:[40, 14] Operation: 28-14=14 Moving to Node #0,0,0 Current State: 42:[40, 42], Operations: ['57-43=14', '28+14=42'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 40*42=1680, Resulting Numbers: [1680] 1680,42 unequal: No Solution Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[14, 12], Operations: ['57-43=14', '40-28=12'] Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[40, 14], Operations: ['57-43=14', '28-14=14'] Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,42 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[43, 40, 29], Operations: ['57-28=29'] Exploring Operation: 43-40=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 42:[29, 3] Operation: 43-40=3 Exploring Operation: 40-29=11, Resulting Numbers: [43, 11] Generated Node #0,1,1: 42:[43, 11] Operation: 40-29=11 Exploring Operation: 43-29=14, Resulting Numbers: [40, 14] Generated Node #0,1,2: 42:[40, 14] Operation: 43-29=14 Moving to Node #0,1,2 Current State: 42:[40, 14], Operations: ['57-28=29', '43-29=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[43, 11], Operations: ['57-28=29', '40-29=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,42 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[29, 3], Operations: ['57-28=29', '43-40=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,42 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[43, 28, 17], Operations: ['57-40=17'] Exploring Operation: 28-17=11, Resulting Numbers: [43, 11] Generated Node #0,2,0: 42:[43, 11] Operation: 28-17=11 Exploring Operation: 28+17=45, Resulting Numbers: [43, 45] Generated Node #0,2,1: 42:[43, 45] Operation: 28+17=45 Exploring Operation: 43-28=15, Resulting Numbers: [17, 15] Generated Node #0,2,2: 42:[17, 15] Operation: 43-28=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[43, 11], Operations: ['57-40=17', '28-17=11'] Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,42 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,42 unequal: No Solution No 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: 42:[43, 45], Operations: ['57-40=17', '28+17=45'] Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,42 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,42 unequal: No Solution No 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: 42:[17, 15], Operations: ['57-40=17', '43-28=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,42 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,42 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
[ 44, 18, 3, 20 ]
39
[ "44+18=62", "3+20=23", "62-23=39" ]
Current State: 39:[44, 18, 3, 20], Operations: [] Exploring Operation: 44+18=62, Resulting Numbers: [3, 20, 62] Generated Node #2: [3, 20, 62] from Operation: 44+18=62 Current State: 39:[3, 20, 62], Operations: ['44+18=62'] Exploring Operation: 3+20=23, Resulting Numbers: [62, 23] Generated Node #3: [62, 23] from Operation: 3+20=23 Current State: 39:[62, 23], Operations: ['44+18=62', '3+20=23'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[44, 18, 3, 20], Operations: [] Exploring Operation: 44-3=41, Resulting Numbers: [18, 20, 41] Generated Node #0,0: 39:[18, 20, 41] Operation: 44-3=41 Exploring Operation: 20-18=2, Resulting Numbers: [44, 3, 2] Generated Node #0,1: 39:[44, 3, 2] Operation: 20-18=2 Exploring Operation: 18+20=38, Resulting Numbers: [44, 3, 38] Generated Node #0,2: 39:[44, 3, 38] Operation: 18+20=38 Exploring Operation: 18-3=15, Resulting Numbers: [44, 20, 15] Generated Node #0,3: 39:[44, 20, 15] Operation: 18-3=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[44, 3, 2], Operations: ['20-18=2'] Exploring Operation: 44-2=42, Resulting Numbers: [3, 42] Generated Node #0,1,0: 39:[3, 42] Operation: 44-2=42 Exploring Operation: 3+2=5, Resulting Numbers: [44, 5] Generated Node #0,1,1: 39:[44, 5] Operation: 3+2=5 Exploring Operation: 44+2=46, Resulting Numbers: [3, 46] Generated Node #0,1,2: 39:[3, 46] Operation: 44+2=46 Exploring Operation: 44-3=41, Resulting Numbers: [2, 41] Generated Node #0,1,3: 39:[2, 41] Operation: 44-3=41 Moving to Node #0,1,0 Current State: 39:[3, 42], Operations: ['20-18=2', '44-2=42'] Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,39 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[44, 18, 3, 20], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [44, 3, 2] Generated Node #0,1: 39:[44, 3, 2] Operation: 20-18=2 Moving to Node #0,1 Current State: 39:[44, 3, 2], Operations: ['20-18=2'] Exploring Operation: 44-2=42, Resulting Numbers: [3, 42] Generated Node #0,1,0: 39:[3, 42] Operation: 44-2=42 Moving to Node #0,1,0 Current State: 39:[3, 42], Operations: ['20-18=2', '44-2=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 74, 51, 54, 15 ]
81
[ "51+54=105", "105/15=7", "74+7=81" ]
Current State: 81:[74, 51, 54, 15], Operations: [] Exploring Operation: 51+54=105, Resulting Numbers: [74, 15, 105] Generated Node #2: [74, 15, 105] from Operation: 51+54=105 Current State: 81:[74, 15, 105], Operations: ['51+54=105'] Exploring Operation: 105/15=7, Resulting Numbers: [74, 7] Generated Node #3: [74, 7] from Operation: 105/15=7 Current State: 81:[74, 7], Operations: ['51+54=105', '105/15=7'] Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[74, 51, 54, 15], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [74, 15, 3] Generated Node #0,0: 81:[74, 15, 3] Operation: 54-51=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[74, 15, 3], Operations: ['54-51=3'] Exploring Operation: 74+15=89, Resulting Numbers: [3, 89] Generated Node #0,0,0: 81:[3, 89] Operation: 74+15=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[3, 89], Operations: ['54-51=3', '74+15=89'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 66, 68, 16, 56 ]
38
[ "68-66=2", "56-16=40", "40-2=38" ]
Current State: 38:[66, 68, 16, 56], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [16, 56, 2] Generated Node #2: [16, 56, 2] from Operation: 68-66=2 Current State: 38:[16, 56, 2], Operations: ['68-66=2'] Exploring Operation: 56-16=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 56-16=40 Current State: 38:[2, 40], Operations: ['68-66=2', '56-16=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[66, 68, 16, 56], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [16, 56, 2] Generated Node #0,0: 38:[16, 56, 2] Operation: 68-66=2 Exploring Operation: 66-16=50, Resulting Numbers: [68, 56, 50] Generated Node #0,1: 38:[68, 56, 50] Operation: 66-16=50 Exploring Operation: 66-56=10, Resulting Numbers: [68, 16, 10] Generated Node #0,2: 38:[68, 16, 10] Operation: 66-56=10 Exploring Operation: 68-56=12, Resulting Numbers: [66, 16, 12] Generated Node #0,3: 38:[66, 16, 12] Operation: 68-56=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[16, 56, 2], Operations: ['68-66=2'] Exploring Operation: 56-2=54, Resulting Numbers: [16, 54] Generated Node #0,0,0: 38:[16, 54] Operation: 56-2=54 Exploring Operation: 16+2=18, Resulting Numbers: [56, 18] Generated Node #0,0,1: 38:[56, 18] Operation: 16+2=18 Exploring Operation: 56-16=40, Resulting Numbers: [2, 40] Generated Node #0,0,2: 38:[2, 40] Operation: 56-16=40 Exploring Operation: 56/2=28, Resulting Numbers: [16, 28] Generated Node #0,0,3: 38:[16, 28] Operation: 56/2=28 Moving to Node #0,0,2 Current State: 38:[2, 40], Operations: ['68-66=2', '56-16=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[66, 68, 16, 56], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [16, 56, 2] Generated Node #0,0: 38:[16, 56, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 38:[16, 56, 2], Operations: ['68-66=2'] Exploring Operation: 56-16=40, Resulting Numbers: [2, 40] Generated Node #0,0,2: 38:[2, 40] Operation: 56-16=40 Moving to Node #0,0,2 Current State: 38:[2, 40], Operations: ['68-66=2', '56-16=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 15, 21, 87, 6 ]
33
[ "87-15=72", "72/6=12", "21+12=33" ]
Current State: 33:[15, 21, 87, 6], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [21, 6, 72] Generated Node #2: [21, 6, 72] from Operation: 87-15=72 Current State: 33:[21, 6, 72], Operations: ['87-15=72'] Exploring Operation: 72/6=12, Resulting Numbers: [21, 12] Generated Node #3: [21, 12] from Operation: 72/6=12 Current State: 33:[21, 12], Operations: ['87-15=72', '72/6=12'] Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[15, 21, 87, 6], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [15, 6, 66] Generated Node #0,0: 33:[15, 6, 66] Operation: 87-21=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[15, 6, 66], Operations: ['87-21=66'] Exploring Operation: 66/6=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 33:[15, 11] Operation: 66/6=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[15, 11], Operations: ['87-21=66', '66/6=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 7, 90, 89, 72 ]
12
[ "90-7=83", "89-83=6", "72/6=12" ]
Current State: 12:[7, 90, 89, 72], Operations: [] Exploring Operation: 90-7=83, Resulting Numbers: [89, 72, 83] Generated Node #2: [89, 72, 83] from Operation: 90-7=83 Current State: 12:[89, 72, 83], Operations: ['90-7=83'] Exploring Operation: 89-83=6, Resulting Numbers: [72, 6] Generated Node #3: [72, 6] from Operation: 89-83=6 Current State: 12:[72, 6], Operations: ['90-7=83', '89-83=6'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[7, 90, 89, 72], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [7, 72, 1] Generated Node #0,0: 12:[7, 72, 1] Operation: 90-89=1 Exploring Operation: 90-72=18, Resulting Numbers: [7, 89, 18] Generated Node #0,1: 12:[7, 89, 18] Operation: 90-72=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[7, 72, 1], Operations: ['90-89=1'] Exploring Operation: 7-1=6, Resulting Numbers: [72, 6] Generated Node #0,0,0: 12:[72, 6] Operation: 7-1=6 Exploring Operation: 72-7=65, Resulting Numbers: [1, 65] Generated Node #0,0,1: 12:[1, 65] Operation: 72-7=65 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[1, 65], Operations: ['90-89=1', '72-7=65'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,12 unequal: No Solution Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,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,0,0 Current State: 12:[72, 6], Operations: ['90-89=1', '7-1=6'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,12 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[7, 90, 89, 72], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [7, 72, 1] Generated Node #0,0: 12:[7, 72, 1] Operation: 90-89=1 Moving to Node #0,0 Current State: 12:[7, 72, 1], Operations: ['90-89=1'] Exploring Operation: 7-1=6, Resulting Numbers: [72, 6] Generated Node #0,0,0: 12:[72, 6] Operation: 7-1=6 Moving to Node #0,0,0 Current State: 12:[72, 6], Operations: ['90-89=1', '7-1=6'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 8, 32, 72, 12 ]
53
[ "72/8=9", "32+12=44", "9+44=53" ]
Current State: 53:[8, 32, 72, 12], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [32, 12, 9] Generated Node #2: [32, 12, 9] from Operation: 72/8=9 Current State: 53:[32, 12, 9], Operations: ['72/8=9'] Exploring Operation: 32+12=44, Resulting Numbers: [9, 44] Generated Node #3: [9, 44] from Operation: 32+12=44 Current State: 53:[9, 44], Operations: ['72/8=9', '32+12=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[8, 32, 72, 12], Operations: [] Exploring Operation: 72-8=64, Resulting Numbers: [32, 12, 64] Generated Node #0,0: 53:[32, 12, 64] Operation: 72-8=64 Exploring Operation: 8+32=40, Resulting Numbers: [72, 12, 40] Generated Node #0,1: 53:[72, 12, 40] Operation: 8+32=40 Exploring Operation: 32+12=44, Resulting Numbers: [8, 72, 44] Generated Node #0,2: 53:[8, 72, 44] Operation: 32+12=44 Exploring Operation: 8+12=20, Resulting Numbers: [32, 72, 20] Generated Node #0,3: 53:[32, 72, 20] Operation: 8+12=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[32, 12, 64], Operations: ['72-8=64'] Exploring Operation: 32-12=20, Resulting Numbers: [64, 20] Generated Node #0,0,0: 53:[64, 20] Operation: 32-12=20 Exploring Operation: 12+64=76, Resulting Numbers: [32, 76] Generated Node #0,0,1: 53:[32, 76] Operation: 12+64=76 Exploring Operation: 64-12=52, Resulting Numbers: [32, 52] Generated Node #0,0,2: 53:[32, 52] Operation: 64-12=52 Exploring Operation: 32+12=44, Resulting Numbers: [64, 44] Generated Node #0,0,3: 53:[64, 44] Operation: 32+12=44 Moving to Node #0,0,3 Current State: 53:[64, 44], Operations: ['72-8=64', '32+12=44'] Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,53 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[32, 52], Operations: ['72-8=64', '64-12=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[32, 76], Operations: ['72-8=64', '12+64=76'] Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,53 unequal: No Solution Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[64, 20], Operations: ['72-8=64', '32-12=20'] Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,53 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[72, 12, 40], Operations: ['8+32=40'] Exploring Operation: 12+40=52, Resulting Numbers: [72, 52] Generated Node #0,1,0: 53:[72, 52] Operation: 12+40=52 Exploring Operation: 40-12=28, Resulting Numbers: [72, 28] Generated Node #0,1,1: 53:[72, 28] Operation: 40-12=28 Exploring Operation: 72+12=84, Resulting Numbers: [40, 84] Generated Node #0,1,2: 53:[40, 84] Operation: 72+12=84 Exploring Operation: 72-12=60, Resulting Numbers: [40, 60] Generated Node #0,1,3: 53:[40, 60] Operation: 72-12=60 Moving to Node #0,1,0 Current State: 53:[72, 52], Operations: ['8+32=40', '12+40=52'] Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 72+52=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 72*52=3744, Resulting Numbers: [3744] 3744,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[40, 60], Operations: ['8+32=40', '72-12=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,53 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[40, 84], Operations: ['8+32=40', '72+12=84'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 40+84=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 40*84=3360, Resulting Numbers: [3360] 3360,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[72, 28], Operations: ['8+32=40', '40-12=28'] Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[8, 72, 44], Operations: ['32+12=44'] Exploring Operation: 8+44=52, Resulting Numbers: [72, 52] Generated Node #0,2,0: 53:[72, 52] Operation: 8+44=52 Exploring Operation: 44-8=36, Resulting Numbers: [72, 36] Generated Node #0,2,1: 53:[72, 36] Operation: 44-8=36 Exploring Operation: 8+72=80, Resulting Numbers: [44, 80] Generated Node #0,2,2: 53:[44, 80] Operation: 8+72=80 Exploring Operation: 72-8=64, Resulting Numbers: [44, 64] Generated Node #0,2,3: 53:[44, 64] Operation: 72-8=64 Moving to Node #0,2,0 Current State: 53:[72, 52], Operations: ['32+12=44', '8+44=52'] Exploring Operation: 72+52=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 72*52=3744, Resulting Numbers: [3744] 3744,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[44, 64], Operations: ['32+12=44', '72-8=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,53 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[44, 80], Operations: ['32+12=44', '8+72=80'] Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[72, 36], Operations: ['32+12=44', '44-8=36'] Exploring Operation: 72*36=2592, Resulting Numbers: [2592] 2592,53 unequal: No Solution Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,53 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,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 Current State: 53:[32, 72, 20], Operations: ['8+12=20'] Exploring Operation: 32+20=52, Resulting Numbers: [72, 52] Generated Node #0,3,0: 53:[72, 52] Operation: 32+20=52 Exploring Operation: 72-20=52, Resulting Numbers: [32, 52] Generated Node #0,3,1: 53:[32, 52] Operation: 72-20=52 Exploring Operation: 32-20=12, Resulting Numbers: [72, 12] Generated Node #0,3,2: 53:[72, 12] Operation: 32-20=12 Exploring Operation: 72-32=40, Resulting Numbers: [20, 40] Generated Node #0,3,3: 53:[20, 40] Operation: 72-32=40 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[72, 52], Operations: ['8+12=20', '32+20=52'] Exploring Operation: 72*52=3744, Resulting Numbers: [3744] 3744,53 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 72+52=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 53:[32, 52], Operations: ['8+12=20', '72-20=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,53 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 53:[20, 40], Operations: ['8+12=20', '72-32=40'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,53 unequal: No Solution Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[72, 12], Operations: ['8+12=20', '32-20=12'] Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,53 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 55, 3, 70, 21 ]
39
[ "55-3=52", "70+21=91", "91-52=39" ]
Current State: 39:[55, 3, 70, 21], Operations: [] Exploring Operation: 55-3=52, Resulting Numbers: [70, 21, 52] Generated Node #2: [70, 21, 52] from Operation: 55-3=52 Current State: 39:[70, 21, 52], Operations: ['55-3=52'] Exploring Operation: 70+21=91, Resulting Numbers: [52, 91] Generated Node #3: [52, 91] from Operation: 70+21=91 Current State: 39:[52, 91], Operations: ['55-3=52', '70+21=91'] Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[55, 3, 70, 21], Operations: [] Exploring Operation: 70-21=49, Resulting Numbers: [55, 3, 49] Generated Node #0,0: 39:[55, 3, 49] Operation: 70-21=49 Exploring Operation: 70-55=15, Resulting Numbers: [3, 21, 15] Generated Node #0,1: 39:[3, 21, 15] Operation: 70-55=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[3, 21, 15], Operations: ['70-55=15'] Exploring Operation: 21-15=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 39:[3, 6] Operation: 21-15=6 Exploring Operation: 21+15=36, Resulting Numbers: [3, 36] Generated Node #0,1,1: 39:[3, 36] Operation: 21+15=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[3, 6], Operations: ['70-55=15', '21-15=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[3, 36], Operations: ['70-55=15', '21+15=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[55, 3, 70, 21], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [3, 21, 15] Generated Node #0,1: 39:[3, 21, 15] Operation: 70-55=15 Moving to Node #0,1 Current State: 39:[3, 21, 15], Operations: ['70-55=15'] Exploring Operation: 21+15=36, Resulting Numbers: [3, 36] Generated Node #0,1,1: 39:[3, 36] Operation: 21+15=36 Moving to Node #0,1,1 Current State: 39:[3, 36], Operations: ['70-55=15', '21+15=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 8, 8, 44, 62 ]
90
[ "8+8=16", "44+62=106", "106-16=90" ]
Current State: 90:[8, 8, 44, 62], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [44, 62, 16] Generated Node #2: [44, 62, 16] from Operation: 8+8=16 Current State: 90:[44, 62, 16], Operations: ['8+8=16'] Exploring Operation: 44+62=106, Resulting Numbers: [16, 106] Generated Node #3: [16, 106] from Operation: 44+62=106 Current State: 90:[16, 106], Operations: ['8+8=16', '44+62=106'] Exploring Operation: 106-16=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[8, 8, 44, 62], Operations: [] Exploring Operation: 62-8=54, Resulting Numbers: [8, 44, 54] Generated Node #0,0: 90:[8, 44, 54] Operation: 62-8=54 Exploring Operation: 62-44=18, Resulting Numbers: [8, 8, 18] Generated Node #0,1: 90:[8, 8, 18] Operation: 62-44=18 Exploring Operation: 62-8=54, Resulting Numbers: [8, 44, 54] Generated Node #0,2: 90:[8, 44, 54] Operation: 62-8=54 Exploring Operation: 44+62=106, Resulting Numbers: [8, 8, 106] Generated Node #0,3: 90:[8, 8, 106] Operation: 44+62=106 Moving to Node #0,1 Current State: 90:[8, 8, 18], Operations: ['62-44=18'] Exploring Operation: 8+8=16, Resulting Numbers: [18, 16] Generated Node #0,1,0: 90:[18, 16] Operation: 8+8=16 Exploring Operation: 18-8=10, Resulting Numbers: [8, 10] Generated Node #0,1,1: 90:[8, 10] Operation: 18-8=10 Exploring Operation: 18-8=10, Resulting Numbers: [8, 10] Generated Node #0,1,2: 90:[8, 10] Operation: 18-8=10 Exploring Operation: 8/8=1, Resulting Numbers: [18, 1] Generated Node #0,1,3: 90:[18, 1] Operation: 8/8=1 Moving to Node #0,2 Current State: 90:[8, 44, 54], Operations: ['62-8=54'] Exploring Operation: 54-44=10, Resulting Numbers: [8, 10] Generated Node #0,2,0: 90:[8, 10] Operation: 54-44=10 Exploring Operation: 44-8=36, Resulting Numbers: [54, 36] Generated Node #0,2,1: 90:[54, 36] Operation: 44-8=36 Exploring Operation: 44+54=98, Resulting Numbers: [8, 98] Generated Node #0,2,2: 90:[8, 98] Operation: 44+54=98 Exploring Operation: 54-8=46, Resulting Numbers: [44, 46] Generated Node #0,2,3: 90:[44, 46] Operation: 54-8=46 Moving to Node #0,0 Current State: 90:[8, 44, 54], Operations: ['62-8=54'] Exploring Operation: 44+54=98, Resulting Numbers: [8, 98] Generated Node #0,0,0: 90:[8, 98] Operation: 44+54=98 Exploring Operation: 44-8=36, Resulting Numbers: [54, 36] Generated Node #0,0,1: 90:[54, 36] Operation: 44-8=36 Exploring Operation: 54-8=46, Resulting Numbers: [44, 46] Generated Node #0,0,2: 90:[44, 46] Operation: 54-8=46 Exploring Operation: 54-44=10, Resulting Numbers: [8, 10] Generated Node #0,0,3: 90:[8, 10] Operation: 54-44=10 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[8, 10], Operations: ['62-8=54', '54-44=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[44, 46], Operations: ['62-8=54', '54-8=46'] Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,90 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[8, 8, 44, 62], Operations: [] Exploring Operation: 62-8=54, Resulting Numbers: [8, 44, 54] Generated Node #0,0: 90:[8, 44, 54] Operation: 62-8=54 Moving to Node #0,0 Current State: 90:[8, 44, 54], Operations: ['62-8=54'] Exploring Operation: 54-8=46, Resulting Numbers: [44, 46] Generated Node #0,0,2: 90:[44, 46] Operation: 54-8=46 Moving to Node #0,0,2 Current State: 90:[44, 46], Operations: ['62-8=54', '54-8=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
sum_heuristic
[ 54, 79, 50, 85 ]
10
[ "79-54=25", "85-50=35", "35-25=10" ]
Current State: 10:[54, 79, 50, 85], Operations: [] Exploring Operation: 79-54=25, Resulting Numbers: [50, 85, 25] Generated Node #2: [50, 85, 25] from Operation: 79-54=25 Current State: 10:[50, 85, 25], Operations: ['79-54=25'] Exploring Operation: 85-50=35, Resulting Numbers: [25, 35] Generated Node #3: [25, 35] from Operation: 85-50=35 Current State: 10:[25, 35], Operations: ['79-54=25', '85-50=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[54, 79, 50, 85], Operations: [] Exploring Operation: 85-79=6, Resulting Numbers: [54, 50, 6] Generated Node #0,0: 10:[54, 50, 6] Operation: 85-79=6 Moving to Node #0,0 Current State: 10:[54, 50, 6], Operations: ['85-79=6'] Exploring Operation: 54-50=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 10:[6, 4] Operation: 54-50=4 Moving to Node #0,0,0 Current State: 10:[6, 4], Operations: ['85-79=6', '54-50=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[54, 79, 50, 85], Operations: [] Exploring Operation: 85-79=6, Resulting Numbers: [54, 50, 6] Generated Node #0,0: 10:[54, 50, 6] Operation: 85-79=6 Moving to Node #0,0 Current State: 10:[54, 50, 6], Operations: ['85-79=6'] Exploring Operation: 54-50=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 10:[6, 4] Operation: 54-50=4 Moving to Node #0,0,0 Current State: 10:[6, 4], Operations: ['85-79=6', '54-50=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 18, 41, 78, 21 ]
80
[ "41-18=23", "78-21=57", "23+57=80" ]
Current State: 80:[18, 41, 78, 21], Operations: [] Exploring Operation: 41-18=23, Resulting Numbers: [78, 21, 23] Generated Node #2: [78, 21, 23] from Operation: 41-18=23 Current State: 80:[78, 21, 23], Operations: ['41-18=23'] Exploring Operation: 78-21=57, Resulting Numbers: [23, 57] Generated Node #3: [23, 57] from Operation: 78-21=57 Current State: 80:[23, 57], Operations: ['41-18=23', '78-21=57'] Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[18, 41, 78, 21], Operations: [] Exploring Operation: 41-21=20, Resulting Numbers: [18, 78, 20] Generated Node #0,0: 80:[18, 78, 20] Operation: 41-21=20 Exploring Operation: 18+21=39, Resulting Numbers: [41, 78, 39] Generated Node #0,1: 80:[41, 78, 39] Operation: 18+21=39 Exploring Operation: 21-18=3, Resulting Numbers: [41, 78, 3] Generated Node #0,2: 80:[41, 78, 3] Operation: 21-18=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[18, 78, 20], Operations: ['41-21=20'] Exploring Operation: 20-18=2, Resulting Numbers: [78, 2] Generated Node #0,0,0: 80:[78, 2] Operation: 20-18=2 Exploring Operation: 18+78=96, Resulting Numbers: [20, 96] Generated Node #0,0,1: 80:[20, 96] Operation: 18+78=96 Exploring Operation: 18+20=38, Resulting Numbers: [78, 38] Generated Node #0,0,2: 80:[78, 38] Operation: 18+20=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[78, 2], Operations: ['41-21=20', '20-18=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[18, 41, 78, 21], Operations: [] Exploring Operation: 41-21=20, Resulting Numbers: [18, 78, 20] Generated Node #0,0: 80:[18, 78, 20] Operation: 41-21=20 Moving to Node #0,0 Current State: 80:[18, 78, 20], Operations: ['41-21=20'] Exploring Operation: 20-18=2, Resulting Numbers: [78, 2] Generated Node #0,0,0: 80:[78, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 80:[78, 2], Operations: ['41-21=20', '20-18=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 58, 18, 3, 13 ]
29
[ "18-3=15", "15-13=2", "58/2=29" ]
Current State: 29:[58, 18, 3, 13], Operations: [] Exploring Operation: 18-3=15, Resulting Numbers: [58, 13, 15] Generated Node #2: [58, 13, 15] from Operation: 18-3=15 Current State: 29:[58, 13, 15], Operations: ['18-3=15'] Exploring Operation: 15-13=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 15-13=2 Current State: 29:[58, 2], Operations: ['18-3=15', '15-13=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[58, 18, 3, 13], Operations: [] Exploring Operation: 58-3=55, Resulting Numbers: [18, 13, 55] Generated Node #0,0: 29:[18, 13, 55] Operation: 58-3=55 Exploring Operation: 58-18=40, Resulting Numbers: [3, 13, 40] Generated Node #0,1: 29:[3, 13, 40] Operation: 58-18=40 Exploring Operation: 3*13=39, Resulting Numbers: [58, 18, 39] Generated Node #0,2: 29:[58, 18, 39] Operation: 3*13=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[58, 18, 39], Operations: ['3*13=39'] Exploring Operation: 39-18=21, Resulting Numbers: [58, 21] Generated Node #0,2,0: 29:[58, 21] Operation: 39-18=21 Exploring Operation: 58-18=40, Resulting Numbers: [39, 40] Generated Node #0,2,1: 29:[39, 40] Operation: 58-18=40 Exploring Operation: 58-39=19, Resulting Numbers: [18, 19] Generated Node #0,2,2: 29:[18, 19] Operation: 58-39=19 Moving to Node #0,2,1 Current State: 29:[39, 40], Operations: ['3*13=39', '58-18=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[18, 19], Operations: ['3*13=39', '58-39=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,29 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[58, 21], Operations: ['3*13=39', '39-18=21'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,29 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[18, 13, 55], Operations: ['58-3=55'] Exploring Operation: 18+13=31, Resulting Numbers: [55, 31] Generated Node #0,0,0: 29:[55, 31] Operation: 18+13=31 Exploring Operation: 55-13=42, Resulting Numbers: [18, 42] Generated Node #0,0,1: 29:[18, 42] Operation: 55-13=42 Exploring Operation: 55-18=37, Resulting Numbers: [13, 37] Generated Node #0,0,2: 29:[13, 37] Operation: 55-18=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[18, 42], Operations: ['58-3=55', '55-13=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,29 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[13, 37], Operations: ['58-3=55', '55-18=37'] Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,29 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[55, 31], Operations: ['58-3=55', '18+13=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[3, 13, 40], Operations: ['58-18=40'] Exploring Operation: 40-3=37, Resulting Numbers: [13, 37] Generated Node #0,1,0: 29:[13, 37] Operation: 40-3=37 Exploring Operation: 3+13=16, Resulting Numbers: [40, 16] Generated Node #0,1,1: 29:[40, 16] Operation: 3+13=16 Exploring Operation: 3*13=39, Resulting Numbers: [40, 39] Generated Node #0,1,2: 29:[40, 39] Operation: 3*13=39 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[40, 39], Operations: ['58-18=40', '3*13=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,29 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[13, 37], Operations: ['58-18=40', '40-3=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,29 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[40, 16], Operations: ['58-18=40', '3+13=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,29 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 22, 6, 2, 92 ]
80
[ "22*6=132", "132-92=40", "2*40=80" ]
Current State: 80:[22, 6, 2, 92], Operations: [] Exploring Operation: 22*6=132, Resulting Numbers: [2, 92, 132] Generated Node #2: [2, 92, 132] from Operation: 22*6=132 Current State: 80:[2, 92, 132], Operations: ['22*6=132'] Exploring Operation: 132-92=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 132-92=40 Current State: 80:[2, 40], Operations: ['22*6=132', '132-92=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[22, 6, 2, 92], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [22, 6, 46] Generated Node #0,0: 80:[22, 6, 46] Operation: 92/2=46 Exploring Operation: 92-6=86, Resulting Numbers: [22, 2, 86] Generated Node #0,1: 80:[22, 2, 86] Operation: 92-6=86 Moving to Node #0,1 Current State: 80:[22, 2, 86], Operations: ['92-6=86'] Exploring Operation: 86/2=43, Resulting Numbers: [22, 43] Generated Node #0,1,0: 80:[22, 43] Operation: 86/2=43 Exploring Operation: 22-2=20, Resulting Numbers: [86, 20] Generated Node #0,1,1: 80:[86, 20] Operation: 22-2=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[22, 43], Operations: ['92-6=86', '86/2=43'] Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[86, 20], Operations: ['92-6=86', '22-2=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,80 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: 80:[22, 6, 46], Operations: ['92/2=46'] Exploring Operation: 46-22=24, Resulting Numbers: [6, 24] Generated Node #0,0,0: 80:[6, 24] Operation: 46-22=24 Exploring Operation: 46-6=40, Resulting Numbers: [22, 40] Generated Node #0,0,1: 80:[22, 40] Operation: 46-6=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[22, 40], Operations: ['92/2=46', '46-6=40'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[6, 24], Operations: ['92/2=46', '46-22=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,80 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, 99, 16, 24 ]
91
[ "1*99=99", "24-16=8", "99-8=91" ]
Current State: 91:[1, 99, 16, 24], Operations: [] Exploring Operation: 1*99=99, Resulting Numbers: [16, 24, 99] Generated Node #2: [16, 24, 99] from Operation: 1*99=99 Current State: 91:[16, 24, 99], Operations: ['1*99=99'] Exploring Operation: 24-16=8, Resulting Numbers: [99, 8] Generated Node #3: [99, 8] from Operation: 24-16=8 Current State: 91:[99, 8], Operations: ['1*99=99', '24-16=8'] Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[1, 99, 16, 24], Operations: [] Exploring Operation: 16-1=15, Resulting Numbers: [99, 24, 15] Generated Node #0,0: 91:[99, 24, 15] Operation: 16-1=15 Exploring Operation: 99-1=98, Resulting Numbers: [16, 24, 98] Generated Node #0,1: 91:[16, 24, 98] Operation: 99-1=98 Exploring Operation: 24-16=8, Resulting Numbers: [1, 99, 8] Generated Node #0,2: 91:[1, 99, 8] Operation: 24-16=8 Moving to Node #0,2 Current State: 91:[1, 99, 8], Operations: ['24-16=8'] Exploring Operation: 8-1=7, Resulting Numbers: [99, 7] Generated Node #0,2,0: 91:[99, 7] Operation: 8-1=7 Exploring Operation: 99-1=98, Resulting Numbers: [8, 98] Generated Node #0,2,1: 91:[8, 98] Operation: 99-1=98 Exploring Operation: 99-8=91, Resulting Numbers: [1, 91] Generated Node #0,2,2: 91:[1, 91] Operation: 99-8=91 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[1, 91], Operations: ['24-16=8', '99-8=91'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[1, 99, 16, 24], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [1, 99, 8] Generated Node #0,2: 91:[1, 99, 8] Operation: 24-16=8 Moving to Node #0,2 Current State: 91:[1, 99, 8], Operations: ['24-16=8'] Exploring Operation: 99-8=91, Resulting Numbers: [1, 91] Generated Node #0,2,2: 91:[1, 91] Operation: 99-8=91 Moving to Node #0,2,2 Current State: 91:[1, 91], Operations: ['24-16=8', '99-8=91'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 4, 75, 69, 24 ]
60
[ "75+69=144", "144/4=36", "24+36=60" ]
Current State: 60:[4, 75, 69, 24], Operations: [] Exploring Operation: 75+69=144, Resulting Numbers: [4, 24, 144] Generated Node #2: [4, 24, 144] from Operation: 75+69=144 Current State: 60:[4, 24, 144], Operations: ['75+69=144'] Exploring Operation: 144/4=36, Resulting Numbers: [24, 36] Generated Node #3: [24, 36] from Operation: 144/4=36 Current State: 60:[24, 36], Operations: ['75+69=144', '144/4=36'] Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[4, 75, 69, 24], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [4, 24, 6] Generated Node #0,0: 60:[4, 24, 6] Operation: 75-69=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[4, 24, 6], Operations: ['75-69=6'] Exploring Operation: 24-4=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 60:[6, 20] Operation: 24-4=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[6, 20], Operations: ['75-69=6', '24-4=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,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_1
mult_heuristic
[ 3, 48, 47, 80 ]
82
[ "48-3=45", "47+80=127", "127-45=82" ]
Current State: 82:[3, 48, 47, 80], Operations: [] Exploring Operation: 48-3=45, Resulting Numbers: [47, 80, 45] Generated Node #2: [47, 80, 45] from Operation: 48-3=45 Current State: 82:[47, 80, 45], Operations: ['48-3=45'] Exploring Operation: 47+80=127, Resulting Numbers: [45, 127] Generated Node #3: [45, 127] from Operation: 47+80=127 Current State: 82:[45, 127], Operations: ['48-3=45', '47+80=127'] Exploring Operation: 127-45=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[3, 48, 47, 80], Operations: [] Exploring Operation: 48-47=1, Resulting Numbers: [3, 80, 1] Generated Node #0,0: 82:[3, 80, 1] Operation: 48-47=1 Moving to Node #0,0 Current State: 82:[3, 80, 1], Operations: ['48-47=1'] Exploring Operation: 3+80=83, Resulting Numbers: [1, 83] Generated Node #0,0,0: 82:[1, 83] Operation: 3+80=83 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[1, 83], Operations: ['48-47=1', '3+80=83'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[3, 48, 47, 80], Operations: [] Exploring Operation: 48-47=1, Resulting Numbers: [3, 80, 1] Generated Node #0,0: 82:[3, 80, 1] Operation: 48-47=1 Moving to Node #0,0 Current State: 82:[3, 80, 1], Operations: ['48-47=1'] Exploring Operation: 3+80=83, Resulting Numbers: [1, 83] Generated Node #0,0,0: 82:[1, 83] Operation: 3+80=83 Moving to Node #0,0,0 Current State: 82:[1, 83], Operations: ['48-47=1', '3+80=83'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 60, 99, 21, 12 ]
72
[ "99-60=39", "21+12=33", "39+33=72" ]
Current State: 72:[60, 99, 21, 12], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [21, 12, 39] Generated Node #2: [21, 12, 39] from Operation: 99-60=39 Current State: 72:[21, 12, 39], Operations: ['99-60=39'] Exploring Operation: 21+12=33, Resulting Numbers: [39, 33] Generated Node #3: [39, 33] from Operation: 21+12=33 Current State: 72:[39, 33], Operations: ['99-60=39', '21+12=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[60, 99, 21, 12], Operations: [] Exploring Operation: 99-12=87, Resulting Numbers: [60, 21, 87] Generated Node #0,0: 72:[60, 21, 87] Operation: 99-12=87 Exploring Operation: 99-60=39, Resulting Numbers: [21, 12, 39] Generated Node #0,1: 72:[21, 12, 39] Operation: 99-60=39 Exploring Operation: 60+12=72, Resulting Numbers: [99, 21, 72] Generated Node #0,2: 72:[99, 21, 72] Operation: 60+12=72 Exploring Operation: 99-21=78, Resulting Numbers: [60, 12, 78] Generated Node #0,3: 72:[60, 12, 78] Operation: 99-21=78 Exploring Operation: 60-21=39, Resulting Numbers: [99, 12, 39] Generated Node #0,4: 72:[99, 12, 39] Operation: 60-21=39 Moving to Node #0,1 Current State: 72:[21, 12, 39], Operations: ['99-60=39'] Exploring Operation: 39-12=27, Resulting Numbers: [21, 27] Generated Node #0,1,0: 72:[21, 27] Operation: 39-12=27 Exploring Operation: 21+39=60, Resulting Numbers: [12, 60] Generated Node #0,1,1: 72:[12, 60] Operation: 21+39=60 Exploring Operation: 39-21=18, Resulting Numbers: [12, 18] Generated Node #0,1,2: 72:[12, 18] Operation: 39-21=18 Exploring Operation: 21-12=9, Resulting Numbers: [39, 9] Generated Node #0,1,3: 72:[39, 9] Operation: 21-12=9 Exploring Operation: 21+12=33, Resulting Numbers: [39, 33] Generated Node #0,1,4: 72:[39, 33] Operation: 21+12=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[12, 18], Operations: ['99-60=39', '39-21=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,72 unequal: No Solution No 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: 72:[39, 9], Operations: ['99-60=39', '21-12=9'] Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,72 unequal: No Solution Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,72 unequal: No Solution No 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: 72:[21, 27], Operations: ['99-60=39', '39-12=27'] Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,72 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,72 unequal: No Solution No 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: 72:[39, 33], Operations: ['99-60=39', '21+12=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[60, 99, 21, 12], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [21, 12, 39] Generated Node #0,1: 72:[21, 12, 39] Operation: 99-60=39 Moving to Node #0,1 Current State: 72:[21, 12, 39], Operations: ['99-60=39'] Exploring Operation: 21+12=33, Resulting Numbers: [39, 33] Generated Node #0,1,4: 72:[39, 33] Operation: 21+12=33 Moving to Node #0,1,4 Current State: 72:[39, 33], Operations: ['99-60=39', '21+12=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 22, 82, 47, 84 ]
36
[ "84-82=2", "22/2=11", "47-11=36" ]
Current State: 36:[22, 82, 47, 84], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [22, 47, 2] Generated Node #2: [22, 47, 2] from Operation: 84-82=2 Current State: 36:[22, 47, 2], Operations: ['84-82=2'] Exploring Operation: 22/2=11, Resulting Numbers: [47, 11] Generated Node #3: [47, 11] from Operation: 22/2=11 Current State: 36:[47, 11], Operations: ['84-82=2', '22/2=11'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[22, 82, 47, 84], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [22, 47, 2] Generated Node #0,0: 36:[22, 47, 2] Operation: 84-82=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[22, 47, 2], Operations: ['84-82=2'] Exploring Operation: 47-22=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 36:[2, 25] Operation: 47-22=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[2, 25], Operations: ['84-82=2', '47-22=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 82, 28, 94 ]
88
[ "82-60=22", "94-28=66", "22+66=88" ]
Current State: 88:[60, 82, 28, 94], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [28, 94, 22] Generated Node #2: [28, 94, 22] from Operation: 82-60=22 Current State: 88:[28, 94, 22], Operations: ['82-60=22'] Exploring Operation: 94-28=66, Resulting Numbers: [22, 66] Generated Node #3: [22, 66] from Operation: 94-28=66 Current State: 88:[22, 66], Operations: ['82-60=22', '94-28=66'] Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[60, 82, 28, 94], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [28, 94, 22] Generated Node #0,0: 88:[28, 94, 22] Operation: 82-60=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[28, 94, 22], Operations: ['82-60=22'] Exploring Operation: 28-22=6, Resulting Numbers: [94, 6] Generated Node #0,0,0: 88:[94, 6] Operation: 28-22=6 Moving to Node #0,0,0 Current State: 88:[94, 6], Operations: ['82-60=22', '28-22=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[60, 82, 28, 94], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [28, 94, 22] Generated Node #0,0: 88:[28, 94, 22] Operation: 82-60=22 Moving to Node #0,0 Current State: 88:[28, 94, 22], Operations: ['82-60=22'] Exploring Operation: 28-22=6, Resulting Numbers: [94, 6] Generated Node #0,0,0: 88:[94, 6] Operation: 28-22=6 Moving to Node #0,0,0 Current State: 88:[94, 6], Operations: ['82-60=22', '28-22=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 23, 45, 2, 8 ]
75
[ "23-8=15", "45*2=90", "90-15=75" ]
Current State: 75:[23, 45, 2, 8], Operations: [] Exploring Operation: 23-8=15, Resulting Numbers: [45, 2, 15] Generated Node #2: [45, 2, 15] from Operation: 23-8=15 Current State: 75:[45, 2, 15], Operations: ['23-8=15'] Exploring Operation: 45*2=90, Resulting Numbers: [15, 90] Generated Node #3: [15, 90] from Operation: 45*2=90 Current State: 75:[15, 90], Operations: ['23-8=15', '45*2=90'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[23, 45, 2, 8], Operations: [] Exploring Operation: 45*2=90, Resulting Numbers: [23, 8, 90] Generated Node #0,0: 75:[23, 8, 90] Operation: 45*2=90 Exploring Operation: 45-23=22, Resulting Numbers: [2, 8, 22] Generated Node #0,1: 75:[2, 8, 22] Operation: 45-23=22 Exploring Operation: 45-8=37, Resulting Numbers: [23, 2, 37] Generated Node #0,2: 75:[23, 2, 37] Operation: 45-8=37 Exploring Operation: 23+45=68, Resulting Numbers: [2, 8, 68] Generated Node #0,3: 75:[2, 8, 68] Operation: 23+45=68 Exploring Operation: 23-8=15, Resulting Numbers: [45, 2, 15] Generated Node #0,4: 75:[45, 2, 15] Operation: 23-8=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[2, 8, 22], Operations: ['45-23=22'] Exploring Operation: 22-8=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 75:[2, 14] Operation: 22-8=14 Exploring Operation: 2+22=24, Resulting Numbers: [8, 24] Generated Node #0,1,1: 75:[8, 24] Operation: 2+22=24 Exploring Operation: 2*8=16, Resulting Numbers: [22, 16] Generated Node #0,1,2: 75:[22, 16] Operation: 2*8=16 Exploring Operation: 8/2=4, Resulting Numbers: [22, 4] Generated Node #0,1,3: 75:[22, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [22, 6] Generated Node #0,1,4: 75:[22, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[2, 14], Operations: ['45-23=22', '22-8=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,75 unequal: No Solution No 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: 75:[8, 24], Operations: ['45-23=22', '2+22=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,75 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,75 unequal: No Solution No 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: 75:[22, 16], Operations: ['45-23=22', '2*8=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,75 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,75 unequal: No Solution No 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: 75:[22, 4], Operations: ['45-23=22', '8/2=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,75 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 75:[22, 6], Operations: ['45-23=22', '8-2=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,75 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: 75:[2, 8, 68], Operations: ['23+45=68'] Exploring Operation: 2+68=70, Resulting Numbers: [8, 70] Generated Node #0,3,0: 75:[8, 70] Operation: 2+68=70 Exploring Operation: 8-2=6, Resulting Numbers: [68, 6] Generated Node #0,3,1: 75:[68, 6] Operation: 8-2=6 Exploring Operation: 2*8=16, Resulting Numbers: [68, 16] Generated Node #0,3,2: 75:[68, 16] Operation: 2*8=16 Exploring Operation: 8/2=4, Resulting Numbers: [68, 4] Generated Node #0,3,3: 75:[68, 4] Operation: 8/2=4 Exploring Operation: 8+68=76, Resulting Numbers: [2, 76] Generated Node #0,3,4: 75:[2, 76] Operation: 8+68=76 Moving to Node #0,3,4 Current State: 75:[2, 76], Operations: ['23+45=68', '8+68=76'] Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[68, 6], Operations: ['23+45=68', '8-2=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,75 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[68, 4], Operations: ['23+45=68', '8/2=4'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,75 unequal: No Solution Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[8, 70], Operations: ['23+45=68', '2+68=70'] Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,75 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[68, 16], Operations: ['23+45=68', '2*8=16'] Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,75 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,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 Current State: 75:[23, 2, 37], Operations: ['45-8=37'] Exploring Operation: 37-23=14, Resulting Numbers: [2, 14] Generated Node #0,2,0: 75:[2, 14] Operation: 37-23=14 Exploring Operation: 37-2=35, Resulting Numbers: [23, 35] Generated Node #0,2,1: 75:[23, 35] Operation: 37-2=35 Exploring Operation: 23+2=25, Resulting Numbers: [37, 25] Generated Node #0,2,2: 75:[37, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [37, 21] Generated Node #0,2,3: 75:[37, 21] Operation: 23-2=21 Exploring Operation: 2*37=74, Resulting Numbers: [23, 74] Generated Node #0,2,4: 75:[23, 74] Operation: 2*37=74 Moving to Node #0,2,0 Current State: 75:[2, 14], Operations: ['45-8=37', '37-23=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[23, 74], Operations: ['45-8=37', '2*37=74'] Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,75 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[23, 35], Operations: ['45-8=37', '37-2=35'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 23*35=805, Resulting Numbers: [805] 805,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[37, 25], Operations: ['45-8=37', '23+2=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[37, 21], Operations: ['45-8=37', '23-2=21'] Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,75 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,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 Current State: 75:[23, 8, 90], Operations: ['45*2=90'] Exploring Operation: 90-8=82, Resulting Numbers: [23, 82] Generated Node #0,0,0: 75:[23, 82] Operation: 90-8=82 Exploring Operation: 23-8=15, Resulting Numbers: [90, 15] Generated Node #0,0,1: 75:[90, 15] Operation: 23-8=15 Exploring Operation: 23+8=31, Resulting Numbers: [90, 31] Generated Node #0,0,2: 75:[90, 31] Operation: 23+8=31 Exploring Operation: 90-23=67, Resulting Numbers: [8, 67] Generated Node #0,0,3: 75:[8, 67] Operation: 90-23=67 Exploring Operation: 8+90=98, Resulting Numbers: [23, 98] Generated Node #0,0,4: 75:[23, 98] Operation: 8+90=98 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[23, 82], Operations: ['45*2=90', '90-8=82'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,75 unequal: No Solution No 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: 75:[8, 67], Operations: ['45*2=90', '90-23=67'] Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,75 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[23, 45, 2, 8], Operations: [] Exploring Operation: 45*2=90, Resulting Numbers: [23, 8, 90] Generated Node #0,0: 75:[23, 8, 90] Operation: 45*2=90 Moving to Node #0,0 Current State: 75:[23, 8, 90], Operations: ['45*2=90'] Exploring Operation: 90-23=67, Resulting Numbers: [8, 67] Generated Node #0,0,3: 75:[8, 67] Operation: 90-23=67 Moving to Node #0,0,3 Current State: 75:[8, 67], Operations: ['45*2=90', '90-23=67'] Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.926215
hs_5
mult_heuristic
[ 61, 11, 4, 80 ]
32
[ "61+11=72", "80-72=8", "4*8=32" ]
Current State: 32:[61, 11, 4, 80], Operations: [] Exploring Operation: 61+11=72, Resulting Numbers: [4, 80, 72] Generated Node #2: [4, 80, 72] from Operation: 61+11=72 Current State: 32:[4, 80, 72], Operations: ['61+11=72'] Exploring Operation: 80-72=8, Resulting Numbers: [4, 8] Generated Node #3: [4, 8] from Operation: 80-72=8 Current State: 32:[4, 8], Operations: ['61+11=72', '80-72=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[61, 11, 4, 80], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [11, 4, 19] Generated Node #0,0: 32:[11, 4, 19] Operation: 80-61=19 Moving to Node #0,0 Current State: 32:[11, 4, 19], Operations: ['80-61=19'] Exploring Operation: 19-11=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 32:[4, 8] Operation: 19-11=8 Moving to Node #0,0,0 Current State: 32:[4, 8], Operations: ['80-61=19', '19-11=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[61, 11, 4, 80], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [11, 4, 19] Generated Node #0,0: 32:[11, 4, 19] Operation: 80-61=19 Moving to Node #0,0 Current State: 32:[11, 4, 19], Operations: ['80-61=19'] Exploring Operation: 19-11=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 32:[4, 8] Operation: 19-11=8 Moving to Node #0,0,0 Current State: 32:[4, 8], Operations: ['80-61=19', '19-11=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 38, 4, 32, 17 ]
47
[ "38+17=55", "32/4=8", "55-8=47" ]
Current State: 47:[38, 4, 32, 17], Operations: [] Exploring Operation: 38+17=55, Resulting Numbers: [4, 32, 55] Generated Node #2: [4, 32, 55] from Operation: 38+17=55 Current State: 47:[4, 32, 55], Operations: ['38+17=55'] Exploring Operation: 32/4=8, Resulting Numbers: [55, 8] Generated Node #3: [55, 8] from Operation: 32/4=8 Current State: 47:[55, 8], Operations: ['38+17=55', '32/4=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[38, 4, 32, 17], Operations: [] Exploring Operation: 4*17=68, Resulting Numbers: [38, 32, 68] Generated Node #0,0: 47:[38, 32, 68] Operation: 4*17=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[38, 32, 68], Operations: ['4*17=68'] Exploring Operation: 68-32=36, Resulting Numbers: [38, 36] Generated Node #0,0,0: 47:[38, 36] Operation: 68-32=36 Moving to Node #0,0,0 Current State: 47:[38, 36], Operations: ['4*17=68', '68-32=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic