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
[ 65, 59, 38, 49 ]
17
[ "65-59=6", "49-38=11", "6+11=17" ]
Current State: 17:[65, 59, 38, 49], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [38, 49, 6] Generated Node #2: [38, 49, 6] from Operation: 65-59=6 Current State: 17:[38, 49, 6], Operations: ['65-59=6'] Exploring Operation: 49-38=11, Resulting Numbers: [6, 11] Generated Node #3: [6, 11] from Operation: 49-38=11 Current State: 17:[6, 11], Operations: ['65-59=6', '49-38=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[65, 59, 38, 49], Operations: [] Exploring Operation: 59-49=10, Resulting Numbers: [65, 38, 10] Generated Node #0,0: 17:[65, 38, 10] Operation: 59-49=10 Exploring Operation: 65-59=6, Resulting Numbers: [38, 49, 6] Generated Node #0,1: 17:[38, 49, 6] Operation: 65-59=6 Exploring Operation: 65-49=16, Resulting Numbers: [59, 38, 16] Generated Node #0,2: 17:[59, 38, 16] Operation: 65-49=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[38, 49, 6], Operations: ['65-59=6'] Exploring Operation: 49-6=43, Resulting Numbers: [38, 43] Generated Node #0,1,0: 17:[38, 43] Operation: 49-6=43 Exploring Operation: 38-6=32, Resulting Numbers: [49, 32] Generated Node #0,1,1: 17:[49, 32] Operation: 38-6=32 Exploring Operation: 49-38=11, Resulting Numbers: [6, 11] Generated Node #0,1,2: 17:[6, 11] Operation: 49-38=11 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 17:[6, 11], Operations: ['65-59=6', '49-38=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[65, 59, 38, 49], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [38, 49, 6] Generated Node #0,1: 17:[38, 49, 6] Operation: 65-59=6 Moving to Node #0,1 Current State: 17:[38, 49, 6], Operations: ['65-59=6'] Exploring Operation: 49-38=11, Resulting Numbers: [6, 11] Generated Node #0,1,2: 17:[6, 11] Operation: 49-38=11 Moving to Node #0,1,2 Current State: 17:[6, 11], Operations: ['65-59=6', '49-38=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 22, 1, 58, 75 ]
17
[ "22*58=1276", "1276-1=1275", "1275/75=17" ]
Current State: 17:[22, 1, 58, 75], Operations: [] Exploring Operation: 22*58=1276, Resulting Numbers: [1, 75, 1276] Generated Node #2: [1, 75, 1276] from Operation: 22*58=1276 Current State: 17:[1, 75, 1276], Operations: ['22*58=1276'] Exploring Operation: 1276-1=1275, Resulting Numbers: [75, 1275] Generated Node #3: [75, 1275] from Operation: 1276-1=1275 Current State: 17:[75, 1275], Operations: ['22*58=1276', '1276-1=1275'] Exploring Operation: 1275/75=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[22, 1, 58, 75], Operations: [] Exploring Operation: 58-1=57, Resulting Numbers: [22, 75, 57] Generated Node #0,0: 17:[22, 75, 57] Operation: 58-1=57 Exploring Operation: 58-22=36, Resulting Numbers: [1, 75, 36] Generated Node #0,1: 17:[1, 75, 36] Operation: 58-22=36 Exploring Operation: 22-1=21, Resulting Numbers: [58, 75, 21] Generated Node #0,2: 17:[58, 75, 21] Operation: 22-1=21 Exploring Operation: 75-58=17, Resulting Numbers: [22, 1, 17] Generated Node #0,3: 17:[22, 1, 17] Operation: 75-58=17 Exploring Operation: 75-22=53, Resulting Numbers: [1, 58, 53] Generated Node #0,4: 17:[1, 58, 53] Operation: 75-22=53 Moving to Node #0,3 Current State: 17:[22, 1, 17], Operations: ['75-58=17'] Exploring Operation: 1*17=17, Resulting Numbers: [22, 17] Generated Node #0,3,0: 17:[22, 17] Operation: 1*17=17 Exploring Operation: 17/1=17, Resulting Numbers: [22, 17] Generated Node #0,3,1: 17:[22, 17] Operation: 17/1=17 Exploring Operation: 22*1=22, Resulting Numbers: [17, 22] Generated Node #0,3,2: 17:[17, 22] Operation: 22*1=22 Exploring Operation: 22/1=22, Resulting Numbers: [17, 22] Generated Node #0,3,3: 17:[17, 22] Operation: 22/1=22 Exploring Operation: 22-1=21, Resulting Numbers: [17, 21] Generated Node #0,3,4: 17:[17, 21] Operation: 22-1=21 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[17, 21], Operations: ['75-58=17', '22-1=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,17 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[22, 17], Operations: ['75-58=17', '1*17=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,17 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[22, 17], Operations: ['75-58=17', '17/1=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,17 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[17, 22], Operations: ['75-58=17', '22*1=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[17, 22], Operations: ['75-58=17', '22/1=22'] Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,17 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 17:[1, 58, 53], Operations: ['75-22=53'] Exploring Operation: 1*58=58, Resulting Numbers: [53, 58] Generated Node #0,4,0: 17:[53, 58] Operation: 1*58=58 Exploring Operation: 58/1=58, Resulting Numbers: [53, 58] Generated Node #0,4,1: 17:[53, 58] Operation: 58/1=58 Exploring Operation: 58-53=5, Resulting Numbers: [1, 5] Generated Node #0,4,2: 17:[1, 5] Operation: 58-53=5 Exploring Operation: 58-1=57, Resulting Numbers: [53, 57] Generated Node #0,4,3: 17:[53, 57] Operation: 58-1=57 Exploring Operation: 53-1=52, Resulting Numbers: [58, 52] Generated Node #0,4,4: 17:[58, 52] Operation: 53-1=52 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 17:[1, 5], Operations: ['75-22=53', '58-53=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,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,4,3 Current State: 17:[53, 57], Operations: ['75-22=53', '58-1=57'] Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,17 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,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,4,4 Current State: 17:[58, 52], Operations: ['75-22=53', '53-1=52'] Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,17 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,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,4,0 Current State: 17:[53, 58], Operations: ['75-22=53', '1*58=58'] Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,17 unequal: No Solution Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,17 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,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,4,1 Current State: 17:[53, 58], Operations: ['75-22=53', '58/1=58'] Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,17 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,17 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: 17:[1, 75, 36], Operations: ['58-22=36'] Exploring Operation: 75-36=39, Resulting Numbers: [1, 39] Generated Node #0,1,0: 17:[1, 39] Operation: 75-36=39 Exploring Operation: 75/1=75, Resulting Numbers: [36, 75] Generated Node #0,1,1: 17:[36, 75] Operation: 75/1=75 Exploring Operation: 36-1=35, Resulting Numbers: [75, 35] Generated Node #0,1,2: 17:[75, 35] Operation: 36-1=35 Exploring Operation: 1*75=75, Resulting Numbers: [36, 75] Generated Node #0,1,3: 17:[36, 75] Operation: 1*75=75 Exploring Operation: 75-1=74, Resulting Numbers: [36, 74] Generated Node #0,1,4: 17:[36, 74] Operation: 75-1=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[1, 39], Operations: ['58-22=36', '75-36=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,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,2 Current State: 17:[75, 35], Operations: ['58-22=36', '36-1=35'] Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,17 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,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,4 Current State: 17:[36, 74], Operations: ['58-22=36', '75-1=74'] Exploring Operation: 36+74=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 36*74=2664, Resulting Numbers: [2664] 2664,17 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,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,1 Current State: 17:[36, 75], Operations: ['58-22=36', '75/1=75'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 36+75=111, Resulting Numbers: [111] 111,17 unequal: No Solution Exploring Operation: 36*75=2700, Resulting Numbers: [2700] 2700,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,3 Current State: 17:[36, 75], Operations: ['58-22=36', '1*75=75'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 36*75=2700, Resulting Numbers: [2700] 2700,17 unequal: No Solution Exploring Operation: 36+75=111, Resulting Numbers: [111] 111,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:[22, 75, 57], Operations: ['58-1=57'] Exploring Operation: 57-22=35, Resulting Numbers: [75, 35] Generated Node #0,0,0: 17:[75, 35] Operation: 57-22=35 Exploring Operation: 22+75=97, Resulting Numbers: [57, 97] Generated Node #0,0,1: 17:[57, 97] Operation: 22+75=97 Exploring Operation: 75-57=18, Resulting Numbers: [22, 18] Generated Node #0,0,2: 17:[22, 18] Operation: 75-57=18 Exploring Operation: 22+57=79, Resulting Numbers: [75, 79] Generated Node #0,0,3: 17:[75, 79] Operation: 22+57=79 Exploring Operation: 75-22=53, Resulting Numbers: [57, 53] Generated Node #0,0,4: 17:[57, 53] Operation: 75-22=53 Moving to Node #0,2 Current State: 17:[58, 75, 21], Operations: ['22-1=21'] Exploring Operation: 58+75=133, Resulting Numbers: [21, 133] Generated Node #0,2,0: 17:[21, 133] Operation: 58+75=133 Exploring Operation: 75-58=17, Resulting Numbers: [21, 17] Generated Node #0,2,1: 17:[21, 17] Operation: 75-58=17 Exploring Operation: 58-21=37, Resulting Numbers: [75, 37] Generated Node #0,2,2: 17:[75, 37] Operation: 58-21=37 Exploring Operation: 58+21=79, Resulting Numbers: [75, 79] Generated Node #0,2,3: 17:[75, 79] Operation: 58+21=79 Exploring Operation: 75-21=54, Resulting Numbers: [58, 54] Generated Node #0,2,4: 17:[58, 54] Operation: 75-21=54 Moving to Node #0,2,1 Current State: 17:[21, 17], Operations: ['22-1=21', '75-58=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,17 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[22, 18], Operations: ['58-1=57', '75-57=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,17 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[57, 53], Operations: ['58-1=57', '75-22=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,17 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[75, 35], Operations: ['58-1=57', '57-22=35'] Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,17 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[75, 37], Operations: ['22-1=21', '58-21=37'] Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,17 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[58, 54], Operations: ['22-1=21', '75-21=54'] Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,17 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[75, 79], Operations: ['22-1=21', '58+21=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,17 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,17 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[21, 133], Operations: ['22-1=21', '58+75=133'] Exploring Operation: 21+133=154, Resulting Numbers: [154] 154,17 unequal: No Solution Exploring Operation: 133-21=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 21*133=2793, Resulting Numbers: [2793] 2793,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[75, 79], Operations: ['58-1=57', '22+57=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,17 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,17 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[57, 97], Operations: ['58-1=57', '22+75=97'] Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 57*97=5529, Resulting Numbers: [5529] 5529,17 unequal: No Solution Exploring Operation: 57+97=154, Resulting Numbers: [154] 154,17 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 42, 66, 27, 28 ]
71
[ "66*28=1848", "1848/42=44", "27+44=71" ]
Current State: 71:[42, 66, 27, 28], Operations: [] Exploring Operation: 66*28=1848, Resulting Numbers: [42, 27, 1848] Generated Node #2: [42, 27, 1848] from Operation: 66*28=1848 Current State: 71:[42, 27, 1848], Operations: ['66*28=1848'] Exploring Operation: 1848/42=44, Resulting Numbers: [27, 44] Generated Node #3: [27, 44] from Operation: 1848/42=44 Current State: 71:[27, 44], Operations: ['66*28=1848', '1848/42=44'] Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[42, 66, 27, 28], Operations: [] Exploring Operation: 42+27=69, Resulting Numbers: [66, 28, 69] Generated Node #0,0: 71:[66, 28, 69] Operation: 42+27=69 Exploring Operation: 66+27=93, Resulting Numbers: [42, 28, 93] Generated Node #0,1: 71:[42, 28, 93] Operation: 66+27=93 Exploring Operation: 42+28=70, Resulting Numbers: [66, 27, 70] Generated Node #0,2: 71:[66, 27, 70] Operation: 42+28=70 Exploring Operation: 27+28=55, Resulting Numbers: [42, 66, 55] Generated Node #0,3: 71:[42, 66, 55] Operation: 27+28=55 Exploring Operation: 66+28=94, Resulting Numbers: [42, 27, 94] Generated Node #0,4: 71:[42, 27, 94] Operation: 66+28=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[66, 28, 69], Operations: ['42+27=69'] Exploring Operation: 28+69=97, Resulting Numbers: [66, 97] Generated Node #0,0,0: 71:[66, 97] Operation: 28+69=97 Exploring Operation: 69-28=41, Resulting Numbers: [66, 41] Generated Node #0,0,1: 71:[66, 41] Operation: 69-28=41 Exploring Operation: 66-28=38, Resulting Numbers: [69, 38] Generated Node #0,0,2: 71:[69, 38] Operation: 66-28=38 Exploring Operation: 66+28=94, Resulting Numbers: [69, 94] Generated Node #0,0,3: 71:[69, 94] Operation: 66+28=94 Exploring Operation: 66+69=135, Resulting Numbers: [28, 135] Generated Node #0,0,4: 71:[28, 135] Operation: 66+69=135 Moving to Node #0,0,3 Current State: 71:[69, 94], Operations: ['42+27=69', '66+28=94'] Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 69*94=6486, Resulting Numbers: [6486] 6486,71 unequal: No Solution Exploring Operation: 69+94=163, Resulting Numbers: [163] 163,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[66, 97], Operations: ['42+27=69', '28+69=97'] Exploring Operation: 66*97=6402, Resulting Numbers: [6402] 6402,71 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 66+97=163, Resulting Numbers: [163] 163,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[66, 41], Operations: ['42+27=69', '69-28=41'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,71 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[69, 38], Operations: ['42+27=69', '66-28=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,71 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[28, 135], Operations: ['42+27=69', '66+69=135'] Exploring Operation: 28+135=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 28*135=3780, Resulting Numbers: [3780] 3780,71 unequal: No Solution Exploring Operation: 135-28=107, Resulting Numbers: [107] 107,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,2 Current State: 71:[66, 27, 70], Operations: ['42+28=70'] Exploring Operation: 27+70=97, Resulting Numbers: [66, 97] Generated Node #0,2,0: 71:[66, 97] Operation: 27+70=97 Exploring Operation: 70-27=43, Resulting Numbers: [66, 43] Generated Node #0,2,1: 71:[66, 43] Operation: 70-27=43 Exploring Operation: 66+27=93, Resulting Numbers: [70, 93] Generated Node #0,2,2: 71:[70, 93] Operation: 66+27=93 Exploring Operation: 66+70=136, Resulting Numbers: [27, 136] Generated Node #0,2,3: 71:[27, 136] Operation: 66+70=136 Exploring Operation: 66-27=39, Resulting Numbers: [70, 39] Generated Node #0,2,4: 71:[70, 39] Operation: 66-27=39 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[70, 93], Operations: ['42+28=70', '66+27=93'] Exploring Operation: 70*93=6510, Resulting Numbers: [6510] 6510,71 unequal: No Solution Exploring Operation: 70+93=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,71 unequal: No Solution No 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: 71:[66, 97], Operations: ['42+28=70', '27+70=97'] Exploring Operation: 66*97=6402, Resulting Numbers: [6402] 6402,71 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 66+97=163, Resulting Numbers: [163] 163,71 unequal: No Solution No 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: 71:[66, 43], Operations: ['42+28=70', '70-27=43'] Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,71 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,71 unequal: No Solution No 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: 71:[70, 39], Operations: ['42+28=70', '66-27=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution No 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: 71:[27, 136], Operations: ['42+28=70', '66+70=136'] Exploring Operation: 27*136=3672, Resulting Numbers: [3672] 3672,71 unequal: No Solution Exploring Operation: 27+136=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 136-27=109, Resulting Numbers: [109] 109,71 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: 71:[42, 66, 55], Operations: ['27+28=55'] Exploring Operation: 55-42=13, Resulting Numbers: [66, 13] Generated Node #0,3,0: 71:[66, 13] Operation: 55-42=13 Exploring Operation: 42+55=97, Resulting Numbers: [66, 97] Generated Node #0,3,1: 71:[66, 97] Operation: 42+55=97 Exploring Operation: 66+55=121, Resulting Numbers: [42, 121] Generated Node #0,3,2: 71:[42, 121] Operation: 66+55=121 Exploring Operation: 42+66=108, Resulting Numbers: [55, 108] Generated Node #0,3,3: 71:[55, 108] Operation: 42+66=108 Exploring Operation: 66-42=24, Resulting Numbers: [55, 24] Generated Node #0,3,4: 71:[55, 24] Operation: 66-42=24 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[66, 97], Operations: ['27+28=55', '42+55=97'] Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 66+97=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 66*97=6402, Resulting Numbers: [6402] 6402,71 unequal: No Solution No 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: 71:[55, 108], Operations: ['27+28=55', '42+66=108'] Exploring Operation: 55+108=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 55*108=5940, Resulting Numbers: [5940] 5940,71 unequal: No Solution Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,71 unequal: No Solution No 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: 71:[66, 13], Operations: ['27+28=55', '55-42=13'] Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,71 unequal: No Solution No 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: 71:[55, 24], Operations: ['27+28=55', '66-42=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,71 unequal: No Solution Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,71 unequal: No Solution No 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: 71:[42, 121], Operations: ['27+28=55', '66+55=121'] Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 42*121=5082, Resulting Numbers: [5082] 5082,71 unequal: No Solution Exploring Operation: 42+121=163, Resulting Numbers: [163] 163,71 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: 71:[42, 28, 93], Operations: ['66+27=93'] Exploring Operation: 42+28=70, Resulting Numbers: [93, 70] Generated Node #0,1,0: 71:[93, 70] Operation: 42+28=70 Exploring Operation: 93-28=65, Resulting Numbers: [42, 65] Generated Node #0,1,1: 71:[42, 65] Operation: 93-28=65 Exploring Operation: 93-42=51, Resulting Numbers: [28, 51] Generated Node #0,1,2: 71:[28, 51] Operation: 93-42=51 Exploring Operation: 42-28=14, Resulting Numbers: [93, 14] Generated Node #0,1,3: 71:[93, 14] Operation: 42-28=14 Exploring Operation: 28+93=121, Resulting Numbers: [42, 121] Generated Node #0,1,4: 71:[42, 121] Operation: 28+93=121 Moving to Node #0,1,0 Current State: 71:[93, 70], Operations: ['66+27=93', '42+28=70'] Exploring Operation: 93+70=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 93*70=6510, Resulting Numbers: [6510] 6510,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[42, 65], Operations: ['66+27=93', '93-28=65'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,71 unequal: No Solution Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[28, 51], Operations: ['66+27=93', '93-42=51'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,71 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[93, 14], Operations: ['66+27=93', '42-28=14'] Exploring Operation: 93*14=1302, Resulting Numbers: [1302] 1302,71 unequal: No Solution Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 93+14=107, Resulting Numbers: [107] 107,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[42, 121], Operations: ['66+27=93', '28+93=121'] Exploring Operation: 42+121=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 42*121=5082, Resulting Numbers: [5082] 5082,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 Current State: 71:[42, 27, 94], Operations: ['66+28=94'] Exploring Operation: 42+27=69, Resulting Numbers: [94, 69] Generated Node #0,4,0: 71:[94, 69] Operation: 42+27=69 Exploring Operation: 42-27=15, Resulting Numbers: [94, 15] Generated Node #0,4,1: 71:[94, 15] Operation: 42-27=15 Exploring Operation: 94-42=52, Resulting Numbers: [27, 52] Generated Node #0,4,2: 71:[27, 52] Operation: 94-42=52 Exploring Operation: 94-27=67, Resulting Numbers: [42, 67] Generated Node #0,4,3: 71:[42, 67] Operation: 94-27=67 Exploring Operation: 27+94=121, Resulting Numbers: [42, 121] Generated Node #0,4,4: 71:[42, 121] Operation: 27+94=121 Moving to Node #0,4,0 Current State: 71:[94, 69], Operations: ['66+28=94', '42+27=69'] Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 94*69=6486, Resulting Numbers: [6486] 6486,71 unequal: No Solution Exploring Operation: 94+69=163, Resulting Numbers: [163] 163,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[42, 67], Operations: ['66+28=94', '94-27=67'] Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[27, 52], Operations: ['66+28=94', '94-42=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,71 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[94, 15], Operations: ['66+28=94', '42-27=15'] Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,71 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[42, 121], Operations: ['66+28=94', '27+94=121'] Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,71 unequal: No Solution Exploring Operation: 42*121=5082, Resulting Numbers: [5082] 5082,71 unequal: No Solution Exploring Operation: 42+121=163, Resulting Numbers: [163] 163,71 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
[ 94, 55, 15, 5 ]
86
[ "55-15=40", "40/5=8", "94-8=86" ]
Current State: 86:[94, 55, 15, 5], Operations: [] Exploring Operation: 55-15=40, Resulting Numbers: [94, 5, 40] Generated Node #2: [94, 5, 40] from Operation: 55-15=40 Current State: 86:[94, 5, 40], Operations: ['55-15=40'] Exploring Operation: 40/5=8, Resulting Numbers: [94, 8] Generated Node #3: [94, 8] from Operation: 40/5=8 Current State: 86:[94, 8], Operations: ['55-15=40', '40/5=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[94, 55, 15, 5], Operations: [] Exploring Operation: 55-15=40, Resulting Numbers: [94, 5, 40] Generated Node #0,0: 86:[94, 5, 40] Operation: 55-15=40 Exploring Operation: 94-15=79, Resulting Numbers: [55, 5, 79] Generated Node #0,1: 86:[55, 5, 79] Operation: 94-15=79 Exploring Operation: 94-55=39, Resulting Numbers: [15, 5, 39] Generated Node #0,2: 86:[15, 5, 39] Operation: 94-55=39 Exploring Operation: 15/5=3, Resulting Numbers: [94, 55, 3] Generated Node #0,3: 86:[94, 55, 3] Operation: 15/5=3 Moving to Node #0,0 Current State: 86:[94, 5, 40], Operations: ['55-15=40'] Exploring Operation: 40/5=8, Resulting Numbers: [94, 8] Generated Node #0,0,0: 86:[94, 8] Operation: 40/5=8 Exploring Operation: 5+40=45, Resulting Numbers: [94, 45] Generated Node #0,0,1: 86:[94, 45] Operation: 5+40=45 Exploring Operation: 94-40=54, Resulting Numbers: [5, 54] Generated Node #0,0,2: 86:[5, 54] Operation: 94-40=54 Exploring Operation: 94-5=89, Resulting Numbers: [40, 89] Generated Node #0,0,3: 86:[40, 89] Operation: 94-5=89 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[40, 89], Operations: ['55-15=40', '94-5=89'] Exploring Operation: 40+89=129, Resulting Numbers: [129] 129,86 unequal: No Solution Exploring Operation: 40*89=3560, Resulting Numbers: [3560] 3560,86 unequal: No Solution Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[94, 45], Operations: ['55-15=40', '5+40=45'] Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,86 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,86 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[94, 8], Operations: ['55-15=40', '40/5=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[94, 55, 15, 5], Operations: [] Exploring Operation: 55-15=40, Resulting Numbers: [94, 5, 40] Generated Node #0,0: 86:[94, 5, 40] Operation: 55-15=40 Moving to Node #0,0 Current State: 86:[94, 5, 40], Operations: ['55-15=40'] Exploring Operation: 40/5=8, Resulting Numbers: [94, 8] Generated Node #0,0,0: 86:[94, 8] Operation: 40/5=8 Moving to Node #0,0,0 Current State: 86:[94, 8], Operations: ['55-15=40', '40/5=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 32, 64, 25, 46 ]
25
[ "32+64=96", "25+46=71", "96-71=25" ]
Current State: 25:[32, 64, 25, 46], Operations: [] Exploring Operation: 32+64=96, Resulting Numbers: [25, 46, 96] Generated Node #2: [25, 46, 96] from Operation: 32+64=96 Current State: 25:[25, 46, 96], Operations: ['32+64=96'] Exploring Operation: 25+46=71, Resulting Numbers: [96, 71] Generated Node #3: [96, 71] from Operation: 25+46=71 Current State: 25:[96, 71], Operations: ['32+64=96', '25+46=71'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[32, 64, 25, 46], Operations: [] Exploring Operation: 64-32=32, Resulting Numbers: [25, 46, 32] Generated Node #0,0: 25:[25, 46, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [25, 46, 2] Generated Node #0,1: 25:[25, 46, 2] Operation: 64/32=2 Exploring Operation: 46-32=14, Resulting Numbers: [64, 25, 14] Generated Node #0,2: 25:[64, 25, 14] Operation: 46-32=14 Exploring Operation: 64-46=18, Resulting Numbers: [32, 25, 18] Generated Node #0,3: 25:[32, 25, 18] Operation: 64-46=18 Exploring Operation: 64-25=39, Resulting Numbers: [32, 46, 39] Generated Node #0,4: 25:[32, 46, 39] Operation: 64-25=39 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[32, 25, 18], Operations: ['64-46=18'] Exploring Operation: 25-18=7, Resulting Numbers: [32, 7] Generated Node #0,3,0: 25:[32, 7] Operation: 25-18=7 Exploring Operation: 32+18=50, Resulting Numbers: [25, 50] Generated Node #0,3,1: 25:[25, 50] Operation: 32+18=50 Exploring Operation: 32-25=7, Resulting Numbers: [18, 7] Generated Node #0,3,2: 25:[18, 7] Operation: 32-25=7 Exploring Operation: 25+18=43, Resulting Numbers: [32, 43] Generated Node #0,3,3: 25:[32, 43] Operation: 25+18=43 Exploring Operation: 32-18=14, Resulting Numbers: [25, 14] Generated Node #0,3,4: 25:[25, 14] Operation: 32-18=14 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 25:[32, 7], Operations: ['64-46=18', '25-18=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,25 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[32, 64, 25, 46], Operations: [] Exploring Operation: 64-46=18, Resulting Numbers: [32, 25, 18] Generated Node #0,3: 25:[32, 25, 18] Operation: 64-46=18 Moving to Node #0,3 Current State: 25:[32, 25, 18], Operations: ['64-46=18'] Exploring Operation: 25-18=7, Resulting Numbers: [32, 7] Generated Node #0,3,0: 25:[32, 7] Operation: 25-18=7 Moving to Node #0,3,0 Current State: 25:[32, 7], Operations: ['64-46=18', '25-18=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 14, 72, 63, 28 ]
12
[ "14*72=1008", "1008/63=16", "28-16=12" ]
Current State: 12:[14, 72, 63, 28], Operations: [] Exploring Operation: 14*72=1008, Resulting Numbers: [63, 28, 1008] Generated Node #2: [63, 28, 1008] from Operation: 14*72=1008 Current State: 12:[63, 28, 1008], Operations: ['14*72=1008'] Exploring Operation: 1008/63=16, Resulting Numbers: [28, 16] Generated Node #3: [28, 16] from Operation: 1008/63=16 Current State: 12:[28, 16], Operations: ['14*72=1008', '1008/63=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[14, 72, 63, 28], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [14, 63, 44] Generated Node #0,0: 12:[14, 63, 44] Operation: 72-28=44 Exploring Operation: 72-63=9, Resulting Numbers: [14, 28, 9] Generated Node #0,1: 12:[14, 28, 9] Operation: 72-63=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[14, 28, 9], Operations: ['72-63=9'] Exploring Operation: 28/14=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 12:[9, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [9, 14] Generated Node #0,1,1: 12:[9, 14] Operation: 28-14=14 Moving to Node #0,1,0 Current State: 12:[9, 2], Operations: ['72-63=9', '28/14=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[9, 14], Operations: ['72-63=9', '28-14=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[14, 63, 44], Operations: ['72-28=44'] Exploring Operation: 63-14=49, Resulting Numbers: [44, 49] Generated Node #0,0,0: 12:[44, 49] Operation: 63-14=49 Exploring Operation: 63-44=19, Resulting Numbers: [14, 19] Generated Node #0,0,1: 12:[14, 19] Operation: 63-44=19 Moving to Node #0,0,1 Current State: 12:[14, 19], Operations: ['72-28=44', '63-44=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[44, 49], Operations: ['72-28=44', '63-14=49'] Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,12 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,12 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
[ 68, 48, 46, 79 ]
83
[ "68+48=116", "79-46=33", "116-33=83" ]
Current State: 83:[68, 48, 46, 79], Operations: [] Exploring Operation: 68+48=116, Resulting Numbers: [46, 79, 116] Generated Node #2: [46, 79, 116] from Operation: 68+48=116 Current State: 83:[46, 79, 116], Operations: ['68+48=116'] Exploring Operation: 79-46=33, Resulting Numbers: [116, 33] Generated Node #3: [116, 33] from Operation: 79-46=33 Current State: 83:[116, 33], Operations: ['68+48=116', '79-46=33'] Exploring Operation: 116-33=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[68, 48, 46, 79], Operations: [] Exploring Operation: 68+46=114, Resulting Numbers: [48, 79, 114] Generated Node #0,0: 83:[48, 79, 114] Operation: 68+46=114 Exploring Operation: 48+46=94, Resulting Numbers: [68, 79, 94] Generated Node #0,1: 83:[68, 79, 94] Operation: 48+46=94 Exploring Operation: 68+48=116, Resulting Numbers: [46, 79, 116] Generated Node #0,2: 83:[46, 79, 116] Operation: 68+48=116 Moving to Node #0,1 Current State: 83:[68, 79, 94], Operations: ['48+46=94'] Exploring Operation: 79-68=11, Resulting Numbers: [94, 11] Generated Node #0,1,0: 83:[94, 11] Operation: 79-68=11 Exploring Operation: 68+79=147, Resulting Numbers: [94, 147] Generated Node #0,1,1: 83:[94, 147] Operation: 68+79=147 Exploring Operation: 94-68=26, Resulting Numbers: [79, 26] Generated Node #0,1,2: 83:[79, 26] Operation: 94-68=26 Moving to Node #0,0 Current State: 83:[48, 79, 114], Operations: ['68+46=114'] Exploring Operation: 114-48=66, Resulting Numbers: [79, 66] Generated Node #0,0,0: 83:[79, 66] Operation: 114-48=66 Exploring Operation: 79-48=31, Resulting Numbers: [114, 31] Generated Node #0,0,1: 83:[114, 31] Operation: 79-48=31 Exploring Operation: 48+79=127, Resulting Numbers: [114, 127] Generated Node #0,0,2: 83:[114, 127] Operation: 48+79=127 Moving to Node #0,2 Current State: 83:[46, 79, 116], Operations: ['68+48=116'] Exploring Operation: 116-46=70, Resulting Numbers: [79, 70] Generated Node #0,2,0: 83:[79, 70] Operation: 116-46=70 Exploring Operation: 46+79=125, Resulting Numbers: [116, 125] Generated Node #0,2,1: 83:[116, 125] Operation: 46+79=125 Exploring Operation: 79-46=33, Resulting Numbers: [116, 33] Generated Node #0,2,2: 83:[116, 33] Operation: 79-46=33 Moving to Node #0,2,0 Current State: 83:[79, 70], Operations: ['68+48=116', '116-46=70'] Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,83 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[79, 66], Operations: ['68+46=114', '114-48=66'] Exploring Operation: 79*66=5214, Resulting Numbers: [5214] 5214,83 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 79+66=145, Resulting Numbers: [145] 145,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[79, 26], Operations: ['48+46=94', '94-68=26'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,83 unequal: No Solution Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[114, 127], Operations: ['68+46=114', '48+79=127'] Exploring Operation: 127-114=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 114*127=14478, Resulting Numbers: [14478] 14478,83 unequal: No Solution Exploring Operation: 114+127=241, Resulting Numbers: [241] 241,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[116, 125], Operations: ['68+48=116', '46+79=125'] Exploring Operation: 125-116=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 116+125=241, Resulting Numbers: [241] 241,83 unequal: No Solution Exploring Operation: 116*125=14500, Resulting Numbers: [14500] 14500,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[94, 147], Operations: ['48+46=94', '68+79=147'] Exploring Operation: 94+147=241, Resulting Numbers: [241] 241,83 unequal: No Solution Exploring Operation: 94*147=13818, Resulting Numbers: [13818] 13818,83 unequal: No Solution Exploring Operation: 147-94=53, Resulting Numbers: [53] 53,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[94, 11], Operations: ['48+46=94', '79-68=11'] Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,83 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[68, 48, 46, 79], Operations: [] Exploring Operation: 48+46=94, Resulting Numbers: [68, 79, 94] Generated Node #0,1: 83:[68, 79, 94] Operation: 48+46=94 Moving to Node #0,1 Current State: 83:[68, 79, 94], Operations: ['48+46=94'] Exploring Operation: 79-68=11, Resulting Numbers: [94, 11] Generated Node #0,1,0: 83:[94, 11] Operation: 79-68=11 Moving to Node #0,1,0 Current State: 83:[94, 11], Operations: ['48+46=94', '79-68=11'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 16, 2, 21, 64 ]
74
[ "21-16=5", "2*5=10", "64+10=74" ]
Current State: 74:[16, 2, 21, 64], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [2, 64, 5] Generated Node #2: [2, 64, 5] from Operation: 21-16=5 Current State: 74:[2, 64, 5], Operations: ['21-16=5'] Exploring Operation: 2*5=10, Resulting Numbers: [64, 10] Generated Node #3: [64, 10] from Operation: 2*5=10 Current State: 74:[64, 10], Operations: ['21-16=5', '2*5=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[16, 2, 21, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [2, 21, 4] Generated Node #0,0: 74:[2, 21, 4] Operation: 64/16=4 Exploring Operation: 21-16=5, Resulting Numbers: [2, 64, 5] Generated Node #0,1: 74:[2, 64, 5] Operation: 21-16=5 Exploring Operation: 16+21=37, Resulting Numbers: [2, 64, 37] Generated Node #0,2: 74:[2, 64, 37] Operation: 16+21=37 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[2, 64, 37], Operations: ['16+21=37'] Exploring Operation: 64/2=32, Resulting Numbers: [37, 32] Generated Node #0,2,0: 74:[37, 32] Operation: 64/2=32 Exploring Operation: 2*37=74, Resulting Numbers: [64, 74] Generated Node #0,2,1: 74:[64, 74] Operation: 2*37=74 Exploring Operation: 2+64=66, Resulting Numbers: [37, 66] Generated Node #0,2,2: 74:[37, 66] Operation: 2+64=66 Moving to Node #0,2,0 Current State: 74:[37, 32], Operations: ['16+21=37', '64/2=32'] Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,74 unequal: No Solution Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,74 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[37, 66], Operations: ['16+21=37', '2+64=66'] Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[64, 74], Operations: ['16+21=37', '2*37=74'] Exploring Operation: 64*74=4736, Resulting Numbers: [4736] 4736,74 unequal: No Solution Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[2, 64, 5], Operations: ['21-16=5'] Exploring Operation: 64+5=69, Resulting Numbers: [2, 69] Generated Node #0,1,0: 74:[2, 69] Operation: 64+5=69 Exploring Operation: 2+64=66, Resulting Numbers: [5, 66] Generated Node #0,1,1: 74:[5, 66] Operation: 2+64=66 Exploring Operation: 64/2=32, Resulting Numbers: [5, 32] Generated Node #0,1,2: 74:[5, 32] Operation: 64/2=32 Moving to Node #0,1,0 Current State: 74:[2, 69], Operations: ['21-16=5', '64+5=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,74 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[5, 32], Operations: ['21-16=5', '64/2=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[5, 66], Operations: ['21-16=5', '2+64=66'] Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,74 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[2, 21, 4], Operations: ['64/16=4'] Exploring Operation: 21*4=84, Resulting Numbers: [2, 84] Generated Node #0,0,0: 74:[2, 84] Operation: 21*4=84 Exploring Operation: 2*21=42, Resulting Numbers: [4, 42] Generated Node #0,0,1: 74:[4, 42] Operation: 2*21=42 Exploring Operation: 21+4=25, Resulting Numbers: [2, 25] Generated Node #0,0,2: 74:[2, 25] Operation: 21+4=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[4, 42], Operations: ['64/16=4', '2*21=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[2, 84], Operations: ['64/16=4', '21*4=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,74 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[2, 25], Operations: ['64/16=4', '21+4=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 6, 16, 84, 4 ]
45
[ "6*16=96", "84+96=180", "180/4=45" ]
Current State: 45:[6, 16, 84, 4], Operations: [] Exploring Operation: 6*16=96, Resulting Numbers: [84, 4, 96] Generated Node #2: [84, 4, 96] from Operation: 6*16=96 Current State: 45:[84, 4, 96], Operations: ['6*16=96'] Exploring Operation: 84+96=180, Resulting Numbers: [4, 180] Generated Node #3: [4, 180] from Operation: 84+96=180 Current State: 45:[4, 180], Operations: ['6*16=96', '84+96=180'] Exploring Operation: 180/4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[6, 16, 84, 4], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [16, 4, 14] Generated Node #0,0: 45:[16, 4, 14] Operation: 84/6=14 Exploring Operation: 84/4=21, Resulting Numbers: [6, 16, 21] Generated Node #0,1: 45:[6, 16, 21] Operation: 84/4=21 Exploring Operation: 84-16=68, Resulting Numbers: [6, 4, 68] Generated Node #0,2: 45:[6, 4, 68] Operation: 84-16=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[16, 4, 14], Operations: ['84/6=14'] Exploring Operation: 14-4=10, Resulting Numbers: [16, 10] Generated Node #0,0,0: 45:[16, 10] Operation: 14-4=10 Exploring Operation: 16/4=4, Resulting Numbers: [14, 4] Generated Node #0,0,1: 45:[14, 4] Operation: 16/4=4 Exploring Operation: 16-14=2, Resulting Numbers: [4, 2] Generated Node #0,0,2: 45:[4, 2] Operation: 16-14=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[16, 10], Operations: ['84/6=14', '14-4=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,45 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,45 unequal: No Solution No 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: 45:[14, 4], Operations: ['84/6=14', '16/4=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,45 unequal: No Solution No 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: 45:[4, 2], Operations: ['84/6=14', '16-14=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,45 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: 45:[6, 16, 21], Operations: ['84/4=21'] Exploring Operation: 21-6=15, Resulting Numbers: [16, 15] Generated Node #0,1,0: 45:[16, 15] Operation: 21-6=15 Exploring Operation: 21-16=5, Resulting Numbers: [6, 5] Generated Node #0,1,1: 45:[6, 5] Operation: 21-16=5 Exploring Operation: 16-6=10, Resulting Numbers: [21, 10] Generated Node #0,1,2: 45:[21, 10] Operation: 16-6=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[16, 15], Operations: ['84/4=21', '21-6=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,45 unequal: No Solution No 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: 45:[6, 5], Operations: ['84/4=21', '21-16=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,45 unequal: No Solution No 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: 45:[21, 10], Operations: ['84/4=21', '16-6=10'] Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,45 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,45 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: 45:[6, 4, 68], Operations: ['84-16=68'] Exploring Operation: 68-4=64, Resulting Numbers: [6, 64] Generated Node #0,2,0: 45:[6, 64] Operation: 68-4=64 Exploring Operation: 68-6=62, Resulting Numbers: [4, 62] Generated Node #0,2,1: 45:[4, 62] Operation: 68-6=62 Exploring Operation: 68/4=17, Resulting Numbers: [6, 17] Generated Node #0,2,2: 45:[6, 17] Operation: 68/4=17 Moving to Node #0,2,2 Current State: 45:[6, 17], Operations: ['84-16=68', '68/4=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[4, 62], Operations: ['84-16=68', '68-6=62'] Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,45 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[6, 64], Operations: ['84-16=68', '68-4=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,45 unequal: No Solution Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,45 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
[ 62, 9, 18, 81 ]
89
[ "62+18=80", "81/9=9", "80+9=89" ]
Current State: 89:[62, 9, 18, 81], Operations: [] Exploring Operation: 62+18=80, Resulting Numbers: [9, 81, 80] Generated Node #2: [9, 81, 80] from Operation: 62+18=80 Current State: 89:[9, 81, 80], Operations: ['62+18=80'] Exploring Operation: 81/9=9, Resulting Numbers: [80, 9] Generated Node #3: [80, 9] from Operation: 81/9=9 Current State: 89:[80, 9], Operations: ['62+18=80', '81/9=9'] Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[62, 9, 18, 81], Operations: [] Exploring Operation: 62+18=80, Resulting Numbers: [9, 81, 80] Generated Node #0,0: 89:[9, 81, 80] Operation: 62+18=80 Exploring Operation: 62+9=71, Resulting Numbers: [18, 81, 71] Generated Node #0,1: 89:[18, 81, 71] Operation: 62+9=71 Moving to Node #0,0 Current State: 89:[9, 81, 80], Operations: ['62+18=80'] Exploring Operation: 9+80=89, Resulting Numbers: [81, 89] Generated Node #0,0,0: 89:[81, 89] Operation: 9+80=89 Exploring Operation: 9+81=90, Resulting Numbers: [80, 90] Generated Node #0,0,1: 89:[80, 90] Operation: 9+81=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[81, 89], Operations: ['62+18=80', '9+80=89'] Exploring Operation: 81+89=170, Resulting Numbers: [170] 170,89 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[80, 90], Operations: ['62+18=80', '9+81=90'] Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,89 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[18, 81, 71], Operations: ['62+9=71'] Exploring Operation: 18+81=99, Resulting Numbers: [71, 99] Generated Node #0,1,0: 89:[71, 99] Operation: 18+81=99 Exploring Operation: 18+71=89, Resulting Numbers: [81, 89] Generated Node #0,1,1: 89:[81, 89] Operation: 18+71=89 Moving to Node #0,1,1 Current State: 89:[81, 89], Operations: ['62+9=71', '18+71=89'] Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 81+89=170, Resulting Numbers: [170] 170,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[71, 99], Operations: ['62+9=71', '18+81=99'] Exploring Operation: 71+99=170, Resulting Numbers: [170] 170,89 unequal: No Solution Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 74, 75, 48, 59 ]
11
[ "75-74=1", "59-48=11", "1*11=11" ]
Current State: 11:[74, 75, 48, 59], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [48, 59, 1] Generated Node #2: [48, 59, 1] from Operation: 75-74=1 Current State: 11:[48, 59, 1], Operations: ['75-74=1'] Exploring Operation: 59-48=11, Resulting Numbers: [1, 11] Generated Node #3: [1, 11] from Operation: 59-48=11 Current State: 11:[1, 11], Operations: ['75-74=1', '59-48=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[74, 75, 48, 59], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [48, 59, 1] Generated Node #0,0: 11:[48, 59, 1] Operation: 75-74=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[48, 59, 1], Operations: ['75-74=1'] Exploring Operation: 59-48=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 11:[1, 11] Operation: 59-48=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[1, 11], Operations: ['75-74=1', '59-48=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[74, 75, 48, 59], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [48, 59, 1] Generated Node #0,0: 11:[48, 59, 1] Operation: 75-74=1 Moving to Node #0,0 Current State: 11:[48, 59, 1], Operations: ['75-74=1'] Exploring Operation: 59-48=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 11:[1, 11] Operation: 59-48=11 Moving to Node #0,0,0 Current State: 11:[1, 11], Operations: ['75-74=1', '59-48=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 81, 67, 1, 99 ]
54
[ "67-1=66", "81*66=5346", "5346/99=54" ]
Current State: 54:[81, 67, 1, 99], Operations: [] Exploring Operation: 67-1=66, Resulting Numbers: [81, 99, 66] Generated Node #2: [81, 99, 66] from Operation: 67-1=66 Current State: 54:[81, 99, 66], Operations: ['67-1=66'] Exploring Operation: 81*66=5346, Resulting Numbers: [99, 5346] Generated Node #3: [99, 5346] from Operation: 81*66=5346 Current State: 54:[99, 5346], Operations: ['67-1=66', '81*66=5346'] Exploring Operation: 5346/99=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[81, 67, 1, 99], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [67, 1, 18] Generated Node #0,0: 54:[67, 1, 18] Operation: 99-81=18 Exploring Operation: 99-67=32, Resulting Numbers: [81, 1, 32] Generated Node #0,1: 54:[81, 1, 32] Operation: 99-67=32 Exploring Operation: 81-67=14, Resulting Numbers: [1, 99, 14] Generated Node #0,2: 54:[1, 99, 14] Operation: 81-67=14 Moving to Node #0,0 Current State: 54:[67, 1, 18], Operations: ['99-81=18'] Exploring Operation: 67-1=66, Resulting Numbers: [18, 66] Generated Node #0,0,0: 54:[18, 66] Operation: 67-1=66 Exploring Operation: 67*1=67, Resulting Numbers: [18, 67] Generated Node #0,0,1: 54:[18, 67] Operation: 67*1=67 Exploring Operation: 67-18=49, Resulting Numbers: [1, 49] Generated Node #0,0,2: 54:[1, 49] Operation: 67-18=49 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[1, 49], Operations: ['99-81=18', '67-18=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[18, 66], Operations: ['99-81=18', '67-1=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[18, 67], Operations: ['99-81=18', '67*1=67'] Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 18*67=1206, Resulting Numbers: [1206] 1206,54 unequal: No Solution Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,54 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: 54:[81, 1, 32], Operations: ['99-67=32'] Exploring Operation: 81-32=49, Resulting Numbers: [1, 49] Generated Node #0,1,0: 54:[1, 49] Operation: 81-32=49 Exploring Operation: 81-1=80, Resulting Numbers: [32, 80] Generated Node #0,1,1: 54:[32, 80] Operation: 81-1=80 Exploring Operation: 32-1=31, Resulting Numbers: [81, 31] Generated Node #0,1,2: 54:[81, 31] Operation: 32-1=31 Moving to Node #0,2 Current State: 54:[1, 99, 14], Operations: ['81-67=14'] Exploring Operation: 99-1=98, Resulting Numbers: [14, 98] Generated Node #0,2,0: 54:[14, 98] Operation: 99-1=98 Exploring Operation: 1+14=15, Resulting Numbers: [99, 15] Generated Node #0,2,1: 54:[99, 15] Operation: 1+14=15 Exploring Operation: 99-14=85, Resulting Numbers: [1, 85] Generated Node #0,2,2: 54:[1, 85] Operation: 99-14=85 Moving to Node #0,1,0 Current State: 54:[1, 49], Operations: ['99-67=32', '81-32=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[81, 31], Operations: ['99-67=32', '32-1=31'] Exploring Operation: 81+31=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 81*31=2511, Resulting Numbers: [2511] 2511,54 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[32, 80], Operations: ['99-67=32', '81-1=80'] Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 32+80=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 32*80=2560, Resulting Numbers: [2560] 2560,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[1, 85], Operations: ['81-67=14', '99-14=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[14, 98], Operations: ['81-67=14', '99-1=98'] Exploring Operation: 14+98=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[99, 15], Operations: ['81-67=14', '1+14=15'] Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,54 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 10, 43, 87, 29 ]
30
[ "43-10=33", "87/29=3", "33-3=30" ]
Current State: 30:[10, 43, 87, 29], Operations: [] Exploring Operation: 43-10=33, Resulting Numbers: [87, 29, 33] Generated Node #2: [87, 29, 33] from Operation: 43-10=33 Current State: 30:[87, 29, 33], Operations: ['43-10=33'] Exploring Operation: 87/29=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 87/29=3 Current State: 30:[33, 3], Operations: ['43-10=33', '87/29=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[10, 43, 87, 29], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [10, 43, 3] Generated Node #0,0: 30:[10, 43, 3] Operation: 87/29=3 Exploring Operation: 43-29=14, Resulting Numbers: [10, 87, 14] Generated Node #0,1: 30:[10, 87, 14] Operation: 43-29=14 Exploring Operation: 87-29=58, Resulting Numbers: [10, 43, 58] Generated Node #0,2: 30:[10, 43, 58] Operation: 87-29=58 Exploring Operation: 87-43=44, Resulting Numbers: [10, 29, 44] Generated Node #0,3: 30:[10, 29, 44] Operation: 87-43=44 Moving to Node #0,0 Current State: 30:[10, 43, 3], Operations: ['87/29=3'] Exploring Operation: 43-10=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 30:[3, 33] Operation: 43-10=33 Exploring Operation: 43-3=40, Resulting Numbers: [10, 40] Generated Node #0,0,1: 30:[10, 40] Operation: 43-3=40 Exploring Operation: 10-3=7, Resulting Numbers: [43, 7] Generated Node #0,0,2: 30:[43, 7] Operation: 10-3=7 Exploring Operation: 10*3=30, Resulting Numbers: [43, 30] Generated Node #0,0,3: 30:[43, 30] Operation: 10*3=30 Moving to Node #0,3 Current State: 30:[10, 29, 44], Operations: ['87-43=44'] Exploring Operation: 29-10=19, Resulting Numbers: [44, 19] Generated Node #0,3,0: 30:[44, 19] Operation: 29-10=19 Exploring Operation: 10+29=39, Resulting Numbers: [44, 39] Generated Node #0,3,1: 30:[44, 39] Operation: 10+29=39 Exploring Operation: 44-10=34, Resulting Numbers: [29, 34] Generated Node #0,3,2: 30:[29, 34] Operation: 44-10=34 Exploring Operation: 44-29=15, Resulting Numbers: [10, 15] Generated Node #0,3,3: 30:[10, 15] Operation: 44-29=15 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 30:[10, 15], Operations: ['87-43=44', '44-29=15'] Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,30 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 30:[29, 34], Operations: ['87-43=44', '44-10=34'] Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,30 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 30:[44, 19], Operations: ['87-43=44', '29-10=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 30:[44, 39], Operations: ['87-43=44', '10+29=39'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,30 unequal: No Solution Exploring Operation: 44*39=1716, Resulting Numbers: [1716] 1716,30 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: 30:[10, 43, 58], Operations: ['87-29=58'] Exploring Operation: 58-10=48, Resulting Numbers: [43, 48] Generated Node #0,2,0: 30:[43, 48] Operation: 58-10=48 Exploring Operation: 58-43=15, Resulting Numbers: [10, 15] Generated Node #0,2,1: 30:[10, 15] Operation: 58-43=15 Exploring Operation: 43-10=33, Resulting Numbers: [58, 33] Generated Node #0,2,2: 30:[58, 33] Operation: 43-10=33 Exploring Operation: 10+43=53, Resulting Numbers: [58, 53] Generated Node #0,2,3: 30:[58, 53] Operation: 10+43=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[10, 15], Operations: ['87-29=58', '58-43=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[43, 48], Operations: ['87-29=58', '58-10=48'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 43*48=2064, Resulting Numbers: [2064] 2064,30 unequal: No Solution Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[58, 33], Operations: ['87-29=58', '43-10=33'] Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,30 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 30:[58, 53], Operations: ['87-29=58', '10+43=53'] Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,30 unequal: No Solution Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,30 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 30:[10, 87, 14], Operations: ['43-29=14'] Exploring Operation: 87-10=77, Resulting Numbers: [14, 77] Generated Node #0,1,0: 30:[14, 77] Operation: 87-10=77 Exploring Operation: 14-10=4, Resulting Numbers: [87, 4] Generated Node #0,1,1: 30:[87, 4] Operation: 14-10=4 Exploring Operation: 87-14=73, Resulting Numbers: [10, 73] Generated Node #0,1,2: 30:[10, 73] Operation: 87-14=73 Exploring Operation: 10+14=24, Resulting Numbers: [87, 24] Generated Node #0,1,3: 30:[87, 24] Operation: 10+14=24 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[10, 73], Operations: ['43-29=14', '87-14=73'] Exploring Operation: 10*73=730, Resulting Numbers: [730] 730,30 unequal: No Solution Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,30 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[14, 77], Operations: ['43-29=14', '87-10=77'] Exploring Operation: 14+77=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 14*77=1078, Resulting Numbers: [1078] 1078,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[87, 4], Operations: ['43-29=14', '14-10=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,30 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 30:[87, 24], Operations: ['43-29=14', '10+14=24'] Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,30 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,30 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,30 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: 30:[3, 33], Operations: ['87/29=3', '43-10=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[10, 43, 87, 29], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [10, 43, 3] Generated Node #0,0: 30:[10, 43, 3] Operation: 87/29=3 Moving to Node #0,0 Current State: 30:[10, 43, 3], Operations: ['87/29=3'] Exploring Operation: 43-10=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 30:[3, 33] Operation: 43-10=33 Moving to Node #0,0,0 Current State: 30:[3, 33], Operations: ['87/29=3', '43-10=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.945313
hs_4
sum_heuristic
[ 45, 82, 34, 39 ]
32
[ "82-45=37", "39-34=5", "37-5=32" ]
Current State: 32:[45, 82, 34, 39], Operations: [] Exploring Operation: 82-45=37, Resulting Numbers: [34, 39, 37] Generated Node #2: [34, 39, 37] from Operation: 82-45=37 Current State: 32:[34, 39, 37], Operations: ['82-45=37'] Exploring Operation: 39-34=5, Resulting Numbers: [37, 5] Generated Node #3: [37, 5] from Operation: 39-34=5 Current State: 32:[37, 5], Operations: ['82-45=37', '39-34=5'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[45, 82, 34, 39], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [45, 39, 48] Generated Node #0,0: 32:[45, 39, 48] Operation: 82-34=48 Exploring Operation: 82-39=43, Resulting Numbers: [45, 34, 43] Generated Node #0,1: 32:[45, 34, 43] Operation: 82-39=43 Exploring Operation: 82-45=37, Resulting Numbers: [34, 39, 37] Generated Node #0,2: 32:[34, 39, 37] Operation: 82-45=37 Exploring Operation: 45-39=6, Resulting Numbers: [82, 34, 6] Generated Node #0,3: 32:[82, 34, 6] Operation: 45-39=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[34, 39, 37], Operations: ['82-45=37'] Exploring Operation: 34+39=73, Resulting Numbers: [37, 73] Generated Node #0,2,0: 32:[37, 73] Operation: 34+39=73 Exploring Operation: 39-34=5, Resulting Numbers: [37, 5] Generated Node #0,2,1: 32:[37, 5] Operation: 39-34=5 Exploring Operation: 39-37=2, Resulting Numbers: [34, 2] Generated Node #0,2,2: 32:[34, 2] Operation: 39-37=2 Exploring Operation: 37-34=3, Resulting Numbers: [39, 3] Generated Node #0,2,3: 32:[39, 3] Operation: 37-34=3 Moving to Node #0,2,2 Current State: 32:[34, 2], Operations: ['82-45=37', '39-37=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[45, 82, 34, 39], Operations: [] Exploring Operation: 82-45=37, Resulting Numbers: [34, 39, 37] Generated Node #0,2: 32:[34, 39, 37] Operation: 82-45=37 Moving to Node #0,2 Current State: 32:[34, 39, 37], Operations: ['82-45=37'] Exploring Operation: 39-37=2, Resulting Numbers: [34, 2] Generated Node #0,2,2: 32:[34, 2] Operation: 39-37=2 Moving to Node #0,2,2 Current State: 32:[34, 2], Operations: ['82-45=37', '39-37=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 22, 39, 12, 92 ]
87
[ "39-22=17", "12+92=104", "104-17=87" ]
Current State: 87:[22, 39, 12, 92], Operations: [] Exploring Operation: 39-22=17, Resulting Numbers: [12, 92, 17] Generated Node #2: [12, 92, 17] from Operation: 39-22=17 Current State: 87:[12, 92, 17], Operations: ['39-22=17'] Exploring Operation: 12+92=104, Resulting Numbers: [17, 104] Generated Node #3: [17, 104] from Operation: 12+92=104 Current State: 87:[17, 104], Operations: ['39-22=17', '12+92=104'] Exploring Operation: 104-17=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[22, 39, 12, 92], Operations: [] Exploring Operation: 39-12=27, Resulting Numbers: [22, 92, 27] Generated Node #0,0: 87:[22, 92, 27] Operation: 39-12=27 Exploring Operation: 22+12=34, Resulting Numbers: [39, 92, 34] Generated Node #0,1: 87:[39, 92, 34] Operation: 22+12=34 Exploring Operation: 22-12=10, Resulting Numbers: [39, 92, 10] Generated Node #0,2: 87:[39, 92, 10] Operation: 22-12=10 Moving to Node #0,0 Current State: 87:[22, 92, 27], Operations: ['39-12=27'] Exploring Operation: 22+27=49, Resulting Numbers: [92, 49] Generated Node #0,0,0: 87:[92, 49] Operation: 22+27=49 Exploring Operation: 27-22=5, Resulting Numbers: [92, 5] Generated Node #0,0,1: 87:[92, 5] Operation: 27-22=5 Exploring Operation: 92-22=70, Resulting Numbers: [27, 70] Generated Node #0,0,2: 87:[27, 70] Operation: 92-22=70 Moving to Node #0,1 Current State: 87:[39, 92, 34], Operations: ['22+12=34'] Exploring Operation: 92-39=53, Resulting Numbers: [34, 53] Generated Node #0,1,0: 87:[34, 53] Operation: 92-39=53 Exploring Operation: 39-34=5, Resulting Numbers: [92, 5] Generated Node #0,1,1: 87:[92, 5] Operation: 39-34=5 Exploring Operation: 39+34=73, Resulting Numbers: [92, 73] Generated Node #0,1,2: 87:[92, 73] Operation: 39+34=73 Moving to Node #0,2 Current State: 87:[39, 92, 10], Operations: ['22-12=10'] Exploring Operation: 92-10=82, Resulting Numbers: [39, 82] Generated Node #0,2,0: 87:[39, 82] Operation: 92-10=82 Exploring Operation: 39-10=29, Resulting Numbers: [92, 29] Generated Node #0,2,1: 87:[92, 29] Operation: 39-10=29 Exploring Operation: 39+10=49, Resulting Numbers: [92, 49] Generated Node #0,2,2: 87:[92, 49] Operation: 39+10=49 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[92, 29], Operations: ['22-12=10', '39-10=29'] Exploring Operation: 92*29=2668, Resulting Numbers: [2668] 2668,87 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 92+29=121, Resulting Numbers: [121] 121,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[39, 82], Operations: ['22-12=10', '92-10=82'] Exploring Operation: 39*82=3198, Resulting Numbers: [3198] 3198,87 unequal: No Solution Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 39+82=121, Resulting Numbers: [121] 121,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[92, 49], Operations: ['22-12=10', '39+10=49'] Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,87 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 87:[92, 5], Operations: ['39-12=27', '27-22=5'] Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,87 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[22, 39, 12, 92], Operations: [] Exploring Operation: 39-12=27, Resulting Numbers: [22, 92, 27] Generated Node #0,0: 87:[22, 92, 27] Operation: 39-12=27 Moving to Node #0,0 Current State: 87:[22, 92, 27], Operations: ['39-12=27'] Exploring Operation: 27-22=5, Resulting Numbers: [92, 5] Generated Node #0,0,1: 87:[92, 5] Operation: 27-22=5 Moving to Node #0,0,1 Current State: 87:[92, 5], Operations: ['39-12=27', '27-22=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 7, 99, 39, 8 ]
45
[ "99-7=92", "39+8=47", "92-47=45" ]
Current State: 45:[7, 99, 39, 8], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [39, 8, 92] Generated Node #2: [39, 8, 92] from Operation: 99-7=92 Current State: 45:[39, 8, 92], Operations: ['99-7=92'] Exploring Operation: 39+8=47, Resulting Numbers: [92, 47] Generated Node #3: [92, 47] from Operation: 39+8=47 Current State: 45:[92, 47], Operations: ['99-7=92', '39+8=47'] Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[7, 99, 39, 8], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [39, 8, 92] Generated Node #0,0: 45:[39, 8, 92] Operation: 99-7=92 Exploring Operation: 99-39=60, Resulting Numbers: [7, 8, 60] Generated Node #0,1: 45:[7, 8, 60] Operation: 99-39=60 Exploring Operation: 99-8=91, Resulting Numbers: [7, 39, 91] Generated Node #0,2: 45:[7, 39, 91] Operation: 99-8=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[7, 8, 60], Operations: ['99-39=60'] Exploring Operation: 7+8=15, Resulting Numbers: [60, 15] Generated Node #0,1,0: 45:[60, 15] Operation: 7+8=15 Exploring Operation: 60-8=52, Resulting Numbers: [7, 52] Generated Node #0,1,1: 45:[7, 52] Operation: 60-8=52 Exploring Operation: 60-7=53, Resulting Numbers: [8, 53] Generated Node #0,1,2: 45:[8, 53] Operation: 60-7=53 Moving to Node #0,1,1 Current State: 45:[7, 52], Operations: ['99-39=60', '60-8=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[7, 99, 39, 8], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [7, 8, 60] Generated Node #0,1: 45:[7, 8, 60] Operation: 99-39=60 Moving to Node #0,1 Current State: 45:[7, 8, 60], Operations: ['99-39=60'] Exploring Operation: 60-8=52, Resulting Numbers: [7, 52] Generated Node #0,1,1: 45:[7, 52] Operation: 60-8=52 Moving to Node #0,1,1 Current State: 45:[7, 52], Operations: ['99-39=60', '60-8=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 92, 81, 44, 88 ]
52
[ "92-81=11", "88/11=8", "44+8=52" ]
Current State: 52:[92, 81, 44, 88], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [44, 88, 11] Generated Node #2: [44, 88, 11] from Operation: 92-81=11 Current State: 52:[44, 88, 11], Operations: ['92-81=11'] Exploring Operation: 88/11=8, Resulting Numbers: [44, 8] Generated Node #3: [44, 8] from Operation: 88/11=8 Current State: 52:[44, 8], Operations: ['92-81=11', '88/11=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[92, 81, 44, 88], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [81, 44, 4] Generated Node #0,0: 52:[81, 44, 4] Operation: 92-88=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[81, 44, 4], Operations: ['92-88=4'] Exploring Operation: 81-44=37, Resulting Numbers: [4, 37] Generated Node #0,0,0: 52:[4, 37] Operation: 81-44=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[4, 37], Operations: ['92-88=4', '81-44=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,52 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
[ 35, 78, 29, 27 ]
99
[ "78-35=43", "29+27=56", "43+56=99" ]
Current State: 99:[35, 78, 29, 27], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [29, 27, 43] Generated Node #2: [29, 27, 43] from Operation: 78-35=43 Current State: 99:[29, 27, 43], Operations: ['78-35=43'] Exploring Operation: 29+27=56, Resulting Numbers: [43, 56] Generated Node #3: [43, 56] from Operation: 29+27=56 Current State: 99:[43, 56], Operations: ['78-35=43', '29+27=56'] Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[35, 78, 29, 27], Operations: [] Exploring Operation: 78+29=107, Resulting Numbers: [35, 27, 107] Generated Node #0,0: 99:[35, 27, 107] Operation: 78+29=107 Exploring Operation: 78+27=105, Resulting Numbers: [35, 29, 105] Generated Node #0,1: 99:[35, 29, 105] Operation: 78+27=105 Moving to Node #0,1 Current State: 99:[35, 29, 105], Operations: ['78+27=105'] Exploring Operation: 35-29=6, Resulting Numbers: [105, 6] Generated Node #0,1,0: 99:[105, 6] Operation: 35-29=6 Exploring Operation: 105/35=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 99:[29, 3] Operation: 105/35=3 Moving to Node #0,0 Current State: 99:[35, 27, 107], Operations: ['78+29=107'] Exploring Operation: 35-27=8, Resulting Numbers: [107, 8] Generated Node #0,0,0: 99:[107, 8] Operation: 35-27=8 Exploring Operation: 107-27=80, Resulting Numbers: [35, 80] Generated Node #0,0,1: 99:[35, 80] Operation: 107-27=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[107, 8], Operations: ['78+29=107', '35-27=8'] Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[35, 78, 29, 27], Operations: [] Exploring Operation: 78+29=107, Resulting Numbers: [35, 27, 107] Generated Node #0,0: 99:[35, 27, 107] Operation: 78+29=107 Moving to Node #0,0 Current State: 99:[35, 27, 107], Operations: ['78+29=107'] Exploring Operation: 35-27=8, Resulting Numbers: [107, 8] Generated Node #0,0,0: 99:[107, 8] Operation: 35-27=8 Moving to Node #0,0,0 Current State: 99:[107, 8], Operations: ['78+29=107', '35-27=8'] Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 8, 82, 53, 37 ]
74
[ "8+82=90", "53-37=16", "90-16=74" ]
Current State: 74:[8, 82, 53, 37], Operations: [] Exploring Operation: 8+82=90, Resulting Numbers: [53, 37, 90] Generated Node #2: [53, 37, 90] from Operation: 8+82=90 Current State: 74:[53, 37, 90], Operations: ['8+82=90'] Exploring Operation: 53-37=16, Resulting Numbers: [90, 16] Generated Node #3: [90, 16] from Operation: 53-37=16 Current State: 74:[90, 16], Operations: ['8+82=90', '53-37=16'] Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[8, 82, 53, 37], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [53, 37, 74] Generated Node #0,0: 74:[53, 37, 74] Operation: 82-8=74 Exploring Operation: 82-53=29, Resulting Numbers: [8, 37, 29] Generated Node #0,1: 74:[8, 37, 29] Operation: 82-53=29 Moving to Node #0,1 Current State: 74:[8, 37, 29], Operations: ['82-53=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37, 37] Generated Node #0,1,0: 74:[37, 37] Operation: 8+29=37 Exploring Operation: 37-29=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 74:[8, 8] Operation: 37-29=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[37, 37], Operations: ['82-53=29', '8+29=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[8, 82, 53, 37], Operations: [] Exploring Operation: 82-53=29, Resulting Numbers: [8, 37, 29] Generated Node #0,1: 74:[8, 37, 29] Operation: 82-53=29 Moving to Node #0,1 Current State: 74:[8, 37, 29], Operations: ['82-53=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37, 37] Generated Node #0,1,0: 74:[37, 37] Operation: 8+29=37 Moving to Node #0,1,0 Current State: 74:[37, 37], Operations: ['82-53=29', '8+29=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 77, 86, 63, 43 ]
91
[ "77*86=6622", "6622/43=154", "154-63=91" ]
Current State: 91:[77, 86, 63, 43], Operations: [] Exploring Operation: 77*86=6622, Resulting Numbers: [63, 43, 6622] Generated Node #2: [63, 43, 6622] from Operation: 77*86=6622 Current State: 91:[63, 43, 6622], Operations: ['77*86=6622'] Exploring Operation: 6622/43=154, Resulting Numbers: [63, 154] Generated Node #3: [63, 154] from Operation: 6622/43=154 Current State: 91:[63, 154], Operations: ['77*86=6622', '6622/43=154'] Exploring Operation: 154-63=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[77, 86, 63, 43], Operations: [] Exploring Operation: 63-43=20, Resulting Numbers: [77, 86, 20] Generated Node #0,0: 91:[77, 86, 20] Operation: 63-43=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[77, 86, 20], Operations: ['63-43=20'] Exploring Operation: 86-77=9, Resulting Numbers: [20, 9] Generated Node #0,0,0: 91:[20, 9] Operation: 86-77=9 Moving to Node #0,0,0 Current State: 91:[20, 9], Operations: ['63-43=20', '86-77=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,91 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
[ 44, 98, 76, 82 ]
84
[ "98-76=22", "44/22=2", "82+2=84" ]
Current State: 84:[44, 98, 76, 82], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [44, 82, 22] Generated Node #2: [44, 82, 22] from Operation: 98-76=22 Current State: 84:[44, 82, 22], Operations: ['98-76=22'] Exploring Operation: 44/22=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 44/22=2 Current State: 84:[82, 2], Operations: ['98-76=22', '44/22=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[44, 98, 76, 82], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [44, 82, 22] Generated Node #0,0: 84:[44, 82, 22] Operation: 98-76=22 Moving to Node #0,0 Current State: 84:[44, 82, 22], Operations: ['98-76=22'] Exploring Operation: 44/22=2, Resulting Numbers: [82, 2] Generated Node #0,0,0: 84:[82, 2] Operation: 44/22=2 Moving to Node #0,0,0 Current State: 84:[82, 2], Operations: ['98-76=22', '44/22=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[44, 98, 76, 82], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [44, 82, 22] Generated Node #0,0: 84:[44, 82, 22] Operation: 98-76=22 Moving to Node #0,0 Current State: 84:[44, 82, 22], Operations: ['98-76=22'] Exploring Operation: 44/22=2, Resulting Numbers: [82, 2] Generated Node #0,0,0: 84:[82, 2] Operation: 44/22=2 Moving to Node #0,0,0 Current State: 84:[82, 2], Operations: ['98-76=22', '44/22=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 33, 26, 4, 90 ]
68
[ "33*4=132", "90-26=64", "132-64=68" ]
Current State: 68:[33, 26, 4, 90], Operations: [] Exploring Operation: 33*4=132, Resulting Numbers: [26, 90, 132] Generated Node #2: [26, 90, 132] from Operation: 33*4=132 Current State: 68:[26, 90, 132], Operations: ['33*4=132'] Exploring Operation: 90-26=64, Resulting Numbers: [132, 64] Generated Node #3: [132, 64] from Operation: 90-26=64 Current State: 68:[132, 64], Operations: ['33*4=132', '90-26=64'] Exploring Operation: 132-64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[33, 26, 4, 90], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [4, 90, 7] Generated Node #0,0: 68:[4, 90, 7] Operation: 33-26=7 Exploring Operation: 90-33=57, Resulting Numbers: [26, 4, 57] Generated Node #0,1: 68:[26, 4, 57] Operation: 90-33=57 Exploring Operation: 90-26=64, Resulting Numbers: [33, 4, 64] Generated Node #0,2: 68:[33, 4, 64] Operation: 90-26=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[33, 4, 64], Operations: ['90-26=64'] Exploring Operation: 64/4=16, Resulting Numbers: [33, 16] Generated Node #0,2,0: 68:[33, 16] Operation: 64/4=16 Exploring Operation: 64-33=31, Resulting Numbers: [4, 31] Generated Node #0,2,1: 68:[4, 31] Operation: 64-33=31 Exploring Operation: 4+64=68, Resulting Numbers: [33, 68] Generated Node #0,2,2: 68:[33, 68] Operation: 4+64=68 Moving to Node #0,2,2 Current State: 68:[33, 68], Operations: ['90-26=64', '4+64=68'] Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,68 unequal: No Solution Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,68 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[33, 16], Operations: ['90-26=64', '64/4=16'] Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,68 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[4, 31], Operations: ['90-26=64', '64-33=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,68 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[26, 4, 57], Operations: ['90-33=57'] Exploring Operation: 26+4=30, Resulting Numbers: [57, 30] Generated Node #0,1,0: 68:[57, 30] Operation: 26+4=30 Exploring Operation: 26+57=83, Resulting Numbers: [4, 83] Generated Node #0,1,1: 68:[4, 83] Operation: 26+57=83 Exploring Operation: 57-26=31, Resulting Numbers: [4, 31] Generated Node #0,1,2: 68:[4, 31] Operation: 57-26=31 Moving to Node #0,1,2 Current State: 68:[4, 31], Operations: ['90-33=57', '57-26=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,68 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[57, 30], Operations: ['90-33=57', '26+4=30'] Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,68 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,68 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[4, 83], Operations: ['90-33=57', '26+57=83'] Exploring Operation: 4*83=332, Resulting Numbers: [332] 332,68 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[4, 90, 7], Operations: ['33-26=7'] Exploring Operation: 90-4=86, Resulting Numbers: [7, 86] Generated Node #0,0,0: 68:[7, 86] Operation: 90-4=86 Exploring Operation: 7-4=3, Resulting Numbers: [90, 3] Generated Node #0,0,1: 68:[90, 3] Operation: 7-4=3 Exploring Operation: 90-7=83, Resulting Numbers: [4, 83] Generated Node #0,0,2: 68:[4, 83] Operation: 90-7=83 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[4, 83], Operations: ['33-26=7', '90-7=83'] Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,68 unequal: No Solution Exploring Operation: 4*83=332, Resulting Numbers: [332] 332,68 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,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,0,0 Current State: 68:[7, 86], Operations: ['33-26=7', '90-4=86'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 7+86=93, Resulting Numbers: [93] 93,68 unequal: No Solution Exploring Operation: 7*86=602, Resulting Numbers: [602] 602,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,0,1 Current State: 68:[90, 3], Operations: ['33-26=7', '7-4=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,68 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 30, 51, 56, 92 ]
57
[ "51-30=21", "92-56=36", "21+36=57" ]
Current State: 57:[30, 51, 56, 92], Operations: [] Exploring Operation: 51-30=21, Resulting Numbers: [56, 92, 21] Generated Node #2: [56, 92, 21] from Operation: 51-30=21 Current State: 57:[56, 92, 21], Operations: ['51-30=21'] Exploring Operation: 92-56=36, Resulting Numbers: [21, 36] Generated Node #3: [21, 36] from Operation: 92-56=36 Current State: 57:[21, 36], Operations: ['51-30=21', '92-56=36'] Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[30, 51, 56, 92], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [30, 56, 41] Generated Node #0,0: 57:[30, 56, 41] Operation: 92-51=41 Exploring Operation: 51-30=21, Resulting Numbers: [56, 92, 21] Generated Node #0,1: 57:[56, 92, 21] Operation: 51-30=21 Exploring Operation: 92-30=62, Resulting Numbers: [51, 56, 62] Generated Node #0,2: 57:[51, 56, 62] Operation: 92-30=62 Exploring Operation: 92-56=36, Resulting Numbers: [30, 51, 36] Generated Node #0,3: 57:[30, 51, 36] Operation: 92-56=36 Moving to Node #0,2 Current State: 57:[51, 56, 62], Operations: ['92-30=62'] Exploring Operation: 62-56=6, Resulting Numbers: [51, 6] Generated Node #0,2,0: 57:[51, 6] Operation: 62-56=6 Exploring Operation: 62-51=11, Resulting Numbers: [56, 11] Generated Node #0,2,1: 57:[56, 11] Operation: 62-51=11 Exploring Operation: 51+56=107, Resulting Numbers: [62, 107] Generated Node #0,2,2: 57:[62, 107] Operation: 51+56=107 Exploring Operation: 56-51=5, Resulting Numbers: [62, 5] Generated Node #0,2,3: 57:[62, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 57:[30, 56, 41], Operations: ['92-51=41'] Exploring Operation: 41-30=11, Resulting Numbers: [56, 11] Generated Node #0,0,0: 57:[56, 11] Operation: 41-30=11 Exploring Operation: 56-30=26, Resulting Numbers: [41, 26] Generated Node #0,0,1: 57:[41, 26] Operation: 56-30=26 Exploring Operation: 56-41=15, Resulting Numbers: [30, 15] Generated Node #0,0,2: 57:[30, 15] Operation: 56-41=15 Exploring Operation: 30+41=71, Resulting Numbers: [56, 71] Generated Node #0,0,3: 57:[56, 71] Operation: 30+41=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[56, 11], Operations: ['92-51=41', '41-30=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,57 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,57 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[30, 15], Operations: ['92-51=41', '56-41=15'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,57 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 57:[56, 71], Operations: ['92-51=41', '30+41=71'] Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,57 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[41, 26], Operations: ['92-51=41', '56-30=26'] Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,57 unequal: No Solution Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,57 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,57 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: 57:[30, 51, 36], Operations: ['92-56=36'] Exploring Operation: 36-30=6, Resulting Numbers: [51, 6] Generated Node #0,3,0: 57:[51, 6] Operation: 36-30=6 Exploring Operation: 51-30=21, Resulting Numbers: [36, 21] Generated Node #0,3,1: 57:[36, 21] Operation: 51-30=21 Exploring Operation: 30+36=66, Resulting Numbers: [51, 66] Generated Node #0,3,2: 57:[51, 66] Operation: 30+36=66 Exploring Operation: 51-36=15, Resulting Numbers: [30, 15] Generated Node #0,3,3: 57:[30, 15] Operation: 51-36=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 57:[51, 6], Operations: ['92-56=36', '36-30=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[30, 51, 56, 92], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [30, 51, 36] Generated Node #0,3: 57:[30, 51, 36] Operation: 92-56=36 Moving to Node #0,3 Current State: 57:[30, 51, 36], Operations: ['92-56=36'] Exploring Operation: 36-30=6, Resulting Numbers: [51, 6] Generated Node #0,3,0: 57:[51, 6] Operation: 36-30=6 Moving to Node #0,3,0 Current State: 57:[51, 6], Operations: ['92-56=36', '36-30=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 5, 49, 66, 62 ]
93
[ "49-5=44", "66*62=4092", "4092/44=93" ]
Current State: 93:[5, 49, 66, 62], Operations: [] Exploring Operation: 49-5=44, Resulting Numbers: [66, 62, 44] Generated Node #2: [66, 62, 44] from Operation: 49-5=44 Current State: 93:[66, 62, 44], Operations: ['49-5=44'] Exploring Operation: 66*62=4092, Resulting Numbers: [44, 4092] Generated Node #3: [44, 4092] from Operation: 66*62=4092 Current State: 93:[44, 4092], Operations: ['49-5=44', '66*62=4092'] Exploring Operation: 4092/44=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[5, 49, 66, 62], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [5, 66, 13] Generated Node #0,0: 93:[5, 66, 13] Operation: 62-49=13 Exploring Operation: 66-49=17, Resulting Numbers: [5, 62, 17] Generated Node #0,1: 93:[5, 62, 17] Operation: 66-49=17 Exploring Operation: 66-62=4, Resulting Numbers: [5, 49, 4] Generated Node #0,2: 93:[5, 49, 4] Operation: 66-62=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[5, 49, 4], Operations: ['66-62=4'] Exploring Operation: 49-4=45, Resulting Numbers: [5, 45] Generated Node #0,2,0: 93:[5, 45] Operation: 49-4=45 Exploring Operation: 5-4=1, Resulting Numbers: [49, 1] Generated Node #0,2,1: 93:[49, 1] Operation: 5-4=1 Exploring Operation: 49-5=44, Resulting Numbers: [4, 44] Generated Node #0,2,2: 93:[4, 44] Operation: 49-5=44 Moving to Node #0,2,2 Current State: 93:[4, 44], Operations: ['66-62=4', '49-5=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[5, 45], Operations: ['66-62=4', '49-4=45'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[49, 1], Operations: ['66-62=4', '5-4=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[5, 66, 13], Operations: ['62-49=13'] Exploring Operation: 66-13=53, Resulting Numbers: [5, 53] Generated Node #0,0,0: 93:[5, 53] Operation: 66-13=53 Exploring Operation: 66+13=79, Resulting Numbers: [5, 79] Generated Node #0,0,1: 93:[5, 79] Operation: 66+13=79 Exploring Operation: 5+66=71, Resulting Numbers: [13, 71] Generated Node #0,0,2: 93:[13, 71] Operation: 5+66=71 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[5, 79], Operations: ['62-49=13', '66+13=79'] Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,93 unequal: No Solution No 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: 93:[5, 53], Operations: ['62-49=13', '66-13=53'] Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,93 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,93 unequal: No Solution No 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: 93:[13, 71], Operations: ['62-49=13', '5+66=71'] Exploring Operation: 13*71=923, Resulting Numbers: [923] 923,93 unequal: No Solution Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 13+71=84, Resulting Numbers: [84] 84,93 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: 93:[5, 62, 17], Operations: ['66-49=17'] Exploring Operation: 5*17=85, Resulting Numbers: [62, 85] Generated Node #0,1,0: 93:[62, 85] Operation: 5*17=85 Exploring Operation: 62-17=45, Resulting Numbers: [5, 45] Generated Node #0,1,1: 93:[5, 45] Operation: 62-17=45 Exploring Operation: 62+17=79, Resulting Numbers: [5, 79] Generated Node #0,1,2: 93:[5, 79] Operation: 62+17=79 Moving to Node #0,1,1 Current State: 93:[5, 45], Operations: ['66-49=17', '62-17=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[5, 79], Operations: ['66-49=17', '62+17=79'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,93 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[62, 85], Operations: ['66-49=17', '5*17=85'] Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,93 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,93 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 7, 78, 62, 89 ]
58
[ "7+78=85", "89-62=27", "85-27=58" ]
Current State: 58:[7, 78, 62, 89], Operations: [] Exploring Operation: 7+78=85, Resulting Numbers: [62, 89, 85] Generated Node #2: [62, 89, 85] from Operation: 7+78=85 Current State: 58:[62, 89, 85], Operations: ['7+78=85'] Exploring Operation: 89-62=27, Resulting Numbers: [85, 27] Generated Node #3: [85, 27] from Operation: 89-62=27 Current State: 58:[85, 27], Operations: ['7+78=85', '89-62=27'] Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[7, 78, 62, 89], Operations: [] Exploring Operation: 78-7=71, Resulting Numbers: [62, 89, 71] Generated Node #0,0: 58:[62, 89, 71] Operation: 78-7=71 Exploring Operation: 89-78=11, Resulting Numbers: [7, 62, 11] Generated Node #0,1: 58:[7, 62, 11] Operation: 89-78=11 Exploring Operation: 89-62=27, Resulting Numbers: [7, 78, 27] Generated Node #0,2: 58:[7, 78, 27] Operation: 89-62=27 Moving to Node #0,1 Current State: 58:[7, 62, 11], Operations: ['89-78=11'] Exploring Operation: 62-11=51, Resulting Numbers: [7, 51] Generated Node #0,1,0: 58:[7, 51] Operation: 62-11=51 Exploring Operation: 11-7=4, Resulting Numbers: [62, 4] Generated Node #0,1,1: 58:[62, 4] Operation: 11-7=4 Exploring Operation: 62-7=55, Resulting Numbers: [11, 55] Generated Node #0,1,2: 58:[11, 55] Operation: 62-7=55 Moving to Node #0,2 Current State: 58:[7, 78, 27], Operations: ['89-62=27'] Exploring Operation: 78-27=51, Resulting Numbers: [7, 51] Generated Node #0,2,0: 58:[7, 51] Operation: 78-27=51 Exploring Operation: 7+27=34, Resulting Numbers: [78, 34] Generated Node #0,2,1: 58:[78, 34] Operation: 7+27=34 Exploring Operation: 78-7=71, Resulting Numbers: [27, 71] Generated Node #0,2,2: 58:[27, 71] Operation: 78-7=71 Moving to Node #0,0 Current State: 58:[62, 89, 71], Operations: ['78-7=71'] Exploring Operation: 89-62=27, Resulting Numbers: [71, 27] Generated Node #0,0,0: 58:[71, 27] Operation: 89-62=27 Exploring Operation: 71-62=9, Resulting Numbers: [89, 9] Generated Node #0,0,1: 58:[89, 9] Operation: 71-62=9 Exploring Operation: 89-71=18, Resulting Numbers: [62, 18] Generated Node #0,0,2: 58:[62, 18] Operation: 89-71=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[71, 27], Operations: ['78-7=71', '89-62=27'] Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,58 unequal: No Solution Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[62, 18], Operations: ['78-7=71', '89-71=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,58 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[89, 9], Operations: ['78-7=71', '71-62=9'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,58 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: 58:[62, 4], Operations: ['89-78=11', '11-7=4'] Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,58 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[7, 78, 62, 89], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [7, 62, 11] Generated Node #0,1: 58:[7, 62, 11] Operation: 89-78=11 Moving to Node #0,1 Current State: 58:[7, 62, 11], Operations: ['89-78=11'] Exploring Operation: 11-7=4, Resulting Numbers: [62, 4] Generated Node #0,1,1: 58:[62, 4] Operation: 11-7=4 Moving to Node #0,1,1 Current State: 58:[62, 4], Operations: ['89-78=11', '11-7=4'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 19, 93, 69, 3 ]
46
[ "19+93=112", "69-3=66", "112-66=46" ]
Current State: 46:[19, 93, 69, 3], Operations: [] Exploring Operation: 19+93=112, Resulting Numbers: [69, 3, 112] Generated Node #2: [69, 3, 112] from Operation: 19+93=112 Current State: 46:[69, 3, 112], Operations: ['19+93=112'] Exploring Operation: 69-3=66, Resulting Numbers: [112, 66] Generated Node #3: [112, 66] from Operation: 69-3=66 Current State: 46:[112, 66], Operations: ['19+93=112', '69-3=66'] Exploring Operation: 112-66=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[19, 93, 69, 3], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [19, 93, 23] Generated Node #0,0: 46:[19, 93, 23] Operation: 69/3=23 Exploring Operation: 93-69=24, Resulting Numbers: [19, 3, 24] Generated Node #0,1: 46:[19, 3, 24] Operation: 93-69=24 Exploring Operation: 93/3=31, Resulting Numbers: [19, 69, 31] Generated Node #0,2: 46:[19, 69, 31] Operation: 93/3=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[19, 3, 24], Operations: ['93-69=24'] Exploring Operation: 19+3=22, Resulting Numbers: [24, 22] Generated Node #0,1,0: 46:[24, 22] Operation: 19+3=22 Exploring Operation: 24-19=5, Resulting Numbers: [3, 5] Generated Node #0,1,1: 46:[3, 5] Operation: 24-19=5 Exploring Operation: 19+24=43, Resulting Numbers: [3, 43] Generated Node #0,1,2: 46:[3, 43] Operation: 19+24=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[24, 22], Operations: ['93-69=24', '19+3=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[19, 93, 69, 3], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [19, 3, 24] Generated Node #0,1: 46:[19, 3, 24] Operation: 93-69=24 Moving to Node #0,1 Current State: 46:[19, 3, 24], Operations: ['93-69=24'] Exploring Operation: 19+3=22, Resulting Numbers: [24, 22] Generated Node #0,1,0: 46:[24, 22] Operation: 19+3=22 Moving to Node #0,1,0 Current State: 46:[24, 22], Operations: ['93-69=24', '19+3=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 27, 38, 28, 48 ]
54
[ "28+48=76", "27*76=2052", "2052/38=54" ]
Current State: 54:[27, 38, 28, 48], Operations: [] Exploring Operation: 28+48=76, Resulting Numbers: [27, 38, 76] Generated Node #2: [27, 38, 76] from Operation: 28+48=76 Current State: 54:[27, 38, 76], Operations: ['28+48=76'] Exploring Operation: 27*76=2052, Resulting Numbers: [38, 2052] Generated Node #3: [38, 2052] from Operation: 27*76=2052 Current State: 54:[38, 2052], Operations: ['28+48=76', '27*76=2052'] Exploring Operation: 2052/38=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[27, 38, 28, 48], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [27, 28, 10] Generated Node #0,0: 54:[27, 28, 10] Operation: 48-38=10 Exploring Operation: 48-28=20, Resulting Numbers: [27, 38, 20] Generated Node #0,1: 54:[27, 38, 20] Operation: 48-28=20 Exploring Operation: 38-28=10, Resulting Numbers: [27, 48, 10] Generated Node #0,2: 54:[27, 48, 10] Operation: 38-28=10 Exploring Operation: 38-27=11, Resulting Numbers: [28, 48, 11] Generated Node #0,3: 54:[28, 48, 11] Operation: 38-27=11 Exploring Operation: 48-27=21, Resulting Numbers: [38, 28, 21] Generated Node #0,4: 54:[38, 28, 21] Operation: 48-27=21 Moving to Node #0,0 Current State: 54:[27, 28, 10], Operations: ['48-38=10'] Exploring Operation: 28-10=18, Resulting Numbers: [27, 18] Generated Node #0,0,0: 54:[27, 18] Operation: 28-10=18 Exploring Operation: 28-27=1, Resulting Numbers: [10, 1] Generated Node #0,0,1: 54:[10, 1] Operation: 28-27=1 Exploring Operation: 27+28=55, Resulting Numbers: [10, 55] Generated Node #0,0,2: 54:[10, 55] Operation: 27+28=55 Exploring Operation: 27-10=17, Resulting Numbers: [28, 17] Generated Node #0,0,3: 54:[28, 17] Operation: 27-10=17 Exploring Operation: 27+10=37, Resulting Numbers: [28, 37] Generated Node #0,0,4: 54:[28, 37] Operation: 27+10=37 Moving to Node #0,2 Current State: 54:[27, 48, 10], Operations: ['38-28=10'] Exploring Operation: 27-10=17, Resulting Numbers: [48, 17] Generated Node #0,2,0: 54:[48, 17] Operation: 27-10=17 Exploring Operation: 48+10=58, Resulting Numbers: [27, 58] Generated Node #0,2,1: 54:[27, 58] Operation: 48+10=58 Exploring Operation: 27+10=37, Resulting Numbers: [48, 37] Generated Node #0,2,2: 54:[48, 37] Operation: 27+10=37 Exploring Operation: 48-27=21, Resulting Numbers: [10, 21] Generated Node #0,2,3: 54:[10, 21] Operation: 48-27=21 Exploring Operation: 48-10=38, Resulting Numbers: [27, 38] Generated Node #0,2,4: 54:[27, 38] Operation: 48-10=38 Moving to Node #0,3 Current State: 54:[28, 48, 11], Operations: ['38-27=11'] Exploring Operation: 28+11=39, Resulting Numbers: [48, 39] Generated Node #0,3,0: 54:[48, 39] Operation: 28+11=39 Exploring Operation: 48-11=37, Resulting Numbers: [28, 37] Generated Node #0,3,1: 54:[28, 37] Operation: 48-11=37 Exploring Operation: 48+11=59, Resulting Numbers: [28, 59] Generated Node #0,3,2: 54:[28, 59] Operation: 48+11=59 Exploring Operation: 48-28=20, Resulting Numbers: [11, 20] Generated Node #0,3,3: 54:[11, 20] Operation: 48-28=20 Exploring Operation: 28-11=17, Resulting Numbers: [48, 17] Generated Node #0,3,4: 54:[48, 17] Operation: 28-11=17 Moving to Node #0,1 Current State: 54:[27, 38, 20], Operations: ['48-28=20'] Exploring Operation: 27-20=7, Resulting Numbers: [38, 7] Generated Node #0,1,0: 54:[38, 7] Operation: 27-20=7 Exploring Operation: 38-20=18, Resulting Numbers: [27, 18] Generated Node #0,1,1: 54:[27, 18] Operation: 38-20=18 Exploring Operation: 38-27=11, Resulting Numbers: [20, 11] Generated Node #0,1,2: 54:[20, 11] Operation: 38-27=11 Exploring Operation: 27+38=65, Resulting Numbers: [20, 65] Generated Node #0,1,3: 54:[20, 65] Operation: 27+38=65 Exploring Operation: 38+20=58, Resulting Numbers: [27, 58] Generated Node #0,1,4: 54:[27, 58] Operation: 38+20=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[27, 18], Operations: ['48-28=20', '38-20=18'] Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,54 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[20, 11], Operations: ['48-28=20', '38-27=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,54 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 54:[27, 58], Operations: ['48-28=20', '38+20=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,54 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[38, 7], Operations: ['48-28=20', '27-20=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,54 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 54:[20, 65], Operations: ['48-28=20', '27+38=65'] Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,54 unequal: No Solution Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 54:[38, 28, 21], Operations: ['48-27=21'] Exploring Operation: 38+21=59, Resulting Numbers: [28, 59] Generated Node #0,4,0: 54:[28, 59] Operation: 38+21=59 Exploring Operation: 38-28=10, Resulting Numbers: [21, 10] Generated Node #0,4,1: 54:[21, 10] Operation: 38-28=10 Exploring Operation: 38-21=17, Resulting Numbers: [28, 17] Generated Node #0,4,2: 54:[28, 17] Operation: 38-21=17 Exploring Operation: 28-21=7, Resulting Numbers: [38, 7] Generated Node #0,4,3: 54:[38, 7] Operation: 28-21=7 Exploring Operation: 38+28=66, Resulting Numbers: [21, 66] Generated Node #0,4,4: 54:[21, 66] Operation: 38+28=66 Moving to Node #0,0,0 Current State: 54:[27, 18], Operations: ['48-38=10', '28-10=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,54 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[10, 55], Operations: ['48-38=10', '27+28=55'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,54 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[10, 1], Operations: ['48-38=10', '28-27=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[28, 17], Operations: ['48-38=10', '27-10=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,54 unequal: No Solution Moving to Node #0,4,2 Current State: 54:[28, 17], Operations: ['48-27=21', '38-21=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[10, 21], Operations: ['38-28=10', '48-27=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,54 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[27, 58], Operations: ['38-28=10', '48+10=58'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,54 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[11, 20], Operations: ['38-27=11', '48-28=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,54 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,4,1 Current State: 54:[21, 10], Operations: ['48-27=21', '38-28=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[28, 59], Operations: ['38-27=11', '48+11=59'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,54 unequal: No Solution Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,54 unequal: No Solution Moving to Node #0,4,0 Current State: 54:[28, 59], Operations: ['48-27=21', '38+21=59'] Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,54 unequal: No Solution Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,54 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,3,4 Current State: 54:[48, 17], Operations: ['38-27=11', '28-11=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[48, 17], Operations: ['38-28=10', '27-10=17'] Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,54 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[28, 37], Operations: ['38-27=11', '48-11=37'] Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,54 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,54 unequal: No Solution Moving to Node #0,2,4 Current State: 54:[27, 38], Operations: ['38-28=10', '48-10=38'] Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[28, 37], Operations: ['48-38=10', '27+10=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[38, 7], Operations: ['48-27=21', '28-21=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,54 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,4,4 Current State: 54:[21, 66], Operations: ['48-27=21', '38+28=66'] Exploring Operation: 21*66=1386, Resulting Numbers: [1386] 1386,54 unequal: No Solution Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[48, 37], Operations: ['38-28=10', '27+10=37'] Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,54 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[48, 39], Operations: ['38-27=11', '28+11=39'] Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,54 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,54 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 7, 30, 41, 24 ]
96
[ "7+30=37", "41-37=4", "24*4=96" ]
Current State: 96:[7, 30, 41, 24], Operations: [] Exploring Operation: 7+30=37, Resulting Numbers: [41, 24, 37] Generated Node #2: [41, 24, 37] from Operation: 7+30=37 Current State: 96:[41, 24, 37], Operations: ['7+30=37'] Exploring Operation: 41-37=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 41-37=4 Current State: 96:[24, 4], Operations: ['7+30=37', '41-37=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[7, 30, 41, 24], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [30, 24, 34] Generated Node #0,0: 96:[30, 24, 34] Operation: 41-7=34 Exploring Operation: 7+41=48, Resulting Numbers: [30, 24, 48] Generated Node #0,1: 96:[30, 24, 48] Operation: 7+41=48 Exploring Operation: 41-24=17, Resulting Numbers: [7, 30, 17] Generated Node #0,2: 96:[7, 30, 17] Operation: 41-24=17 Exploring Operation: 41-30=11, Resulting Numbers: [7, 24, 11] Generated Node #0,3: 96:[7, 24, 11] Operation: 41-30=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[30, 24, 48], Operations: ['7+41=48'] Exploring Operation: 30-24=6, Resulting Numbers: [48, 6] Generated Node #0,1,0: 96:[48, 6] Operation: 30-24=6 Exploring Operation: 48-30=18, Resulting Numbers: [24, 18] Generated Node #0,1,1: 96:[24, 18] Operation: 48-30=18 Exploring Operation: 48/24=2, Resulting Numbers: [30, 2] Generated Node #0,1,2: 96:[30, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [30, 24] Generated Node #0,1,3: 96:[30, 24] Operation: 48-24=24 Moving to Node #0,1,0 Current State: 96:[48, 6], Operations: ['7+41=48', '30-24=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[30, 2], Operations: ['7+41=48', '48/24=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[24, 18], Operations: ['7+41=48', '48-30=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[30, 24], Operations: ['7+41=48', '48-24=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,96 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[7, 24, 11], Operations: ['41-30=11'] Exploring Operation: 11-7=4, Resulting Numbers: [24, 4] Generated Node #0,3,0: 96:[24, 4] Operation: 11-7=4 Exploring Operation: 7+11=18, Resulting Numbers: [24, 18] Generated Node #0,3,1: 96:[24, 18] Operation: 7+11=18 Exploring Operation: 7+24=31, Resulting Numbers: [11, 31] Generated Node #0,3,2: 96:[11, 31] Operation: 7+24=31 Exploring Operation: 24-7=17, Resulting Numbers: [11, 17] Generated Node #0,3,3: 96:[11, 17] Operation: 24-7=17 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[24, 4], Operations: ['41-30=11', '11-7=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[7, 30, 41, 24], Operations: [] Exploring Operation: 41-30=11, Resulting Numbers: [7, 24, 11] Generated Node #0,3: 96:[7, 24, 11] Operation: 41-30=11 Moving to Node #0,3 Current State: 96:[7, 24, 11], Operations: ['41-30=11'] Exploring Operation: 11-7=4, Resulting Numbers: [24, 4] Generated Node #0,3,0: 96:[24, 4] Operation: 11-7=4 Moving to Node #0,3,0 Current State: 96:[24, 4], Operations: ['41-30=11', '11-7=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 64, 60, 96, 63 ]
36
[ "64-63=1", "96-60=36", "1*36=36" ]
Current State: 36:[64, 60, 96, 63], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [60, 96, 1] Generated Node #2: [60, 96, 1] from Operation: 64-63=1 Current State: 36:[60, 96, 1], Operations: ['64-63=1'] Exploring Operation: 96-60=36, Resulting Numbers: [1, 36] Generated Node #3: [1, 36] from Operation: 96-60=36 Current State: 36:[1, 36], Operations: ['64-63=1', '96-60=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[64, 60, 96, 63], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [60, 63, 32] Generated Node #0,0: 36:[60, 63, 32] Operation: 96-64=32 Exploring Operation: 96-60=36, Resulting Numbers: [64, 63, 36] Generated Node #0,1: 36:[64, 63, 36] Operation: 96-60=36 Moving to Node #0,0 Current State: 36:[60, 63, 32], Operations: ['96-64=32'] Exploring Operation: 63-32=31, Resulting Numbers: [60, 31] Generated Node #0,0,0: 36:[60, 31] Operation: 63-32=31 Exploring Operation: 63-60=3, Resulting Numbers: [32, 3] Generated Node #0,0,1: 36:[32, 3] Operation: 63-60=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[32, 3], Operations: ['96-64=32', '63-60=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[60, 31], Operations: ['96-64=32', '63-32=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,36 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: 36:[64, 63, 36], Operations: ['96-60=36'] Exploring Operation: 64-63=1, Resulting Numbers: [36, 1] Generated Node #0,1,0: 36:[36, 1] Operation: 64-63=1 Exploring Operation: 64-36=28, Resulting Numbers: [63, 28] Generated Node #0,1,1: 36:[63, 28] Operation: 64-36=28 Moving to Node #0,1,0 Current State: 36:[36, 1], Operations: ['96-60=36', '64-63=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[64, 60, 96, 63], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [64, 63, 36] Generated Node #0,1: 36:[64, 63, 36] Operation: 96-60=36 Moving to Node #0,1 Current State: 36:[64, 63, 36], Operations: ['96-60=36'] Exploring Operation: 64-63=1, Resulting Numbers: [36, 1] Generated Node #0,1,0: 36:[36, 1] Operation: 64-63=1 Moving to Node #0,1,0 Current State: 36:[36, 1], Operations: ['96-60=36', '64-63=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 81, 39, 92, 8 ]
58
[ "81-39=42", "92+8=100", "100-42=58" ]
Current State: 58:[81, 39, 92, 8], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [92, 8, 42] Generated Node #2: [92, 8, 42] from Operation: 81-39=42 Current State: 58:[92, 8, 42], Operations: ['81-39=42'] Exploring Operation: 92+8=100, Resulting Numbers: [42, 100] Generated Node #3: [42, 100] from Operation: 92+8=100 Current State: 58:[42, 100], Operations: ['81-39=42', '92+8=100'] Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[81, 39, 92, 8], Operations: [] Exploring Operation: 92-39=53, Resulting Numbers: [81, 8, 53] Generated Node #0,0: 58:[81, 8, 53] Operation: 92-39=53 Exploring Operation: 92-81=11, Resulting Numbers: [39, 8, 11] Generated Node #0,1: 58:[39, 8, 11] Operation: 92-81=11 Exploring Operation: 81-39=42, Resulting Numbers: [92, 8, 42] Generated Node #0,2: 58:[92, 8, 42] Operation: 81-39=42 Moving to Node #0,1 Current State: 58:[39, 8, 11], Operations: ['92-81=11'] Exploring Operation: 39-11=28, Resulting Numbers: [8, 28] Generated Node #0,1,0: 58:[8, 28] Operation: 39-11=28 Exploring Operation: 39-8=31, Resulting Numbers: [11, 31] Generated Node #0,1,1: 58:[11, 31] Operation: 39-8=31 Exploring Operation: 11-8=3, Resulting Numbers: [39, 3] Generated Node #0,1,2: 58:[39, 3] Operation: 11-8=3 Moving to Node #0,0 Current State: 58:[81, 8, 53], Operations: ['92-39=53'] Exploring Operation: 8+53=61, Resulting Numbers: [81, 61] Generated Node #0,0,0: 58:[81, 61] Operation: 8+53=61 Exploring Operation: 81-53=28, Resulting Numbers: [8, 28] Generated Node #0,0,1: 58:[8, 28] Operation: 81-53=28 Exploring Operation: 81-8=73, Resulting Numbers: [53, 73] Generated Node #0,0,2: 58:[53, 73] Operation: 81-8=73 Moving to Node #0,2 Current State: 58:[92, 8, 42], Operations: ['81-39=42'] Exploring Operation: 92-8=84, Resulting Numbers: [42, 84] Generated Node #0,2,0: 58:[42, 84] Operation: 92-8=84 Exploring Operation: 92-42=50, Resulting Numbers: [8, 50] Generated Node #0,2,1: 58:[8, 50] Operation: 92-42=50 Exploring Operation: 42-8=34, Resulting Numbers: [92, 34] Generated Node #0,2,2: 58:[92, 34] Operation: 42-8=34 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[8, 50], Operations: ['81-39=42', '92-42=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[81, 39, 92, 8], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [92, 8, 42] Generated Node #0,2: 58:[92, 8, 42] Operation: 81-39=42 Moving to Node #0,2 Current State: 58:[92, 8, 42], Operations: ['81-39=42'] Exploring Operation: 92-42=50, Resulting Numbers: [8, 50] Generated Node #0,2,1: 58:[8, 50] Operation: 92-42=50 Moving to Node #0,2,1 Current State: 58:[8, 50], Operations: ['81-39=42', '92-42=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 70, 23, 11, 66 ]
87
[ "70+23=93", "66/11=6", "93-6=87" ]
Current State: 87:[70, 23, 11, 66], Operations: [] Exploring Operation: 70+23=93, Resulting Numbers: [11, 66, 93] Generated Node #2: [11, 66, 93] from Operation: 70+23=93 Current State: 87:[11, 66, 93], Operations: ['70+23=93'] Exploring Operation: 66/11=6, Resulting Numbers: [93, 6] Generated Node #3: [93, 6] from Operation: 66/11=6 Current State: 87:[93, 6], Operations: ['70+23=93', '66/11=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[70, 23, 11, 66], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [23, 11, 4] Generated Node #0,0: 87:[23, 11, 4] Operation: 70-66=4 Exploring Operation: 66/11=6, Resulting Numbers: [70, 23, 6] Generated Node #0,1: 87:[70, 23, 6] Operation: 66/11=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[23, 11, 4], Operations: ['70-66=4'] Exploring Operation: 23-11=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 87:[4, 12] Operation: 23-11=12 Exploring Operation: 23+11=34, Resulting Numbers: [4, 34] Generated Node #0,0,1: 87:[4, 34] Operation: 23+11=34 Moving to Node #0,0,1 Current State: 87:[4, 34], Operations: ['70-66=4', '23+11=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[4, 12], Operations: ['70-66=4', '23-11=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 12/4=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,1 Current State: 87:[70, 23, 6], Operations: ['66/11=6'] Exploring Operation: 70+23=93, Resulting Numbers: [6, 93] Generated Node #0,1,0: 87:[6, 93] Operation: 70+23=93 Exploring Operation: 70+6=76, Resulting Numbers: [23, 76] Generated Node #0,1,1: 87:[23, 76] Operation: 70+6=76 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[6, 93], Operations: ['66/11=6', '70+23=93'] Exploring Operation: 6+93=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[70, 23, 11, 66], Operations: [] Exploring Operation: 66/11=6, Resulting Numbers: [70, 23, 6] Generated Node #0,1: 87:[70, 23, 6] Operation: 66/11=6 Moving to Node #0,1 Current State: 87:[70, 23, 6], Operations: ['66/11=6'] Exploring Operation: 70+23=93, Resulting Numbers: [6, 93] Generated Node #0,1,0: 87:[6, 93] Operation: 70+23=93 Moving to Node #0,1,0 Current State: 87:[6, 93], Operations: ['66/11=6', '70+23=93'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 90, 80, 76, 71 ]
23
[ "90+80=170", "76+71=147", "170-147=23" ]
Current State: 23:[90, 80, 76, 71], Operations: [] Exploring Operation: 90+80=170, Resulting Numbers: [76, 71, 170] Generated Node #2: [76, 71, 170] from Operation: 90+80=170 Current State: 23:[76, 71, 170], Operations: ['90+80=170'] Exploring Operation: 76+71=147, Resulting Numbers: [170, 147] Generated Node #3: [170, 147] from Operation: 76+71=147 Current State: 23:[170, 147], Operations: ['90+80=170', '76+71=147'] Exploring Operation: 170-147=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[90, 80, 76, 71], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [76, 71, 10] Generated Node #0,0: 23:[76, 71, 10] Operation: 90-80=10 Exploring Operation: 90-71=19, Resulting Numbers: [80, 76, 19] Generated Node #0,1: 23:[80, 76, 19] Operation: 90-71=19 Exploring Operation: 80-71=9, Resulting Numbers: [90, 76, 9] Generated Node #0,2: 23:[90, 76, 9] Operation: 80-71=9 Exploring Operation: 90-76=14, Resulting Numbers: [80, 71, 14] Generated Node #0,3: 23:[80, 71, 14] Operation: 90-76=14 Exploring Operation: 80-76=4, Resulting Numbers: [90, 71, 4] Generated Node #0,4: 23:[90, 71, 4] Operation: 80-76=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[76, 71, 10], Operations: ['90-80=10'] Exploring Operation: 76+10=86, Resulting Numbers: [71, 86] Generated Node #0,0,0: 23:[71, 86] Operation: 76+10=86 Exploring Operation: 76-10=66, Resulting Numbers: [71, 66] Generated Node #0,0,1: 23:[71, 66] Operation: 76-10=66 Exploring Operation: 71-10=61, Resulting Numbers: [76, 61] Generated Node #0,0,2: 23:[76, 61] Operation: 71-10=61 Exploring Operation: 76-71=5, Resulting Numbers: [10, 5] Generated Node #0,0,3: 23:[10, 5] Operation: 76-71=5 Exploring Operation: 71+10=81, Resulting Numbers: [76, 81] Generated Node #0,0,4: 23:[76, 81] Operation: 71+10=81 Moving to Node #0,0,3 Current State: 23:[10, 5], Operations: ['90-80=10', '76-71=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[76, 61], Operations: ['90-80=10', '71-10=61'] Exploring Operation: 76+61=137, Resulting Numbers: [137] 137,23 unequal: No Solution Exploring Operation: 76-61=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 76*61=4636, Resulting Numbers: [4636] 4636,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[71, 66], Operations: ['90-80=10', '76-10=66'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 71+66=137, Resulting Numbers: [137] 137,23 unequal: No Solution Exploring Operation: 71*66=4686, Resulting Numbers: [4686] 4686,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[71, 86], Operations: ['90-80=10', '76+10=86'] Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 71*86=6106, Resulting Numbers: [6106] 6106,23 unequal: No Solution Exploring Operation: 71+86=157, Resulting Numbers: [157] 157,23 unequal: No Solution Moving to Node #0,0,4 Current State: 23:[76, 81], Operations: ['90-80=10', '71+10=81'] Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,23 unequal: No Solution Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,23 unequal: No Solution No solution 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: 23:[80, 76, 19], Operations: ['90-71=19'] Exploring Operation: 76/19=4, Resulting Numbers: [80, 4] Generated Node #0,1,0: 23:[80, 4] Operation: 76/19=4 Exploring Operation: 80-76=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 23:[19, 4] Operation: 80-76=4 Exploring Operation: 80-19=61, Resulting Numbers: [76, 61] Generated Node #0,1,2: 23:[76, 61] Operation: 80-19=61 Exploring Operation: 76-19=57, Resulting Numbers: [80, 57] Generated Node #0,1,3: 23:[80, 57] Operation: 76-19=57 Exploring Operation: 80+19=99, Resulting Numbers: [76, 99] Generated Node #0,1,4: 23:[76, 99] Operation: 80+19=99 Moving to Node #0,1,1 Current State: 23:[19, 4], Operations: ['90-71=19', '80-76=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[90, 80, 76, 71], Operations: [] Exploring Operation: 90-71=19, Resulting Numbers: [80, 76, 19] Generated Node #0,1: 23:[80, 76, 19] Operation: 90-71=19 Moving to Node #0,1 Current State: 23:[80, 76, 19], Operations: ['90-71=19'] Exploring Operation: 80-76=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 23:[19, 4] Operation: 80-76=4 Moving to Node #0,1,1 Current State: 23:[19, 4], Operations: ['90-71=19', '80-76=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 87, 54, 10, 16 ]
78
[ "16-10=6", "54/6=9", "87-9=78" ]
Current State: 78:[87, 54, 10, 16], Operations: [] Exploring Operation: 16-10=6, Resulting Numbers: [87, 54, 6] Generated Node #2: [87, 54, 6] from Operation: 16-10=6 Current State: 78:[87, 54, 6], Operations: ['16-10=6'] Exploring Operation: 54/6=9, Resulting Numbers: [87, 9] Generated Node #3: [87, 9] from Operation: 54/6=9 Current State: 78:[87, 9], Operations: ['16-10=6', '54/6=9'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[87, 54, 10, 16], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [10, 16, 33] Generated Node #0,0: 78:[10, 16, 33] Operation: 87-54=33 Moving to Node #0,0 Current State: 78:[10, 16, 33], Operations: ['87-54=33'] Exploring Operation: 10+16=26, Resulting Numbers: [33, 26] Generated Node #0,0,0: 78:[33, 26] Operation: 10+16=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[33, 26], Operations: ['87-54=33', '10+16=26'] Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,78 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
[ 39, 31, 30, 53 ]
75
[ "39-31=8", "30+53=83", "83-8=75" ]
Current State: 75:[39, 31, 30, 53], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [30, 53, 8] Generated Node #2: [30, 53, 8] from Operation: 39-31=8 Current State: 75:[30, 53, 8], Operations: ['39-31=8'] Exploring Operation: 30+53=83, Resulting Numbers: [8, 83] Generated Node #3: [8, 83] from Operation: 30+53=83 Current State: 75:[8, 83], Operations: ['39-31=8', '30+53=83'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[39, 31, 30, 53], Operations: [] Exploring Operation: 53-39=14, Resulting Numbers: [31, 30, 14] Generated Node #0,0: 75:[31, 30, 14] Operation: 53-39=14 Moving to Node #0,0 Current State: 75:[31, 30, 14], Operations: ['53-39=14'] Exploring Operation: 31-30=1, Resulting Numbers: [14, 1] Generated Node #0,0,0: 75:[14, 1] Operation: 31-30=1 Moving to Node #0,0,0 Current State: 75:[14, 1], Operations: ['53-39=14', '31-30=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,75 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 86, 87, 68, 22 ]
89
[ "87-86=1", "68+22=90", "90-1=89" ]
Current State: 89:[86, 87, 68, 22], Operations: [] Exploring Operation: 87-86=1, Resulting Numbers: [68, 22, 1] Generated Node #2: [68, 22, 1] from Operation: 87-86=1 Current State: 89:[68, 22, 1], Operations: ['87-86=1'] Exploring Operation: 68+22=90, Resulting Numbers: [1, 90] Generated Node #3: [1, 90] from Operation: 68+22=90 Current State: 89:[1, 90], Operations: ['87-86=1', '68+22=90'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[86, 87, 68, 22], Operations: [] Exploring Operation: 68+22=90, Resulting Numbers: [86, 87, 90] Generated Node #0,0: 89:[86, 87, 90] Operation: 68+22=90 Moving to Node #0,0 Current State: 89:[86, 87, 90], Operations: ['68+22=90'] Exploring Operation: 86+87=173, Resulting Numbers: [90, 173] Generated Node #0,0,0: 89:[90, 173] Operation: 86+87=173 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[90, 173], Operations: ['68+22=90', '86+87=173'] Exploring Operation: 173-90=83, Resulting Numbers: [83] 83,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 81, 5, 62, 68 ]
51
[ "68-62=6", "5*6=30", "81-30=51" ]
Current State: 51:[81, 5, 62, 68], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [81, 5, 6] Generated Node #2: [81, 5, 6] from Operation: 68-62=6 Current State: 51:[81, 5, 6], Operations: ['68-62=6'] Exploring Operation: 5*6=30, Resulting Numbers: [81, 30] Generated Node #3: [81, 30] from Operation: 5*6=30 Current State: 51:[81, 30], Operations: ['68-62=6', '5*6=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[81, 5, 62, 68], Operations: [] Exploring Operation: 81-62=19, Resulting Numbers: [5, 68, 19] Generated Node #0,0: 51:[5, 68, 19] Operation: 81-62=19 Exploring Operation: 81-68=13, Resulting Numbers: [5, 62, 13] Generated Node #0,1: 51:[5, 62, 13] Operation: 81-68=13 Moving to Node #0,1 Current State: 51:[5, 62, 13], Operations: ['81-68=13'] Exploring Operation: 62-13=49, Resulting Numbers: [5, 49] Generated Node #0,1,0: 51:[5, 49] Operation: 62-13=49 Exploring Operation: 62-5=57, Resulting Numbers: [13, 57] Generated Node #0,1,1: 51:[13, 57] Operation: 62-5=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[5, 49], Operations: ['81-68=13', '62-13=49'] Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,51 unequal: No Solution No solution 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: 51:[13, 57], Operations: ['81-68=13', '62-5=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,51 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: 51:[5, 68, 19], Operations: ['81-62=19'] Exploring Operation: 68-19=49, Resulting Numbers: [5, 49] Generated Node #0,0,0: 51:[5, 49] Operation: 68-19=49 Exploring Operation: 68-5=63, Resulting Numbers: [19, 63] Generated Node #0,0,1: 51:[19, 63] Operation: 68-5=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[5, 49], Operations: ['81-62=19', '68-19=49'] Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,51 unequal: No Solution No 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: 51:[19, 63], Operations: ['81-62=19', '68-5=63'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,51 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
[ 84, 24, 55, 27 ]
48
[ "84-55=29", "29-27=2", "24*2=48" ]
Current State: 48:[84, 24, 55, 27], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [24, 27, 29] Generated Node #2: [24, 27, 29] from Operation: 84-55=29 Current State: 48:[24, 27, 29], Operations: ['84-55=29'] Exploring Operation: 29-27=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 29-27=2 Current State: 48:[24, 2], Operations: ['84-55=29', '29-27=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[84, 24, 55, 27], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [24, 55, 57] Generated Node #0,0: 48:[24, 55, 57] Operation: 84-27=57 Exploring Operation: 84-55=29, Resulting Numbers: [24, 27, 29] Generated Node #0,1: 48:[24, 27, 29] Operation: 84-55=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[24, 27, 29], Operations: ['84-55=29'] Exploring Operation: 29-27=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 48:[24, 2] Operation: 29-27=2 Exploring Operation: 29-24=5, Resulting Numbers: [27, 5] Generated Node #0,1,1: 48:[27, 5] Operation: 29-24=5 Moving to Node #0,1,0 Current State: 48:[24, 2], Operations: ['84-55=29', '29-27=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[84, 24, 55, 27], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [24, 27, 29] Generated Node #0,1: 48:[24, 27, 29] Operation: 84-55=29 Moving to Node #0,1 Current State: 48:[24, 27, 29], Operations: ['84-55=29'] Exploring Operation: 29-27=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 48:[24, 2] Operation: 29-27=2 Moving to Node #0,1,0 Current State: 48:[24, 2], Operations: ['84-55=29', '29-27=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 41, 43, 31, 41 ]
51
[ "43-41=2", "41*2=82", "82-31=51" ]
Current State: 51:[41, 43, 31, 41], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [31, 2] Generated Node #2: [31, 2] from Operation: 43-41=2 Current State: 51:[31, 2], Operations: ['43-41=2'] Exploring Operation: 41*2=82, Resulting Numbers: [31, 82] Generated Node #3: [31, 82] from Operation: 41*2=82 Current State: 51:[31, 82], Operations: ['43-41=2', '41*2=82'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[41, 43, 31, 41], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [31, 41, 2] Generated Node #0,0: 51:[31, 41, 2] Operation: 43-41=2 Exploring Operation: 43-31=12, Resulting Numbers: [41, 41, 12] Generated Node #0,1: 51:[41, 41, 12] Operation: 43-31=12 Exploring Operation: 41-41=0, Resulting Numbers: [43, 31, 0] Generated Node #0,2: 51:[43, 31, 0] Operation: 41-41=0 Exploring Operation: 41-31=10, Resulting Numbers: [43, 41, 10] Generated Node #0,3: 51:[43, 41, 10] Operation: 41-31=10 Exploring Operation: 41/41=1, Resulting Numbers: [43, 31, 1] Generated Node #0,4: 51:[43, 31, 1] Operation: 41/41=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[43, 31, 1], Operations: ['41/41=1'] Exploring Operation: 31-1=30, Resulting Numbers: [43, 30] Generated Node #0,4,0: 51:[43, 30] Operation: 31-1=30 Exploring Operation: 43/1=43, Resulting Numbers: [31, 43] Generated Node #0,4,1: 51:[31, 43] Operation: 43/1=43 Exploring Operation: 43-31=12, Resulting Numbers: [1, 12] Generated Node #0,4,2: 51:[1, 12] Operation: 43-31=12 Exploring Operation: 43*1=43, Resulting Numbers: [31, 43] Generated Node #0,4,3: 51:[31, 43] Operation: 43*1=43 Exploring Operation: 43+1=44, Resulting Numbers: [31, 44] Generated Node #0,4,4: 51:[31, 44] Operation: 43+1=44 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 51:[1, 12], Operations: ['41/41=1', '43-31=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,51 unequal: No Solution No 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: 51:[43, 30], Operations: ['41/41=1', '31-1=30'] Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,51 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,51 unequal: No Solution No 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: 51:[31, 44], Operations: ['41/41=1', '43+1=44'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 31*44=1364, Resulting Numbers: [1364] 1364,51 unequal: No Solution Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,51 unequal: No Solution No 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: 51:[31, 43], Operations: ['41/41=1', '43/1=43'] Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,51 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,51 unequal: No Solution No 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: 51:[31, 43], Operations: ['41/41=1', '43*1=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,51 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: 51:[31, 41, 2], Operations: ['43-41=2'] Exploring Operation: 31+41=72, Resulting Numbers: [2, 72] Generated Node #0,0,0: 51:[2, 72] Operation: 31+41=72 Exploring Operation: 41+2=43, Resulting Numbers: [31, 43] Generated Node #0,0,1: 51:[31, 43] Operation: 41+2=43 Exploring Operation: 41-31=10, Resulting Numbers: [2, 10] Generated Node #0,0,2: 51:[2, 10] Operation: 41-31=10 Exploring Operation: 31*2=62, Resulting Numbers: [41, 62] Generated Node #0,0,3: 51:[41, 62] Operation: 31*2=62 Exploring Operation: 31-2=29, Resulting Numbers: [41, 29] Generated Node #0,0,4: 51:[41, 29] Operation: 31-2=29 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[2, 10], Operations: ['43-41=2', '41-31=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,51 unequal: No Solution No 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: 51:[41, 62], Operations: ['43-41=2', '31*2=62'] Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,51 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,51 unequal: No Solution No 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: 51:[2, 72], Operations: ['43-41=2', '31+41=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,51 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,51 unequal: No Solution No 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: 51:[31, 43], Operations: ['43-41=2', '41+2=43'] Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,51 unequal: No Solution No 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: 51:[41, 29], Operations: ['43-41=2', '31-2=29'] Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,51 unequal: No Solution Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,51 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,51 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: 51:[41, 41, 12], Operations: ['43-31=12'] Exploring Operation: 41+12=53, Resulting Numbers: [41, 53] Generated Node #0,1,0: 51:[41, 53] Operation: 41+12=53 Exploring Operation: 41/41=1, Resulting Numbers: [12, 1] Generated Node #0,1,1: 51:[12, 1] Operation: 41/41=1 Exploring Operation: 41+12=53, Resulting Numbers: [41, 53] Generated Node #0,1,2: 51:[41, 53] Operation: 41+12=53 Exploring Operation: 41-12=29, Resulting Numbers: [41, 29] Generated Node #0,1,3: 51:[41, 29] Operation: 41-12=29 Exploring Operation: 41-41=0, Resulting Numbers: [12, 0] Generated Node #0,1,4: 51:[12, 0] Operation: 41-41=0 Moving to Node #0,1,1 Current State: 51:[12, 1], Operations: ['43-31=12', '41/41=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[12, 0], Operations: ['43-31=12', '41-41=0'] Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[41, 53], Operations: ['43-31=12', '41+12=53'] Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,51 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[41, 53], Operations: ['43-31=12', '41+12=53'] Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,51 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[41, 29], Operations: ['43-31=12', '41-12=29'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,51 unequal: No Solution Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,51 unequal: No Solution No 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: 51:[43, 31, 0], Operations: ['41-41=0'] Exploring Operation: 43-31=12, Resulting Numbers: [0, 12] Generated Node #0,2,0: 51:[0, 12] Operation: 43-31=12 Exploring Operation: 43*0=0, Resulting Numbers: [31, 0] Generated Node #0,2,1: 51:[31, 0] Operation: 43*0=0 Exploring Operation: 43+0=43, Resulting Numbers: [31, 43] Generated Node #0,2,2: 51:[31, 43] Operation: 43+0=43 Exploring Operation: 43-0=43, Resulting Numbers: [31, 43] Generated Node #0,2,3: 51:[31, 43] Operation: 43-0=43 Exploring Operation: 31*0=0, Resulting Numbers: [43, 0] Generated Node #0,2,4: 51:[43, 0] Operation: 31*0=0 Moving to Node #0,2,0 Current State: 51:[0, 12], Operations: ['41-41=0', '43-31=12'] Exploring Operation: 0*12=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 0+12=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[43, 0], Operations: ['41-41=0', '31*0=0'] Exploring Operation: 43-0=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 43*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[31, 0], Operations: ['41-41=0', '43*0=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[31, 43], Operations: ['41-41=0', '43+0=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,51 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[31, 43], Operations: ['41-41=0', '43-0=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,51 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,51 unequal: No Solution No 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: 51:[43, 41, 10], Operations: ['41-31=10'] Exploring Operation: 43-41=2, Resulting Numbers: [10, 2] Generated Node #0,3,0: 51:[10, 2] Operation: 43-41=2 Exploring Operation: 41-10=31, Resulting Numbers: [43, 31] Generated Node #0,3,1: 51:[43, 31] Operation: 41-10=31 Exploring Operation: 41+10=51, Resulting Numbers: [43, 51] Generated Node #0,3,2: 51:[43, 51] Operation: 41+10=51 Exploring Operation: 43+10=53, Resulting Numbers: [41, 53] Generated Node #0,3,3: 51:[41, 53] Operation: 43+10=53 Exploring Operation: 43-10=33, Resulting Numbers: [41, 33] Generated Node #0,3,4: 51:[41, 33] Operation: 43-10=33 Moving to Node #0,3,0 Current State: 51:[10, 2], Operations: ['41-31=10', '43-41=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[43, 51], Operations: ['41-31=10', '41+10=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 43*51=2193, Resulting Numbers: [2193] 2193,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[41, 53], Operations: ['41-31=10', '43+10=53'] Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,51 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[43, 31], Operations: ['41-31=10', '41-10=31'] Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,51 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[41, 33], Operations: ['41-31=10', '43-10=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,51 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 82, 43, 38, 85 ]
71
[ "85-82=3", "38*3=114", "114-43=71" ]
Current State: 71:[82, 43, 38, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [43, 38, 3] Generated Node #2: [43, 38, 3] from Operation: 85-82=3 Current State: 71:[43, 38, 3], Operations: ['85-82=3'] Exploring Operation: 38*3=114, Resulting Numbers: [43, 114] Generated Node #3: [43, 114] from Operation: 38*3=114 Current State: 71:[43, 114], Operations: ['85-82=3', '38*3=114'] Exploring Operation: 114-43=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[82, 43, 38, 85], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [38, 85, 39] Generated Node #0,0: 71:[38, 85, 39] Operation: 82-43=39 Exploring Operation: 43+38=81, Resulting Numbers: [82, 85, 81] Generated Node #0,1: 71:[82, 85, 81] Operation: 43+38=81 Exploring Operation: 82-38=44, Resulting Numbers: [43, 85, 44] Generated Node #0,2: 71:[43, 85, 44] Operation: 82-38=44 Exploring Operation: 85-43=42, Resulting Numbers: [82, 38, 42] Generated Node #0,3: 71:[82, 38, 42] Operation: 85-43=42 Exploring Operation: 85-38=47, Resulting Numbers: [82, 43, 47] Generated Node #0,4: 71:[82, 43, 47] Operation: 85-38=47 Moving to Node #0,1 Current State: 71:[82, 85, 81], Operations: ['43+38=81'] Exploring Operation: 82+85=167, Resulting Numbers: [81, 167] Generated Node #0,1,0: 71:[81, 167] Operation: 82+85=167 Exploring Operation: 82-81=1, Resulting Numbers: [85, 1] Generated Node #0,1,1: 71:[85, 1] Operation: 82-81=1 Exploring Operation: 82+81=163, Resulting Numbers: [85, 163] Generated Node #0,1,2: 71:[85, 163] Operation: 82+81=163 Exploring Operation: 85-82=3, Resulting Numbers: [81, 3] Generated Node #0,1,3: 71:[81, 3] Operation: 85-82=3 Exploring Operation: 85-81=4, Resulting Numbers: [82, 4] Generated Node #0,1,4: 71:[82, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[81, 3], Operations: ['43+38=81', '85-82=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 81*3=243, Resulting Numbers: [243] 243,71 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,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:[82, 4], Operations: ['43+38=81', '85-81=4'] Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[85, 1], Operations: ['43+38=81', '82-81=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,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:[81, 167], Operations: ['43+38=81', '82+85=167'] Exploring Operation: 81*167=13527, Resulting Numbers: [13527] 13527,71 unequal: No Solution Exploring Operation: 167-81=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 81+167=248, Resulting Numbers: [248] 248,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:[85, 163], Operations: ['43+38=81', '82+81=163'] Exploring Operation: 85*163=13855, Resulting Numbers: [13855] 13855,71 unequal: No Solution Exploring Operation: 85+163=248, Resulting Numbers: [248] 248,71 unequal: No Solution Exploring Operation: 163-85=78, Resulting Numbers: [78] 78,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 71:[82, 43, 47], Operations: ['85-38=47'] Exploring Operation: 47-43=4, Resulting Numbers: [82, 4] Generated Node #0,4,0: 71:[82, 4] Operation: 47-43=4 Exploring Operation: 82-43=39, Resulting Numbers: [47, 39] Generated Node #0,4,1: 71:[47, 39] Operation: 82-43=39 Exploring Operation: 82-47=35, Resulting Numbers: [43, 35] Generated Node #0,4,2: 71:[43, 35] Operation: 82-47=35 Exploring Operation: 82+43=125, Resulting Numbers: [47, 125] Generated Node #0,4,3: 71:[47, 125] Operation: 82+43=125 Exploring Operation: 43+47=90, Resulting Numbers: [82, 90] Generated Node #0,4,4: 71:[82, 90] Operation: 43+47=90 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 71:[82, 90], Operations: ['85-38=47', '43+47=90'] Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,71 unequal: No Solution Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,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:[47, 39], Operations: ['85-38=47', '82-43=39'] Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,71 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,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:[43, 35], Operations: ['85-38=47', '82-47=35'] Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,71 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,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:[82, 4], Operations: ['85-38=47', '47-43=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,71 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 71:[47, 125], Operations: ['85-38=47', '82+43=125'] Exploring Operation: 47+125=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 125-47=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 47*125=5875, Resulting Numbers: [5875] 5875,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:[43, 85, 44], Operations: ['82-38=44'] Exploring Operation: 44-43=1, Resulting Numbers: [85, 1] Generated Node #0,2,0: 71:[85, 1] Operation: 44-43=1 Exploring Operation: 85-44=41, Resulting Numbers: [43, 41] Generated Node #0,2,1: 71:[43, 41] Operation: 85-44=41 Exploring Operation: 43+44=87, Resulting Numbers: [85, 87] Generated Node #0,2,2: 71:[85, 87] Operation: 43+44=87 Exploring Operation: 43+85=128, Resulting Numbers: [44, 128] Generated Node #0,2,3: 71:[44, 128] Operation: 43+85=128 Exploring Operation: 85-43=42, Resulting Numbers: [44, 42] Generated Node #0,2,4: 71:[44, 42] Operation: 85-43=42 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[85, 87], Operations: ['82-38=44', '43+44=87'] Exploring Operation: 87-85=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 85+87=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 85*87=7395, Resulting Numbers: [7395] 7395,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,2,4 Current State: 71:[44, 42], Operations: ['82-38=44', '85-43=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,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,2,1 Current State: 71:[43, 41], Operations: ['82-38=44', '85-44=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,71 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,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,2,0 Current State: 71:[85, 1], Operations: ['82-38=44', '44-43=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,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,2,3 Current State: 71:[44, 128], Operations: ['82-38=44', '43+85=128'] Exploring Operation: 44+128=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 44*128=5632, Resulting Numbers: [5632] 5632,71 unequal: No Solution Exploring Operation: 128-44=84, Resulting Numbers: [84] 84,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 71:[82, 38, 42], Operations: ['85-43=42'] Exploring Operation: 42-38=4, Resulting Numbers: [82, 4] Generated Node #0,3,0: 71:[82, 4] Operation: 42-38=4 Exploring Operation: 82-42=40, Resulting Numbers: [38, 40] Generated Node #0,3,1: 71:[38, 40] Operation: 82-42=40 Exploring Operation: 82+38=120, Resulting Numbers: [42, 120] Generated Node #0,3,2: 71:[42, 120] Operation: 82+38=120 Exploring Operation: 82-38=44, Resulting Numbers: [42, 44] Generated Node #0,3,3: 71:[42, 44] Operation: 82-38=44 Exploring Operation: 38+42=80, Resulting Numbers: [82, 80] Generated Node #0,3,4: 71:[82, 80] Operation: 38+42=80 Moving to Node #0,0 Current State: 71:[38, 85, 39], Operations: ['82-43=39'] Exploring Operation: 38+39=77, Resulting Numbers: [85, 77] Generated Node #0,0,0: 71:[85, 77] Operation: 38+39=77 Exploring Operation: 38+85=123, Resulting Numbers: [39, 123] Generated Node #0,0,1: 71:[39, 123] Operation: 38+85=123 Exploring Operation: 85-38=47, Resulting Numbers: [39, 47] Generated Node #0,0,2: 71:[39, 47] Operation: 85-38=47 Exploring Operation: 39-38=1, Resulting Numbers: [85, 1] Generated Node #0,0,3: 71:[85, 1] Operation: 39-38=1 Exploring Operation: 85-39=46, Resulting Numbers: [38, 46] Generated Node #0,0,4: 71:[38, 46] Operation: 85-39=46 Moving to Node #0,3,4 Current State: 71:[82, 80], Operations: ['85-43=42', '38+42=80'] Exploring Operation: 82*80=6560, Resulting Numbers: [6560] 6560,71 unequal: No Solution Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 82+80=162, Resulting Numbers: [162] 162,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[85, 77], Operations: ['82-43=39', '38+39=77'] Exploring Operation: 85*77=6545, Resulting Numbers: [6545] 6545,71 unequal: No Solution Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 85+77=162, Resulting Numbers: [162] 162,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[39, 47], Operations: ['82-43=39', '85-38=47'] Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[42, 44], Operations: ['85-43=42', '82-38=44'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[38, 46], Operations: ['82-43=39', '85-39=46'] Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,71 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[38, 40], Operations: ['85-43=42', '82-42=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[42, 120], Operations: ['85-43=42', '82+38=120'] Exploring Operation: 120-42=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 42+120=162, Resulting Numbers: [162] 162,71 unequal: No Solution Exploring Operation: 42*120=5040, Resulting Numbers: [5040] 5040,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[82, 4], Operations: ['85-43=42', '42-38=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,71 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[85, 1], Operations: ['82-43=39', '39-38=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[39, 123], Operations: ['82-43=39', '38+85=123'] Exploring Operation: 123-39=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 39*123=4797, Resulting Numbers: [4797] 4797,71 unequal: No Solution Exploring Operation: 39+123=162, Resulting Numbers: [162] 162,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 25, 15, 63, 50 ]
46
[ "50/25=2", "63-15=48", "48-2=46" ]
Current State: 46:[25, 15, 63, 50], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [15, 63, 2] Generated Node #2: [15, 63, 2] from Operation: 50/25=2 Current State: 46:[15, 63, 2], Operations: ['50/25=2'] Exploring Operation: 63-15=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 63-15=48 Current State: 46:[2, 48], Operations: ['50/25=2', '63-15=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[25, 15, 63, 50], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [25, 50, 48] Generated Node #0,0: 46:[25, 50, 48] Operation: 63-15=48 Exploring Operation: 63-25=38, Resulting Numbers: [15, 50, 38] Generated Node #0,1: 46:[15, 50, 38] Operation: 63-25=38 Moving to Node #0,0 Current State: 46:[25, 50, 48], Operations: ['63-15=48'] Exploring Operation: 50-48=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 46:[25, 2] Operation: 50-48=2 Exploring Operation: 50/25=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 46:[48, 2] Operation: 50/25=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[25, 2], Operations: ['63-15=48', '50-48=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,46 unequal: No Solution No 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: 46:[48, 2], Operations: ['63-15=48', '50/25=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[25, 15, 63, 50], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [25, 50, 48] Generated Node #0,0: 46:[25, 50, 48] Operation: 63-15=48 Moving to Node #0,0 Current State: 46:[25, 50, 48], Operations: ['63-15=48'] Exploring Operation: 50/25=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 46:[48, 2] Operation: 50/25=2 Moving to Node #0,0,1 Current State: 46:[48, 2], Operations: ['63-15=48', '50/25=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 49, 65, 45, 57 ]
86
[ "65-49=16", "45+57=102", "102-16=86" ]
Current State: 86:[49, 65, 45, 57], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [45, 57, 16] Generated Node #2: [45, 57, 16] from Operation: 65-49=16 Current State: 86:[45, 57, 16], Operations: ['65-49=16'] Exploring Operation: 45+57=102, Resulting Numbers: [16, 102] Generated Node #3: [16, 102] from Operation: 45+57=102 Current State: 86:[16, 102], Operations: ['65-49=16', '45+57=102'] Exploring Operation: 102-16=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[49, 65, 45, 57], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [49, 45, 8] Generated Node #0,0: 86:[49, 45, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[49, 45, 8], Operations: ['65-57=8'] Exploring Operation: 49-8=41, Resulting Numbers: [45, 41] Generated Node #0,0,0: 86:[45, 41] Operation: 49-8=41 Moving to Node #0,0,0 Current State: 86:[45, 41], Operations: ['65-57=8', '49-8=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[49, 65, 45, 57], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [49, 45, 8] Generated Node #0,0: 86:[49, 45, 8] Operation: 65-57=8 Moving to Node #0,0 Current State: 86:[49, 45, 8], Operations: ['65-57=8'] Exploring Operation: 49-8=41, Resulting Numbers: [45, 41] Generated Node #0,0,0: 86:[45, 41] Operation: 49-8=41 Moving to Node #0,0,0 Current State: 86:[45, 41], Operations: ['65-57=8', '49-8=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 4, 9, 1, 69 ]
63
[ "9-4=5", "69-1=68", "68-5=63" ]
Current State: 63:[4, 9, 1, 69], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [1, 69, 5] Generated Node #2: [1, 69, 5] from Operation: 9-4=5 Current State: 63:[1, 69, 5], Operations: ['9-4=5'] Exploring Operation: 69-1=68, Resulting Numbers: [5, 68] Generated Node #3: [5, 68] from Operation: 69-1=68 Current State: 63:[5, 68], Operations: ['9-4=5', '69-1=68'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[4, 9, 1, 69], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [9, 1, 65] Generated Node #0,0: 63:[9, 1, 65] Operation: 69-4=65 Moving to Node #0,0 Current State: 63:[9, 1, 65], Operations: ['69-4=65'] Exploring Operation: 65-1=64, Resulting Numbers: [9, 64] Generated Node #0,0,0: 63:[9, 64] Operation: 65-1=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[9, 64], Operations: ['69-4=65', '65-1=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 41, 2, 85, 7 ]
35
[ "41+2=43", "85-7=78", "78-43=35" ]
Current State: 35:[41, 2, 85, 7], Operations: [] Exploring Operation: 41+2=43, Resulting Numbers: [85, 7, 43] Generated Node #2: [85, 7, 43] from Operation: 41+2=43 Current State: 35:[85, 7, 43], Operations: ['41+2=43'] Exploring Operation: 85-7=78, Resulting Numbers: [43, 78] Generated Node #3: [43, 78] from Operation: 85-7=78 Current State: 35:[43, 78], Operations: ['41+2=43', '85-7=78'] Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[41, 2, 85, 7], Operations: [] Exploring Operation: 85-7=78, Resulting Numbers: [41, 2, 78] Generated Node #0,0: 35:[41, 2, 78] Operation: 85-7=78 Exploring Operation: 85-41=44, Resulting Numbers: [2, 7, 44] Generated Node #0,1: 35:[2, 7, 44] Operation: 85-41=44 Exploring Operation: 41-7=34, Resulting Numbers: [2, 85, 34] Generated Node #0,2: 35:[2, 85, 34] Operation: 41-7=34 Exploring Operation: 41-2=39, Resulting Numbers: [85, 7, 39] Generated Node #0,3: 35:[85, 7, 39] Operation: 41-2=39 Moving to Node #0,1 Current State: 35:[2, 7, 44], Operations: ['85-41=44'] Exploring Operation: 44-7=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 35:[2, 37] Operation: 44-7=37 Exploring Operation: 2+7=9, Resulting Numbers: [44, 9] Generated Node #0,1,1: 35:[44, 9] Operation: 2+7=9 Exploring Operation: 44-2=42, Resulting Numbers: [7, 42] Generated Node #0,1,2: 35:[7, 42] Operation: 44-2=42 Exploring Operation: 7-2=5, Resulting Numbers: [44, 5] Generated Node #0,1,3: 35:[44, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[2, 37], Operations: ['85-41=44', '44-7=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[41, 2, 85, 7], Operations: [] Exploring Operation: 85-41=44, Resulting Numbers: [2, 7, 44] Generated Node #0,1: 35:[2, 7, 44] Operation: 85-41=44 Moving to Node #0,1 Current State: 35:[2, 7, 44], Operations: ['85-41=44'] Exploring Operation: 44-7=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 35:[2, 37] Operation: 44-7=37 Moving to Node #0,1,0 Current State: 35:[2, 37], Operations: ['85-41=44', '44-7=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 44, 85, 79, 43 ]
93
[ "44+85=129", "79-43=36", "129-36=93" ]
Current State: 93:[44, 85, 79, 43], Operations: [] Exploring Operation: 44+85=129, Resulting Numbers: [79, 43, 129] Generated Node #2: [79, 43, 129] from Operation: 44+85=129 Current State: 93:[79, 43, 129], Operations: ['44+85=129'] Exploring Operation: 79-43=36, Resulting Numbers: [129, 36] Generated Node #3: [129, 36] from Operation: 79-43=36 Current State: 93:[129, 36], Operations: ['44+85=129', '79-43=36'] Exploring Operation: 129-36=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[44, 85, 79, 43], Operations: [] Exploring Operation: 79-43=36, Resulting Numbers: [44, 85, 36] Generated Node #0,0: 93:[44, 85, 36] Operation: 79-43=36 Exploring Operation: 79-44=35, Resulting Numbers: [85, 43, 35] Generated Node #0,1: 93:[85, 43, 35] Operation: 79-44=35 Exploring Operation: 44-43=1, Resulting Numbers: [85, 79, 1] Generated Node #0,2: 93:[85, 79, 1] Operation: 44-43=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[85, 43, 35], Operations: ['79-44=35'] Exploring Operation: 43+35=78, Resulting Numbers: [85, 78] Generated Node #0,1,0: 93:[85, 78] Operation: 43+35=78 Exploring Operation: 85-43=42, Resulting Numbers: [35, 42] Generated Node #0,1,1: 93:[35, 42] Operation: 85-43=42 Exploring Operation: 43-35=8, Resulting Numbers: [85, 8] Generated Node #0,1,2: 93:[85, 8] Operation: 43-35=8 Moving to Node #0,1,2 Current State: 93:[85, 8], Operations: ['79-44=35', '43-35=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[44, 85, 79, 43], Operations: [] Exploring Operation: 79-44=35, Resulting Numbers: [85, 43, 35] Generated Node #0,1: 93:[85, 43, 35] Operation: 79-44=35 Moving to Node #0,1 Current State: 93:[85, 43, 35], Operations: ['79-44=35'] Exploring Operation: 43-35=8, Resulting Numbers: [85, 8] Generated Node #0,1,2: 93:[85, 8] Operation: 43-35=8 Moving to Node #0,1,2 Current State: 93:[85, 8], Operations: ['79-44=35', '43-35=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 50, 19, 14, 22 ]
77
[ "50+19=69", "22-14=8", "69+8=77" ]
Current State: 77:[50, 19, 14, 22], Operations: [] Exploring Operation: 50+19=69, Resulting Numbers: [14, 22, 69] Generated Node #2: [14, 22, 69] from Operation: 50+19=69 Current State: 77:[14, 22, 69], Operations: ['50+19=69'] Exploring Operation: 22-14=8, Resulting Numbers: [69, 8] Generated Node #3: [69, 8] from Operation: 22-14=8 Current State: 77:[69, 8], Operations: ['50+19=69', '22-14=8'] Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[50, 19, 14, 22], Operations: [] Exploring Operation: 50+22=72, Resulting Numbers: [19, 14, 72] Generated Node #0,0: 77:[19, 14, 72] Operation: 50+22=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[19, 14, 72], Operations: ['50+22=72'] Exploring Operation: 19-14=5, Resulting Numbers: [72, 5] Generated Node #0,0,0: 77:[72, 5] Operation: 19-14=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[72, 5], Operations: ['50+22=72', '19-14=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[50, 19, 14, 22], Operations: [] Exploring Operation: 50+22=72, Resulting Numbers: [19, 14, 72] Generated Node #0,0: 77:[19, 14, 72] Operation: 50+22=72 Moving to Node #0,0 Current State: 77:[19, 14, 72], Operations: ['50+22=72'] Exploring Operation: 19-14=5, Resulting Numbers: [72, 5] Generated Node #0,0,0: 77:[72, 5] Operation: 19-14=5 Moving to Node #0,0,0 Current State: 77:[72, 5], Operations: ['50+22=72', '19-14=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 8, 48, 4, 65 ]
95
[ "48-8=40", "4*40=160", "160-65=95" ]
Current State: 95:[8, 48, 4, 65], Operations: [] Exploring Operation: 48-8=40, Resulting Numbers: [4, 65, 40] Generated Node #2: [4, 65, 40] from Operation: 48-8=40 Current State: 95:[4, 65, 40], Operations: ['48-8=40'] Exploring Operation: 4*40=160, Resulting Numbers: [65, 160] Generated Node #3: [65, 160] from Operation: 4*40=160 Current State: 95:[65, 160], Operations: ['48-8=40', '4*40=160'] Exploring Operation: 160-65=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[8, 48, 4, 65], Operations: [] Exploring Operation: 65-48=17, Resulting Numbers: [8, 4, 17] Generated Node #0,0: 95:[8, 4, 17] Operation: 65-48=17 Exploring Operation: 48+65=113, Resulting Numbers: [8, 4, 113] Generated Node #0,1: 95:[8, 4, 113] Operation: 48+65=113 Moving to Node #0,0 Current State: 95:[8, 4, 17], Operations: ['65-48=17'] Exploring Operation: 8/4=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 95:[17, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 95:[17, 4] Operation: 8-4=4 Moving to Node #0,1 Current State: 95:[8, 4, 113], Operations: ['48+65=113'] Exploring Operation: 113-8=105, Resulting Numbers: [4, 105] Generated Node #0,1,0: 95:[4, 105] Operation: 113-8=105 Exploring Operation: 113-4=109, Resulting Numbers: [8, 109] Generated Node #0,1,1: 95:[8, 109] Operation: 113-4=109 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[4, 105], Operations: ['48+65=113', '113-8=105'] Exploring Operation: 105-4=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 4+105=109, Resulting Numbers: [109] 109,95 unequal: No Solution No solution 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: 95:[8, 109], Operations: ['48+65=113', '113-4=109'] Exploring Operation: 109-8=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 8+109=117, Resulting Numbers: [117] 117,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 95:[17, 4], Operations: ['65-48=17', '8-4=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[17, 2], Operations: ['65-48=17', '8/4=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 98, 96, 95, 43 ]
75
[ "98-95=3", "96/3=32", "43+32=75" ]
Current State: 75:[98, 96, 95, 43], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [96, 43, 3] Generated Node #2: [96, 43, 3] from Operation: 98-95=3 Current State: 75:[96, 43, 3], Operations: ['98-95=3'] Exploring Operation: 96/3=32, Resulting Numbers: [43, 32] Generated Node #3: [43, 32] from Operation: 96/3=32 Current State: 75:[43, 32], Operations: ['98-95=3', '96/3=32'] Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[98, 96, 95, 43], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [95, 43, 2] Generated Node #0,0: 75:[95, 43, 2] Operation: 98-96=2 Exploring Operation: 98-95=3, Resulting Numbers: [96, 43, 3] Generated Node #0,1: 75:[96, 43, 3] Operation: 98-95=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[95, 43, 2], Operations: ['98-96=2'] Exploring Operation: 43*2=86, Resulting Numbers: [95, 86] Generated Node #0,0,0: 75:[95, 86] Operation: 43*2=86 Exploring Operation: 95-43=52, Resulting Numbers: [2, 52] Generated Node #0,0,1: 75:[2, 52] Operation: 95-43=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[2, 52], Operations: ['98-96=2', '95-43=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,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,0 Current State: 75:[95, 86], Operations: ['98-96=2', '43*2=86'] Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 95+86=181, Resulting Numbers: [181] 181,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,1 Current State: 75:[96, 43, 3], Operations: ['98-95=3'] Exploring Operation: 96-43=53, Resulting Numbers: [3, 53] Generated Node #0,1,0: 75:[3, 53] Operation: 96-43=53 Exploring Operation: 96/3=32, Resulting Numbers: [43, 32] Generated Node #0,1,1: 75:[43, 32] Operation: 96/3=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[3, 53], Operations: ['98-95=3', '96-43=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,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:[43, 32], Operations: ['98-95=3', '96/3=32'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[98, 96, 95, 43], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [96, 43, 3] Generated Node #0,1: 75:[96, 43, 3] Operation: 98-95=3 Moving to Node #0,1 Current State: 75:[96, 43, 3], Operations: ['98-95=3'] Exploring Operation: 96/3=32, Resulting Numbers: [43, 32] Generated Node #0,1,1: 75:[43, 32] Operation: 96/3=32 Moving to Node #0,1,1 Current State: 75:[43, 32], Operations: ['98-95=3', '96/3=32'] Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 50, 46, 69, 45 ]
18
[ "50+46=96", "69+45=114", "114-96=18" ]
Current State: 18:[50, 46, 69, 45], Operations: [] Exploring Operation: 50+46=96, Resulting Numbers: [69, 45, 96] Generated Node #2: [69, 45, 96] from Operation: 50+46=96 Current State: 18:[69, 45, 96], Operations: ['50+46=96'] Exploring Operation: 69+45=114, Resulting Numbers: [96, 114] Generated Node #3: [96, 114] from Operation: 69+45=114 Current State: 18:[96, 114], Operations: ['50+46=96', '69+45=114'] Exploring Operation: 114-96=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[50, 46, 69, 45], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [69, 45, 4] Generated Node #0,0: 18:[69, 45, 4] Operation: 50-46=4 Exploring Operation: 69-50=19, Resulting Numbers: [46, 45, 19] Generated Node #0,1: 18:[46, 45, 19] Operation: 69-50=19 Exploring Operation: 69-45=24, Resulting Numbers: [50, 46, 24] Generated Node #0,2: 18:[50, 46, 24] Operation: 69-45=24 Exploring Operation: 50-45=5, Resulting Numbers: [46, 69, 5] Generated Node #0,3: 18:[46, 69, 5] Operation: 50-45=5 Exploring Operation: 69-46=23, Resulting Numbers: [50, 45, 23] Generated Node #0,4: 18:[50, 45, 23] Operation: 69-46=23 Moving to Node #0,1 Current State: 18:[46, 45, 19], Operations: ['69-50=19'] Exploring Operation: 46+19=65, Resulting Numbers: [45, 65] Generated Node #0,1,0: 18:[45, 65] Operation: 46+19=65 Exploring Operation: 46-19=27, Resulting Numbers: [45, 27] Generated Node #0,1,1: 18:[45, 27] Operation: 46-19=27 Exploring Operation: 46+45=91, Resulting Numbers: [19, 91] Generated Node #0,1,2: 18:[19, 91] Operation: 46+45=91 Exploring Operation: 45-19=26, Resulting Numbers: [46, 26] Generated Node #0,1,3: 18:[46, 26] Operation: 45-19=26 Exploring Operation: 46-45=1, Resulting Numbers: [19, 1] Generated Node #0,1,4: 18:[19, 1] Operation: 46-45=1 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 18:[19, 1], Operations: ['69-50=19', '46-45=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[50, 46, 69, 45], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [46, 45, 19] Generated Node #0,1: 18:[46, 45, 19] Operation: 69-50=19 Moving to Node #0,1 Current State: 18:[46, 45, 19], Operations: ['69-50=19'] Exploring Operation: 46-45=1, Resulting Numbers: [19, 1] Generated Node #0,1,4: 18:[19, 1] Operation: 46-45=1 Moving to Node #0,1,4 Current State: 18:[19, 1], Operations: ['69-50=19', '46-45=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 12, 2, 96, 10 ]
22
[ "12*10=120", "2+96=98", "120-98=22" ]
Current State: 22:[12, 2, 96, 10], Operations: [] Exploring Operation: 12*10=120, Resulting Numbers: [2, 96, 120] Generated Node #2: [2, 96, 120] from Operation: 12*10=120 Current State: 22:[2, 96, 120], Operations: ['12*10=120'] Exploring Operation: 2+96=98, Resulting Numbers: [120, 98] Generated Node #3: [120, 98] from Operation: 2+96=98 Current State: 22:[120, 98], Operations: ['12*10=120', '2+96=98'] Exploring Operation: 120-98=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[12, 2, 96, 10], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [12, 10, 48] Generated Node #0,0: 22:[12, 10, 48] Operation: 96/2=48 Exploring Operation: 96/12=8, Resulting Numbers: [2, 10, 8] Generated Node #0,1: 22:[2, 10, 8] Operation: 96/12=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[2, 10, 8], Operations: ['96/12=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10, 10] Generated Node #0,1,0: 22:[10, 10] Operation: 2+8=10 Exploring Operation: 10-8=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 22:[2, 2] Operation: 10-8=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[2, 2], Operations: ['96/12=8', '10-8=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,22 unequal: No Solution No 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: 22:[10, 10], Operations: ['96/12=8', '2+8=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,22 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: 22:[12, 10, 48], Operations: ['96/2=48'] Exploring Operation: 48/12=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 22:[10, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [10, 36] Generated Node #0,0,1: 22:[10, 36] Operation: 48-12=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[10, 4], Operations: ['96/2=48', '48/12=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,22 unequal: No Solution No 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: 22:[10, 36], Operations: ['96/2=48', '48-12=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 69, 69, 18, 69 ]
87
[ "69+69=138", "69-18=51", "138-51=87" ]
Current State: 87:[69, 69, 18, 69], Operations: [] Exploring Operation: 69+69=138, Resulting Numbers: [18, 138] Generated Node #2: [18, 138] from Operation: 69+69=138 Current State: 87:[18, 138], Operations: ['69+69=138'] Exploring Operation: 69-18=51, Resulting Numbers: [138, 51] Generated Node #3: [138, 51] from Operation: 69-18=51 Current State: 87:[138, 51], Operations: ['69+69=138', '69-18=51'] Exploring Operation: 138-51=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[69, 69, 18, 69], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [69, 18, 1] Generated Node #0,0: 87:[69, 18, 1] Operation: 69/69=1 Exploring Operation: 69/69=1, Resulting Numbers: [69, 18, 1] Generated Node #0,1: 87:[69, 18, 1] Operation: 69/69=1 Exploring Operation: 69-69=0, Resulting Numbers: [18, 69, 0] Generated Node #0,2: 87:[18, 69, 0] Operation: 69-69=0 Exploring Operation: 69/69=1, Resulting Numbers: [18, 69, 1] Generated Node #0,3: 87:[18, 69, 1] Operation: 69/69=1 Moving to Node #0,0 Current State: 87:[69, 18, 1], Operations: ['69/69=1'] Exploring Operation: 18+1=19, Resulting Numbers: [69, 19] Generated Node #0,0,0: 87:[69, 19] Operation: 18+1=19 Exploring Operation: 69+1=70, Resulting Numbers: [18, 70] Generated Node #0,0,1: 87:[18, 70] Operation: 69+1=70 Exploring Operation: 69-18=51, Resulting Numbers: [1, 51] Generated Node #0,0,2: 87:[1, 51] Operation: 69-18=51 Exploring Operation: 69+18=87, Resulting Numbers: [1, 87] Generated Node #0,0,3: 87:[1, 87] Operation: 69+18=87 Moving to Node #0,3 Current State: 87:[18, 69, 1], Operations: ['69/69=1'] Exploring Operation: 18+1=19, Resulting Numbers: [69, 19] Generated Node #0,3,0: 87:[69, 19] Operation: 18+1=19 Exploring Operation: 69-18=51, Resulting Numbers: [1, 51] Generated Node #0,3,1: 87:[1, 51] Operation: 69-18=51 Exploring Operation: 69+1=70, Resulting Numbers: [18, 70] Generated Node #0,3,2: 87:[18, 70] Operation: 69+1=70 Exploring Operation: 18+69=87, Resulting Numbers: [1, 87] Generated Node #0,3,3: 87:[1, 87] Operation: 18+69=87 Moving to Node #0,1 Current State: 87:[69, 18, 1], Operations: ['69/69=1'] Exploring Operation: 69+18=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 87:[1, 87] Operation: 69+18=87 Exploring Operation: 18+1=19, Resulting Numbers: [69, 19] Generated Node #0,1,1: 87:[69, 19] Operation: 18+1=19 Exploring Operation: 69-18=51, Resulting Numbers: [1, 51] Generated Node #0,1,2: 87:[1, 51] Operation: 69-18=51 Exploring Operation: 69+1=70, Resulting Numbers: [18, 70] Generated Node #0,1,3: 87:[18, 70] Operation: 69+1=70 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[1, 87], Operations: ['69/69=1', '69+18=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[69, 69, 18, 69], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [69, 18, 1] Generated Node #0,1: 87:[69, 18, 1] Operation: 69/69=1 Moving to Node #0,1 Current State: 87:[69, 18, 1], Operations: ['69/69=1'] Exploring Operation: 69+18=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 87:[1, 87] Operation: 69+18=87 Moving to Node #0,1,0 Current State: 87:[1, 87], Operations: ['69/69=1', '69+18=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 22, 73, 79, 5 ]
11
[ "22+73=95", "79+5=84", "95-84=11" ]
Current State: 11:[22, 73, 79, 5], Operations: [] Exploring Operation: 22+73=95, Resulting Numbers: [79, 5, 95] Generated Node #2: [79, 5, 95] from Operation: 22+73=95 Current State: 11:[79, 5, 95], Operations: ['22+73=95'] Exploring Operation: 79+5=84, Resulting Numbers: [95, 84] Generated Node #3: [95, 84] from Operation: 79+5=84 Current State: 11:[95, 84], Operations: ['22+73=95', '79+5=84'] Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[22, 73, 79, 5], Operations: [] Exploring Operation: 73-22=51, Resulting Numbers: [79, 5, 51] Generated Node #0,0: 11:[79, 5, 51] Operation: 73-22=51 Exploring Operation: 79-73=6, Resulting Numbers: [22, 5, 6] Generated Node #0,1: 11:[22, 5, 6] Operation: 79-73=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[22, 5, 6], Operations: ['79-73=6'] Exploring Operation: 22-5=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 11:[6, 17] Operation: 22-5=17 Exploring Operation: 22-6=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 11:[5, 16] Operation: 22-6=16 Moving to Node #0,1,0 Current State: 11:[6, 17], Operations: ['79-73=6', '22-5=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[22, 73, 79, 5], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [22, 5, 6] Generated Node #0,1: 11:[22, 5, 6] Operation: 79-73=6 Moving to Node #0,1 Current State: 11:[22, 5, 6], Operations: ['79-73=6'] Exploring Operation: 22-5=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 11:[6, 17] Operation: 22-5=17 Moving to Node #0,1,0 Current State: 11:[6, 17], Operations: ['79-73=6', '22-5=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 52, 31, 26, 30 ]
35
[ "52-31=21", "26+30=56", "56-21=35" ]
Current State: 35:[52, 31, 26, 30], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [26, 30, 21] Generated Node #2: [26, 30, 21] from Operation: 52-31=21 Current State: 35:[26, 30, 21], Operations: ['52-31=21'] Exploring Operation: 26+30=56, Resulting Numbers: [21, 56] Generated Node #3: [21, 56] from Operation: 26+30=56 Current State: 35:[21, 56], Operations: ['52-31=21', '26+30=56'] Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[52, 31, 26, 30], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [31, 30, 2] Generated Node #0,0: 35:[31, 30, 2] Operation: 52/26=2 Exploring Operation: 31-26=5, Resulting Numbers: [52, 30, 5] Generated Node #0,1: 35:[52, 30, 5] Operation: 31-26=5 Exploring Operation: 30-26=4, Resulting Numbers: [52, 31, 4] Generated Node #0,2: 35:[52, 31, 4] Operation: 30-26=4 Exploring Operation: 52-26=26, Resulting Numbers: [31, 30, 26] Generated Node #0,3: 35:[31, 30, 26] Operation: 52-26=26 Exploring Operation: 52-30=22, Resulting Numbers: [31, 26, 22] Generated Node #0,4: 35:[31, 26, 22] Operation: 52-30=22 Moving to Node #0,0 Current State: 35:[31, 30, 2], Operations: ['52/26=2'] Exploring Operation: 31+2=33, Resulting Numbers: [30, 33] Generated Node #0,0,0: 35:[30, 33] Operation: 31+2=33 Exploring Operation: 30-2=28, Resulting Numbers: [31, 28] Generated Node #0,0,1: 35:[31, 28] Operation: 30-2=28 Exploring Operation: 31-30=1, Resulting Numbers: [2, 1] Generated Node #0,0,2: 35:[2, 1] Operation: 31-30=1 Exploring Operation: 31-2=29, Resulting Numbers: [30, 29] Generated Node #0,0,3: 35:[30, 29] Operation: 31-2=29 Exploring Operation: 30+2=32, Resulting Numbers: [31, 32] Generated Node #0,0,4: 35:[31, 32] Operation: 30+2=32 Moving to Node #0,3 Current State: 35:[31, 30, 26], Operations: ['52-26=26'] Exploring Operation: 31-26=5, Resulting Numbers: [30, 5] Generated Node #0,3,0: 35:[30, 5] Operation: 31-26=5 Exploring Operation: 30+26=56, Resulting Numbers: [31, 56] Generated Node #0,3,1: 35:[31, 56] Operation: 30+26=56 Exploring Operation: 31-30=1, Resulting Numbers: [26, 1] Generated Node #0,3,2: 35:[26, 1] Operation: 31-30=1 Exploring Operation: 31+26=57, Resulting Numbers: [30, 57] Generated Node #0,3,3: 35:[30, 57] Operation: 31+26=57 Exploring Operation: 30-26=4, Resulting Numbers: [31, 4] Generated Node #0,3,4: 35:[31, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 35:[30, 5], Operations: ['52-26=26', '31-26=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[52, 31, 26, 30], Operations: [] Exploring Operation: 52-26=26, Resulting Numbers: [31, 30, 26] Generated Node #0,3: 35:[31, 30, 26] Operation: 52-26=26 Moving to Node #0,3 Current State: 35:[31, 30, 26], Operations: ['52-26=26'] Exploring Operation: 31-26=5, Resulting Numbers: [30, 5] Generated Node #0,3,0: 35:[30, 5] Operation: 31-26=5 Moving to Node #0,3,0 Current State: 35:[30, 5], Operations: ['52-26=26', '31-26=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 15, 6, 10, 72 ]
68
[ "6*10=60", "60/15=4", "72-4=68" ]
Current State: 68:[15, 6, 10, 72], Operations: [] Exploring Operation: 6*10=60, Resulting Numbers: [15, 72, 60] Generated Node #2: [15, 72, 60] from Operation: 6*10=60 Current State: 68:[15, 72, 60], Operations: ['6*10=60'] Exploring Operation: 60/15=4, Resulting Numbers: [72, 4] Generated Node #3: [72, 4] from Operation: 60/15=4 Current State: 68:[72, 4], Operations: ['6*10=60', '60/15=4'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[15, 6, 10, 72], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [15, 72, 16] Generated Node #0,0: 68:[15, 72, 16] Operation: 6+10=16 Exploring Operation: 10-6=4, Resulting Numbers: [15, 72, 4] Generated Node #0,1: 68:[15, 72, 4] Operation: 10-6=4 Exploring Operation: 15-10=5, Resulting Numbers: [6, 72, 5] Generated Node #0,2: 68:[6, 72, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[15, 72, 4], Operations: ['10-6=4'] Exploring Operation: 72/4=18, Resulting Numbers: [15, 18] Generated Node #0,1,0: 68:[15, 18] Operation: 72/4=18 Exploring Operation: 15+4=19, Resulting Numbers: [72, 19] Generated Node #0,1,1: 68:[72, 19] Operation: 15+4=19 Exploring Operation: 72-4=68, Resulting Numbers: [15, 68] Generated Node #0,1,2: 68:[15, 68] Operation: 72-4=68 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[15, 68], Operations: ['10-6=4', '72-4=68'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 15+68=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 15*68=1020, Resulting Numbers: [1020] 1020,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[15, 18], Operations: ['10-6=4', '72/4=18'] Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,68 unequal: No Solution Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[72, 19], Operations: ['10-6=4', '15+4=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,68 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,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,0 Current State: 68:[15, 72, 16], Operations: ['6+10=16'] Exploring Operation: 15+16=31, Resulting Numbers: [72, 31] Generated Node #0,0,0: 68:[72, 31] Operation: 15+16=31 Exploring Operation: 16-15=1, Resulting Numbers: [72, 1] Generated Node #0,0,1: 68:[72, 1] Operation: 16-15=1 Exploring Operation: 72-15=57, Resulting Numbers: [16, 57] Generated Node #0,0,2: 68:[16, 57] Operation: 72-15=57 Moving to Node #0,0,1 Current State: 68:[72, 1], Operations: ['6+10=16', '16-15=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[72, 31], Operations: ['6+10=16', '15+16=31'] Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[16, 57], Operations: ['6+10=16', '72-15=57'] Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,68 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[6, 72, 5], Operations: ['15-10=5'] Exploring Operation: 72-5=67, Resulting Numbers: [6, 67] Generated Node #0,2,0: 68:[6, 67] Operation: 72-5=67 Exploring Operation: 6-5=1, Resulting Numbers: [72, 1] Generated Node #0,2,1: 68:[72, 1] Operation: 6-5=1 Exploring Operation: 72-6=66, Resulting Numbers: [5, 66] Generated Node #0,2,2: 68:[5, 66] Operation: 72-6=66 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[6, 67], Operations: ['15-10=5', '72-5=67'] Exploring Operation: 6*67=402, Resulting Numbers: [402] 402,68 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 6+67=73, Resulting Numbers: [73] 73,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:[5, 66], Operations: ['15-10=5', '72-6=66'] Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,68 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,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:[72, 1], Operations: ['15-10=5', '6-5=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 54, 24, 48, 27 ]
30
[ "27-24=3", "54/3=18", "48-18=30" ]
Current State: 30:[54, 24, 48, 27], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [54, 48, 3] Generated Node #2: [54, 48, 3] from Operation: 27-24=3 Current State: 30:[54, 48, 3], Operations: ['27-24=3'] Exploring Operation: 54/3=18, Resulting Numbers: [48, 18] Generated Node #3: [48, 18] from Operation: 54/3=18 Current State: 30:[48, 18], Operations: ['27-24=3', '54/3=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[54, 24, 48, 27], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [24, 27, 6] Generated Node #0,0: 30:[24, 27, 6] Operation: 54-48=6 Exploring Operation: 54/27=2, Resulting Numbers: [24, 48, 2] Generated Node #0,1: 30:[24, 48, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [24, 48, 27] Generated Node #0,2: 30:[24, 48, 27] Operation: 54-27=27 Exploring Operation: 54-24=30, Resulting Numbers: [48, 27, 30] Generated Node #0,3: 30:[48, 27, 30] Operation: 54-24=30 Exploring Operation: 48/24=2, Resulting Numbers: [54, 27, 2] Generated Node #0,4: 30:[54, 27, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[24, 27, 6], Operations: ['54-48=6'] Exploring Operation: 24-6=18, Resulting Numbers: [27, 18] Generated Node #0,0,0: 30:[27, 18] Operation: 24-6=18 Exploring Operation: 27-24=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 30:[6, 3] Operation: 27-24=3 Exploring Operation: 27+6=33, Resulting Numbers: [24, 33] Generated Node #0,0,2: 30:[24, 33] Operation: 27+6=33 Exploring Operation: 24/6=4, Resulting Numbers: [27, 4] Generated Node #0,0,3: 30:[27, 4] Operation: 24/6=4 Exploring Operation: 24+6=30, Resulting Numbers: [27, 30] Generated Node #0,0,4: 30:[27, 30] Operation: 24+6=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[6, 3], Operations: ['54-48=6', '27-24=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,30 unequal: No Solution No 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: 30:[27, 30], Operations: ['54-48=6', '24+6=30'] Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,30 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,30 unequal: No Solution No 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: 30:[27, 4], Operations: ['54-48=6', '24/6=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,30 unequal: No Solution No 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: 30:[27, 18], Operations: ['54-48=6', '24-6=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,30 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,30 unequal: No Solution No 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: 30:[24, 33], Operations: ['54-48=6', '27+6=33'] Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,30 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,30 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: 30:[48, 27, 30], Operations: ['54-24=30'] Exploring Operation: 48+27=75, Resulting Numbers: [30, 75] Generated Node #0,3,0: 30:[30, 75] Operation: 48+27=75 Exploring Operation: 30-27=3, Resulting Numbers: [48, 3] Generated Node #0,3,1: 30:[48, 3] Operation: 30-27=3 Exploring Operation: 48-27=21, Resulting Numbers: [30, 21] Generated Node #0,3,2: 30:[30, 21] Operation: 48-27=21 Exploring Operation: 48-30=18, Resulting Numbers: [27, 18] Generated Node #0,3,3: 30:[27, 18] Operation: 48-30=18 Exploring Operation: 27+30=57, Resulting Numbers: [48, 57] Generated Node #0,3,4: 30:[48, 57] Operation: 27+30=57 Moving to Node #0,3,2 Current State: 30:[30, 21], Operations: ['54-24=30', '48-27=21'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[27, 18], Operations: ['54-24=30', '48-30=18'] Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,30 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[48, 3], Operations: ['54-24=30', '30-27=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[30, 75], Operations: ['54-24=30', '48+27=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,30 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[48, 57], Operations: ['54-24=30', '27+30=57'] Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,30 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,30 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[24, 48, 2], Operations: ['54/27=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24, 24] Generated Node #0,1,0: 30:[24, 24] Operation: 48/2=24 Exploring Operation: 24/2=12, Resulting Numbers: [48, 12] Generated Node #0,1,1: 30:[48, 12] Operation: 24/2=12 Exploring Operation: 24+2=26, Resulting Numbers: [48, 26] Generated Node #0,1,2: 30:[48, 26] Operation: 24+2=26 Exploring Operation: 48-24=24, Resulting Numbers: [2, 24] Generated Node #0,1,3: 30:[2, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [2, 2] Generated Node #0,1,4: 30:[2, 2] Operation: 48/24=2 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 30:[2, 2], Operations: ['54/27=2', '48/24=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,30 unequal: No Solution No 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: 30:[2, 24], Operations: ['54/27=2', '48-24=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,30 unequal: No Solution No 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: 30:[24, 24], Operations: ['54/27=2', '48/2=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,30 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,30 unequal: No Solution No 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: 30:[48, 12], Operations: ['54/27=2', '24/2=12'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,30 unequal: No Solution No 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: 30:[48, 26], Operations: ['54/27=2', '24+2=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,30 unequal: No Solution Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,30 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: 30:[24, 48, 27], Operations: ['54-27=27'] Exploring Operation: 48-24=24, Resulting Numbers: [27, 24] Generated Node #0,2,0: 30:[27, 24] Operation: 48-24=24 Exploring Operation: 27-24=3, Resulting Numbers: [48, 3] Generated Node #0,2,1: 30:[48, 3] Operation: 27-24=3 Exploring Operation: 48/24=2, Resulting Numbers: [27, 2] Generated Node #0,2,2: 30:[27, 2] Operation: 48/24=2 Exploring Operation: 24+27=51, Resulting Numbers: [48, 51] Generated Node #0,2,3: 30:[48, 51] Operation: 24+27=51 Exploring Operation: 48-27=21, Resulting Numbers: [24, 21] Generated Node #0,2,4: 30:[24, 21] Operation: 48-27=21 Moving to Node #0,2,2 Current State: 30:[27, 2], Operations: ['54-27=27', '48/24=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[27, 24], Operations: ['54-27=27', '48-24=24'] Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,30 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,2,4 Current State: 30:[24, 21], Operations: ['54-27=27', '48-27=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,30 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[48, 3], Operations: ['54-27=27', '27-24=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,30 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[48, 51], Operations: ['54-27=27', '24+27=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,30 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[54, 27, 2], Operations: ['48/24=2'] Exploring Operation: 54/27=2, Resulting Numbers: [2, 2] Generated Node #0,4,0: 30:[2, 2] Operation: 54/27=2 Exploring Operation: 54-2=52, Resulting Numbers: [27, 52] Generated Node #0,4,1: 30:[27, 52] Operation: 54-2=52 Exploring Operation: 54-27=27, Resulting Numbers: [2, 27] Generated Node #0,4,2: 30:[2, 27] Operation: 54-27=27 Exploring Operation: 54/2=27, Resulting Numbers: [27, 27] Generated Node #0,4,3: 30:[27, 27] Operation: 54/2=27 Exploring Operation: 27+2=29, Resulting Numbers: [54, 29] Generated Node #0,4,4: 30:[54, 29] Operation: 27+2=29 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 30:[2, 2], Operations: ['48/24=2', '54/27=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,30 unequal: No Solution No 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: 30:[2, 27], Operations: ['48/24=2', '54-27=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,30 unequal: No Solution No 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: 30:[27, 27], Operations: ['48/24=2', '54/2=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 27*27=729, Resulting Numbers: [729] 729,30 unequal: No Solution No 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: 30:[27, 52], Operations: ['48/24=2', '54-2=52'] Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,30 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,30 unequal: No Solution No 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: 30:[54, 29], Operations: ['48/24=2', '27+2=29'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 54+29=83, Resulting Numbers: [83] 83,30 unequal: No Solution Exploring Operation: 54*29=1566, Resulting Numbers: [1566] 1566,30 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
[ 56, 21, 14, 28 ]
17
[ "28-14=14", "56/14=4", "21-4=17" ]
Current State: 17:[56, 21, 14, 28], Operations: [] Exploring Operation: 28-14=14, Resulting Numbers: [56, 21, 14] Generated Node #2: [56, 21, 14] from Operation: 28-14=14 Current State: 17:[56, 21, 14], Operations: ['28-14=14'] Exploring Operation: 56/14=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 56/14=4 Current State: 17:[21, 4], Operations: ['28-14=14', '56/14=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[56, 21, 14, 28], Operations: [] Exploring Operation: 56-14=42, Resulting Numbers: [21, 28, 42] Generated Node #0,0: 17:[21, 28, 42] Operation: 56-14=42 Exploring Operation: 56-28=28, Resulting Numbers: [21, 14, 28] Generated Node #0,1: 17:[21, 14, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [21, 14, 2] Generated Node #0,2: 17:[21, 14, 2] Operation: 56/28=2 Exploring Operation: 56/14=4, Resulting Numbers: [21, 28, 4] Generated Node #0,3: 17:[21, 28, 4] Operation: 56/14=4 Exploring Operation: 56-21=35, Resulting Numbers: [14, 28, 35] Generated Node #0,4: 17:[14, 28, 35] Operation: 56-21=35 Moving to Node #0,1 Current State: 17:[21, 14, 28], Operations: ['56-28=28'] Exploring Operation: 28-21=7, Resulting Numbers: [14, 7] Generated Node #0,1,0: 17:[14, 7] Operation: 28-21=7 Exploring Operation: 21+14=35, Resulting Numbers: [28, 35] Generated Node #0,1,1: 17:[28, 35] Operation: 21+14=35 Exploring Operation: 28-14=14, Resulting Numbers: [21, 14] Generated Node #0,1,2: 17:[21, 14] Operation: 28-14=14 Exploring Operation: 21-14=7, Resulting Numbers: [28, 7] Generated Node #0,1,3: 17:[28, 7] Operation: 21-14=7 Exploring Operation: 28/14=2, Resulting Numbers: [21, 2] Generated Node #0,1,4: 17:[21, 2] Operation: 28/14=2 Moving to Node #0,2 Current State: 17:[21, 14, 2], Operations: ['56/28=2'] Exploring Operation: 21-2=19, Resulting Numbers: [14, 19] Generated Node #0,2,0: 17:[14, 19] Operation: 21-2=19 Exploring Operation: 21+2=23, Resulting Numbers: [14, 23] Generated Node #0,2,1: 17:[14, 23] Operation: 21+2=23 Exploring Operation: 14/2=7, Resulting Numbers: [21, 7] Generated Node #0,2,2: 17:[21, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [21, 12] Generated Node #0,2,3: 17:[21, 12] Operation: 14-2=12 Exploring Operation: 14+2=16, Resulting Numbers: [21, 16] Generated Node #0,2,4: 17:[21, 16] Operation: 14+2=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[14, 19], Operations: ['56/28=2', '21-2=19'] Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,17 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 17:[21, 16], Operations: ['56/28=2', '14+2=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,17 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[14, 23], Operations: ['56/28=2', '21+2=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,17 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[21, 12], Operations: ['56/28=2', '14-2=12'] Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[21, 7], Operations: ['56/28=2', '14/2=7'] Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,17 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: 17:[21, 28, 4], Operations: ['56/14=4'] Exploring Operation: 21-4=17, Resulting Numbers: [28, 17] Generated Node #0,3,0: 17:[28, 17] Operation: 21-4=17 Exploring Operation: 21+4=25, Resulting Numbers: [28, 25] Generated Node #0,3,1: 17:[28, 25] Operation: 21+4=25 Exploring Operation: 28/4=7, Resulting Numbers: [21, 7] Generated Node #0,3,2: 17:[21, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [21, 24] Generated Node #0,3,3: 17:[21, 24] Operation: 28-4=24 Exploring Operation: 28+4=32, Resulting Numbers: [21, 32] Generated Node #0,3,4: 17:[21, 32] Operation: 28+4=32 Moving to Node #0,4 Current State: 17:[14, 28, 35], Operations: ['56-21=35'] Exploring Operation: 35-28=7, Resulting Numbers: [14, 7] Generated Node #0,4,0: 17:[14, 7] Operation: 35-28=7 Exploring Operation: 14+28=42, Resulting Numbers: [35, 42] Generated Node #0,4,1: 17:[35, 42] Operation: 14+28=42 Exploring Operation: 28/14=2, Resulting Numbers: [35, 2] Generated Node #0,4,2: 17:[35, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [35, 14] Generated Node #0,4,3: 17:[35, 14] Operation: 28-14=14 Exploring Operation: 35-14=21, Resulting Numbers: [28, 21] Generated Node #0,4,4: 17:[28, 21] Operation: 35-14=21 Moving to Node #0,0 Current State: 17:[21, 28, 42], Operations: ['56-14=42'] Exploring Operation: 21+28=49, Resulting Numbers: [42, 49] Generated Node #0,0,0: 17:[42, 49] Operation: 21+28=49 Exploring Operation: 42/21=2, Resulting Numbers: [28, 2] Generated Node #0,0,1: 17:[28, 2] Operation: 42/21=2 Exploring Operation: 42-21=21, Resulting Numbers: [28, 21] Generated Node #0,0,2: 17:[28, 21] Operation: 42-21=21 Exploring Operation: 42-28=14, Resulting Numbers: [21, 14] Generated Node #0,0,3: 17:[21, 14] Operation: 42-28=14 Exploring Operation: 28-21=7, Resulting Numbers: [42, 7] Generated Node #0,0,4: 17:[42, 7] Operation: 28-21=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[21, 14], Operations: ['56-14=42', '42-28=14'] Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,17 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[28, 21], Operations: ['56-14=42', '42-21=21'] Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,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:[28, 2], Operations: ['56-14=42', '42/21=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[42, 7], Operations: ['56-14=42', '28-21=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,17 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,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,0 Current State: 17:[42, 49], Operations: ['56-14=42', '21+28=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,17 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,17 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: 17:[21, 14], Operations: ['56-28=28', '28-14=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[28, 17], Operations: ['56/14=4', '21-4=17'] Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,17 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[21, 24], Operations: ['56/14=4', '28-4=24'] Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,17 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[14, 7], Operations: ['56-28=28', '28-21=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[14, 7], Operations: ['56-21=35', '35-28=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[21, 7], Operations: ['56/14=4', '28/4=7'] Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,17 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[28, 21], Operations: ['56-21=35', '35-14=21'] Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,17 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[21, 2], Operations: ['56-28=28', '28/14=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[21, 32], Operations: ['56/14=4', '28+4=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[28, 25], Operations: ['56/14=4', '21+4=25'] Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,17 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[35, 14], Operations: ['56-21=35', '28-14=14'] Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,17 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[28, 7], Operations: ['56-28=28', '21-14=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,17 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[28, 35], Operations: ['56-28=28', '21+14=35'] Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,17 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[35, 2], Operations: ['56-21=35', '28/14=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[35, 42], Operations: ['56-21=35', '14+28=42'] Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,17 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,17 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 52, 50, 8, 54 ]
46
[ "54-52=2", "8/2=4", "50-4=46" ]
Current State: 46:[52, 50, 8, 54], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [50, 8, 2] Generated Node #2: [50, 8, 2] from Operation: 54-52=2 Current State: 46:[50, 8, 2], Operations: ['54-52=2'] Exploring Operation: 8/2=4, Resulting Numbers: [50, 4] Generated Node #3: [50, 4] from Operation: 8/2=4 Current State: 46:[50, 4], Operations: ['54-52=2', '8/2=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[52, 50, 8, 54], Operations: [] Exploring Operation: 54-8=46, Resulting Numbers: [52, 50, 46] Generated Node #0,0: 46:[52, 50, 46] Operation: 54-8=46 Exploring Operation: 54-52=2, Resulting Numbers: [50, 8, 2] Generated Node #0,1: 46:[50, 8, 2] Operation: 54-52=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[52, 50, 46], Operations: ['54-8=46'] Exploring Operation: 52-46=6, Resulting Numbers: [50, 6] Generated Node #0,0,0: 46:[50, 6] Operation: 52-46=6 Exploring Operation: 52-50=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 46:[46, 2] Operation: 52-50=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[46, 2], Operations: ['54-8=46', '52-50=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,46 unequal: No Solution No 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: 46:[50, 6], Operations: ['54-8=46', '52-46=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,46 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: 46:[50, 8, 2], Operations: ['54-52=2'] Exploring Operation: 50-8=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 46:[2, 42] Operation: 50-8=42 Exploring Operation: 8/2=4, Resulting Numbers: [50, 4] Generated Node #0,1,1: 46:[50, 4] Operation: 8/2=4 Moving to Node #0,1,0 Current State: 46:[2, 42], Operations: ['54-52=2', '50-8=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[50, 4], Operations: ['54-52=2', '8/2=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[52, 50, 8, 54], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [50, 8, 2] Generated Node #0,1: 46:[50, 8, 2] Operation: 54-52=2 Moving to Node #0,1 Current State: 46:[50, 8, 2], Operations: ['54-52=2'] Exploring Operation: 8/2=4, Resulting Numbers: [50, 4] Generated Node #0,1,1: 46:[50, 4] Operation: 8/2=4 Moving to Node #0,1,1 Current State: 46:[50, 4], Operations: ['54-52=2', '8/2=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 90, 83, 44, 5 ]
47
[ "90+83=173", "44*5=220", "220-173=47" ]
Current State: 47:[90, 83, 44, 5], Operations: [] Exploring Operation: 90+83=173, Resulting Numbers: [44, 5, 173] Generated Node #2: [44, 5, 173] from Operation: 90+83=173 Current State: 47:[44, 5, 173], Operations: ['90+83=173'] Exploring Operation: 44*5=220, Resulting Numbers: [173, 220] Generated Node #3: [173, 220] from Operation: 44*5=220 Current State: 47:[173, 220], Operations: ['90+83=173', '44*5=220'] Exploring Operation: 220-173=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[90, 83, 44, 5], Operations: [] Exploring Operation: 83-5=78, Resulting Numbers: [90, 44, 78] Generated Node #0,0: 47:[90, 44, 78] Operation: 83-5=78 Exploring Operation: 90/5=18, Resulting Numbers: [83, 44, 18] Generated Node #0,1: 47:[83, 44, 18] Operation: 90/5=18 Exploring Operation: 90-44=46, Resulting Numbers: [83, 5, 46] Generated Node #0,2: 47:[83, 5, 46] Operation: 90-44=46 Exploring Operation: 90-5=85, Resulting Numbers: [83, 44, 85] Generated Node #0,3: 47:[83, 44, 85] Operation: 90-5=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[83, 44, 18], Operations: ['90/5=18'] Exploring Operation: 83+18=101, Resulting Numbers: [44, 101] Generated Node #0,1,0: 47:[44, 101] Operation: 83+18=101 Exploring Operation: 44+18=62, Resulting Numbers: [83, 62] Generated Node #0,1,1: 47:[83, 62] Operation: 44+18=62 Exploring Operation: 83-44=39, Resulting Numbers: [18, 39] Generated Node #0,1,2: 47:[18, 39] Operation: 83-44=39 Exploring Operation: 83-18=65, Resulting Numbers: [44, 65] Generated Node #0,1,3: 47:[44, 65] Operation: 83-18=65 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[44, 65], Operations: ['90/5=18', '83-18=65'] Exploring Operation: 44*65=2860, Resulting Numbers: [2860] 2860,47 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 44+65=109, Resulting Numbers: [109] 109,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[18, 39], Operations: ['90/5=18', '83-44=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,47 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[83, 62], Operations: ['90/5=18', '44+18=62'] Exploring Operation: 83+62=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 83*62=5146, Resulting Numbers: [5146] 5146,47 unequal: No Solution Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[44, 101], Operations: ['90/5=18', '83+18=101'] Exploring Operation: 101-44=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 44+101=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 44*101=4444, Resulting Numbers: [4444] 4444,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[90, 44, 78], Operations: ['83-5=78'] Exploring Operation: 78-44=34, Resulting Numbers: [90, 34] Generated Node #0,0,0: 47:[90, 34] Operation: 78-44=34 Exploring Operation: 90-78=12, Resulting Numbers: [44, 12] Generated Node #0,0,1: 47:[44, 12] Operation: 90-78=12 Exploring Operation: 90+44=134, Resulting Numbers: [78, 134] Generated Node #0,0,2: 47:[78, 134] Operation: 90+44=134 Exploring Operation: 90-44=46, Resulting Numbers: [78, 46] Generated Node #0,0,3: 47:[78, 46] Operation: 90-44=46 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[78, 46], Operations: ['83-5=78', '90-44=46'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,47 unequal: No Solution Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[44, 12], Operations: ['83-5=78', '90-78=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,47 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[90, 34], Operations: ['83-5=78', '78-44=34'] Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,47 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[78, 134], Operations: ['83-5=78', '90+44=134'] Exploring Operation: 78+134=212, Resulting Numbers: [212] 212,47 unequal: No Solution Exploring Operation: 134-78=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 78*134=10452, Resulting Numbers: [10452] 10452,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[83, 44, 85], Operations: ['90-5=85'] Exploring Operation: 85-44=41, Resulting Numbers: [83, 41] Generated Node #0,3,0: 47:[83, 41] Operation: 85-44=41 Exploring Operation: 85-83=2, Resulting Numbers: [44, 2] Generated Node #0,3,1: 47:[44, 2] Operation: 85-83=2 Exploring Operation: 83-44=39, Resulting Numbers: [85, 39] Generated Node #0,3,2: 47:[85, 39] Operation: 83-44=39 Exploring Operation: 83+44=127, Resulting Numbers: [85, 127] Generated Node #0,3,3: 47:[85, 127] Operation: 83+44=127 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[83, 41], Operations: ['90-5=85', '85-44=41'] Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,47 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[85, 39], Operations: ['90-5=85', '83-44=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,47 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[44, 2], Operations: ['90-5=85', '85-83=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[85, 127], Operations: ['90-5=85', '83+44=127'] Exploring Operation: 85+127=212, Resulting Numbers: [212] 212,47 unequal: No Solution Exploring Operation: 85*127=10795, Resulting Numbers: [10795] 10795,47 unequal: No Solution Exploring Operation: 127-85=42, Resulting Numbers: [42] 42,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[83, 5, 46], Operations: ['90-44=46'] Exploring Operation: 46-5=41, Resulting Numbers: [83, 41] Generated Node #0,2,0: 47:[83, 41] Operation: 46-5=41 Exploring Operation: 83+5=88, Resulting Numbers: [46, 88] Generated Node #0,2,1: 47:[46, 88] Operation: 83+5=88 Exploring Operation: 83-5=78, Resulting Numbers: [46, 78] Generated Node #0,2,2: 47:[46, 78] Operation: 83-5=78 Exploring Operation: 5+46=51, Resulting Numbers: [83, 51] Generated Node #0,2,3: 47:[83, 51] Operation: 5+46=51 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[46, 78], Operations: ['90-44=46', '83-5=78'] Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,47 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[83, 51], Operations: ['90-44=46', '5+46=51'] Exploring Operation: 83*51=4233, Resulting Numbers: [4233] 4233,47 unequal: No Solution Exploring Operation: 83+51=134, Resulting Numbers: [134] 134,47 unequal: No Solution Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[83, 41], Operations: ['90-44=46', '46-5=41'] Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,47 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,47 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[46, 88], Operations: ['90-44=46', '83+5=88'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 46*88=4048, Resulting Numbers: [4048] 4048,47 unequal: No Solution Exploring Operation: 46+88=134, Resulting Numbers: [134] 134,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 20, 35, 9, 85 ]
39
[ "20+35=55", "9+85=94", "94-55=39" ]
Current State: 39:[20, 35, 9, 85], Operations: [] Exploring Operation: 20+35=55, Resulting Numbers: [9, 85, 55] Generated Node #2: [9, 85, 55] from Operation: 20+35=55 Current State: 39:[9, 85, 55], Operations: ['20+35=55'] Exploring Operation: 9+85=94, Resulting Numbers: [55, 94] Generated Node #3: [55, 94] from Operation: 9+85=94 Current State: 39:[55, 94], Operations: ['20+35=55', '9+85=94'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[20, 35, 9, 85], Operations: [] Exploring Operation: 20-9=11, Resulting Numbers: [35, 85, 11] Generated Node #0,0: 39:[35, 85, 11] Operation: 20-9=11 Exploring Operation: 85-35=50, Resulting Numbers: [20, 9, 50] Generated Node #0,1: 39:[20, 9, 50] Operation: 85-35=50 Exploring Operation: 35-20=15, Resulting Numbers: [9, 85, 15] Generated Node #0,2: 39:[9, 85, 15] Operation: 35-20=15 Exploring Operation: 85-20=65, Resulting Numbers: [35, 9, 65] Generated Node #0,3: 39:[35, 9, 65] Operation: 85-20=65 Exploring Operation: 85-9=76, Resulting Numbers: [20, 35, 76] Generated Node #0,4: 39:[20, 35, 76] Operation: 85-9=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[20, 9, 50], Operations: ['85-35=50'] Exploring Operation: 20+9=29, Resulting Numbers: [50, 29] Generated Node #0,1,0: 39:[50, 29] Operation: 20+9=29 Exploring Operation: 50-20=30, Resulting Numbers: [9, 30] Generated Node #0,1,1: 39:[9, 30] Operation: 50-20=30 Exploring Operation: 9+50=59, Resulting Numbers: [20, 59] Generated Node #0,1,2: 39:[20, 59] Operation: 9+50=59 Exploring Operation: 50-9=41, Resulting Numbers: [20, 41] Generated Node #0,1,3: 39:[20, 41] Operation: 50-9=41 Exploring Operation: 20-9=11, Resulting Numbers: [50, 11] Generated Node #0,1,4: 39:[50, 11] Operation: 20-9=11 Moving to Node #0,1,3 Current State: 39:[20, 41], Operations: ['85-35=50', '50-9=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,39 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[50, 11], Operations: ['85-35=50', '20-9=11'] Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,39 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[20, 35, 9, 85], Operations: [] Exploring Operation: 85-35=50, Resulting Numbers: [20, 9, 50] Generated Node #0,1: 39:[20, 9, 50] Operation: 85-35=50 Moving to Node #0,1 Current State: 39:[20, 9, 50], Operations: ['85-35=50'] Exploring Operation: 20-9=11, Resulting Numbers: [50, 11] Generated Node #0,1,4: 39:[50, 11] Operation: 20-9=11 Moving to Node #0,1,4 Current State: 39:[50, 11], Operations: ['85-35=50', '20-9=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 2, 1, 12, 50 ]
38
[ "2-1=1", "50-12=38", "1*38=38" ]
Current State: 38:[2, 1, 12, 50], Operations: [] Exploring Operation: 2-1=1, Resulting Numbers: [12, 50, 1] Generated Node #2: [12, 50, 1] from Operation: 2-1=1 Current State: 38:[12, 50, 1], Operations: ['2-1=1'] Exploring Operation: 50-12=38, Resulting Numbers: [1, 38] Generated Node #3: [1, 38] from Operation: 50-12=38 Current State: 38:[1, 38], Operations: ['2-1=1', '50-12=38'] Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[2, 1, 12, 50], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [1, 12, 25] Generated Node #0,0: 38:[1, 12, 25] Operation: 50/2=25 Exploring Operation: 50-12=38, Resulting Numbers: [2, 1, 38] Generated Node #0,1: 38:[2, 1, 38] Operation: 50-12=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[2, 1, 38], Operations: ['50-12=38'] Exploring Operation: 2/1=2, Resulting Numbers: [38, 2] Generated Node #0,1,0: 38:[38, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [38, 2] Generated Node #0,1,1: 38:[38, 2] Operation: 2*1=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[38, 2], Operations: ['50-12=38', '2/1=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,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,1,1 Current State: 38:[38, 2], Operations: ['50-12=38', '2*1=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,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,0 Current State: 38:[1, 12, 25], Operations: ['50/2=25'] Exploring Operation: 25-12=13, Resulting Numbers: [1, 13] Generated Node #0,0,0: 38:[1, 13] Operation: 25-12=13 Exploring Operation: 12+25=37, Resulting Numbers: [1, 37] Generated Node #0,0,1: 38:[1, 37] Operation: 12+25=37 Moving to Node #0,0,1 Current State: 38:[1, 37], Operations: ['50/2=25', '12+25=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[2, 1, 12, 50], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [1, 12, 25] Generated Node #0,0: 38:[1, 12, 25] Operation: 50/2=25 Moving to Node #0,0 Current State: 38:[1, 12, 25], Operations: ['50/2=25'] Exploring Operation: 12+25=37, Resulting Numbers: [1, 37] Generated Node #0,0,1: 38:[1, 37] Operation: 12+25=37 Moving to Node #0,0,1 Current State: 38:[1, 37], Operations: ['50/2=25', '12+25=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 22, 16, 53, 30 ]
40
[ "22+53=75", "16*75=1200", "1200/30=40" ]
Current State: 40:[22, 16, 53, 30], Operations: [] Exploring Operation: 22+53=75, Resulting Numbers: [16, 30, 75] Generated Node #2: [16, 30, 75] from Operation: 22+53=75 Current State: 40:[16, 30, 75], Operations: ['22+53=75'] Exploring Operation: 16*75=1200, Resulting Numbers: [30, 1200] Generated Node #3: [30, 1200] from Operation: 16*75=1200 Current State: 40:[30, 1200], Operations: ['22+53=75', '16*75=1200'] Exploring Operation: 1200/30=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[22, 16, 53, 30], Operations: [] Exploring Operation: 53-30=23, Resulting Numbers: [22, 16, 23] Generated Node #0,0: 40:[22, 16, 23] Operation: 53-30=23 Exploring Operation: 53-16=37, Resulting Numbers: [22, 30, 37] Generated Node #0,1: 40:[22, 30, 37] Operation: 53-16=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[22, 16, 23], Operations: ['53-30=23'] Exploring Operation: 23-16=7, Resulting Numbers: [22, 7] Generated Node #0,0,0: 40:[22, 7] Operation: 23-16=7 Exploring Operation: 16+23=39, Resulting Numbers: [22, 39] Generated Node #0,0,1: 40:[22, 39] Operation: 16+23=39 Moving to Node #0,0,0 Current State: 40:[22, 7], Operations: ['53-30=23', '23-16=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[22, 39], Operations: ['53-30=23', '16+23=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,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 Current State: 40:[22, 30, 37], Operations: ['53-16=37'] Exploring Operation: 30-22=8, Resulting Numbers: [37, 8] Generated Node #0,1,0: 40:[37, 8] Operation: 30-22=8 Exploring Operation: 37-30=7, Resulting Numbers: [22, 7] Generated Node #0,1,1: 40:[22, 7] Operation: 37-30=7 Moving to Node #0,1,0 Current State: 40:[37, 8], Operations: ['53-16=37', '30-22=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[22, 7], Operations: ['53-16=37', '37-30=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 5, 67, 24, 48 ]
60
[ "67-5=62", "48/24=2", "62-2=60" ]
Current State: 60:[5, 67, 24, 48], Operations: [] Exploring Operation: 67-5=62, Resulting Numbers: [24, 48, 62] Generated Node #2: [24, 48, 62] from Operation: 67-5=62 Current State: 60:[24, 48, 62], Operations: ['67-5=62'] Exploring Operation: 48/24=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 48/24=2 Current State: 60:[62, 2], Operations: ['67-5=62', '48/24=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[5, 67, 24, 48], Operations: [] Exploring Operation: 48-24=24, Resulting Numbers: [5, 67, 24] Generated Node #0,0: 60:[5, 67, 24] Operation: 48-24=24 Exploring Operation: 67-48=19, Resulting Numbers: [5, 24, 19] Generated Node #0,1: 60:[5, 24, 19] Operation: 67-48=19 Exploring Operation: 48/24=2, Resulting Numbers: [5, 67, 2] Generated Node #0,2: 60:[5, 67, 2] Operation: 48/24=2 Moving to Node #0,1 Current State: 60:[5, 24, 19], Operations: ['67-48=19'] Exploring Operation: 24-5=19, Resulting Numbers: [19, 19] Generated Node #0,1,0: 60:[19, 19] Operation: 24-5=19 Exploring Operation: 5+24=29, Resulting Numbers: [19, 29] Generated Node #0,1,1: 60:[19, 29] Operation: 5+24=29 Exploring Operation: 24-19=5, Resulting Numbers: [5, 5] Generated Node #0,1,2: 60:[5, 5] Operation: 24-19=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[5, 5], Operations: ['67-48=19', '24-19=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[19, 19], Operations: ['67-48=19', '24-5=19'] Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[19, 29], Operations: ['67-48=19', '5+24=29'] Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,60 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,60 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: 60:[5, 67, 2], Operations: ['48/24=2'] Exploring Operation: 67-2=65, Resulting Numbers: [5, 65] Generated Node #0,2,0: 60:[5, 65] Operation: 67-2=65 Exploring Operation: 67-5=62, Resulting Numbers: [2, 62] Generated Node #0,2,1: 60:[2, 62] Operation: 67-5=62 Exploring Operation: 5*2=10, Resulting Numbers: [67, 10] Generated Node #0,2,2: 60:[67, 10] Operation: 5*2=10 Moving to Node #0,0 Current State: 60:[5, 67, 24], Operations: ['48-24=24'] Exploring Operation: 24-5=19, Resulting Numbers: [67, 19] Generated Node #0,0,0: 60:[67, 19] Operation: 24-5=19 Exploring Operation: 67-5=62, Resulting Numbers: [24, 62] Generated Node #0,0,1: 60:[24, 62] Operation: 67-5=62 Exploring Operation: 5+24=29, Resulting Numbers: [67, 29] Generated Node #0,0,2: 60:[67, 29] Operation: 5+24=29 Moving to Node #0,2,1 Current State: 60:[2, 62], Operations: ['48/24=2', '67-5=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[5, 67, 24, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [5, 67, 2] Generated Node #0,2: 60:[5, 67, 2] Operation: 48/24=2 Moving to Node #0,2 Current State: 60:[5, 67, 2], Operations: ['48/24=2'] Exploring Operation: 67-5=62, Resulting Numbers: [2, 62] Generated Node #0,2,1: 60:[2, 62] Operation: 67-5=62 Moving to Node #0,2,1 Current State: 60:[2, 62], Operations: ['48/24=2', '67-5=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 18, 91, 22, 84 ]
94
[ "84-18=66", "66/22=3", "91+3=94" ]
Current State: 94:[18, 91, 22, 84], Operations: [] Exploring Operation: 84-18=66, Resulting Numbers: [91, 22, 66] Generated Node #2: [91, 22, 66] from Operation: 84-18=66 Current State: 94:[91, 22, 66], Operations: ['84-18=66'] Exploring Operation: 66/22=3, Resulting Numbers: [91, 3] Generated Node #3: [91, 3] from Operation: 66/22=3 Current State: 94:[91, 3], Operations: ['84-18=66', '66/22=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[18, 91, 22, 84], Operations: [] Exploring Operation: 18+84=102, Resulting Numbers: [91, 22, 102] Generated Node #0,0: 94:[91, 22, 102] Operation: 18+84=102 Exploring Operation: 18+22=40, Resulting Numbers: [91, 84, 40] Generated Node #0,1: 94:[91, 84, 40] Operation: 18+22=40 Exploring Operation: 22-18=4, Resulting Numbers: [91, 84, 4] Generated Node #0,2: 94:[91, 84, 4] Operation: 22-18=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[91, 84, 4], Operations: ['22-18=4'] Exploring Operation: 91+4=95, Resulting Numbers: [84, 95] Generated Node #0,2,0: 94:[84, 95] Operation: 91+4=95 Exploring Operation: 84+4=88, Resulting Numbers: [91, 88] Generated Node #0,2,1: 94:[91, 88] Operation: 84+4=88 Exploring Operation: 91-84=7, Resulting Numbers: [4, 7] Generated Node #0,2,2: 94:[4, 7] Operation: 91-84=7 Moving to Node #0,2,2 Current State: 94:[4, 7], Operations: ['22-18=4', '91-84=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[91, 88], Operations: ['22-18=4', '84+4=88'] Exploring Operation: 91*88=8008, Resulting Numbers: [8008] 8008,94 unequal: No Solution Exploring Operation: 91+88=179, Resulting Numbers: [179] 179,94 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[84, 95], Operations: ['22-18=4', '91+4=95'] Exploring Operation: 84*95=7980, Resulting Numbers: [7980] 7980,94 unequal: No Solution Exploring Operation: 84+95=179, Resulting Numbers: [179] 179,94 unequal: No Solution Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,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 Current State: 94:[91, 84, 40], Operations: ['18+22=40'] Exploring Operation: 84-40=44, Resulting Numbers: [91, 44] Generated Node #0,1,0: 94:[91, 44] Operation: 84-40=44 Exploring Operation: 91-40=51, Resulting Numbers: [84, 51] Generated Node #0,1,1: 94:[84, 51] Operation: 91-40=51 Exploring Operation: 91-84=7, Resulting Numbers: [40, 7] Generated Node #0,1,2: 94:[40, 7] Operation: 91-84=7 Moving to Node #0,1,0 Current State: 94:[91, 44], Operations: ['18+22=40', '84-40=44'] Exploring Operation: 91+44=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 91*44=4004, Resulting Numbers: [4004] 4004,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[40, 7], Operations: ['18+22=40', '91-84=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,94 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[84, 51], Operations: ['18+22=40', '91-40=51'] Exploring Operation: 84*51=4284, Resulting Numbers: [4284] 4284,94 unequal: No Solution Exploring Operation: 84+51=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,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,0 Current State: 94:[91, 22, 102], Operations: ['18+84=102'] Exploring Operation: 102-91=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 94:[22, 11] Operation: 102-91=11 Exploring Operation: 91+22=113, Resulting Numbers: [102, 113] Generated Node #0,0,1: 94:[102, 113] Operation: 91+22=113 Exploring Operation: 102-22=80, Resulting Numbers: [91, 80] Generated Node #0,0,2: 94:[91, 80] Operation: 102-22=80 Moving to Node #0,0,2 Current State: 94:[91, 80], Operations: ['18+84=102', '102-22=80'] Exploring Operation: 91*80=7280, Resulting Numbers: [7280] 7280,94 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 91+80=171, Resulting Numbers: [171] 171,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[102, 113], Operations: ['18+84=102', '91+22=113'] Exploring Operation: 102+113=215, Resulting Numbers: [215] 215,94 unequal: No Solution Exploring Operation: 102*113=11526, Resulting Numbers: [11526] 11526,94 unequal: No Solution Exploring Operation: 113-102=11, Resulting Numbers: [11] 11,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[22, 11], Operations: ['18+84=102', '102-91=11'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 53, 23, 48, 48 ]
77
[ "53+23=76", "48/48=1", "76+1=77" ]
Current State: 77:[53, 23, 48, 48], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [48, 48, 76] Generated Node #2: [48, 48, 76] from Operation: 53+23=76 Current State: 77:[48, 48, 76], Operations: ['53+23=76'] Exploring Operation: 48/48=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 48/48=1 Current State: 77:[76, 1], Operations: ['53+23=76', '48/48=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[53, 23, 48, 48], Operations: [] Exploring Operation: 48/48=1, Resulting Numbers: [53, 23, 1] Generated Node #0,0: 77:[53, 23, 1] Operation: 48/48=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[53, 23, 1], Operations: ['48/48=1'] Exploring Operation: 53+23=76, Resulting Numbers: [1, 76] Generated Node #0,0,0: 77:[1, 76] Operation: 53+23=76 Moving to Node #0,0,0 Current State: 77:[1, 76], Operations: ['48/48=1', '53+23=76'] Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[53, 23, 48, 48], Operations: [] Exploring Operation: 48/48=1, Resulting Numbers: [53, 23, 1] Generated Node #0,0: 77:[53, 23, 1] Operation: 48/48=1 Moving to Node #0,0 Current State: 77:[53, 23, 1], Operations: ['48/48=1'] Exploring Operation: 53+23=76, Resulting Numbers: [1, 76] Generated Node #0,0,0: 77:[1, 76] Operation: 53+23=76 Moving to Node #0,0,0 Current State: 77:[1, 76], Operations: ['48/48=1', '53+23=76'] Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 5, 59, 38, 22 ]
80
[ "5+59=64", "38-22=16", "64+16=80" ]
Current State: 80:[5, 59, 38, 22], Operations: [] Exploring Operation: 5+59=64, Resulting Numbers: [38, 22, 64] Generated Node #2: [38, 22, 64] from Operation: 5+59=64 Current State: 80:[38, 22, 64], Operations: ['5+59=64'] Exploring Operation: 38-22=16, Resulting Numbers: [64, 16] Generated Node #3: [64, 16] from Operation: 38-22=16 Current State: 80:[64, 16], Operations: ['5+59=64', '38-22=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 59, 38, 22], Operations: [] Exploring Operation: 59+22=81, Resulting Numbers: [5, 38, 81] Generated Node #0,0: 80:[5, 38, 81] Operation: 59+22=81 Exploring Operation: 59-38=21, Resulting Numbers: [5, 22, 21] Generated Node #0,1: 80:[5, 22, 21] Operation: 59-38=21 Exploring Operation: 59-5=54, Resulting Numbers: [38, 22, 54] Generated Node #0,2: 80:[38, 22, 54] Operation: 59-5=54 Exploring Operation: 59-22=37, Resulting Numbers: [5, 38, 37] Generated Node #0,3: 80:[5, 38, 37] Operation: 59-22=37 Moving to Node #0,0 Current State: 80:[5, 38, 81], Operations: ['59+22=81'] Exploring Operation: 38-5=33, Resulting Numbers: [81, 33] Generated Node #0,0,0: 80:[81, 33] Operation: 38-5=33 Exploring Operation: 81-5=76, Resulting Numbers: [38, 76] Generated Node #0,0,1: 80:[38, 76] Operation: 81-5=76 Exploring Operation: 81-38=43, Resulting Numbers: [5, 43] Generated Node #0,0,2: 80:[5, 43] Operation: 81-38=43 Exploring Operation: 5+38=43, Resulting Numbers: [81, 43] Generated Node #0,0,3: 80:[81, 43] Operation: 5+38=43 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[5, 43], Operations: ['59+22=81', '81-38=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,80 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,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,3 Current State: 80:[81, 43], Operations: ['59+22=81', '5+38=43'] Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,80 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,80 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,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,1 Current State: 80:[38, 76], Operations: ['59+22=81', '81-5=76'] Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,80 unequal: No Solution Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,80 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,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:[81, 33], Operations: ['59+22=81', '38-5=33'] Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,80 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[5, 22, 21], Operations: ['59-38=21'] Exploring Operation: 22-5=17, Resulting Numbers: [21, 17] Generated Node #0,1,0: 80:[21, 17] Operation: 22-5=17 Exploring Operation: 21-5=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 80:[22, 16] Operation: 21-5=16 Exploring Operation: 22+21=43, Resulting Numbers: [5, 43] Generated Node #0,1,2: 80:[5, 43] Operation: 22+21=43 Exploring Operation: 22-21=1, Resulting Numbers: [5, 1] Generated Node #0,1,3: 80:[5, 1] Operation: 22-21=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[5, 1], Operations: ['59-38=21', '22-21=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[21, 17], Operations: ['59-38=21', '22-5=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,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:[22, 16], Operations: ['59-38=21', '21-5=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[5, 43], Operations: ['59-38=21', '22+21=43'] Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,80 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,80 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: 80:[5, 38, 37], Operations: ['59-22=37'] Exploring Operation: 5+37=42, Resulting Numbers: [38, 42] Generated Node #0,3,0: 80:[38, 42] Operation: 5+37=42 Exploring Operation: 38-37=1, Resulting Numbers: [5, 1] Generated Node #0,3,1: 80:[5, 1] Operation: 38-37=1 Exploring Operation: 38+37=75, Resulting Numbers: [5, 75] Generated Node #0,3,2: 80:[5, 75] Operation: 38+37=75 Exploring Operation: 5+38=43, Resulting Numbers: [37, 43] Generated Node #0,3,3: 80:[37, 43] Operation: 5+38=43 Moving to Node #0,2 Current State: 80:[38, 22, 54], Operations: ['59-5=54'] Exploring Operation: 54-22=32, Resulting Numbers: [38, 32] Generated Node #0,2,0: 80:[38, 32] Operation: 54-22=32 Exploring Operation: 22+54=76, Resulting Numbers: [38, 76] Generated Node #0,2,1: 80:[38, 76] Operation: 22+54=76 Exploring Operation: 38-22=16, Resulting Numbers: [54, 16] Generated Node #0,2,2: 80:[54, 16] Operation: 38-22=16 Exploring Operation: 54-38=16, Resulting Numbers: [22, 16] Generated Node #0,2,3: 80:[22, 16] Operation: 54-38=16 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[22, 16], Operations: ['59-5=54', '54-38=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,80 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,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,2,1 Current State: 80:[38, 76], Operations: ['59-5=54', '22+54=76'] Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,80 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,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,2,0 Current State: 80:[38, 32], Operations: ['59-5=54', '54-22=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,80 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,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,2,2 Current State: 80:[54, 16], Operations: ['59-5=54', '38-22=16'] Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,80 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 80:[5, 1], Operations: ['59-22=37', '38-37=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[38, 42], Operations: ['59-22=37', '5+37=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[5, 59, 38, 22], Operations: [] Exploring Operation: 59-22=37, Resulting Numbers: [5, 38, 37] Generated Node #0,3: 80:[5, 38, 37] Operation: 59-22=37 Moving to Node #0,3 Current State: 80:[5, 38, 37], Operations: ['59-22=37'] Exploring Operation: 5+37=42, Resulting Numbers: [38, 42] Generated Node #0,3,0: 80:[38, 42] Operation: 5+37=42 Moving to Node #0,3,0 Current State: 80:[38, 42], Operations: ['59-22=37', '5+37=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.940972
hs_4
sum_heuristic
[ 7, 2, 79, 19 ]
40
[ "19-2=17", "7*17=119", "119-79=40" ]
Current State: 40:[7, 2, 79, 19], Operations: [] Exploring Operation: 19-2=17, Resulting Numbers: [7, 79, 17] Generated Node #2: [7, 79, 17] from Operation: 19-2=17 Current State: 40:[7, 79, 17], Operations: ['19-2=17'] Exploring Operation: 7*17=119, Resulting Numbers: [79, 119] Generated Node #3: [79, 119] from Operation: 7*17=119 Current State: 40:[79, 119], Operations: ['19-2=17', '7*17=119'] Exploring Operation: 119-79=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[7, 2, 79, 19], Operations: [] Exploring Operation: 79-19=60, Resulting Numbers: [7, 2, 60] Generated Node #0,0: 40:[7, 2, 60] Operation: 79-19=60 Moving to Node #0,0 Current State: 40:[7, 2, 60], Operations: ['79-19=60'] Exploring Operation: 60/2=30, Resulting Numbers: [7, 30] Generated Node #0,0,0: 40:[7, 30] Operation: 60/2=30 Moving to Node #0,0,0 Current State: 40:[7, 30], Operations: ['79-19=60', '60/2=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,40 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 17, 58, 87, 74 ]
86
[ "17+58=75", "87+74=161", "161-75=86" ]
Current State: 86:[17, 58, 87, 74], Operations: [] Exploring Operation: 17+58=75, Resulting Numbers: [87, 74, 75] Generated Node #2: [87, 74, 75] from Operation: 17+58=75 Current State: 86:[87, 74, 75], Operations: ['17+58=75'] Exploring Operation: 87+74=161, Resulting Numbers: [75, 161] Generated Node #3: [75, 161] from Operation: 87+74=161 Current State: 86:[75, 161], Operations: ['17+58=75', '87+74=161'] Exploring Operation: 161-75=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[17, 58, 87, 74], Operations: [] Exploring Operation: 17+74=91, Resulting Numbers: [58, 87, 91] Generated Node #0,0: 86:[58, 87, 91] Operation: 17+74=91 Exploring Operation: 58-17=41, Resulting Numbers: [87, 74, 41] Generated Node #0,1: 86:[87, 74, 41] Operation: 58-17=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[87, 74, 41], Operations: ['58-17=41'] Exploring Operation: 74-41=33, Resulting Numbers: [87, 33] Generated Node #0,1,0: 86:[87, 33] Operation: 74-41=33 Exploring Operation: 87-74=13, Resulting Numbers: [41, 13] Generated Node #0,1,1: 86:[41, 13] Operation: 87-74=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[87, 33], Operations: ['58-17=41', '74-41=33'] Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,86 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[41, 13], Operations: ['58-17=41', '87-74=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[58, 87, 91], Operations: ['17+74=91'] Exploring Operation: 91-87=4, Resulting Numbers: [58, 4] Generated Node #0,0,0: 86:[58, 4] Operation: 91-87=4 Exploring Operation: 91-58=33, Resulting Numbers: [87, 33] Generated Node #0,0,1: 86:[87, 33] Operation: 91-58=33 Moving to Node #0,0,1 Current State: 86:[87, 33], Operations: ['17+74=91', '91-58=33'] Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,86 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[58, 4], Operations: ['17+74=91', '91-87=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,86 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
[ 72, 19, 10, 94 ]
51
[ "72-19=53", "10+94=104", "104-53=51" ]
Current State: 51:[72, 19, 10, 94], Operations: [] Exploring Operation: 72-19=53, Resulting Numbers: [10, 94, 53] Generated Node #2: [10, 94, 53] from Operation: 72-19=53 Current State: 51:[10, 94, 53], Operations: ['72-19=53'] Exploring Operation: 10+94=104, Resulting Numbers: [53, 104] Generated Node #3: [53, 104] from Operation: 10+94=104 Current State: 51:[53, 104], Operations: ['72-19=53', '10+94=104'] Exploring Operation: 104-53=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[72, 19, 10, 94], Operations: [] Exploring Operation: 72-19=53, Resulting Numbers: [10, 94, 53] Generated Node #0,0: 51:[10, 94, 53] Operation: 72-19=53 Exploring Operation: 94-72=22, Resulting Numbers: [19, 10, 22] Generated Node #0,1: 51:[19, 10, 22] Operation: 94-72=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[19, 10, 22], Operations: ['94-72=22'] Exploring Operation: 22-19=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 51:[10, 3] Operation: 22-19=3 Exploring Operation: 22-10=12, Resulting Numbers: [19, 12] Generated Node #0,1,1: 51:[19, 12] Operation: 22-10=12 Moving to Node #0,1,0 Current State: 51:[10, 3], Operations: ['94-72=22', '22-19=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[19, 12], Operations: ['94-72=22', '22-10=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,51 unequal: No Solution No 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: 51:[10, 94, 53], Operations: ['72-19=53'] Exploring Operation: 94-53=41, Resulting Numbers: [10, 41] Generated Node #0,0,0: 51:[10, 41] Operation: 94-53=41 Exploring Operation: 94-10=84, Resulting Numbers: [53, 84] Generated Node #0,0,1: 51:[53, 84] Operation: 94-10=84 Moving to Node #0,0,0 Current State: 51:[10, 41], Operations: ['72-19=53', '94-53=41'] Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[72, 19, 10, 94], Operations: [] Exploring Operation: 72-19=53, Resulting Numbers: [10, 94, 53] Generated Node #0,0: 51:[10, 94, 53] Operation: 72-19=53 Moving to Node #0,0 Current State: 51:[10, 94, 53], Operations: ['72-19=53'] Exploring Operation: 94-53=41, Resulting Numbers: [10, 41] Generated Node #0,0,0: 51:[10, 41] Operation: 94-53=41 Moving to Node #0,0,0 Current State: 51:[10, 41], Operations: ['72-19=53', '94-53=41'] Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 6, 18, 50, 53 ]
72
[ "6+18=24", "53-50=3", "24*3=72" ]
Current State: 72:[6, 18, 50, 53], Operations: [] Exploring Operation: 6+18=24, Resulting Numbers: [50, 53, 24] Generated Node #2: [50, 53, 24] from Operation: 6+18=24 Current State: 72:[50, 53, 24], Operations: ['6+18=24'] Exploring Operation: 53-50=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 53-50=3 Current State: 72:[24, 3], Operations: ['6+18=24', '53-50=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[6, 18, 50, 53], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [6, 18, 3] Generated Node #0,0: 72:[6, 18, 3] Operation: 53-50=3 Moving to Node #0,0 Current State: 72:[6, 18, 3], Operations: ['53-50=3'] Exploring Operation: 6+18=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 72:[3, 24] Operation: 6+18=24 Moving to Node #0,0,0 Current State: 72:[3, 24], Operations: ['53-50=3', '6+18=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[6, 18, 50, 53], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [6, 18, 3] Generated Node #0,0: 72:[6, 18, 3] Operation: 53-50=3 Moving to Node #0,0 Current State: 72:[6, 18, 3], Operations: ['53-50=3'] Exploring Operation: 6+18=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 72:[3, 24] Operation: 6+18=24 Moving to Node #0,0,0 Current State: 72:[3, 24], Operations: ['53-50=3', '6+18=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 35, 26, 3, 35 ]
93
[ "35+26=61", "35-3=32", "61+32=93" ]
Current State: 93:[35, 26, 3, 35], Operations: [] Exploring Operation: 35+26=61, Resulting Numbers: [3, 61] Generated Node #2: [3, 61] from Operation: 35+26=61 Current State: 93:[3, 61], Operations: ['35+26=61'] Exploring Operation: 35-3=32, Resulting Numbers: [61, 32] Generated Node #3: [61, 32] from Operation: 35-3=32 Current State: 93:[61, 32], Operations: ['35+26=61', '35-3=32'] Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[35, 26, 3, 35], Operations: [] Exploring Operation: 35/35=1, Resulting Numbers: [26, 3, 1] Generated Node #0,0: 93:[26, 3, 1] Operation: 35/35=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[26, 3, 1], Operations: ['35/35=1'] Exploring Operation: 26+3=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 93:[1, 29] Operation: 26+3=29 Moving to Node #0,0,0 Current State: 93:[1, 29], Operations: ['35/35=1', '26+3=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,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
sum_heuristic
[ 85, 61, 16, 60 ]
20
[ "85-61=24", "60-16=44", "44-24=20" ]
Current State: 20:[85, 61, 16, 60], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [16, 60, 24] Generated Node #2: [16, 60, 24] from Operation: 85-61=24 Current State: 20:[16, 60, 24], Operations: ['85-61=24'] Exploring Operation: 60-16=44, Resulting Numbers: [24, 44] Generated Node #3: [24, 44] from Operation: 60-16=44 Current State: 20:[24, 44], Operations: ['85-61=24', '60-16=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[85, 61, 16, 60], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [16, 60, 24] Generated Node #0,0: 20:[16, 60, 24] Operation: 85-61=24 Exploring Operation: 85-60=25, Resulting Numbers: [61, 16, 25] Generated Node #0,1: 20:[61, 16, 25] Operation: 85-60=25 Exploring Operation: 61-60=1, Resulting Numbers: [85, 16, 1] Generated Node #0,2: 20:[85, 16, 1] Operation: 61-60=1 Moving to Node #0,0 Current State: 20:[16, 60, 24], Operations: ['85-61=24'] Exploring Operation: 60-16=44, Resulting Numbers: [24, 44] Generated Node #0,0,0: 20:[24, 44] Operation: 60-16=44 Exploring Operation: 24-16=8, Resulting Numbers: [60, 8] Generated Node #0,0,1: 20:[60, 8] Operation: 24-16=8 Exploring Operation: 60-24=36, Resulting Numbers: [16, 36] Generated Node #0,0,2: 20:[16, 36] Operation: 60-24=36 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[16, 36], Operations: ['85-61=24', '60-24=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[85, 61, 16, 60], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [16, 60, 24] Generated Node #0,0: 20:[16, 60, 24] Operation: 85-61=24 Moving to Node #0,0 Current State: 20:[16, 60, 24], Operations: ['85-61=24'] Exploring Operation: 60-24=36, Resulting Numbers: [16, 36] Generated Node #0,0,2: 20:[16, 36] Operation: 60-24=36 Moving to Node #0,0,2 Current State: 20:[16, 36], Operations: ['85-61=24', '60-24=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 11, 46, 32, 74 ]
71
[ "46-11=35", "32+74=106", "106-35=71" ]
Current State: 71:[11, 46, 32, 74], Operations: [] Exploring Operation: 46-11=35, Resulting Numbers: [32, 74, 35] Generated Node #2: [32, 74, 35] from Operation: 46-11=35 Current State: 71:[32, 74, 35], Operations: ['46-11=35'] Exploring Operation: 32+74=106, Resulting Numbers: [35, 106] Generated Node #3: [35, 106] from Operation: 32+74=106 Current State: 71:[35, 106], Operations: ['46-11=35', '32+74=106'] Exploring Operation: 106-35=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[11, 46, 32, 74], Operations: [] Exploring Operation: 11+46=57, Resulting Numbers: [32, 74, 57] Generated Node #0,0: 71:[32, 74, 57] Operation: 11+46=57 Exploring Operation: 11+32=43, Resulting Numbers: [46, 74, 43] Generated Node #0,1: 71:[46, 74, 43] Operation: 11+32=43 Exploring Operation: 46+32=78, Resulting Numbers: [11, 74, 78] Generated Node #0,2: 71:[11, 74, 78] Operation: 46+32=78 Moving to Node #0,0 Current State: 71:[32, 74, 57], Operations: ['11+46=57'] Exploring Operation: 32+74=106, Resulting Numbers: [57, 106] Generated Node #0,0,0: 71:[57, 106] Operation: 32+74=106 Exploring Operation: 74-32=42, Resulting Numbers: [57, 42] Generated Node #0,0,1: 71:[57, 42] Operation: 74-32=42 Exploring Operation: 32+57=89, Resulting Numbers: [74, 89] Generated Node #0,0,2: 71:[74, 89] Operation: 32+57=89 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[74, 89], Operations: ['11+46=57', '32+57=89'] Exploring Operation: 89-74=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 74*89=6586, Resulting Numbers: [6586] 6586,71 unequal: No Solution Exploring Operation: 74+89=163, Resulting Numbers: [163] 163,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[57, 42], Operations: ['11+46=57', '74-32=42'] Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,71 unequal: No Solution Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,71 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[57, 106], Operations: ['11+46=57', '32+74=106'] Exploring Operation: 106-57=49, Resulting Numbers: [49] 49,71 unequal: No Solution Exploring Operation: 57+106=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 57*106=6042, Resulting Numbers: [6042] 6042,71 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: 71:[46, 74, 43], Operations: ['11+32=43'] Exploring Operation: 74-46=28, Resulting Numbers: [43, 28] Generated Node #0,1,0: 71:[43, 28] Operation: 74-46=28 Exploring Operation: 74-43=31, Resulting Numbers: [46, 31] Generated Node #0,1,1: 71:[46, 31] Operation: 74-43=31 Exploring Operation: 46+43=89, Resulting Numbers: [74, 89] Generated Node #0,1,2: 71:[74, 89] Operation: 46+43=89 Moving to Node #0,2 Current State: 71:[11, 74, 78], Operations: ['46+32=78'] Exploring Operation: 78-11=67, Resulting Numbers: [74, 67] Generated Node #0,2,0: 71:[74, 67] Operation: 78-11=67 Exploring Operation: 11+74=85, Resulting Numbers: [78, 85] Generated Node #0,2,1: 71:[78, 85] Operation: 11+74=85 Exploring Operation: 74-11=63, Resulting Numbers: [78, 63] Generated Node #0,2,2: 71:[78, 63] Operation: 74-11=63 Moving to Node #0,2,0 Current State: 71:[74, 67], Operations: ['46+32=78', '78-11=67'] Exploring Operation: 74*67=4958, Resulting Numbers: [4958] 4958,71 unequal: No Solution Exploring Operation: 74+67=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[78, 63], Operations: ['46+32=78', '74-11=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,71 unequal: No Solution Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[78, 85], Operations: ['46+32=78', '11+74=85'] Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,71 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[74, 89], Operations: ['11+32=43', '46+43=89'] Exploring Operation: 74*89=6586, Resulting Numbers: [6586] 6586,71 unequal: No Solution Exploring Operation: 89-74=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 74+89=163, Resulting Numbers: [163] 163,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[46, 31], Operations: ['11+32=43', '74-43=31'] Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,71 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[43, 28], Operations: ['11+32=43', '74-46=28'] Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,71 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[11, 46, 32, 74], Operations: [] Exploring Operation: 11+32=43, Resulting Numbers: [46, 74, 43] Generated Node #0,1: 71:[46, 74, 43] Operation: 11+32=43 Moving to Node #0,1 Current State: 71:[46, 74, 43], Operations: ['11+32=43'] Exploring Operation: 74-46=28, Resulting Numbers: [43, 28] Generated Node #0,1,0: 71:[43, 28] Operation: 74-46=28 Moving to Node #0,1,0 Current State: 71:[43, 28], Operations: ['11+32=43', '74-46=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 4, 6, 95, 45 ]
91
[ "4*45=180", "95-6=89", "180-89=91" ]
Current State: 91:[4, 6, 95, 45], Operations: [] Exploring Operation: 4*45=180, Resulting Numbers: [6, 95, 180] Generated Node #2: [6, 95, 180] from Operation: 4*45=180 Current State: 91:[6, 95, 180], Operations: ['4*45=180'] Exploring Operation: 95-6=89, Resulting Numbers: [180, 89] Generated Node #3: [180, 89] from Operation: 95-6=89 Current State: 91:[180, 89], Operations: ['4*45=180', '95-6=89'] Exploring Operation: 180-89=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[4, 6, 95, 45], Operations: [] Exploring Operation: 45-6=39, Resulting Numbers: [4, 95, 39] Generated Node #0,0: 91:[4, 95, 39] Operation: 45-6=39 Exploring Operation: 4+6=10, Resulting Numbers: [95, 45, 10] Generated Node #0,1: 91:[95, 45, 10] Operation: 4+6=10 Exploring Operation: 95-6=89, Resulting Numbers: [4, 45, 89] Generated Node #0,2: 91:[4, 45, 89] Operation: 95-6=89 Exploring Operation: 95-4=91, Resulting Numbers: [6, 45, 91] Generated Node #0,3: 91:[6, 45, 91] Operation: 95-4=91 Exploring Operation: 45-4=41, Resulting Numbers: [6, 95, 41] Generated Node #0,4: 91:[6, 95, 41] Operation: 45-4=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[4, 95, 39], Operations: ['45-6=39'] Exploring Operation: 95-4=91, Resulting Numbers: [39, 91] Generated Node #0,0,0: 91:[39, 91] Operation: 95-4=91 Exploring Operation: 95-39=56, Resulting Numbers: [4, 56] Generated Node #0,0,1: 91:[4, 56] Operation: 95-39=56 Exploring Operation: 39-4=35, Resulting Numbers: [95, 35] Generated Node #0,0,2: 91:[95, 35] Operation: 39-4=35 Exploring Operation: 4+39=43, Resulting Numbers: [95, 43] Generated Node #0,0,3: 91:[95, 43] Operation: 4+39=43 Exploring Operation: 4+95=99, Resulting Numbers: [39, 99] Generated Node #0,0,4: 91:[39, 99] Operation: 4+95=99 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[39, 91], Operations: ['45-6=39', '95-4=91'] Exploring Operation: 39+91=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 39*91=3549, Resulting Numbers: [3549] 3549,91 unequal: No Solution Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[95, 35], Operations: ['45-6=39', '39-4=35'] Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 91:[95, 43], Operations: ['45-6=39', '4+39=43'] Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 95*43=4085, Resulting Numbers: [4085] 4085,91 unequal: No Solution Exploring Operation: 95+43=138, Resulting Numbers: [138] 138,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 91:[39, 99], Operations: ['45-6=39', '4+95=99'] Exploring Operation: 39*99=3861, Resulting Numbers: [3861] 3861,91 unequal: No Solution Exploring Operation: 39+99=138, Resulting Numbers: [138] 138,91 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[4, 56], Operations: ['45-6=39', '95-39=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,91 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[6, 45, 91], Operations: ['95-4=91'] Exploring Operation: 6+91=97, Resulting Numbers: [45, 97] Generated Node #0,3,0: 91:[45, 97] Operation: 6+91=97 Exploring Operation: 45-6=39, Resulting Numbers: [91, 39] Generated Node #0,3,1: 91:[91, 39] Operation: 45-6=39 Exploring Operation: 6+45=51, Resulting Numbers: [91, 51] Generated Node #0,3,2: 91:[91, 51] Operation: 6+45=51 Exploring Operation: 91-6=85, Resulting Numbers: [45, 85] Generated Node #0,3,3: 91:[45, 85] Operation: 91-6=85 Exploring Operation: 91-45=46, Resulting Numbers: [6, 46] Generated Node #0,3,4: 91:[6, 46] Operation: 91-45=46 Moving to Node #0,3,1 Current State: 91:[91, 39], Operations: ['95-4=91', '45-6=39'] Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,91 unequal: No Solution Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,91 unequal: No Solution Moving to Node #0,3,4 Current State: 91:[6, 46], Operations: ['95-4=91', '91-45=46'] Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,91 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[45, 97], Operations: ['95-4=91', '6+91=97'] Exploring Operation: 45+97=142, Resulting Numbers: [142] 142,91 unequal: No Solution Exploring Operation: 45*97=4365, Resulting Numbers: [4365] 4365,91 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[91, 51], Operations: ['95-4=91', '6+45=51'] Exploring Operation: 91-51=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 91+51=142, Resulting Numbers: [142] 142,91 unequal: No Solution Exploring Operation: 91*51=4641, Resulting Numbers: [4641] 4641,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[45, 85], Operations: ['95-4=91', '91-6=85'] Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,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,4 Current State: 91:[6, 95, 41], Operations: ['45-4=41'] Exploring Operation: 95-6=89, Resulting Numbers: [41, 89] Generated Node #0,4,0: 91:[41, 89] Operation: 95-6=89 Exploring Operation: 6+95=101, Resulting Numbers: [41, 101] Generated Node #0,4,1: 91:[41, 101] Operation: 6+95=101 Exploring Operation: 41-6=35, Resulting Numbers: [95, 35] Generated Node #0,4,2: 91:[95, 35] Operation: 41-6=35 Exploring Operation: 6+41=47, Resulting Numbers: [95, 47] Generated Node #0,4,3: 91:[95, 47] Operation: 6+41=47 Exploring Operation: 95-41=54, Resulting Numbers: [6, 54] Generated Node #0,4,4: 91:[6, 54] Operation: 95-41=54 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 91:[95, 35], Operations: ['45-4=41', '41-6=35'] Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,91 unequal: No Solution Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 91:[41, 89], Operations: ['45-4=41', '95-6=89'] Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,91 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 91:[41, 101], Operations: ['45-4=41', '6+95=101'] Exploring Operation: 41*101=4141, Resulting Numbers: [4141] 4141,91 unequal: No Solution Exploring Operation: 101-41=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 41+101=142, Resulting Numbers: [142] 142,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 91:[95, 47], Operations: ['45-4=41', '6+41=47'] Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 95+47=142, Resulting Numbers: [142] 142,91 unequal: No Solution Exploring Operation: 95*47=4465, Resulting Numbers: [4465] 4465,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 91:[6, 54], Operations: ['45-4=41', '95-41=54'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 6*54=324, Resulting Numbers: [324] 324,91 unequal: No Solution Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[4, 45, 89], Operations: ['95-6=89'] Exploring Operation: 89-4=85, Resulting Numbers: [45, 85] Generated Node #0,2,0: 91:[45, 85] Operation: 89-4=85 Exploring Operation: 4+89=93, Resulting Numbers: [45, 93] Generated Node #0,2,1: 91:[45, 93] Operation: 4+89=93 Exploring Operation: 89-45=44, Resulting Numbers: [4, 44] Generated Node #0,2,2: 91:[4, 44] Operation: 89-45=44 Exploring Operation: 45-4=41, Resulting Numbers: [89, 41] Generated Node #0,2,3: 91:[89, 41] Operation: 45-4=41 Exploring Operation: 4+45=49, Resulting Numbers: [89, 49] Generated Node #0,2,4: 91:[89, 49] Operation: 4+45=49 Moving to Node #0,2,3 Current State: 91:[89, 41], Operations: ['95-6=89', '45-4=41'] Exploring Operation: 89*41=3649, Resulting Numbers: [3649] 3649,91 unequal: No Solution Exploring Operation: 89+41=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[4, 44], Operations: ['95-6=89', '89-45=44'] Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[45, 93], Operations: ['95-6=89', '4+89=93'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 45*93=4185, Resulting Numbers: [4185] 4185,91 unequal: No Solution Exploring Operation: 45+93=138, Resulting Numbers: [138] 138,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[45, 85], Operations: ['95-6=89', '89-4=85'] Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,91 unequal: No Solution Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[89, 49], Operations: ['95-6=89', '4+45=49'] Exploring Operation: 89+49=138, Resulting Numbers: [138] 138,91 unequal: No Solution Exploring Operation: 89*49=4361, Resulting Numbers: [4361] 4361,91 unequal: No Solution Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[95, 45, 10], Operations: ['4+6=10'] Exploring Operation: 95-45=50, Resulting Numbers: [10, 50] Generated Node #0,1,0: 91:[10, 50] Operation: 95-45=50 Exploring Operation: 45+10=55, Resulting Numbers: [95, 55] Generated Node #0,1,1: 91:[95, 55] Operation: 45+10=55 Exploring Operation: 95-10=85, Resulting Numbers: [45, 85] Generated Node #0,1,2: 91:[45, 85] Operation: 95-10=85 Exploring Operation: 95+10=105, Resulting Numbers: [45, 105] Generated Node #0,1,3: 91:[45, 105] Operation: 95+10=105 Exploring Operation: 45-10=35, Resulting Numbers: [95, 35] Generated Node #0,1,4: 91:[95, 35] Operation: 45-10=35 Moving to Node #0,1,4 Current State: 91:[95, 35], Operations: ['4+6=10', '45-10=35'] Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[45, 85], Operations: ['4+6=10', '95-10=85'] Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,91 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[10, 50], Operations: ['4+6=10', '95-45=50'] Exploring Operation: 10*50=500, Resulting Numbers: [500] 500,91 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[95, 55], Operations: ['4+6=10', '45+10=55'] Exploring Operation: 95*55=5225, Resulting Numbers: [5225] 5225,91 unequal: No Solution Exploring Operation: 95+55=150, Resulting Numbers: [150] 150,91 unequal: No Solution Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[45, 105], Operations: ['4+6=10', '95+10=105'] Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 45+105=150, Resulting Numbers: [150] 150,91 unequal: No Solution Exploring Operation: 45*105=4725, Resulting Numbers: [4725] 4725,91 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
[ 63, 18, 78, 73 ]
76
[ "63+18=81", "78-73=5", "81-5=76" ]
Current State: 76:[63, 18, 78, 73], Operations: [] Exploring Operation: 63+18=81, Resulting Numbers: [78, 73, 81] Generated Node #2: [78, 73, 81] from Operation: 63+18=81 Current State: 76:[78, 73, 81], Operations: ['63+18=81'] Exploring Operation: 78-73=5, Resulting Numbers: [81, 5] Generated Node #3: [81, 5] from Operation: 78-73=5 Current State: 76:[81, 5], Operations: ['63+18=81', '78-73=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[63, 18, 78, 73], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [18, 78, 10] Generated Node #0,0: 76:[18, 78, 10] Operation: 73-63=10 Exploring Operation: 78-63=15, Resulting Numbers: [18, 73, 15] Generated Node #0,1: 76:[18, 73, 15] Operation: 78-63=15 Moving to Node #0,1 Current State: 76:[18, 73, 15], Operations: ['78-63=15'] Exploring Operation: 18-15=3, Resulting Numbers: [73, 3] Generated Node #0,1,0: 76:[73, 3] Operation: 18-15=3 Exploring Operation: 18+15=33, Resulting Numbers: [73, 33] Generated Node #0,1,1: 76:[73, 33] Operation: 18+15=33 Moving to Node #0,0 Current State: 76:[18, 78, 10], Operations: ['73-63=10'] Exploring Operation: 18-10=8, Resulting Numbers: [78, 8] Generated Node #0,0,0: 76:[78, 8] Operation: 18-10=8 Exploring Operation: 78-10=68, Resulting Numbers: [18, 68] Generated Node #0,0,1: 76:[18, 68] Operation: 78-10=68 Moving to Node #0,1,0 Current State: 76:[73, 3], Operations: ['78-63=15', '18-15=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[63, 18, 78, 73], Operations: [] Exploring Operation: 78-63=15, Resulting Numbers: [18, 73, 15] Generated Node #0,1: 76:[18, 73, 15] Operation: 78-63=15 Moving to Node #0,1 Current State: 76:[18, 73, 15], Operations: ['78-63=15'] Exploring Operation: 18-15=3, Resulting Numbers: [73, 3] Generated Node #0,1,0: 76:[73, 3] Operation: 18-15=3 Moving to Node #0,1,0 Current State: 76:[73, 3], Operations: ['78-63=15', '18-15=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 14, 73, 97, 88 ]
96
[ "14+73=87", "97-88=9", "87+9=96" ]
Current State: 96:[14, 73, 97, 88], Operations: [] Exploring Operation: 14+73=87, Resulting Numbers: [97, 88, 87] Generated Node #2: [97, 88, 87] from Operation: 14+73=87 Current State: 96:[97, 88, 87], Operations: ['14+73=87'] Exploring Operation: 97-88=9, Resulting Numbers: [87, 9] Generated Node #3: [87, 9] from Operation: 97-88=9 Current State: 96:[87, 9], Operations: ['14+73=87', '97-88=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[14, 73, 97, 88], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [14, 88, 24] Generated Node #0,0: 96:[14, 88, 24] Operation: 97-73=24 Exploring Operation: 88-73=15, Resulting Numbers: [14, 97, 15] Generated Node #0,1: 96:[14, 97, 15] Operation: 88-73=15 Moving to Node #0,1 Current State: 96:[14, 97, 15], Operations: ['88-73=15'] Exploring Operation: 15-14=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 96:[97, 1] Operation: 15-14=1 Exploring Operation: 14+15=29, Resulting Numbers: [97, 29] Generated Node #0,1,1: 96:[97, 29] Operation: 14+15=29 Moving to Node #0,0 Current State: 96:[14, 88, 24], Operations: ['97-73=24'] Exploring Operation: 14+88=102, Resulting Numbers: [24, 102] Generated Node #0,0,0: 96:[24, 102] Operation: 14+88=102 Exploring Operation: 24-14=10, Resulting Numbers: [88, 10] Generated Node #0,0,1: 96:[88, 10] Operation: 24-14=10 Moving to Node #0,1,0 Current State: 96:[97, 1], Operations: ['88-73=15', '15-14=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[14, 73, 97, 88], Operations: [] Exploring Operation: 88-73=15, Resulting Numbers: [14, 97, 15] Generated Node #0,1: 96:[14, 97, 15] Operation: 88-73=15 Moving to Node #0,1 Current State: 96:[14, 97, 15], Operations: ['88-73=15'] Exploring Operation: 15-14=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 96:[97, 1] Operation: 15-14=1 Moving to Node #0,1,0 Current State: 96:[97, 1], Operations: ['88-73=15', '15-14=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 10, 79, 41, 39 ]
99
[ "41-39=2", "10*2=20", "79+20=99" ]
Current State: 99:[10, 79, 41, 39], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [10, 79, 2] Generated Node #2: [10, 79, 2] from Operation: 41-39=2 Current State: 99:[10, 79, 2], Operations: ['41-39=2'] Exploring Operation: 10*2=20, Resulting Numbers: [79, 20] Generated Node #3: [79, 20] from Operation: 10*2=20 Current State: 99:[79, 20], Operations: ['41-39=2', '10*2=20'] Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[10, 79, 41, 39], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [10, 41, 40] Generated Node #0,0: 99:[10, 41, 40] Operation: 79-39=40 Exploring Operation: 79-41=38, Resulting Numbers: [10, 39, 38] Generated Node #0,1: 99:[10, 39, 38] Operation: 79-41=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[10, 39, 38], Operations: ['79-41=38'] Exploring Operation: 39-10=29, Resulting Numbers: [38, 29] Generated Node #0,1,0: 99:[38, 29] Operation: 39-10=29 Exploring Operation: 39-38=1, Resulting Numbers: [10, 1] Generated Node #0,1,1: 99:[10, 1] Operation: 39-38=1 Moving to Node #0,1,1 Current State: 99:[10, 1], Operations: ['79-41=38', '39-38=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[38, 29], Operations: ['79-41=38', '39-10=29'] Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,99 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[10, 41, 40], Operations: ['79-39=40'] Exploring Operation: 41-10=31, Resulting Numbers: [40, 31] Generated Node #0,0,0: 99:[40, 31] Operation: 41-10=31 Exploring Operation: 41-40=1, Resulting Numbers: [10, 1] Generated Node #0,0,1: 99:[10, 1] Operation: 41-40=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[10, 1], Operations: ['79-39=40', '41-40=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,99 unequal: No Solution No 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: 99:[40, 31], Operations: ['79-39=40', '41-10=31'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 11, 14, 28 ]
79
[ "34*28=952", "952/14=68", "11+68=79" ]
Current State: 79:[34, 11, 14, 28], Operations: [] Exploring Operation: 34*28=952, Resulting Numbers: [11, 14, 952] Generated Node #2: [11, 14, 952] from Operation: 34*28=952 Current State: 79:[11, 14, 952], Operations: ['34*28=952'] Exploring Operation: 952/14=68, Resulting Numbers: [11, 68] Generated Node #3: [11, 68] from Operation: 952/14=68 Current State: 79:[11, 68], Operations: ['34*28=952', '952/14=68'] Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[34, 11, 14, 28], Operations: [] Exploring Operation: 34+11=45, Resulting Numbers: [14, 28, 45] Generated Node #0,0: 79:[14, 28, 45] Operation: 34+11=45 Exploring Operation: 34+14=48, Resulting Numbers: [11, 28, 48] Generated Node #0,1: 79:[11, 28, 48] Operation: 34+14=48 Exploring Operation: 34+28=62, Resulting Numbers: [11, 14, 62] Generated Node #0,2: 79:[11, 14, 62] Operation: 34+28=62 Exploring Operation: 11+14=25, Resulting Numbers: [34, 28, 25] Generated Node #0,3: 79:[34, 28, 25] Operation: 11+14=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[14, 28, 45], Operations: ['34+11=45'] Exploring Operation: 28+45=73, Resulting Numbers: [14, 73] Generated Node #0,0,0: 79:[14, 73] Operation: 28+45=73 Exploring Operation: 14+28=42, Resulting Numbers: [45, 42] Generated Node #0,0,1: 79:[45, 42] Operation: 14+28=42 Exploring Operation: 14+45=59, Resulting Numbers: [28, 59] Generated Node #0,0,2: 79:[28, 59] Operation: 14+45=59 Exploring Operation: 28-14=14, Resulting Numbers: [45, 14] Generated Node #0,0,3: 79:[45, 14] Operation: 28-14=14 Moving to Node #0,0,0 Current State: 79:[14, 73], Operations: ['34+11=45', '28+45=73'] Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 14*73=1022, Resulting Numbers: [1022] 1022,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[28, 59], Operations: ['34+11=45', '14+45=59'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,79 unequal: No Solution Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[45, 42], Operations: ['34+11=45', '14+28=42'] Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,79 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[45, 14], Operations: ['34+11=45', '28-14=14'] Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,79 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,79 unequal: No Solution No solution 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: 79:[11, 28, 48], Operations: ['34+14=48'] Exploring Operation: 28-11=17, Resulting Numbers: [48, 17] Generated Node #0,1,0: 79:[48, 17] Operation: 28-11=17 Exploring Operation: 28+48=76, Resulting Numbers: [11, 76] Generated Node #0,1,1: 79:[11, 76] Operation: 28+48=76 Exploring Operation: 11+28=39, Resulting Numbers: [48, 39] Generated Node #0,1,2: 79:[48, 39] Operation: 11+28=39 Exploring Operation: 11+48=59, Resulting Numbers: [28, 59] Generated Node #0,1,3: 79:[28, 59] Operation: 11+48=59 Moving to Node #0,1,1 Current State: 79:[11, 76], Operations: ['34+14=48', '28+48=76'] Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 11*76=836, Resulting Numbers: [836] 836,79 unequal: No Solution Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[28, 59], Operations: ['34+14=48', '11+48=59'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[48, 39], Operations: ['34+14=48', '11+28=39'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[48, 17], Operations: ['34+14=48', '28-11=17'] Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,79 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,79 unequal: No Solution No 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: 79:[11, 14, 62], Operations: ['34+28=62'] Exploring Operation: 14+62=76, Resulting Numbers: [11, 76] Generated Node #0,2,0: 79:[11, 76] Operation: 14+62=76 Exploring Operation: 11+62=73, Resulting Numbers: [14, 73] Generated Node #0,2,1: 79:[14, 73] Operation: 11+62=73 Exploring Operation: 11*14=154, Resulting Numbers: [62, 154] Generated Node #0,2,2: 79:[62, 154] Operation: 11*14=154 Exploring Operation: 11+14=25, Resulting Numbers: [62, 25] Generated Node #0,2,3: 79:[62, 25] Operation: 11+14=25 Moving to Node #0,2,0 Current State: 79:[11, 76], Operations: ['34+28=62', '14+62=76'] Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 11*76=836, Resulting Numbers: [836] 836,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[62, 25], Operations: ['34+28=62', '11+14=25'] Exploring Operation: 62+25=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 62*25=1550, Resulting Numbers: [1550] 1550,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[14, 73], Operations: ['34+28=62', '11+62=73'] Exploring Operation: 14*73=1022, Resulting Numbers: [1022] 1022,79 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[62, 154], Operations: ['34+28=62', '11*14=154'] Exploring Operation: 154-62=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 62*154=9548, Resulting Numbers: [9548] 9548,79 unequal: No Solution Exploring Operation: 62+154=216, Resulting Numbers: [216] 216,79 unequal: No Solution No 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: 79:[34, 28, 25], Operations: ['11+14=25'] Exploring Operation: 34+28=62, Resulting Numbers: [25, 62] Generated Node #0,3,0: 79:[25, 62] Operation: 34+28=62 Exploring Operation: 34+25=59, Resulting Numbers: [28, 59] Generated Node #0,3,1: 79:[28, 59] Operation: 34+25=59 Exploring Operation: 34-25=9, Resulting Numbers: [28, 9] Generated Node #0,3,2: 79:[28, 9] Operation: 34-25=9 Exploring Operation: 28+25=53, Resulting Numbers: [34, 53] Generated Node #0,3,3: 79:[34, 53] Operation: 28+25=53 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[25, 62], Operations: ['11+14=25', '34+28=62'] Exploring Operation: 25+62=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 25*62=1550, Resulting Numbers: [1550] 1550,79 unequal: No Solution No 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: 79:[28, 59], Operations: ['11+14=25', '34+25=59'] Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,79 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,79 unequal: No Solution No 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: 79:[34, 53], Operations: ['11+14=25', '28+25=53'] Exploring Operation: 34*53=1802, Resulting Numbers: [1802] 1802,79 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,79 unequal: No Solution No 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: 79:[28, 9], Operations: ['11+14=25', '34-25=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 2, 87, 25, 81 ]
68
[ "2*87=174", "25+81=106", "174-106=68" ]
Current State: 68:[2, 87, 25, 81], Operations: [] Exploring Operation: 2*87=174, Resulting Numbers: [25, 81, 174] Generated Node #2: [25, 81, 174] from Operation: 2*87=174 Current State: 68:[25, 81, 174], Operations: ['2*87=174'] Exploring Operation: 25+81=106, Resulting Numbers: [174, 106] Generated Node #3: [174, 106] from Operation: 25+81=106 Current State: 68:[174, 106], Operations: ['2*87=174', '25+81=106'] Exploring Operation: 174-106=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 87, 25, 81], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [2, 25, 6] Generated Node #0,0: 68:[2, 25, 6] Operation: 87-81=6 Exploring Operation: 87-25=62, Resulting Numbers: [2, 81, 62] Generated Node #0,1: 68:[2, 81, 62] Operation: 87-25=62 Exploring Operation: 81-25=56, Resulting Numbers: [2, 87, 56] Generated Node #0,2: 68:[2, 87, 56] Operation: 81-25=56 Moving to Node #0,0 Current State: 68:[2, 25, 6], Operations: ['87-81=6'] Exploring Operation: 25-2=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 68:[6, 23] Operation: 25-2=23 Exploring Operation: 25-6=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 68:[2, 19] Operation: 25-6=19 Exploring Operation: 25+6=31, Resulting Numbers: [2, 31] Generated Node #0,0,2: 68:[2, 31] Operation: 25+6=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[2, 19], Operations: ['87-81=6', '25-6=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[2, 31], Operations: ['87-81=6', '25+6=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[6, 23], Operations: ['87-81=6', '25-2=23'] Exploring Operation: 6*23=138, Resulting Numbers: [138] 138,68 unequal: No Solution Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 68:[2, 81, 62], Operations: ['87-25=62'] Exploring Operation: 81-2=79, Resulting Numbers: [62, 79] Generated Node #0,1,0: 68:[62, 79] Operation: 81-2=79 Exploring Operation: 81-62=19, Resulting Numbers: [2, 19] Generated Node #0,1,1: 68:[2, 19] Operation: 81-62=19 Exploring Operation: 62/2=31, Resulting Numbers: [81, 31] Generated Node #0,1,2: 68:[81, 31] Operation: 62/2=31 Moving to Node #0,2 Current State: 68:[2, 87, 56], Operations: ['81-25=56'] Exploring Operation: 56/2=28, Resulting Numbers: [87, 28] Generated Node #0,2,0: 68:[87, 28] Operation: 56/2=28 Exploring Operation: 87-2=85, Resulting Numbers: [56, 85] Generated Node #0,2,1: 68:[56, 85] Operation: 87-2=85 Exploring Operation: 87-56=31, Resulting Numbers: [2, 31] Generated Node #0,2,2: 68:[2, 31] Operation: 87-56=31 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[2, 31], Operations: ['81-25=56', '87-56=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[87, 28], Operations: ['81-25=56', '56/2=28'] Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,68 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,68 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[56, 85], Operations: ['81-25=56', '87-2=85'] Exploring Operation: 56+85=141, Resulting Numbers: [141] 141,68 unequal: No Solution Exploring Operation: 56*85=4760, Resulting Numbers: [4760] 4760,68 unequal: No Solution Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 68:[2, 19], Operations: ['87-25=62', '81-62=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[81, 31], Operations: ['87-25=62', '62/2=31'] Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 81+31=112, Resulting Numbers: [112] 112,68 unequal: No Solution Exploring Operation: 81*31=2511, Resulting Numbers: [2511] 2511,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[62, 79], Operations: ['87-25=62', '81-2=79'] Exploring Operation: 62+79=141, Resulting Numbers: [141] 141,68 unequal: No Solution Exploring Operation: 62*79=4898, Resulting Numbers: [4898] 4898,68 unequal: No Solution Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,68 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 42, 3, 45, 24 ]
83
[ "42/3=14", "45+24=69", "14+69=83" ]
Current State: 83:[42, 3, 45, 24], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [45, 24, 14] Generated Node #2: [45, 24, 14] from Operation: 42/3=14 Current State: 83:[45, 24, 14], Operations: ['42/3=14'] Exploring Operation: 45+24=69, Resulting Numbers: [14, 69] Generated Node #3: [14, 69] from Operation: 45+24=69 Current State: 83:[14, 69], Operations: ['42/3=14', '45+24=69'] Exploring Operation: 14+69=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[42, 3, 45, 24], Operations: [] Exploring Operation: 42+24=66, Resulting Numbers: [3, 45, 66] Generated Node #0,0: 83:[3, 45, 66] Operation: 42+24=66 Exploring Operation: 42+3=45, Resulting Numbers: [45, 24, 45] Generated Node #0,1: 83:[45, 24, 45] Operation: 42+3=45 Exploring Operation: 3*24=72, Resulting Numbers: [42, 45, 72] Generated Node #0,2: 83:[42, 45, 72] Operation: 3*24=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[42, 45, 72], Operations: ['3*24=72'] Exploring Operation: 42+45=87, Resulting Numbers: [72, 87] Generated Node #0,2,0: 83:[72, 87] Operation: 42+45=87 Exploring Operation: 45+72=117, Resulting Numbers: [42, 117] Generated Node #0,2,1: 83:[42, 117] Operation: 45+72=117 Exploring Operation: 42+72=114, Resulting Numbers: [45, 114] Generated Node #0,2,2: 83:[45, 114] Operation: 42+72=114 Moving to Node #0,2,0 Current State: 83:[72, 87], Operations: ['3*24=72', '42+45=87'] Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 72*87=6264, Resulting Numbers: [6264] 6264,83 unequal: No Solution Exploring Operation: 72+87=159, Resulting Numbers: [159] 159,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[45, 114], Operations: ['3*24=72', '42+72=114'] Exploring Operation: 45*114=5130, Resulting Numbers: [5130] 5130,83 unequal: No Solution Exploring Operation: 114-45=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 45+114=159, Resulting Numbers: [159] 159,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[42, 117], Operations: ['3*24=72', '45+72=117'] Exploring Operation: 117-42=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 42*117=4914, Resulting Numbers: [4914] 4914,83 unequal: No Solution Exploring Operation: 42+117=159, Resulting Numbers: [159] 159,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:[3, 45, 66], Operations: ['42+24=66'] Exploring Operation: 3+66=69, Resulting Numbers: [45, 69] Generated Node #0,0,0: 83:[45, 69] Operation: 3+66=69 Exploring Operation: 45-3=42, Resulting Numbers: [66, 42] Generated Node #0,0,1: 83:[66, 42] Operation: 45-3=42 Exploring Operation: 3+45=48, Resulting Numbers: [66, 48] Generated Node #0,0,2: 83:[66, 48] Operation: 3+45=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[45, 69], Operations: ['42+24=66', '3+66=69'] Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,83 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,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:[66, 48], Operations: ['42+24=66', '3+45=48'] Exploring Operation: 66+48=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 66*48=3168, Resulting Numbers: [3168] 3168,83 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[66, 42], Operations: ['42+24=66', '45-3=42'] Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,83 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,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:[45, 24, 45], Operations: ['42+3=45'] Exploring Operation: 24+45=69, Resulting Numbers: [45, 69] Generated Node #0,1,0: 83:[45, 69] Operation: 24+45=69 Exploring Operation: 45+45=90, Resulting Numbers: [24, 90] Generated Node #0,1,1: 83:[24, 90] Operation: 45+45=90 Exploring Operation: 45+24=69, Resulting Numbers: [45, 69] Generated Node #0,1,2: 83:[45, 69] Operation: 45+24=69 Moving to Node #0,1,0 Current State: 83:[45, 69], Operations: ['42+3=45', '24+45=69'] Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,83 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[45, 69], Operations: ['42+3=45', '45+24=69'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[24, 90], Operations: ['42+3=45', '45+45=90'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 24+90=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 24*90=2160, Resulting Numbers: [2160] 2160,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 83, 55, 6, 36 ]
23
[ "83+55=138", "36/6=6", "138/6=23" ]
Current State: 23:[83, 55, 6, 36], Operations: [] Exploring Operation: 83+55=138, Resulting Numbers: [6, 36, 138] Generated Node #2: [6, 36, 138] from Operation: 83+55=138 Current State: 23:[6, 36, 138], Operations: ['83+55=138'] Exploring Operation: 36/6=6, Resulting Numbers: [138, 6] Generated Node #3: [138, 6] from Operation: 36/6=6 Current State: 23:[138, 6], Operations: ['83+55=138', '36/6=6'] Exploring Operation: 138/6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[83, 55, 6, 36], Operations: [] Exploring Operation: 83-36=47, Resulting Numbers: [55, 6, 47] Generated Node #0,0: 23:[55, 6, 47] Operation: 83-36=47 Exploring Operation: 55-36=19, Resulting Numbers: [83, 6, 19] Generated Node #0,1: 23:[83, 6, 19] Operation: 55-36=19 Exploring Operation: 83-55=28, Resulting Numbers: [6, 36, 28] Generated Node #0,2: 23:[6, 36, 28] Operation: 83-55=28 Moving to Node #0,2 Current State: 23:[6, 36, 28], Operations: ['83-55=28'] Exploring Operation: 28-6=22, Resulting Numbers: [36, 22] Generated Node #0,2,0: 23:[36, 22] Operation: 28-6=22 Exploring Operation: 36/6=6, Resulting Numbers: [28, 6] Generated Node #0,2,1: 23:[28, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [28, 30] Generated Node #0,2,2: 23:[28, 30] Operation: 36-6=30 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[28, 30], Operations: ['83-55=28', '36-6=30'] Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,23 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,23 unequal: No Solution No 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: 23:[36, 22], Operations: ['83-55=28', '28-6=22'] Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,23 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,23 unequal: No Solution No 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: 23:[28, 6], Operations: ['83-55=28', '36/6=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,23 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,23 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: 23:[55, 6, 47], Operations: ['83-36=47'] Exploring Operation: 55-47=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 23:[6, 8] Operation: 55-47=8 Exploring Operation: 55-6=49, Resulting Numbers: [47, 49] Generated Node #0,0,1: 23:[47, 49] Operation: 55-6=49 Exploring Operation: 47-6=41, Resulting Numbers: [55, 41] Generated Node #0,0,2: 23:[55, 41] Operation: 47-6=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[6, 8], Operations: ['83-36=47', '55-47=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,23 unequal: No Solution No 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: 23:[47, 49], Operations: ['83-36=47', '55-6=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,23 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,23 unequal: No Solution No 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: 23:[55, 41], Operations: ['83-36=47', '47-6=41'] Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,23 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,23 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: 23:[83, 6, 19], Operations: ['55-36=19'] Exploring Operation: 83-19=64, Resulting Numbers: [6, 64] Generated Node #0,1,0: 23:[6, 64] Operation: 83-19=64 Exploring Operation: 6+19=25, Resulting Numbers: [83, 25] Generated Node #0,1,1: 23:[83, 25] Operation: 6+19=25 Exploring Operation: 83-6=77, Resulting Numbers: [19, 77] Generated Node #0,1,2: 23:[19, 77] Operation: 83-6=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[6, 64], Operations: ['55-36=19', '83-19=64'] Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,23 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,23 unequal: No Solution No solution 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: 23:[19, 77], Operations: ['55-36=19', '83-6=77'] Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 19*77=1463, Resulting Numbers: [1463] 1463,23 unequal: No Solution Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,23 unequal: No Solution No solution 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: 23:[83, 25], Operations: ['55-36=19', '6+19=25'] Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,23 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 83*25=2075, Resulting Numbers: [2075] 2075,23 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
[ 25, 84, 77, 59 ]
27
[ "25+84=109", "77+59=136", "136-109=27" ]
Current State: 27:[25, 84, 77, 59], Operations: [] Exploring Operation: 25+84=109, Resulting Numbers: [77, 59, 109] Generated Node #2: [77, 59, 109] from Operation: 25+84=109 Current State: 27:[77, 59, 109], Operations: ['25+84=109'] Exploring Operation: 77+59=136, Resulting Numbers: [109, 136] Generated Node #3: [109, 136] from Operation: 77+59=136 Current State: 27:[109, 136], Operations: ['25+84=109', '77+59=136'] Exploring Operation: 136-109=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[25, 84, 77, 59], Operations: [] Exploring Operation: 77-59=18, Resulting Numbers: [25, 84, 18] Generated Node #0,0: 27:[25, 84, 18] Operation: 77-59=18 Exploring Operation: 84-77=7, Resulting Numbers: [25, 59, 7] Generated Node #0,1: 27:[25, 59, 7] Operation: 84-77=7 Exploring Operation: 84-59=25, Resulting Numbers: [25, 77, 25] Generated Node #0,2: 27:[25, 77, 25] Operation: 84-59=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[25, 59, 7], Operations: ['84-77=7'] Exploring Operation: 25+7=32, Resulting Numbers: [59, 32] Generated Node #0,1,0: 27:[59, 32] Operation: 25+7=32 Exploring Operation: 59-25=34, Resulting Numbers: [7, 34] Generated Node #0,1,1: 27:[7, 34] Operation: 59-25=34 Exploring Operation: 59-7=52, Resulting Numbers: [25, 52] Generated Node #0,1,2: 27:[25, 52] Operation: 59-7=52 Moving to Node #0,1,1 Current State: 27:[7, 34], Operations: ['84-77=7', '59-25=34'] Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,27 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[25, 84, 77, 59], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [25, 59, 7] Generated Node #0,1: 27:[25, 59, 7] Operation: 84-77=7 Moving to Node #0,1 Current State: 27:[25, 59, 7], Operations: ['84-77=7'] Exploring Operation: 59-25=34, Resulting Numbers: [7, 34] Generated Node #0,1,1: 27:[7, 34] Operation: 59-25=34 Moving to Node #0,1,1 Current State: 27:[7, 34], Operations: ['84-77=7', '59-25=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 34, 97, 54, 17 ]
60
[ "34+97=131", "54+17=71", "131-71=60" ]
Current State: 60:[34, 97, 54, 17], Operations: [] Exploring Operation: 34+97=131, Resulting Numbers: [54, 17, 131] Generated Node #2: [54, 17, 131] from Operation: 34+97=131 Current State: 60:[54, 17, 131], Operations: ['34+97=131'] Exploring Operation: 54+17=71, Resulting Numbers: [131, 71] Generated Node #3: [131, 71] from Operation: 54+17=71 Current State: 60:[131, 71], Operations: ['34+97=131', '54+17=71'] Exploring Operation: 131-71=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[34, 97, 54, 17], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [97, 17, 20] Generated Node #0,0: 60:[97, 17, 20] Operation: 54-34=20 Exploring Operation: 97-34=63, Resulting Numbers: [54, 17, 63] Generated Node #0,1: 60:[54, 17, 63] Operation: 97-34=63 Exploring Operation: 97-54=43, Resulting Numbers: [34, 17, 43] Generated Node #0,2: 60:[34, 17, 43] Operation: 97-54=43 Exploring Operation: 97-17=80, Resulting Numbers: [34, 54, 80] Generated Node #0,3: 60:[34, 54, 80] Operation: 97-17=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[54, 17, 63], Operations: ['97-34=63'] Exploring Operation: 54-17=37, Resulting Numbers: [63, 37] Generated Node #0,1,0: 60:[63, 37] Operation: 54-17=37 Exploring Operation: 63-17=46, Resulting Numbers: [54, 46] Generated Node #0,1,1: 60:[54, 46] Operation: 63-17=46 Exploring Operation: 63-54=9, Resulting Numbers: [17, 9] Generated Node #0,1,2: 60:[17, 9] Operation: 63-54=9 Exploring Operation: 54+17=71, Resulting Numbers: [63, 71] Generated Node #0,1,3: 60:[63, 71] Operation: 54+17=71 Moving to Node #0,1,2 Current State: 60:[17, 9], Operations: ['97-34=63', '63-54=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[63, 37], Operations: ['97-34=63', '54-17=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,60 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[63, 71], Operations: ['97-34=63', '54+17=71'] Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,60 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[54, 46], Operations: ['97-34=63', '63-17=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,60 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[34, 17, 43], Operations: ['97-54=43'] Exploring Operation: 43-34=9, Resulting Numbers: [17, 9] Generated Node #0,2,0: 60:[17, 9] Operation: 43-34=9 Exploring Operation: 43-17=26, Resulting Numbers: [34, 26] Generated Node #0,2,1: 60:[34, 26] Operation: 43-17=26 Exploring Operation: 34/17=2, Resulting Numbers: [43, 2] Generated Node #0,2,2: 60:[43, 2] Operation: 34/17=2 Exploring Operation: 17+43=60, Resulting Numbers: [34, 60] Generated Node #0,2,3: 60:[34, 60] Operation: 17+43=60 Moving to Node #0,2,0 Current State: 60:[17, 9], Operations: ['97-54=43', '43-34=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,60 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[34, 60], Operations: ['97-54=43', '17+43=60'] Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,60 unequal: No Solution Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[34, 26], Operations: ['97-54=43', '43-17=26'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,60 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[34, 97, 54, 17], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [34, 17, 43] Generated Node #0,2: 60:[34, 17, 43] Operation: 97-54=43 Moving to Node #0,2 Current State: 60:[34, 17, 43], Operations: ['97-54=43'] Exploring Operation: 43-17=26, Resulting Numbers: [34, 26] Generated Node #0,2,1: 60:[34, 26] Operation: 43-17=26 Moving to Node #0,2,1 Current State: 60:[34, 26], Operations: ['97-54=43', '43-17=26'] Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 66, 57, 11, 41 ]
61
[ "66-57=9", "11+41=52", "9+52=61" ]
Current State: 61:[66, 57, 11, 41], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [11, 41, 9] Generated Node #2: [11, 41, 9] from Operation: 66-57=9 Current State: 61:[11, 41, 9], Operations: ['66-57=9'] Exploring Operation: 11+41=52, Resulting Numbers: [9, 52] Generated Node #3: [9, 52] from Operation: 11+41=52 Current State: 61:[9, 52], Operations: ['66-57=9', '11+41=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[66, 57, 11, 41], Operations: [] Exploring Operation: 11+41=52, Resulting Numbers: [66, 57, 52] Generated Node #0,0: 61:[66, 57, 52] Operation: 11+41=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[66, 57, 52], Operations: ['11+41=52'] Exploring Operation: 66-52=14, Resulting Numbers: [57, 14] Generated Node #0,0,0: 61:[57, 14] Operation: 66-52=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[57, 14], Operations: ['11+41=52', '66-52=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 84, 31, 59, 78 ]
13
[ "84-31=53", "59-53=6", "78/6=13" ]
Current State: 13:[84, 31, 59, 78], Operations: [] Exploring Operation: 84-31=53, Resulting Numbers: [59, 78, 53] Generated Node #2: [59, 78, 53] from Operation: 84-31=53 Current State: 13:[59, 78, 53], Operations: ['84-31=53'] Exploring Operation: 59-53=6, Resulting Numbers: [78, 6] Generated Node #3: [78, 6] from Operation: 59-53=6 Current State: 13:[78, 6], Operations: ['84-31=53', '59-53=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[84, 31, 59, 78], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [31, 59, 6] Generated Node #0,0: 13:[31, 59, 6] Operation: 84-78=6 Exploring Operation: 84-31=53, Resulting Numbers: [59, 78, 53] Generated Node #0,1: 13:[59, 78, 53] Operation: 84-31=53 Exploring Operation: 78-59=19, Resulting Numbers: [84, 31, 19] Generated Node #0,2: 13:[84, 31, 19] Operation: 78-59=19 Exploring Operation: 84-59=25, Resulting Numbers: [31, 78, 25] Generated Node #0,3: 13:[31, 78, 25] Operation: 84-59=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[31, 59, 6], Operations: ['84-78=6'] Exploring Operation: 31-6=25, Resulting Numbers: [59, 25] Generated Node #0,0,0: 13:[59, 25] Operation: 31-6=25 Exploring Operation: 31+6=37, Resulting Numbers: [59, 37] Generated Node #0,0,1: 13:[59, 37] Operation: 31+6=37 Exploring Operation: 59-6=53, Resulting Numbers: [31, 53] Generated Node #0,0,2: 13:[31, 53] Operation: 59-6=53 Exploring Operation: 59-31=28, Resulting Numbers: [6, 28] Generated Node #0,0,3: 13:[6, 28] Operation: 59-31=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 13:[6, 28], Operations: ['84-78=6', '59-31=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,13 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,13 unequal: No Solution No 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: 13:[59, 25], Operations: ['84-78=6', '31-6=25'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,13 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,13 unequal: No Solution Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,13 unequal: No Solution No 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: 13:[31, 53], Operations: ['84-78=6', '59-6=53'] Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,13 unequal: No Solution Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,13 unequal: No Solution No 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: 13:[59, 37], Operations: ['84-78=6', '31+6=37'] Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,13 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,13 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: 13:[84, 31, 19], Operations: ['78-59=19'] Exploring Operation: 31-19=12, Resulting Numbers: [84, 12] Generated Node #0,2,0: 13:[84, 12] Operation: 31-19=12 Exploring Operation: 84+31=115, Resulting Numbers: [19, 115] Generated Node #0,2,1: 13:[19, 115] Operation: 84+31=115 Exploring Operation: 84-19=65, Resulting Numbers: [31, 65] Generated Node #0,2,2: 13:[31, 65] Operation: 84-19=65 Exploring Operation: 84-31=53, Resulting Numbers: [19, 53] Generated Node #0,2,3: 13:[19, 53] Operation: 84-31=53 Moving to Node #0,2,3 Current State: 13:[19, 53], Operations: ['78-59=19', '84-31=53'] Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,13 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[31, 65], Operations: ['78-59=19', '84-19=65'] Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,13 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[84, 12], Operations: ['78-59=19', '31-19=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,13 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[19, 115], Operations: ['78-59=19', '84+31=115'] Exploring Operation: 19+115=134, Resulting Numbers: [134] 134,13 unequal: No Solution Exploring Operation: 19*115=2185, Resulting Numbers: [2185] 2185,13 unequal: No Solution Exploring Operation: 115-19=96, Resulting Numbers: [96] 96,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[31, 78, 25], Operations: ['84-59=25'] Exploring Operation: 78-25=53, Resulting Numbers: [31, 53] Generated Node #0,3,0: 13:[31, 53] Operation: 78-25=53 Exploring Operation: 31-25=6, Resulting Numbers: [78, 6] Generated Node #0,3,1: 13:[78, 6] Operation: 31-25=6 Exploring Operation: 31+78=109, Resulting Numbers: [25, 109] Generated Node #0,3,2: 13:[25, 109] Operation: 31+78=109 Exploring Operation: 78-31=47, Resulting Numbers: [25, 47] Generated Node #0,3,3: 13:[25, 47] Operation: 78-31=47 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 13:[25, 47], Operations: ['84-59=25', '78-31=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,13 unequal: No Solution No 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: 13:[31, 53], Operations: ['84-59=25', '78-25=53'] Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,13 unequal: No Solution No 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: 13:[78, 6], Operations: ['84-59=25', '31-25=6'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[84, 31, 59, 78], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [31, 78, 25] Generated Node #0,3: 13:[31, 78, 25] Operation: 84-59=25 Moving to Node #0,3 Current State: 13:[31, 78, 25], Operations: ['84-59=25'] Exploring Operation: 31-25=6, Resulting Numbers: [78, 6] Generated Node #0,3,1: 13:[78, 6] Operation: 31-25=6 Moving to Node #0,3,1 Current State: 13:[78, 6], Operations: ['84-59=25', '31-25=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953125
hs_4
mult_heuristic
[ 2, 39, 78, 58 ]
28
[ "58-2=56", "78/39=2", "56/2=28" ]
Current State: 28:[2, 39, 78, 58], Operations: [] Exploring Operation: 58-2=56, Resulting Numbers: [39, 78, 56] Generated Node #2: [39, 78, 56] from Operation: 58-2=56 Current State: 28:[39, 78, 56], Operations: ['58-2=56'] Exploring Operation: 78/39=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 78/39=2 Current State: 28:[56, 2], Operations: ['58-2=56', '78/39=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 39, 78, 58], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [2, 58, 39] Generated Node #0,0: 28:[2, 58, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [2, 58, 2] Generated Node #0,1: 28:[2, 58, 2] Operation: 78/39=2 Exploring Operation: 78-58=20, Resulting Numbers: [2, 39, 20] Generated Node #0,2: 28:[2, 39, 20] Operation: 78-58=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[2, 39, 20], Operations: ['78-58=20'] Exploring Operation: 20/2=10, Resulting Numbers: [39, 10] Generated Node #0,2,0: 28:[39, 10] Operation: 20/2=10 Exploring Operation: 39-2=37, Resulting Numbers: [20, 37] Generated Node #0,2,1: 28:[20, 37] Operation: 39-2=37 Exploring Operation: 39-20=19, Resulting Numbers: [2, 19] Generated Node #0,2,2: 28:[2, 19] Operation: 39-20=19 Moving to Node #0,2,2 Current State: 28:[2, 19], Operations: ['78-58=20', '39-20=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[39, 10], Operations: ['78-58=20', '20/2=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[20, 37], Operations: ['78-58=20', '39-2=37'] Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[2, 58, 2], Operations: ['78/39=2'] Exploring Operation: 58-2=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 28:[2, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [2, 29] Generated Node #0,1,1: 28:[2, 29] Operation: 58/2=29 Exploring Operation: 58/2=29, Resulting Numbers: [2, 29] Generated Node #0,1,2: 28:[2, 29] Operation: 58/2=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[2, 29], Operations: ['78/39=2', '58/2=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[2, 29], Operations: ['78/39=2', '58/2=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[2, 56], Operations: ['78/39=2', '58-2=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[2, 39, 78, 58], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [2, 58, 2] Generated Node #0,1: 28:[2, 58, 2] Operation: 78/39=2 Moving to Node #0,1 Current State: 28:[2, 58, 2], Operations: ['78/39=2'] Exploring Operation: 58-2=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 28:[2, 56] Operation: 58-2=56 Moving to Node #0,1,0 Current State: 28:[2, 56], Operations: ['78/39=2', '58-2=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_3
sum_heuristic
[ 65, 6, 4, 52 ]
84
[ "65+6=71", "52/4=13", "71+13=84" ]
Current State: 84:[65, 6, 4, 52], Operations: [] Exploring Operation: 65+6=71, Resulting Numbers: [4, 52, 71] Generated Node #2: [4, 52, 71] from Operation: 65+6=71 Current State: 84:[4, 52, 71], Operations: ['65+6=71'] Exploring Operation: 52/4=13, Resulting Numbers: [71, 13] Generated Node #3: [71, 13] from Operation: 52/4=13 Current State: 84:[71, 13], Operations: ['65+6=71', '52/4=13'] Exploring Operation: 71+13=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[65, 6, 4, 52], Operations: [] Exploring Operation: 65-52=13, Resulting Numbers: [6, 4, 13] Generated Node #0,0: 84:[6, 4, 13] Operation: 65-52=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[6, 4, 13], Operations: ['65-52=13'] Exploring Operation: 13-6=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 84:[4, 7] Operation: 13-6=7 Moving to Node #0,0,0 Current State: 84:[4, 7], Operations: ['65-52=13', '13-6=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,84 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
[ 97, 16, 31, 19 ]
31
[ "97-16=81", "31+19=50", "81-50=31" ]
Current State: 31:[97, 16, 31, 19], Operations: [] Exploring Operation: 97-16=81, Resulting Numbers: [31, 19, 81] Generated Node #2: [31, 19, 81] from Operation: 97-16=81 Current State: 31:[31, 19, 81], Operations: ['97-16=81'] Exploring Operation: 31+19=50, Resulting Numbers: [81, 50] Generated Node #3: [81, 50] from Operation: 31+19=50 Current State: 31:[81, 50], Operations: ['97-16=81', '31+19=50'] Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[97, 16, 31, 19], Operations: [] Exploring Operation: 97-16=81, Resulting Numbers: [31, 19, 81] Generated Node #0,0: 31:[31, 19, 81] Operation: 97-16=81 Exploring Operation: 97-19=78, Resulting Numbers: [16, 31, 78] Generated Node #0,1: 31:[16, 31, 78] Operation: 97-19=78 Exploring Operation: 16+19=35, Resulting Numbers: [97, 31, 35] Generated Node #0,2: 31:[97, 31, 35] Operation: 16+19=35 Exploring Operation: 97-31=66, Resulting Numbers: [16, 19, 66] Generated Node #0,3: 31:[16, 19, 66] Operation: 97-31=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[31, 19, 81], Operations: ['97-16=81'] Exploring Operation: 81-19=62, Resulting Numbers: [31, 62] Generated Node #0,0,0: 31:[31, 62] Operation: 81-19=62 Exploring Operation: 31+19=50, Resulting Numbers: [81, 50] Generated Node #0,0,1: 31:[81, 50] Operation: 31+19=50 Exploring Operation: 81-31=50, Resulting Numbers: [19, 50] Generated Node #0,0,2: 31:[19, 50] Operation: 81-31=50 Exploring Operation: 31-19=12, Resulting Numbers: [81, 12] Generated Node #0,0,3: 31:[81, 12] Operation: 31-19=12 Moving to Node #0,0,0 Current State: 31:[31, 62], Operations: ['97-16=81', '81-19=62'] Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[97, 16, 31, 19], Operations: [] Exploring Operation: 97-16=81, Resulting Numbers: [31, 19, 81] Generated Node #0,0: 31:[31, 19, 81] Operation: 97-16=81 Moving to Node #0,0 Current State: 31:[31, 19, 81], Operations: ['97-16=81'] Exploring Operation: 81-19=62, Resulting Numbers: [31, 62] Generated Node #0,0,0: 31:[31, 62] Operation: 81-19=62 Moving to Node #0,0,0 Current State: 31:[31, 62], Operations: ['97-16=81', '81-19=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 17, 6, 96, 69 ]
36
[ "69-17=52", "96/6=16", "52-16=36" ]
Current State: 36:[17, 6, 96, 69], Operations: [] Exploring Operation: 69-17=52, Resulting Numbers: [6, 96, 52] Generated Node #2: [6, 96, 52] from Operation: 69-17=52 Current State: 36:[6, 96, 52], Operations: ['69-17=52'] Exploring Operation: 96/6=16, Resulting Numbers: [52, 16] Generated Node #3: [52, 16] from Operation: 96/6=16 Current State: 36:[52, 16], Operations: ['69-17=52', '96/6=16'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[17, 6, 96, 69], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [17, 6, 27] Generated Node #0,0: 36:[17, 6, 27] Operation: 96-69=27 Exploring Operation: 96/6=16, Resulting Numbers: [17, 69, 16] Generated Node #0,1: 36:[17, 69, 16] Operation: 96/6=16 Exploring Operation: 96-17=79, Resulting Numbers: [6, 69, 79] Generated Node #0,2: 36:[6, 69, 79] Operation: 96-17=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[17, 6, 27], Operations: ['96-69=27'] Exploring Operation: 27-17=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 36:[6, 10] Operation: 27-17=10 Exploring Operation: 27-6=21, Resulting Numbers: [17, 21] Generated Node #0,0,1: 36:[17, 21] Operation: 27-6=21 Exploring Operation: 6+27=33, Resulting Numbers: [17, 33] Generated Node #0,0,2: 36:[17, 33] Operation: 6+27=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[6, 10], Operations: ['96-69=27', '27-17=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,36 unequal: No Solution No 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: 36:[17, 21], Operations: ['96-69=27', '27-6=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,36 unequal: No Solution No 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: 36:[17, 33], Operations: ['96-69=27', '6+27=33'] Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,36 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[17, 69, 16], Operations: ['96/6=16'] Exploring Operation: 17-16=1, Resulting Numbers: [69, 1] Generated Node #0,1,0: 36:[69, 1] Operation: 17-16=1 Exploring Operation: 69-16=53, Resulting Numbers: [17, 53] Generated Node #0,1,1: 36:[17, 53] Operation: 69-16=53 Exploring Operation: 69-17=52, Resulting Numbers: [16, 52] Generated Node #0,1,2: 36:[16, 52] Operation: 69-17=52 Moving to Node #0,1,1 Current State: 36:[17, 53], Operations: ['96/6=16', '69-16=53'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[17, 6, 96, 69], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [17, 69, 16] Generated Node #0,1: 36:[17, 69, 16] Operation: 96/6=16 Moving to Node #0,1 Current State: 36:[17, 69, 16], Operations: ['96/6=16'] Exploring Operation: 69-16=53, Resulting Numbers: [17, 53] Generated Node #0,1,1: 36:[17, 53] Operation: 69-16=53 Moving to Node #0,1,1 Current State: 36:[17, 53], Operations: ['96/6=16', '69-16=53'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 9, 3, 66, 32 ]
30
[ "9/3=3", "32*3=96", "96-66=30" ]
Current State: 30:[9, 3, 66, 32], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [66, 32, 3] Generated Node #2: [66, 32, 3] from Operation: 9/3=3 Current State: 30:[66, 32, 3], Operations: ['9/3=3'] Exploring Operation: 32*3=96, Resulting Numbers: [66, 96] Generated Node #3: [66, 96] from Operation: 32*3=96 Current State: 30:[66, 96], Operations: ['9/3=3', '32*3=96'] Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[9, 3, 66, 32], Operations: [] Exploring Operation: 66-32=34, Resulting Numbers: [9, 3, 34] Generated Node #0,0: 30:[9, 3, 34] Operation: 66-32=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[9, 3, 34], Operations: ['66-32=34'] Exploring Operation: 34-3=31, Resulting Numbers: [9, 31] Generated Node #0,0,0: 30:[9, 31] Operation: 34-3=31 Moving to Node #0,0,0 Current State: 30:[9, 31], Operations: ['66-32=34', '34-3=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,30 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
[ 29, 61, 12, 21 ]
41
[ "61-29=32", "21-12=9", "32+9=41" ]
Current State: 41:[29, 61, 12, 21], Operations: [] Exploring Operation: 61-29=32, Resulting Numbers: [12, 21, 32] Generated Node #2: [12, 21, 32] from Operation: 61-29=32 Current State: 41:[12, 21, 32], Operations: ['61-29=32'] Exploring Operation: 21-12=9, Resulting Numbers: [32, 9] Generated Node #3: [32, 9] from Operation: 21-12=9 Current State: 41:[32, 9], Operations: ['61-29=32', '21-12=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[29, 61, 12, 21], Operations: [] Exploring Operation: 29+12=41, Resulting Numbers: [61, 21, 41] Generated Node #0,0: 41:[61, 21, 41] Operation: 29+12=41 Exploring Operation: 61-12=49, Resulting Numbers: [29, 21, 49] Generated Node #0,1: 41:[29, 21, 49] Operation: 61-12=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[61, 21, 41], Operations: ['29+12=41'] Exploring Operation: 61-21=40, Resulting Numbers: [41, 40] Generated Node #0,0,0: 41:[41, 40] Operation: 61-21=40 Exploring Operation: 61+21=82, Resulting Numbers: [41, 82] Generated Node #0,0,1: 41:[41, 82] Operation: 61+21=82 Moving to Node #0,0,0 Current State: 41:[41, 40], Operations: ['29+12=41', '61-21=40'] Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[41, 82], Operations: ['29+12=41', '61+21=82'] Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[29, 61, 12, 21], Operations: [] Exploring Operation: 29+12=41, Resulting Numbers: [61, 21, 41] Generated Node #0,0: 41:[61, 21, 41] Operation: 29+12=41 Moving to Node #0,0 Current State: 41:[61, 21, 41], Operations: ['29+12=41'] Exploring Operation: 61+21=82, Resulting Numbers: [41, 82] Generated Node #0,0,1: 41:[41, 82] Operation: 61+21=82 Moving to Node #0,0,1 Current State: 41:[41, 82], Operations: ['29+12=41', '61+21=82'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 9, 16, 98, 7 ]
53
[ "9*16=144", "98-7=91", "144-91=53" ]
Current State: 53:[9, 16, 98, 7], Operations: [] Exploring Operation: 9*16=144, Resulting Numbers: [98, 7, 144] Generated Node #2: [98, 7, 144] from Operation: 9*16=144 Current State: 53:[98, 7, 144], Operations: ['9*16=144'] Exploring Operation: 98-7=91, Resulting Numbers: [144, 91] Generated Node #3: [144, 91] from Operation: 98-7=91 Current State: 53:[144, 91], Operations: ['9*16=144', '98-7=91'] Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[9, 16, 98, 7], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [9, 7, 82] Generated Node #0,0: 53:[9, 7, 82] Operation: 98-16=82 Exploring Operation: 9+16=25, Resulting Numbers: [98, 7, 25] Generated Node #0,1: 53:[98, 7, 25] Operation: 9+16=25 Exploring Operation: 9*7=63, Resulting Numbers: [16, 98, 63] Generated Node #0,2: 53:[16, 98, 63] Operation: 9*7=63 Exploring Operation: 98-9=89, Resulting Numbers: [16, 7, 89] Generated Node #0,3: 53:[16, 7, 89] Operation: 98-9=89 Exploring Operation: 9+7=16, Resulting Numbers: [16, 98, 16] Generated Node #0,4: 53:[16, 98, 16] Operation: 9+7=16 Moving to Node #0,2 Current State: 53:[16, 98, 63], Operations: ['9*7=63'] Exploring Operation: 16+98=114, Resulting Numbers: [63, 114] Generated Node #0,2,0: 53:[63, 114] Operation: 16+98=114 Exploring Operation: 63-16=47, Resulting Numbers: [98, 47] Generated Node #0,2,1: 53:[98, 47] Operation: 63-16=47 Exploring Operation: 16+63=79, Resulting Numbers: [98, 79] Generated Node #0,2,2: 53:[98, 79] Operation: 16+63=79 Exploring Operation: 98-16=82, Resulting Numbers: [63, 82] Generated Node #0,2,3: 53:[63, 82] Operation: 98-16=82 Exploring Operation: 98-63=35, Resulting Numbers: [16, 35] Generated Node #0,2,4: 53:[16, 35] Operation: 98-63=35 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[63, 82], Operations: ['9*7=63', '98-16=82'] Exploring Operation: 63*82=5166, Resulting Numbers: [5166] 5166,53 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,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,1 Current State: 53:[98, 47], Operations: ['9*7=63', '63-16=47'] Exploring Operation: 98*47=4606, Resulting Numbers: [4606] 4606,53 unequal: No Solution Exploring Operation: 98-47=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 98+47=145, Resulting Numbers: [145] 145,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,4 Current State: 53:[16, 35], Operations: ['9*7=63', '98-63=35'] Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,53 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,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,0 Current State: 53:[63, 114], Operations: ['9*7=63', '16+98=114'] Exploring Operation: 63*114=7182, Resulting Numbers: [7182] 7182,53 unequal: No Solution Exploring Operation: 63+114=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 114-63=51, Resulting Numbers: [51] 51,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,2 Current State: 53:[98, 79], Operations: ['9*7=63', '16+63=79'] Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,53 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: 53:[98, 7, 25], Operations: ['9+16=25'] Exploring Operation: 98-7=91, Resulting Numbers: [25, 91] Generated Node #0,1,0: 53:[25, 91] Operation: 98-7=91 Exploring Operation: 98/7=14, Resulting Numbers: [25, 14] Generated Node #0,1,1: 53:[25, 14] Operation: 98/7=14 Exploring Operation: 98+7=105, Resulting Numbers: [25, 105] Generated Node #0,1,2: 53:[25, 105] Operation: 98+7=105 Exploring Operation: 98-25=73, Resulting Numbers: [7, 73] Generated Node #0,1,3: 53:[7, 73] Operation: 98-25=73 Exploring Operation: 7+25=32, Resulting Numbers: [98, 32] Generated Node #0,1,4: 53:[98, 32] Operation: 7+25=32 Moving to Node #0,4 Current State: 53:[16, 98, 16], Operations: ['9+7=16'] Exploring Operation: 98-16=82, Resulting Numbers: [16, 82] Generated Node #0,4,0: 53:[16, 82] Operation: 98-16=82 Exploring Operation: 16+16=32, Resulting Numbers: [98, 32] Generated Node #0,4,1: 53:[98, 32] Operation: 16+16=32 Exploring Operation: 16/16=1, Resulting Numbers: [98, 1] Generated Node #0,4,2: 53:[98, 1] Operation: 16/16=1 Exploring Operation: 16+98=114, Resulting Numbers: [16, 114] Generated Node #0,4,3: 53:[16, 114] Operation: 16+98=114 Exploring Operation: 98-16=82, Resulting Numbers: [16, 82] Generated Node #0,4,4: 53:[16, 82] Operation: 98-16=82 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[16, 82], Operations: ['9+7=16', '98-16=82'] Exploring Operation: 16+82=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 16*82=1312, Resulting Numbers: [1312] 1312,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[98, 32], Operations: ['9+7=16', '16+16=32'] Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,53 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[16, 82], Operations: ['9+7=16', '98-16=82'] Exploring Operation: 16*82=1312, Resulting Numbers: [1312] 1312,53 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 16+82=98, Resulting Numbers: [98] 98,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[98, 1], Operations: ['9+7=16', '16/16=1'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,53 unequal: No Solution Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[16, 114], Operations: ['9+7=16', '16+98=114'] Exploring Operation: 16+114=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 114-16=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 16*114=1824, Resulting Numbers: [1824] 1824,53 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: 53:[9, 7, 82], Operations: ['98-16=82'] Exploring Operation: 82-9=73, Resulting Numbers: [7, 73] Generated Node #0,0,0: 53:[7, 73] Operation: 82-9=73 Exploring Operation: 9*7=63, Resulting Numbers: [82, 63] Generated Node #0,0,1: 53:[82, 63] Operation: 9*7=63 Exploring Operation: 82-7=75, Resulting Numbers: [9, 75] Generated Node #0,0,2: 53:[9, 75] Operation: 82-7=75 Exploring Operation: 9+7=16, Resulting Numbers: [82, 16] Generated Node #0,0,3: 53:[82, 16] Operation: 9+7=16 Exploring Operation: 9-7=2, Resulting Numbers: [82, 2] Generated Node #0,0,4: 53:[82, 2] Operation: 9-7=2 Moving to Node #0,3 Current State: 53:[16, 7, 89], Operations: ['98-9=89'] Exploring Operation: 16+7=23, Resulting Numbers: [89, 23] Generated Node #0,3,0: 53:[89, 23] Operation: 16+7=23 Exploring Operation: 16-7=9, Resulting Numbers: [89, 9] Generated Node #0,3,1: 53:[89, 9] Operation: 16-7=9 Exploring Operation: 89-16=73, Resulting Numbers: [7, 73] Generated Node #0,3,2: 53:[7, 73] Operation: 89-16=73 Exploring Operation: 7+89=96, Resulting Numbers: [16, 96] Generated Node #0,3,3: 53:[16, 96] Operation: 7+89=96 Exploring Operation: 89-7=82, Resulting Numbers: [16, 82] Generated Node #0,3,4: 53:[16, 82] Operation: 89-7=82 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[89, 23], Operations: ['98-9=89', '16+7=23'] Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,53 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[7, 73], Operations: ['98-9=89', '89-16=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,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,4 Current State: 53:[16, 82], Operations: ['98-9=89', '89-7=82'] Exploring Operation: 16*82=1312, Resulting Numbers: [1312] 1312,53 unequal: No Solution Exploring Operation: 16+82=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[89, 9], Operations: ['98-9=89', '16-7=9'] Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,53 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[16, 96], Operations: ['98-9=89', '7+89=96'] Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 16+96=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 16*96=1536, Resulting Numbers: [1536] 1536,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 53:[82, 63], Operations: ['98-16=82', '9*7=63'] Exploring Operation: 82*63=5166, Resulting Numbers: [5166] 5166,53 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 82+63=145, Resulting Numbers: [145] 145,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[25, 91], Operations: ['9+16=25', '98-7=91'] Exploring Operation: 25*91=2275, Resulting Numbers: [2275] 2275,53 unequal: No Solution Exploring Operation: 25+91=116, Resulting Numbers: [116] 116,53 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[7, 73], Operations: ['98-16=82', '82-9=73'] Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,53 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[98, 32], Operations: ['9+16=25', '7+25=32'] Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,53 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[82, 16], Operations: ['98-16=82', '9+7=16'] Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[7, 73], Operations: ['9+16=25', '98-25=73'] Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,53 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[9, 75], Operations: ['98-16=82', '82-7=75'] Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 9*75=675, Resulting Numbers: [675] 675,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[25, 14], Operations: ['9+16=25', '98/7=14'] Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,53 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,53 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[82, 2], Operations: ['98-16=82', '9-7=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,53 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[25, 105], Operations: ['9+16=25', '98+7=105'] Exploring Operation: 25*105=2625, Resulting Numbers: [2625] 2625,53 unequal: No Solution Exploring Operation: 105-25=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 25+105=130, Resulting Numbers: [130] 130,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 68, 92, 80, 50 ]
25
[ "68+92=160", "80*50=4000", "4000/160=25" ]
Current State: 25:[68, 92, 80, 50], Operations: [] Exploring Operation: 68+92=160, Resulting Numbers: [80, 50, 160] Generated Node #2: [80, 50, 160] from Operation: 68+92=160 Current State: 25:[80, 50, 160], Operations: ['68+92=160'] Exploring Operation: 80*50=4000, Resulting Numbers: [160, 4000] Generated Node #3: [160, 4000] from Operation: 80*50=4000 Current State: 25:[160, 4000], Operations: ['68+92=160', '80*50=4000'] Exploring Operation: 4000/160=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[68, 92, 80, 50], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [68, 50, 12] Generated Node #0,0: 25:[68, 50, 12] Operation: 92-80=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[68, 50, 12], Operations: ['92-80=12'] Exploring Operation: 68-50=18, Resulting Numbers: [12, 18] Generated Node #0,0,0: 25:[12, 18] Operation: 68-50=18 Moving to Node #0,0,0 Current State: 25:[12, 18], Operations: ['92-80=12', '68-50=18'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,25 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
[ 72, 12, 14, 14 ]
43
[ "72+14=86", "14-12=2", "86/2=43" ]
Current State: 43:[72, 12, 14, 14], Operations: [] Exploring Operation: 72+14=86, Resulting Numbers: [12, 86] Generated Node #2: [12, 86] from Operation: 72+14=86 Current State: 43:[12, 86], Operations: ['72+14=86'] Exploring Operation: 14-12=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 14-12=2 Current State: 43:[86, 2], Operations: ['72+14=86', '14-12=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[72, 12, 14, 14], Operations: [] Exploring Operation: 72-12=60, Resulting Numbers: [14, 14, 60] Generated Node #0,0: 43:[14, 14, 60] Operation: 72-12=60 Exploring Operation: 72-14=58, Resulting Numbers: [12, 14, 58] Generated Node #0,1: 43:[12, 14, 58] Operation: 72-14=58 Exploring Operation: 12+14=26, Resulting Numbers: [72, 14, 26] Generated Node #0,2: 43:[72, 14, 26] Operation: 12+14=26 Exploring Operation: 72-14=58, Resulting Numbers: [12, 14, 58] Generated Node #0,3: 43:[12, 14, 58] Operation: 72-14=58 Moving to Node #0,0 Current State: 43:[14, 14, 60], Operations: ['72-12=60'] Exploring Operation: 14+14=28, Resulting Numbers: [60, 28] Generated Node #0,0,0: 43:[60, 28] Operation: 14+14=28 Exploring Operation: 60-14=46, Resulting Numbers: [14, 46] Generated Node #0,0,1: 43:[14, 46] Operation: 60-14=46 Exploring Operation: 60-14=46, Resulting Numbers: [14, 46] Generated Node #0,0,2: 43:[14, 46] Operation: 60-14=46 Exploring Operation: 14/14=1, Resulting Numbers: [60, 1] Generated Node #0,0,3: 43:[60, 1] Operation: 14/14=1 Moving to Node #0,2 Current State: 43:[72, 14, 26], Operations: ['12+14=26'] Exploring Operation: 72-26=46, Resulting Numbers: [14, 46] Generated Node #0,2,0: 43:[14, 46] Operation: 72-26=46 Exploring Operation: 72-14=58, Resulting Numbers: [26, 58] Generated Node #0,2,1: 43:[26, 58] Operation: 72-14=58 Exploring Operation: 14+26=40, Resulting Numbers: [72, 40] Generated Node #0,2,2: 43:[72, 40] Operation: 14+26=40 Exploring Operation: 72+14=86, Resulting Numbers: [26, 86] Generated Node #0,2,3: 43:[26, 86] Operation: 72+14=86 Moving to Node #0,1 Current State: 43:[12, 14, 58], Operations: ['72-14=58'] Exploring Operation: 14-12=2, Resulting Numbers: [58, 2] Generated Node #0,1,0: 43:[58, 2] Operation: 14-12=2 Exploring Operation: 58-12=46, Resulting Numbers: [14, 46] Generated Node #0,1,1: 43:[14, 46] Operation: 58-12=46 Exploring Operation: 58-14=44, Resulting Numbers: [12, 44] Generated Node #0,1,2: 43:[12, 44] Operation: 58-14=44 Exploring Operation: 12+14=26, Resulting Numbers: [58, 26] Generated Node #0,1,3: 43:[58, 26] Operation: 12+14=26 Moving to Node #0,3 Current State: 43:[12, 14, 58], Operations: ['72-14=58'] Exploring Operation: 14-12=2, Resulting Numbers: [58, 2] Generated Node #0,3,0: 43:[58, 2] Operation: 14-12=2 Exploring Operation: 58-12=46, Resulting Numbers: [14, 46] Generated Node #0,3,1: 43:[14, 46] Operation: 58-12=46 Exploring Operation: 12+14=26, Resulting Numbers: [58, 26] Generated Node #0,3,2: 43:[58, 26] Operation: 12+14=26 Exploring Operation: 58-14=44, Resulting Numbers: [12, 44] Generated Node #0,3,3: 43:[12, 44] Operation: 58-14=44 Moving to Node #0,0,0 Current State: 43:[60, 28], Operations: ['72-12=60', '14+14=28'] Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,43 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[14, 46], Operations: ['72-12=60', '60-14=46'] Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[72, 40], Operations: ['12+14=26', '14+26=40'] Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,43 unequal: No Solution Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[12, 44], Operations: ['72-14=58', '58-14=44'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,43 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[58, 26], Operations: ['72-14=58', '12+14=26'] Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,43 unequal: No Solution Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[26, 58], Operations: ['12+14=26', '72-14=58'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[14, 46], Operations: ['72-14=58', '58-12=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,43 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[58, 26], Operations: ['72-14=58', '12+14=26'] Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,43 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[12, 44], Operations: ['72-14=58', '58-14=44'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,43 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[14, 46], Operations: ['72-12=60', '60-14=46'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,43 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[14, 46], Operations: ['12+14=26', '72-26=46'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[14, 46], Operations: ['72-14=58', '58-12=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,43 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[58, 2], Operations: ['72-14=58', '14-12=2'] Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[58, 2], Operations: ['72-14=58', '14-12=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[60, 1], Operations: ['72-12=60', '14/14=1'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[26, 86], Operations: ['12+14=26', '72+14=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,43 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 73, 21, 21, 66 ]
73
[ "21-21=0", "66*0=0", "73+0=73" ]
Current State: 73:[73, 21, 21, 66], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [73, 66, 0] Generated Node #2: [73, 66, 0] from Operation: 21-21=0 Current State: 73:[73, 66, 0], Operations: ['21-21=0'] Exploring Operation: 66*0=0, Resulting Numbers: [73, 0] Generated Node #3: [73, 0] from Operation: 66*0=0 Current State: 73:[73, 0], Operations: ['21-21=0', '66*0=0'] Exploring Operation: 73+0=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[73, 21, 21, 66], Operations: [] Exploring Operation: 21+66=87, Resulting Numbers: [73, 21, 87] Generated Node #0,0: 73:[73, 21, 87] Operation: 21+66=87 Exploring Operation: 21+21=42, Resulting Numbers: [73, 66, 42] Generated Node #0,1: 73:[73, 66, 42] Operation: 21+21=42 Exploring Operation: 21+66=87, Resulting Numbers: [73, 21, 87] Generated Node #0,2: 73:[73, 21, 87] Operation: 21+66=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[73, 66, 42], Operations: ['21+21=42'] Exploring Operation: 66+42=108, Resulting Numbers: [73, 108] Generated Node #0,1,0: 73:[73, 108] Operation: 66+42=108 Exploring Operation: 73+42=115, Resulting Numbers: [66, 115] Generated Node #0,1,1: 73:[66, 115] Operation: 73+42=115 Exploring Operation: 73-42=31, Resulting Numbers: [66, 31] Generated Node #0,1,2: 73:[66, 31] Operation: 73-42=31 Moving to Node #0,1,0 Current State: 73:[73, 108], Operations: ['21+21=42', '66+42=108'] Exploring Operation: 108-73=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 73+108=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 73*108=7884, Resulting Numbers: [7884] 7884,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[66, 115], Operations: ['21+21=42', '73+42=115'] Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,73 unequal: No Solution Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[66, 31], Operations: ['21+21=42', '73-42=31'] Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,73 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,73 unequal: No Solution No 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: 73:[73, 21, 87], Operations: ['21+66=87'] Exploring Operation: 73+21=94, Resulting Numbers: [87, 94] Generated Node #0,0,0: 73:[87, 94] Operation: 73+21=94 Exploring Operation: 87-21=66, Resulting Numbers: [73, 66] Generated Node #0,0,1: 73:[73, 66] Operation: 87-21=66 Exploring Operation: 73-21=52, Resulting Numbers: [87, 52] Generated Node #0,0,2: 73:[87, 52] Operation: 73-21=52 Moving to Node #0,0,1 Current State: 73:[73, 66], Operations: ['21+66=87', '87-21=66'] Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,73 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[87, 94], Operations: ['21+66=87', '73+21=94'] Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 87+94=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 87*94=8178, Resulting Numbers: [8178] 8178,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[87, 52], Operations: ['21+66=87', '73-21=52'] Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,73 unequal: No Solution Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,73 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,73 unequal: No Solution No 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: 73:[73, 21, 87], Operations: ['21+66=87'] Exploring Operation: 87-21=66, Resulting Numbers: [73, 66] Generated Node #0,2,0: 73:[73, 66] Operation: 87-21=66 Exploring Operation: 73+21=94, Resulting Numbers: [87, 94] Generated Node #0,2,1: 73:[87, 94] Operation: 73+21=94 Exploring Operation: 73-21=52, Resulting Numbers: [87, 52] Generated Node #0,2,2: 73:[87, 52] Operation: 73-21=52 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[73, 66], Operations: ['21+66=87', '87-21=66'] Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,73 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,73 unequal: No Solution No 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: 73:[87, 94], Operations: ['21+66=87', '73+21=94'] Exploring Operation: 87*94=8178, Resulting Numbers: [8178] 8178,73 unequal: No Solution Exploring Operation: 87+94=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,73 unequal: No Solution No 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: 73:[87, 52], Operations: ['21+66=87', '73-21=52'] Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,73 unequal: No Solution Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,73 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,73 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
[ 41, 88, 46, 42 ]
42
[ "88-41=47", "47-46=1", "42*1=42" ]
Current State: 42:[41, 88, 46, 42], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [46, 42, 47] Generated Node #2: [46, 42, 47] from Operation: 88-41=47 Current State: 42:[46, 42, 47], Operations: ['88-41=47'] Exploring Operation: 47-46=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 47-46=1 Current State: 42:[42, 1], Operations: ['88-41=47', '47-46=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[41, 88, 46, 42], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [41, 42, 42] Generated Node #0,0: 42:[41, 42, 42] Operation: 88-46=42 Exploring Operation: 88-41=47, Resulting Numbers: [46, 42, 47] Generated Node #0,1: 42:[46, 42, 47] Operation: 88-41=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[41, 42, 42], Operations: ['88-46=42'] Exploring Operation: 42-41=1, Resulting Numbers: [42, 1] Generated Node #0,0,0: 42:[42, 1] Operation: 42-41=1 Exploring Operation: 42-41=1, Resulting Numbers: [42, 1] Generated Node #0,0,1: 42:[42, 1] Operation: 42-41=1 Moving to Node #0,0,0 Current State: 42:[42, 1], Operations: ['88-46=42', '42-41=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[41, 88, 46, 42], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [41, 42, 42] Generated Node #0,0: 42:[41, 42, 42] Operation: 88-46=42 Moving to Node #0,0 Current State: 42:[41, 42, 42], Operations: ['88-46=42'] Exploring Operation: 42-41=1, Resulting Numbers: [42, 1] Generated Node #0,0,0: 42:[42, 1] Operation: 42-41=1 Moving to Node #0,0,0 Current State: 42:[42, 1], Operations: ['88-46=42', '42-41=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 55, 99, 99, 45 ]
99
[ "99-55=44", "45-44=1", "99*1=99" ]
Current State: 99:[55, 99, 99, 45], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [45, 44] Generated Node #2: [45, 44] from Operation: 99-55=44 Current State: 99:[45, 44], Operations: ['99-55=44'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,99 equal: Goal Reached Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[55, 99, 99, 45], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [99, 45, 44] Generated Node #0,0: 99:[99, 45, 44] Operation: 99-55=44 Exploring Operation: 55+45=100, Resulting Numbers: [99, 99, 100] Generated Node #0,1: 99:[99, 99, 100] Operation: 55+45=100 Exploring Operation: 55-45=10, Resulting Numbers: [99, 99, 10] Generated Node #0,2: 99:[99, 99, 10] Operation: 55-45=10 Exploring Operation: 99-55=44, Resulting Numbers: [99, 45, 44] Generated Node #0,3: 99:[99, 45, 44] Operation: 99-55=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[99, 99, 100], Operations: ['55+45=100'] Exploring Operation: 99/99=1, Resulting Numbers: [100, 1] Generated Node #0,1,0: 99:[100, 1] Operation: 99/99=1 Exploring Operation: 99-99=0, Resulting Numbers: [100, 0] Generated Node #0,1,1: 99:[100, 0] Operation: 99-99=0 Exploring Operation: 100-99=1, Resulting Numbers: [99, 1] Generated Node #0,1,2: 99:[99, 1] Operation: 100-99=1 Exploring Operation: 100-99=1, Resulting Numbers: [99, 1] Generated Node #0,1,3: 99:[99, 1] Operation: 100-99=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[99, 1], Operations: ['55+45=100', '100-99=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[55, 99, 99, 45], Operations: [] Exploring Operation: 55+45=100, Resulting Numbers: [99, 99, 100] Generated Node #0,1: 99:[99, 99, 100] Operation: 55+45=100 Moving to Node #0,1 Current State: 99:[99, 99, 100], Operations: ['55+45=100'] Exploring Operation: 100-99=1, Resulting Numbers: [99, 1] Generated Node #0,1,2: 99:[99, 1] Operation: 100-99=1 Moving to Node #0,1,2 Current State: 99:[99, 1], Operations: ['55+45=100', '100-99=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 18, 76, 39, 11 ]
83
[ "18*11=198", "76+39=115", "198-115=83" ]
Current State: 83:[18, 76, 39, 11], Operations: [] Exploring Operation: 18*11=198, Resulting Numbers: [76, 39, 198] Generated Node #2: [76, 39, 198] from Operation: 18*11=198 Current State: 83:[76, 39, 198], Operations: ['18*11=198'] Exploring Operation: 76+39=115, Resulting Numbers: [198, 115] Generated Node #3: [198, 115] from Operation: 76+39=115 Current State: 83:[198, 115], Operations: ['18*11=198', '76+39=115'] Exploring Operation: 198-115=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[18, 76, 39, 11], Operations: [] Exploring Operation: 39+11=50, Resulting Numbers: [18, 76, 50] Generated Node #0,0: 83:[18, 76, 50] Operation: 39+11=50 Exploring Operation: 76+11=87, Resulting Numbers: [18, 39, 87] Generated Node #0,1: 83:[18, 39, 87] Operation: 76+11=87 Exploring Operation: 18+76=94, Resulting Numbers: [39, 11, 94] Generated Node #0,2: 83:[39, 11, 94] Operation: 18+76=94 Exploring Operation: 18+11=29, Resulting Numbers: [76, 39, 29] Generated Node #0,3: 83:[76, 39, 29] Operation: 18+11=29 Exploring Operation: 18+39=57, Resulting Numbers: [76, 11, 57] Generated Node #0,4: 83:[76, 11, 57] Operation: 18+39=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[18, 76, 50], Operations: ['39+11=50'] Exploring Operation: 50-18=32, Resulting Numbers: [76, 32] Generated Node #0,0,0: 83:[76, 32] Operation: 50-18=32 Exploring Operation: 76+50=126, Resulting Numbers: [18, 126] Generated Node #0,0,1: 83:[18, 126] Operation: 76+50=126 Exploring Operation: 18+76=94, Resulting Numbers: [50, 94] Generated Node #0,0,2: 83:[50, 94] Operation: 18+76=94 Exploring Operation: 18+50=68, Resulting Numbers: [76, 68] Generated Node #0,0,3: 83:[76, 68] Operation: 18+50=68 Exploring Operation: 76-18=58, Resulting Numbers: [50, 58] Generated Node #0,0,4: 83:[50, 58] Operation: 76-18=58 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[76, 68], Operations: ['39+11=50', '18+50=68'] Exploring Operation: 76*68=5168, Resulting Numbers: [5168] 5168,83 unequal: No Solution Exploring Operation: 76+68=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,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:[50, 94], Operations: ['39+11=50', '18+76=94'] Exploring Operation: 50*94=4700, Resulting Numbers: [4700] 4700,83 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 50+94=144, Resulting Numbers: [144] 144,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:[76, 32], Operations: ['39+11=50', '50-18=32'] Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,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,4 Current State: 83:[50, 58], Operations: ['39+11=50', '76-18=58'] Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 50*58=2900, Resulting Numbers: [2900] 2900,83 unequal: No Solution Exploring Operation: 50+58=108, Resulting Numbers: [108] 108,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:[18, 126], Operations: ['39+11=50', '76+50=126'] Exploring Operation: 126/18=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 18*126=2268, Resulting Numbers: [2268] 2268,83 unequal: No Solution Exploring Operation: 126-18=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 18+126=144, Resulting Numbers: [144] 144,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[76, 39, 29], Operations: ['18+11=29'] Exploring Operation: 39+29=68, Resulting Numbers: [76, 68] Generated Node #0,3,0: 83:[76, 68] Operation: 39+29=68 Exploring Operation: 76+39=115, Resulting Numbers: [29, 115] Generated Node #0,3,1: 83:[29, 115] Operation: 76+39=115 Exploring Operation: 76+29=105, Resulting Numbers: [39, 105] Generated Node #0,3,2: 83:[39, 105] Operation: 76+29=105 Exploring Operation: 76-29=47, Resulting Numbers: [39, 47] Generated Node #0,3,3: 83:[39, 47] Operation: 76-29=47 Exploring Operation: 39-29=10, Resulting Numbers: [76, 10] Generated Node #0,3,4: 83:[76, 10] Operation: 39-29=10 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[76, 68], Operations: ['18+11=29', '39+29=68'] Exploring Operation: 76*68=5168, Resulting Numbers: [5168] 5168,83 unequal: No Solution Exploring Operation: 76+68=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,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,3,2 Current State: 83:[39, 105], Operations: ['18+11=29', '76+29=105'] Exploring Operation: 105-39=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 39+105=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 39*105=4095, Resulting Numbers: [4095] 4095,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,3,3 Current State: 83:[39, 47], Operations: ['18+11=29', '76-29=47'] Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,83 unequal: No Solution Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,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,3,4 Current State: 83:[76, 10], Operations: ['18+11=29', '39-29=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,83 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,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,3,1 Current State: 83:[29, 115], Operations: ['18+11=29', '76+39=115'] Exploring Operation: 29*115=3335, Resulting Numbers: [3335] 3335,83 unequal: No Solution Exploring Operation: 29+115=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 115-29=86, Resulting Numbers: [86] 86,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,4 Current State: 83:[76, 11, 57], Operations: ['18+39=57'] Exploring Operation: 57-11=46, Resulting Numbers: [76, 46] Generated Node #0,4,0: 83:[76, 46] Operation: 57-11=46 Exploring Operation: 76+11=87, Resulting Numbers: [57, 87] Generated Node #0,4,1: 83:[57, 87] Operation: 76+11=87 Exploring Operation: 11+57=68, Resulting Numbers: [76, 68] Generated Node #0,4,2: 83:[76, 68] Operation: 11+57=68 Exploring Operation: 76-11=65, Resulting Numbers: [57, 65] Generated Node #0,4,3: 83:[57, 65] Operation: 76-11=65 Exploring Operation: 76+57=133, Resulting Numbers: [11, 133] Generated Node #0,4,4: 83:[11, 133] Operation: 76+57=133 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 83:[76, 68], Operations: ['18+39=57', '11+57=68'] Exploring Operation: 76+68=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 76*68=5168, Resulting Numbers: [5168] 5168,83 unequal: No Solution Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,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,4,1 Current State: 83:[57, 87], Operations: ['18+39=57', '76+11=87'] Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 57*87=4959, Resulting Numbers: [4959] 4959,83 unequal: No Solution Exploring Operation: 57+87=144, Resulting Numbers: [144] 144,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,4,0 Current State: 83:[76, 46], Operations: ['18+39=57', '57-11=46'] Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,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,4,3 Current State: 83:[57, 65], Operations: ['18+39=57', '76-11=65'] Exploring Operation: 57*65=3705, Resulting Numbers: [3705] 3705,83 unequal: No Solution Exploring Operation: 57+65=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,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,4,4 Current State: 83:[11, 133], Operations: ['18+39=57', '76+57=133'] Exploring Operation: 133-11=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 11*133=1463, Resulting Numbers: [1463] 1463,83 unequal: No Solution Exploring Operation: 11+133=144, Resulting Numbers: [144] 144,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:[18, 39, 87], Operations: ['76+11=87'] Exploring Operation: 87-18=69, Resulting Numbers: [39, 69] Generated Node #0,1,0: 83:[39, 69] Operation: 87-18=69 Exploring Operation: 18+39=57, Resulting Numbers: [87, 57] Generated Node #0,1,1: 83:[87, 57] Operation: 18+39=57 Exploring Operation: 18+87=105, Resulting Numbers: [39, 105] Generated Node #0,1,2: 83:[39, 105] Operation: 18+87=105 Exploring Operation: 39-18=21, Resulting Numbers: [87, 21] Generated Node #0,1,3: 83:[87, 21] Operation: 39-18=21 Exploring Operation: 87-39=48, Resulting Numbers: [18, 48] Generated Node #0,1,4: 83:[18, 48] Operation: 87-39=48 Moving to Node #0,1,1 Current State: 83:[87, 57], Operations: ['76+11=87', '18+39=57'] Exploring Operation: 87*57=4959, Resulting Numbers: [4959] 4959,83 unequal: No Solution Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 87+57=144, Resulting Numbers: [144] 144,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[39, 69], Operations: ['76+11=87', '87-18=69'] Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,83 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[39, 105], Operations: ['76+11=87', '18+87=105'] Exploring Operation: 39*105=4095, Resulting Numbers: [4095] 4095,83 unequal: No Solution Exploring Operation: 39+105=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 105-39=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[87, 21], Operations: ['76+11=87', '39-18=21'] Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,83 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[18, 48], Operations: ['76+11=87', '87-39=48'] Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,83 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,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:[39, 11, 94], Operations: ['18+76=94'] Exploring Operation: 39+11=50, Resulting Numbers: [94, 50] Generated Node #0,2,0: 83:[94, 50] Operation: 39+11=50 Exploring Operation: 11+94=105, Resulting Numbers: [39, 105] Generated Node #0,2,1: 83:[39, 105] Operation: 11+94=105 Exploring Operation: 94-11=83, Resulting Numbers: [39, 83] Generated Node #0,2,2: 83:[39, 83] Operation: 94-11=83 Exploring Operation: 39-11=28, Resulting Numbers: [94, 28] Generated Node #0,2,3: 83:[94, 28] Operation: 39-11=28 Exploring Operation: 94-39=55, Resulting Numbers: [11, 55] Generated Node #0,2,4: 83:[11, 55] Operation: 94-39=55 Moving to Node #0,2,0 Current State: 83:[94, 50], Operations: ['18+76=94', '39+11=50'] Exploring Operation: 94*50=4700, Resulting Numbers: [4700] 4700,83 unequal: No Solution Exploring Operation: 94+50=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[39, 83], Operations: ['18+76=94', '94-11=83'] Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,83 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[39, 105], Operations: ['18+76=94', '11+94=105'] Exploring Operation: 39+105=144, Resulting Numbers: [144] 144,83 unequal: No Solution Exploring Operation: 39*105=4095, Resulting Numbers: [4095] 4095,83 unequal: No Solution Exploring Operation: 105-39=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[94, 28], Operations: ['18+76=94', '39-11=28'] Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,83 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[11, 55], Operations: ['18+76=94', '94-39=55'] Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 61, 67, 12, 2 ]
31
[ "61-12=49", "2*49=98", "98-67=31" ]
Current State: 31:[61, 67, 12, 2], Operations: [] Exploring Operation: 61-12=49, Resulting Numbers: [67, 2, 49] Generated Node #2: [67, 2, 49] from Operation: 61-12=49 Current State: 31:[67, 2, 49], Operations: ['61-12=49'] Exploring Operation: 2*49=98, Resulting Numbers: [67, 98] Generated Node #3: [67, 98] from Operation: 2*49=98 Current State: 31:[67, 98], Operations: ['61-12=49', '2*49=98'] Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[61, 67, 12, 2], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [12, 2, 6] Generated Node #0,0: 31:[12, 2, 6] Operation: 67-61=6 Exploring Operation: 12*2=24, Resulting Numbers: [61, 67, 24] Generated Node #0,1: 31:[61, 67, 24] Operation: 12*2=24 Exploring Operation: 61-2=59, Resulting Numbers: [67, 12, 59] Generated Node #0,2: 31:[67, 12, 59] Operation: 61-2=59 Exploring Operation: 67-12=55, Resulting Numbers: [61, 2, 55] Generated Node #0,3: 31:[61, 2, 55] Operation: 67-12=55 Exploring Operation: 61-12=49, Resulting Numbers: [67, 2, 49] Generated Node #0,4: 31:[67, 2, 49] Operation: 61-12=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[12, 2, 6], Operations: ['67-61=6'] Exploring Operation: 12*2=24, Resulting Numbers: [6, 24] Generated Node #0,0,0: 31:[6, 24] Operation: 12*2=24 Exploring Operation: 2*6=12, Resulting Numbers: [12, 12] Generated Node #0,0,1: 31:[12, 12] Operation: 2*6=12 Exploring Operation: 12+2=14, Resulting Numbers: [6, 14] Generated Node #0,0,2: 31:[6, 14] Operation: 12+2=14 Exploring Operation: 2+6=8, Resulting Numbers: [12, 8] Generated Node #0,0,3: 31:[12, 8] Operation: 2+6=8 Exploring Operation: 12+6=18, Resulting Numbers: [2, 18] Generated Node #0,0,4: 31:[2, 18] Operation: 12+6=18 Moving to Node #0,0,0 Current State: 31:[6, 24], Operations: ['67-61=6', '12*2=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[12, 12], Operations: ['67-61=6', '2*6=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[6, 14], Operations: ['67-61=6', '12+2=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[12, 8], Operations: ['67-61=6', '2+6=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[2, 18], Operations: ['67-61=6', '12+6=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[61, 67, 24], Operations: ['12*2=24'] Exploring Operation: 61+24=85, Resulting Numbers: [67, 85] Generated Node #0,1,0: 31:[67, 85] Operation: 61+24=85 Exploring Operation: 67+24=91, Resulting Numbers: [61, 91] Generated Node #0,1,1: 31:[61, 91] Operation: 67+24=91 Exploring Operation: 67-24=43, Resulting Numbers: [61, 43] Generated Node #0,1,2: 31:[61, 43] Operation: 67-24=43 Exploring Operation: 61-24=37, Resulting Numbers: [67, 37] Generated Node #0,1,3: 31:[67, 37] Operation: 61-24=37 Exploring Operation: 67-61=6, Resulting Numbers: [24, 6] Generated Node #0,1,4: 31:[24, 6] Operation: 67-61=6 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 31:[24, 6], Operations: ['12*2=24', '67-61=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[61, 43], Operations: ['12*2=24', '67-24=43'] Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,31 unequal: No Solution Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,31 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 31:[67, 37], Operations: ['12*2=24', '61-24=37'] Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,31 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[67, 85], Operations: ['12*2=24', '61+24=85'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 67*85=5695, Resulting Numbers: [5695] 5695,31 unequal: No Solution Exploring Operation: 67+85=152, Resulting Numbers: [152] 152,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[61, 91], Operations: ['12*2=24', '67+24=91'] Exploring Operation: 61*91=5551, Resulting Numbers: [5551] 5551,31 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 61+91=152, Resulting Numbers: [152] 152,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[67, 12, 59], Operations: ['61-2=59'] Exploring Operation: 67+12=79, Resulting Numbers: [59, 79] Generated Node #0,2,0: 31:[59, 79] Operation: 67+12=79 Exploring Operation: 12+59=71, Resulting Numbers: [67, 71] Generated Node #0,2,1: 31:[67, 71] Operation: 12+59=71 Exploring Operation: 59-12=47, Resulting Numbers: [67, 47] Generated Node #0,2,2: 31:[67, 47] Operation: 59-12=47 Exploring Operation: 67-12=55, Resulting Numbers: [59, 55] Generated Node #0,2,3: 31:[59, 55] Operation: 67-12=55 Exploring Operation: 67-59=8, Resulting Numbers: [12, 8] Generated Node #0,2,4: 31:[12, 8] Operation: 67-59=8 Moving to Node #0,2,4 Current State: 31:[12, 8], Operations: ['61-2=59', '67-59=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[59, 55], Operations: ['61-2=59', '67-12=55'] Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 59+55=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 59*55=3245, Resulting Numbers: [3245] 3245,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[67, 47], Operations: ['61-2=59', '59-12=47'] Exploring Operation: 67*47=3149, Resulting Numbers: [3149] 3149,31 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 67+47=114, Resulting Numbers: [114] 114,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[59, 79], Operations: ['61-2=59', '67+12=79'] Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 59+79=138, Resulting Numbers: [138] 138,31 unequal: No Solution Exploring Operation: 59*79=4661, Resulting Numbers: [4661] 4661,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[67, 71], Operations: ['61-2=59', '12+59=71'] Exploring Operation: 67+71=138, Resulting Numbers: [138] 138,31 unequal: No Solution Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 67*71=4757, Resulting Numbers: [4757] 4757,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,3 Current State: 31:[61, 2, 55], Operations: ['67-12=55'] Exploring Operation: 61+2=63, Resulting Numbers: [55, 63] Generated Node #0,3,0: 31:[55, 63] Operation: 61+2=63 Exploring Operation: 2+55=57, Resulting Numbers: [61, 57] Generated Node #0,3,1: 31:[61, 57] Operation: 2+55=57 Exploring Operation: 55-2=53, Resulting Numbers: [61, 53] Generated Node #0,3,2: 31:[61, 53] Operation: 55-2=53 Exploring Operation: 61-55=6, Resulting Numbers: [2, 6] Generated Node #0,3,3: 31:[2, 6] Operation: 61-55=6 Exploring Operation: 61-2=59, Resulting Numbers: [55, 59] Generated Node #0,3,4: 31:[55, 59] Operation: 61-2=59 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[61, 53], Operations: ['67-12=55', '55-2=53'] Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 61+53=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 61*53=3233, Resulting Numbers: [3233] 3233,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 31:[55, 59], Operations: ['67-12=55', '61-2=59'] Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 55*59=3245, Resulting Numbers: [3245] 3245,31 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[2, 6], Operations: ['67-12=55', '61-55=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[55, 63], Operations: ['67-12=55', '61+2=63'] Exploring Operation: 55+63=118, Resulting Numbers: [118] 118,31 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 55*63=3465, Resulting Numbers: [3465] 3465,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[61, 57], Operations: ['67-12=55', '2+55=57'] Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,31 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,31 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[67, 2, 49], Operations: ['61-12=49'] Exploring Operation: 67-2=65, Resulting Numbers: [49, 65] Generated Node #0,4,0: 31:[49, 65] Operation: 67-2=65 Exploring Operation: 67-49=18, Resulting Numbers: [2, 18] Generated Node #0,4,1: 31:[2, 18] Operation: 67-49=18 Exploring Operation: 49-2=47, Resulting Numbers: [67, 47] Generated Node #0,4,2: 31:[67, 47] Operation: 49-2=47 Exploring Operation: 67+2=69, Resulting Numbers: [49, 69] Generated Node #0,4,3: 31:[49, 69] Operation: 67+2=69 Exploring Operation: 2+49=51, Resulting Numbers: [67, 51] Generated Node #0,4,4: 31:[67, 51] Operation: 2+49=51 Moving to Node #0,4,1 Current State: 31:[2, 18], Operations: ['61-12=49', '67-49=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,31 unequal: No Solution Moving to Node #0,4,2 Current State: 31:[67, 47], Operations: ['61-12=49', '49-2=47'] Exploring Operation: 67+47=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 67*47=3149, Resulting Numbers: [3149] 3149,31 unequal: No Solution Moving to Node #0,4,0 Current State: 31:[49, 65], Operations: ['61-12=49', '67-2=65'] Exploring Operation: 49+65=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 49*65=3185, Resulting Numbers: [3185] 3185,31 unequal: No Solution Moving to Node #0,4,3 Current State: 31:[49, 69], Operations: ['61-12=49', '67+2=69'] Exploring Operation: 49+69=118, Resulting Numbers: [118] 118,31 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 49*69=3381, Resulting Numbers: [3381] 3381,31 unequal: No Solution Moving to Node #0,4,4 Current State: 31:[67, 51], Operations: ['61-12=49', '2+49=51'] Exploring Operation: 67*51=3417, Resulting Numbers: [3417] 3417,31 unequal: No Solution Exploring Operation: 67+51=118, Resulting Numbers: [118] 118,31 unequal: No Solution Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 60, 96, 10, 80 ]
94
[ "80-60=20", "20/10=2", "96-2=94" ]
Current State: 94:[60, 96, 10, 80], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [96, 10, 20] Generated Node #2: [96, 10, 20] from Operation: 80-60=20 Current State: 94:[96, 10, 20], Operations: ['80-60=20'] Exploring Operation: 20/10=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 20/10=2 Current State: 94:[96, 2], Operations: ['80-60=20', '20/10=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[60, 96, 10, 80], Operations: [] Exploring Operation: 60-10=50, Resulting Numbers: [96, 80, 50] Generated Node #0,0: 94:[96, 80, 50] Operation: 60-10=50 Moving to Node #0,0 Current State: 94:[96, 80, 50], Operations: ['60-10=50'] Exploring Operation: 96-50=46, Resulting Numbers: [80, 46] Generated Node #0,0,0: 94:[80, 46] Operation: 96-50=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[80, 46], Operations: ['60-10=50', '96-50=46'] Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,94 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
[ 75, 54, 8, 8 ]
22
[ "75-54=21", "8/8=1", "21+1=22" ]
Current State: 22:[75, 54, 8, 8], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [8, 8, 21] Generated Node #2: [8, 8, 21] from Operation: 75-54=21 Current State: 22:[8, 8, 21], Operations: ['75-54=21'] Exploring Operation: 8/8=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 8/8=1 Current State: 22:[21, 1], Operations: ['75-54=21', '8/8=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[75, 54, 8, 8], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [8, 8, 21] Generated Node #0,0: 22:[8, 8, 21] Operation: 75-54=21 Moving to Node #0,0 Current State: 22:[8, 8, 21], Operations: ['75-54=21'] Exploring Operation: 8/8=1, Resulting Numbers: [21, 1] Generated Node #0,0,0: 22:[21, 1] Operation: 8/8=1 Moving to Node #0,0,0 Current State: 22:[21, 1], Operations: ['75-54=21', '8/8=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[75, 54, 8, 8], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [8, 8, 21] Generated Node #0,0: 22:[8, 8, 21] Operation: 75-54=21 Moving to Node #0,0 Current State: 22:[8, 8, 21], Operations: ['75-54=21'] Exploring Operation: 8/8=1, Resulting Numbers: [21, 1] Generated Node #0,0,0: 22:[21, 1] Operation: 8/8=1 Moving to Node #0,0,0 Current State: 22:[21, 1], Operations: ['75-54=21', '8/8=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 79, 3, 50, 6 ]
65
[ "79+6=85", "3*50=150", "150-85=65" ]
Current State: 65:[79, 3, 50, 6], Operations: [] Exploring Operation: 79+6=85, Resulting Numbers: [3, 50, 85] Generated Node #2: [3, 50, 85] from Operation: 79+6=85 Current State: 65:[3, 50, 85], Operations: ['79+6=85'] Exploring Operation: 3*50=150, Resulting Numbers: [85, 150] Generated Node #3: [85, 150] from Operation: 3*50=150 Current State: 65:[85, 150], Operations: ['79+6=85', '3*50=150'] Exploring Operation: 150-85=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[79, 3, 50, 6], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [3, 6, 29] Generated Node #0,0: 65:[3, 6, 29] Operation: 79-50=29 Exploring Operation: 50+6=56, Resulting Numbers: [79, 3, 56] Generated Node #0,1: 65:[79, 3, 56] Operation: 50+6=56 Exploring Operation: 79-6=73, Resulting Numbers: [3, 50, 73] Generated Node #0,2: 65:[3, 50, 73] Operation: 79-6=73 Moving to Node #0,0 Current State: 65:[3, 6, 29], Operations: ['79-50=29'] Exploring Operation: 29-6=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 65:[3, 23] Operation: 29-6=23 Exploring Operation: 29-3=26, Resulting Numbers: [6, 26] Generated Node #0,0,1: 65:[6, 26] Operation: 29-3=26 Exploring Operation: 6-3=3, Resulting Numbers: [29, 3] Generated Node #0,0,2: 65:[29, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[3, 23], Operations: ['79-50=29', '29-6=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[6, 26], Operations: ['79-50=29', '29-3=26'] Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,65 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[29, 3], Operations: ['79-50=29', '6-3=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,65 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,65 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: 65:[79, 3, 56], Operations: ['50+6=56'] Exploring Operation: 3+56=59, Resulting Numbers: [79, 59] Generated Node #0,1,0: 65:[79, 59] Operation: 3+56=59 Exploring Operation: 79-56=23, Resulting Numbers: [3, 23] Generated Node #0,1,1: 65:[3, 23] Operation: 79-56=23 Exploring Operation: 79-3=76, Resulting Numbers: [56, 76] Generated Node #0,1,2: 65:[56, 76] Operation: 79-3=76 Moving to Node #0,2 Current State: 65:[3, 50, 73], Operations: ['79-6=73'] Exploring Operation: 73-50=23, Resulting Numbers: [3, 23] Generated Node #0,2,0: 65:[3, 23] Operation: 73-50=23 Exploring Operation: 73-3=70, Resulting Numbers: [50, 70] Generated Node #0,2,1: 65:[50, 70] Operation: 73-3=70 Exploring Operation: 3+50=53, Resulting Numbers: [73, 53] Generated Node #0,2,2: 65:[73, 53] Operation: 3+50=53 Moving to Node #0,1,1 Current State: 65:[3, 23], Operations: ['50+6=56', '79-56=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[3, 23], Operations: ['79-6=73', '73-50=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[56, 76], Operations: ['50+6=56', '79-3=76'] Exploring Operation: 56+76=132, Resulting Numbers: [132] 132,65 unequal: No Solution Exploring Operation: 56*76=4256, Resulting Numbers: [4256] 4256,65 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[73, 53], Operations: ['79-6=73', '3+50=53'] Exploring Operation: 73+53=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 73*53=3869, Resulting Numbers: [3869] 3869,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[50, 70], Operations: ['79-6=73', '73-3=70'] Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 50+70=120, Resulting Numbers: [120] 120,65 unequal: No Solution Exploring Operation: 50*70=3500, Resulting Numbers: [3500] 3500,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[79, 59], Operations: ['50+6=56', '3+56=59'] Exploring Operation: 79*59=4661, Resulting Numbers: [4661] 4661,65 unequal: No Solution Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,65 unequal: No Solution No solution found.
0
hs_3
mult_heuristic