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
[ 54, 67, 3, 4 ]
35
[ "67-54=13", "3*13=39", "39-4=35" ]
Current State: 35:[54, 67, 3, 4], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [3, 4, 13] Generated Node #2: [3, 4, 13] from Operation: 67-54=13 Current State: 35:[3, 4, 13], Operations: ['67-54=13'] Exploring Operation: 3*13=39, Resulting Numbers: [4, 39] Generated Node #3: [4, 39] from Operation: 3*13=39 Current State: 35:[4, 39], Operations: ['67-54=13', '3*13=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[54, 67, 3, 4], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [67, 4, 18] Generated Node #0,0: 35:[67, 4, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [67, 4, 51] Generated Node #0,1: 35:[67, 4, 51] Operation: 54-3=51 Exploring Operation: 67-54=13, Resulting Numbers: [3, 4, 13] Generated Node #0,2: 35:[3, 4, 13] Operation: 67-54=13 Moving to Node #0,2 Current State: 35:[3, 4, 13], Operations: ['67-54=13'] Exploring Operation: 3*13=39, Resulting Numbers: [4, 39] Generated Node #0,2,0: 35:[4, 39] Operation: 3*13=39 Exploring Operation: 13-3=10, Resulting Numbers: [4, 10] Generated Node #0,2,1: 35:[4, 10] Operation: 13-3=10 Exploring Operation: 13-4=9, Resulting Numbers: [3, 9] Generated Node #0,2,2: 35:[3, 9] Operation: 13-4=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[4, 10], Operations: ['67-54=13', '13-3=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[3, 9], Operations: ['67-54=13', '13-4=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[4, 39], Operations: ['67-54=13', '3*13=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[54, 67, 3, 4], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [3, 4, 13] Generated Node #0,2: 35:[3, 4, 13] Operation: 67-54=13 Moving to Node #0,2 Current State: 35:[3, 4, 13], Operations: ['67-54=13'] Exploring Operation: 3*13=39, Resulting Numbers: [4, 39] Generated Node #0,2,0: 35:[4, 39] Operation: 3*13=39 Moving to Node #0,2,0 Current State: 35:[4, 39], Operations: ['67-54=13', '3*13=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 17, 83, 83, 39 ]
17
[ "83-83=0", "39*0=0", "17+0=17" ]
Current State: 17:[17, 83, 83, 39], Operations: [] Exploring Operation: 83-83=0, Resulting Numbers: [17, 39, 0] Generated Node #2: [17, 39, 0] from Operation: 83-83=0 Current State: 17:[17, 39, 0], Operations: ['83-83=0'] Exploring Operation: 39*0=0, Resulting Numbers: [17, 0] Generated Node #3: [17, 0] from Operation: 39*0=0 Current State: 17:[17, 0], Operations: ['83-83=0', '39*0=0'] Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[17, 83, 83, 39], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [17, 83, 44] Generated Node #0,0: 17:[17, 83, 44] Operation: 83-39=44 Exploring Operation: 83-39=44, Resulting Numbers: [17, 83, 44] Generated Node #0,1: 17:[17, 83, 44] Operation: 83-39=44 Exploring Operation: 83/83=1, Resulting Numbers: [17, 39, 1] Generated Node #0,2: 17:[17, 39, 1] Operation: 83/83=1 Exploring Operation: 83-83=0, Resulting Numbers: [17, 39, 0] Generated Node #0,3: 17:[17, 39, 0] Operation: 83-83=0 Exploring Operation: 83-17=66, Resulting Numbers: [83, 39, 66] Generated Node #0,4: 17:[83, 39, 66] Operation: 83-17=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[17, 39, 1], Operations: ['83/83=1'] Exploring Operation: 17*1=17, Resulting Numbers: [39, 17] Generated Node #0,2,0: 17:[39, 17] Operation: 17*1=17 Exploring Operation: 17/1=17, Resulting Numbers: [39, 17] Generated Node #0,2,1: 17:[39, 17] Operation: 17/1=17 Exploring Operation: 39-17=22, Resulting Numbers: [1, 22] Generated Node #0,2,2: 17:[1, 22] Operation: 39-17=22 Exploring Operation: 39-1=38, Resulting Numbers: [17, 38] Generated Node #0,2,3: 17:[17, 38] Operation: 39-1=38 Exploring Operation: 39*1=39, Resulting Numbers: [17, 39] Generated Node #0,2,4: 17:[17, 39] Operation: 39*1=39 Moving to Node #0,2,2 Current State: 17:[1, 22], Operations: ['83/83=1', '39-17=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[17, 38], Operations: ['83/83=1', '39-1=38'] Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,17 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[39, 17], Operations: ['83/83=1', '17*1=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,17 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[39, 17], Operations: ['83/83=1', '17/1=17'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[17, 39], Operations: ['83/83=1', '39*1=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[17, 39, 0], Operations: ['83-83=0'] Exploring Operation: 17-0=17, Resulting Numbers: [39, 17] Generated Node #0,3,0: 17:[39, 17] Operation: 17-0=17 Exploring Operation: 17+0=17, Resulting Numbers: [39, 17] Generated Node #0,3,1: 17:[39, 17] Operation: 17+0=17 Exploring Operation: 39+0=39, Resulting Numbers: [17, 39] Generated Node #0,3,2: 17:[17, 39] Operation: 39+0=39 Exploring Operation: 39-17=22, Resulting Numbers: [0, 22] Generated Node #0,3,3: 17:[0, 22] Operation: 39-17=22 Exploring Operation: 39*0=0, Resulting Numbers: [17, 0] Generated Node #0,3,4: 17:[17, 0] Operation: 39*0=0 Moving to Node #0,3,4 Current State: 17:[17, 0], Operations: ['83-83=0', '39*0=0'] Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[17, 83, 83, 39], Operations: [] Exploring Operation: 83-83=0, Resulting Numbers: [17, 39, 0] Generated Node #0,3: 17:[17, 39, 0] Operation: 83-83=0 Moving to Node #0,3 Current State: 17:[17, 39, 0], Operations: ['83-83=0'] Exploring Operation: 39*0=0, Resulting Numbers: [17, 0] Generated Node #0,3,4: 17:[17, 0] Operation: 39*0=0 Moving to Node #0,3,4 Current State: 17:[17, 0], Operations: ['83-83=0', '39*0=0'] Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 73, 23, 61, 14 ]
49
[ "73+23=96", "61-14=47", "96-47=49" ]
Current State: 49:[73, 23, 61, 14], Operations: [] Exploring Operation: 73+23=96, Resulting Numbers: [61, 14, 96] Generated Node #2: [61, 14, 96] from Operation: 73+23=96 Current State: 49:[61, 14, 96], Operations: ['73+23=96'] Exploring Operation: 61-14=47, Resulting Numbers: [96, 47] Generated Node #3: [96, 47] from Operation: 61-14=47 Current State: 49:[96, 47], Operations: ['73+23=96', '61-14=47'] Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[73, 23, 61, 14], Operations: [] Exploring Operation: 73-23=50, Resulting Numbers: [61, 14, 50] Generated Node #0,0: 49:[61, 14, 50] Operation: 73-23=50 Moving to Node #0,0 Current State: 49:[61, 14, 50], Operations: ['73-23=50'] Exploring Operation: 61-14=47, Resulting Numbers: [50, 47] Generated Node #0,0,0: 49:[50, 47] Operation: 61-14=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[50, 47], Operations: ['73-23=50', '61-14=47'] Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 12, 47, 37, 94 ]
86
[ "94/47=2", "37*2=74", "12+74=86" ]
Current State: 86:[12, 47, 37, 94], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [12, 37, 2] Generated Node #2: [12, 37, 2] from Operation: 94/47=2 Current State: 86:[12, 37, 2], Operations: ['94/47=2'] Exploring Operation: 37*2=74, Resulting Numbers: [12, 74] Generated Node #3: [12, 74] from Operation: 37*2=74 Current State: 86:[12, 74], Operations: ['94/47=2', '37*2=74'] Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[12, 47, 37, 94], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [12, 37, 2] Generated Node #0,0: 86:[12, 37, 2] Operation: 94/47=2 Exploring Operation: 94-12=82, Resulting Numbers: [47, 37, 82] Generated Node #0,1: 86:[47, 37, 82] Operation: 94-12=82 Moving to Node #0,1 Current State: 86:[47, 37, 82], Operations: ['94-12=82'] Exploring Operation: 82-37=45, Resulting Numbers: [47, 45] Generated Node #0,1,0: 86:[47, 45] Operation: 82-37=45 Exploring Operation: 47+37=84, Resulting Numbers: [82, 84] Generated Node #0,1,1: 86:[82, 84] Operation: 47+37=84 Moving to Node #0,0 Current State: 86:[12, 37, 2], Operations: ['94/47=2'] Exploring Operation: 12/2=6, Resulting Numbers: [37, 6] Generated Node #0,0,0: 86:[37, 6] Operation: 12/2=6 Exploring Operation: 12+37=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 86:[2, 49] Operation: 12+37=49 Moving to Node #0,1,0 Current State: 86:[47, 45], Operations: ['94-12=82', '82-37=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[2, 49], Operations: ['94/47=2', '12+37=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[82, 84], Operations: ['94-12=82', '47+37=84'] Exploring Operation: 82+84=166, Resulting Numbers: [166] 166,86 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[37, 6], Operations: ['94/47=2', '12/2=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,86 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 42, 85, 7, 56 ]
83
[ "56-42=14", "14/7=2", "85-2=83" ]
Current State: 83:[42, 85, 7, 56], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [85, 7, 14] Generated Node #2: [85, 7, 14] from Operation: 56-42=14 Current State: 83:[85, 7, 14], Operations: ['56-42=14'] Exploring Operation: 14/7=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 14/7=2 Current State: 83:[85, 2], Operations: ['56-42=14', '14/7=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[42, 85, 7, 56], Operations: [] Exploring Operation: 42+7=49, Resulting Numbers: [85, 56, 49] Generated Node #0,0: 83:[85, 56, 49] Operation: 42+7=49 Exploring Operation: 7+56=63, Resulting Numbers: [42, 85, 63] Generated Node #0,1: 83:[42, 85, 63] Operation: 7+56=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[85, 56, 49], Operations: ['42+7=49'] Exploring Operation: 56+49=105, Resulting Numbers: [85, 105] Generated Node #0,0,0: 83:[85, 105] Operation: 56+49=105 Exploring Operation: 85-49=36, Resulting Numbers: [56, 36] Generated Node #0,0,1: 83:[56, 36] Operation: 85-49=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[85, 105], Operations: ['42+7=49', '56+49=105'] Exploring Operation: 85+105=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 105-85=20, Resulting Numbers: [20] 20,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:[56, 36], Operations: ['42+7=49', '85-49=36'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 56+36=92, Resulting Numbers: [92] 92,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:[42, 85, 63], Operations: ['7+56=63'] Exploring Operation: 85-42=43, Resulting Numbers: [63, 43] Generated Node #0,1,0: 83:[63, 43] Operation: 85-42=43 Exploring Operation: 42+63=105, Resulting Numbers: [85, 105] Generated Node #0,1,1: 83:[85, 105] Operation: 42+63=105 Moving to Node #0,1,1 Current State: 83:[85, 105], Operations: ['7+56=63', '42+63=105'] Exploring Operation: 105-85=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 85+105=190, Resulting Numbers: [190] 190,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[63, 43], Operations: ['7+56=63', '85-42=43'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,83 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
[ 81, 10, 43, 53 ]
61
[ "81-10=71", "53-43=10", "71-10=61" ]
Current State: 61:[81, 10, 43, 53], Operations: [] Exploring Operation: 81-10=71, Resulting Numbers: [43, 53, 71] Generated Node #2: [43, 53, 71] from Operation: 81-10=71 Current State: 61:[43, 53, 71], Operations: ['81-10=71'] Exploring Operation: 53-43=10, Resulting Numbers: [71, 10] Generated Node #3: [71, 10] from Operation: 53-43=10 Current State: 61:[71, 10], Operations: ['81-10=71', '53-43=10'] Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[81, 10, 43, 53], Operations: [] Exploring Operation: 10+43=53, Resulting Numbers: [81, 53, 53] Generated Node #0,0: 61:[81, 53, 53] Operation: 10+43=53 Exploring Operation: 81-10=71, Resulting Numbers: [43, 53, 71] Generated Node #0,1: 61:[43, 53, 71] Operation: 81-10=71 Exploring Operation: 10+53=63, Resulting Numbers: [81, 43, 63] Generated Node #0,2: 61:[81, 43, 63] Operation: 10+53=63 Exploring Operation: 43-10=33, Resulting Numbers: [81, 53, 33] Generated Node #0,3: 61:[81, 53, 33] Operation: 43-10=33 Exploring Operation: 81+10=91, Resulting Numbers: [43, 53, 91] Generated Node #0,4: 61:[43, 53, 91] Operation: 81+10=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[81, 53, 53], Operations: ['10+43=53'] Exploring Operation: 53/53=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 61:[81, 1] Operation: 53/53=1 Exploring Operation: 81-53=28, Resulting Numbers: [53, 28] Generated Node #0,0,1: 61:[53, 28] Operation: 81-53=28 Exploring Operation: 53+53=106, Resulting Numbers: [81, 106] Generated Node #0,0,2: 61:[81, 106] Operation: 53+53=106 Exploring Operation: 81-53=28, Resulting Numbers: [53, 28] Generated Node #0,0,3: 61:[53, 28] Operation: 81-53=28 Exploring Operation: 81+53=134, Resulting Numbers: [53, 134] Generated Node #0,0,4: 61:[53, 134] Operation: 81+53=134 Moving to Node #0,0,1 Current State: 61:[53, 28], Operations: ['10+43=53', '81-53=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,61 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[53, 28], Operations: ['10+43=53', '81-53=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,61 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[81, 106], Operations: ['10+43=53', '53+53=106'] Exploring Operation: 81*106=8586, Resulting Numbers: [8586] 8586,61 unequal: No Solution Exploring Operation: 106-81=25, Resulting Numbers: [25] 25,61 unequal: No Solution Exploring Operation: 81+106=187, Resulting Numbers: [187] 187,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[81, 1], Operations: ['10+43=53', '53/53=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[53, 134], Operations: ['10+43=53', '81+53=134'] Exploring Operation: 134-53=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 53*134=7102, Resulting Numbers: [7102] 7102,61 unequal: No Solution Exploring Operation: 53+134=187, Resulting Numbers: [187] 187,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[43, 53, 71], Operations: ['81-10=71'] Exploring Operation: 43+53=96, Resulting Numbers: [71, 96] Generated Node #0,1,0: 61:[71, 96] Operation: 43+53=96 Exploring Operation: 71-43=28, Resulting Numbers: [53, 28] Generated Node #0,1,1: 61:[53, 28] Operation: 71-43=28 Exploring Operation: 71-53=18, Resulting Numbers: [43, 18] Generated Node #0,1,2: 61:[43, 18] Operation: 71-53=18 Exploring Operation: 43+71=114, Resulting Numbers: [53, 114] Generated Node #0,1,3: 61:[53, 114] Operation: 43+71=114 Exploring Operation: 53-43=10, Resulting Numbers: [71, 10] Generated Node #0,1,4: 61:[71, 10] Operation: 53-43=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[53, 28], Operations: ['81-10=71', '71-43=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,61 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,61 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[71, 96], Operations: ['81-10=71', '43+53=96'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,61 unequal: No Solution Exploring Operation: 71*96=6816, Resulting Numbers: [6816] 6816,61 unequal: No Solution Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[43, 18], Operations: ['81-10=71', '71-53=18'] Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[81, 10, 43, 53], Operations: [] Exploring Operation: 81-10=71, Resulting Numbers: [43, 53, 71] Generated Node #0,1: 61:[43, 53, 71] Operation: 81-10=71 Moving to Node #0,1 Current State: 61:[43, 53, 71], Operations: ['81-10=71'] Exploring Operation: 71-53=18, Resulting Numbers: [43, 18] Generated Node #0,1,2: 61:[43, 18] Operation: 71-53=18 Moving to Node #0,1,2 Current State: 61:[43, 18], Operations: ['81-10=71', '71-53=18'] Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 3, 87, 57, 35 ]
49
[ "3*57=171", "87+35=122", "171-122=49" ]
Current State: 49:[3, 87, 57, 35], Operations: [] Exploring Operation: 3*57=171, Resulting Numbers: [87, 35, 171] Generated Node #2: [87, 35, 171] from Operation: 3*57=171 Current State: 49:[87, 35, 171], Operations: ['3*57=171'] Exploring Operation: 87+35=122, Resulting Numbers: [171, 122] Generated Node #3: [171, 122] from Operation: 87+35=122 Current State: 49:[171, 122], Operations: ['3*57=171', '87+35=122'] Exploring Operation: 171-122=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[3, 87, 57, 35], Operations: [] Exploring Operation: 57-3=54, Resulting Numbers: [87, 35, 54] Generated Node #0,0: 49:[87, 35, 54] Operation: 57-3=54 Exploring Operation: 87-35=52, Resulting Numbers: [3, 57, 52] Generated Node #0,1: 49:[3, 57, 52] Operation: 87-35=52 Exploring Operation: 87/3=29, Resulting Numbers: [57, 35, 29] Generated Node #0,2: 49:[57, 35, 29] Operation: 87/3=29 Exploring Operation: 87-3=84, Resulting Numbers: [57, 35, 84] Generated Node #0,3: 49:[57, 35, 84] Operation: 87-3=84 Exploring Operation: 87-57=30, Resulting Numbers: [3, 35, 30] Generated Node #0,4: 49:[3, 35, 30] Operation: 87-57=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[3, 57, 52], Operations: ['87-35=52'] Exploring Operation: 3+57=60, Resulting Numbers: [52, 60] Generated Node #0,1,0: 49:[52, 60] Operation: 3+57=60 Exploring Operation: 57-52=5, Resulting Numbers: [3, 5] Generated Node #0,1,1: 49:[3, 5] Operation: 57-52=5 Exploring Operation: 57-3=54, Resulting Numbers: [52, 54] Generated Node #0,1,2: 49:[52, 54] Operation: 57-3=54 Exploring Operation: 3+52=55, Resulting Numbers: [57, 55] Generated Node #0,1,3: 49:[57, 55] Operation: 3+52=55 Exploring Operation: 52-3=49, Resulting Numbers: [57, 49] Generated Node #0,1,4: 49:[57, 49] Operation: 52-3=49 Moving to Node #0,1,1 Current State: 49:[3, 5], Operations: ['87-35=52', '57-52=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[57, 49], Operations: ['87-35=52', '52-3=49'] Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,49 unequal: No Solution Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[52, 54], Operations: ['87-35=52', '57-3=54'] Exploring Operation: 52+54=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 52*54=2808, Resulting Numbers: [2808] 2808,49 unequal: No Solution Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[52, 60], Operations: ['87-35=52', '3+57=60'] Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,49 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[57, 55], Operations: ['87-35=52', '3+52=55'] Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,49 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[3, 35, 30], Operations: ['87-57=30'] Exploring Operation: 3+35=38, Resulting Numbers: [30, 38] Generated Node #0,4,0: 49:[30, 38] Operation: 3+35=38 Exploring Operation: 30/3=10, Resulting Numbers: [35, 10] Generated Node #0,4,1: 49:[35, 10] Operation: 30/3=10 Exploring Operation: 35-30=5, Resulting Numbers: [3, 5] Generated Node #0,4,2: 49:[3, 5] Operation: 35-30=5 Exploring Operation: 35+30=65, Resulting Numbers: [3, 65] Generated Node #0,4,3: 49:[3, 65] Operation: 35+30=65 Exploring Operation: 3+30=33, Resulting Numbers: [35, 33] Generated Node #0,4,4: 49:[35, 33] Operation: 3+30=33 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[3, 5], Operations: ['87-57=30', '35-30=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,49 unequal: No Solution No 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: 49:[35, 10], Operations: ['87-57=30', '30/3=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,49 unequal: No Solution No 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: 49:[3, 65], Operations: ['87-57=30', '35+30=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,49 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,49 unequal: No Solution No 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: 49:[30, 38], Operations: ['87-57=30', '3+35=38'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,49 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,49 unequal: No Solution No 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: 49:[35, 33], Operations: ['87-57=30', '3+30=33'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,49 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: 49:[57, 35, 29], Operations: ['87/3=29'] Exploring Operation: 57-29=28, Resulting Numbers: [35, 28] Generated Node #0,2,0: 49:[35, 28] Operation: 57-29=28 Exploring Operation: 57+29=86, Resulting Numbers: [35, 86] Generated Node #0,2,1: 49:[35, 86] Operation: 57+29=86 Exploring Operation: 35+29=64, Resulting Numbers: [57, 64] Generated Node #0,2,2: 49:[57, 64] Operation: 35+29=64 Exploring Operation: 57-35=22, Resulting Numbers: [29, 22] Generated Node #0,2,3: 49:[29, 22] Operation: 57-35=22 Exploring Operation: 35-29=6, Resulting Numbers: [57, 6] Generated Node #0,2,4: 49:[57, 6] Operation: 35-29=6 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 49:[57, 6], Operations: ['87/3=29', '35-29=6'] Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,49 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,49 unequal: No Solution No 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: 49:[57, 64], Operations: ['87/3=29', '35+29=64'] Exploring Operation: 57+64=121, Resulting Numbers: [121] 121,49 unequal: No Solution Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 57*64=3648, Resulting Numbers: [3648] 3648,49 unequal: No Solution No 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: 49:[35, 28], Operations: ['87/3=29', '57-29=28'] Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,49 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[29, 22], Operations: ['87/3=29', '57-35=22'] Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,49 unequal: No Solution No 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: 49:[35, 86], Operations: ['87/3=29', '57+29=86'] Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,49 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,49 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,49 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: 49:[87, 35, 54], Operations: ['57-3=54'] Exploring Operation: 87-54=33, Resulting Numbers: [35, 33] Generated Node #0,0,0: 49:[35, 33] Operation: 87-54=33 Exploring Operation: 87-35=52, Resulting Numbers: [54, 52] Generated Node #0,0,1: 49:[54, 52] Operation: 87-35=52 Exploring Operation: 54-35=19, Resulting Numbers: [87, 19] Generated Node #0,0,2: 49:[87, 19] Operation: 54-35=19 Exploring Operation: 35+54=89, Resulting Numbers: [87, 89] Generated Node #0,0,3: 49:[87, 89] Operation: 35+54=89 Exploring Operation: 87+35=122, Resulting Numbers: [54, 122] Generated Node #0,0,4: 49:[54, 122] Operation: 87+35=122 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[54, 52], Operations: ['57-3=54', '87-35=52'] Exploring Operation: 54+52=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 54*52=2808, Resulting Numbers: [2808] 2808,49 unequal: No Solution No 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: 49:[35, 33], Operations: ['57-3=54', '87-54=33'] Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,49 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,49 unequal: No Solution No 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: 49:[87, 19], Operations: ['57-3=54', '54-35=19'] Exploring Operation: 87+19=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 87*19=1653, Resulting Numbers: [1653] 1653,49 unequal: No Solution No 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: 49:[87, 89], Operations: ['57-3=54', '35+54=89'] Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 87*89=7743, Resulting Numbers: [7743] 7743,49 unequal: No Solution Exploring Operation: 87+89=176, Resulting Numbers: [176] 176,49 unequal: No Solution No 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: 49:[54, 122], Operations: ['57-3=54', '87+35=122'] Exploring Operation: 54*122=6588, Resulting Numbers: [6588] 6588,49 unequal: No Solution Exploring Operation: 54+122=176, Resulting Numbers: [176] 176,49 unequal: No Solution Exploring Operation: 122-54=68, Resulting Numbers: [68] 68,49 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: 49:[57, 35, 84], Operations: ['87-3=84'] Exploring Operation: 84-35=49, Resulting Numbers: [57, 49] Generated Node #0,3,0: 49:[57, 49] Operation: 84-35=49 Exploring Operation: 57-35=22, Resulting Numbers: [84, 22] Generated Node #0,3,1: 49:[84, 22] Operation: 57-35=22 Exploring Operation: 35+84=119, Resulting Numbers: [57, 119] Generated Node #0,3,2: 49:[57, 119] Operation: 35+84=119 Exploring Operation: 57+35=92, Resulting Numbers: [84, 92] Generated Node #0,3,3: 49:[84, 92] Operation: 57+35=92 Exploring Operation: 84-57=27, Resulting Numbers: [35, 27] Generated Node #0,3,4: 49:[35, 27] Operation: 84-57=27 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[57, 49], Operations: ['87-3=84', '84-35=49'] Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,49 unequal: No Solution Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,49 unequal: No Solution No 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: 49:[35, 27], Operations: ['87-3=84', '84-57=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,49 unequal: No Solution No 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: 49:[84, 22], Operations: ['87-3=84', '57-35=22'] Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,49 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,49 unequal: No Solution No 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: 49:[57, 119], Operations: ['87-3=84', '35+84=119'] Exploring Operation: 57*119=6783, Resulting Numbers: [6783] 6783,49 unequal: No Solution Exploring Operation: 57+119=176, Resulting Numbers: [176] 176,49 unequal: No Solution Exploring Operation: 119-57=62, Resulting Numbers: [62] 62,49 unequal: No Solution No 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: 49:[84, 92], Operations: ['87-3=84', '57+35=92'] Exploring Operation: 84+92=176, Resulting Numbers: [176] 176,49 unequal: No Solution Exploring Operation: 84*92=7728, Resulting Numbers: [7728] 7728,49 unequal: No Solution Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,49 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
[ 15, 64, 69, 16 ]
11
[ "15*69=1035", "64*16=1024", "1035-1024=11" ]
Current State: 11:[15, 64, 69, 16], Operations: [] Exploring Operation: 15*69=1035, Resulting Numbers: [64, 16, 1035] Generated Node #2: [64, 16, 1035] from Operation: 15*69=1035 Current State: 11:[64, 16, 1035], Operations: ['15*69=1035'] Exploring Operation: 64*16=1024, Resulting Numbers: [1035, 1024] Generated Node #3: [1035, 1024] from Operation: 64*16=1024 Current State: 11:[1035, 1024], Operations: ['15*69=1035', '64*16=1024'] Exploring Operation: 1035-1024=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[15, 64, 69, 16], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [15, 69, 4] Generated Node #0,0: 11:[15, 69, 4] Operation: 64/16=4 Exploring Operation: 69-64=5, Resulting Numbers: [15, 16, 5] Generated Node #0,1: 11:[15, 16, 5] Operation: 69-64=5 Moving to Node #0,1 Current State: 11:[15, 16, 5], Operations: ['69-64=5'] Exploring Operation: 15-5=10, Resulting Numbers: [16, 10] Generated Node #0,1,0: 11:[16, 10] Operation: 15-5=10 Exploring Operation: 16-5=11, Resulting Numbers: [15, 11] Generated Node #0,1,1: 11:[15, 11] Operation: 16-5=11 Moving to Node #0,0 Current State: 11:[15, 69, 4], Operations: ['64/16=4'] Exploring Operation: 15-4=11, Resulting Numbers: [69, 11] Generated Node #0,0,0: 11:[69, 11] Operation: 15-4=11 Exploring Operation: 69-15=54, Resulting Numbers: [4, 54] Generated Node #0,0,1: 11:[4, 54] Operation: 69-15=54 Moving to Node #0,1,1 Current State: 11:[15, 11], Operations: ['69-64=5', '16-5=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[16, 10], Operations: ['69-64=5', '15-5=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[4, 54], Operations: ['64/16=4', '69-15=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[69, 11], Operations: ['64/16=4', '15-4=11'] Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,11 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 16, 70, 1, 30 ]
57
[ "16+70=86", "30-1=29", "86-29=57" ]
Current State: 57:[16, 70, 1, 30], Operations: [] Exploring Operation: 16+70=86, Resulting Numbers: [1, 30, 86] Generated Node #2: [1, 30, 86] from Operation: 16+70=86 Current State: 57:[1, 30, 86], Operations: ['16+70=86'] Exploring Operation: 30-1=29, Resulting Numbers: [86, 29] Generated Node #3: [86, 29] from Operation: 30-1=29 Current State: 57:[86, 29], Operations: ['16+70=86', '30-1=29'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[16, 70, 1, 30], Operations: [] Exploring Operation: 70-16=54, Resulting Numbers: [1, 30, 54] Generated Node #0,0: 57:[1, 30, 54] Operation: 70-16=54 Exploring Operation: 70-30=40, Resulting Numbers: [16, 1, 40] Generated Node #0,1: 57:[16, 1, 40] Operation: 70-30=40 Exploring Operation: 30-16=14, Resulting Numbers: [70, 1, 14] Generated Node #0,2: 57:[70, 1, 14] Operation: 30-16=14 Exploring Operation: 16+30=46, Resulting Numbers: [70, 1, 46] Generated Node #0,3: 57:[70, 1, 46] Operation: 16+30=46 Exploring Operation: 16+1=17, Resulting Numbers: [70, 30, 17] Generated Node #0,4: 57:[70, 30, 17] Operation: 16+1=17 Moving to Node #0,0 Current State: 57:[1, 30, 54], Operations: ['70-16=54'] Exploring Operation: 54-30=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 57:[1, 24] Operation: 54-30=24 Exploring Operation: 30-1=29, Resulting Numbers: [54, 29] Generated Node #0,0,1: 57:[54, 29] Operation: 30-1=29 Exploring Operation: 30/1=30, Resulting Numbers: [54, 30] Generated Node #0,0,2: 57:[54, 30] Operation: 30/1=30 Exploring Operation: 1*30=30, Resulting Numbers: [54, 30] Generated Node #0,0,3: 57:[54, 30] Operation: 1*30=30 Exploring Operation: 1+54=55, Resulting Numbers: [30, 55] Generated Node #0,0,4: 57:[30, 55] Operation: 1+54=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[1, 24], Operations: ['70-16=54', '54-30=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,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:[54, 29], Operations: ['70-16=54', '30-1=29'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 54+29=83, Resulting Numbers: [83] 83,57 unequal: No Solution Exploring Operation: 54*29=1566, Resulting Numbers: [1566] 1566,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,4 Current State: 57:[30, 55], Operations: ['70-16=54', '1+54=55'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,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:[54, 30], Operations: ['70-16=54', '30/1=30'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,57 unequal: No Solution Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,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:[54, 30], Operations: ['70-16=54', '1*30=30'] Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,57 unequal: No Solution Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,57 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: 57:[70, 1, 14], Operations: ['30-16=14'] Exploring Operation: 70-14=56, Resulting Numbers: [1, 56] Generated Node #0,2,0: 57:[1, 56] Operation: 70-14=56 Exploring Operation: 1+14=15, Resulting Numbers: [70, 15] Generated Node #0,2,1: 57:[70, 15] Operation: 1+14=15 Exploring Operation: 70/14=5, Resulting Numbers: [1, 5] Generated Node #0,2,2: 57:[1, 5] Operation: 70/14=5 Exploring Operation: 70*1=70, Resulting Numbers: [14, 70] Generated Node #0,2,3: 57:[14, 70] Operation: 70*1=70 Exploring Operation: 70-1=69, Resulting Numbers: [14, 69] Generated Node #0,2,4: 57:[14, 69] Operation: 70-1=69 Moving to Node #0,1 Current State: 57:[16, 1, 40], Operations: ['70-30=40'] Exploring Operation: 16+40=56, Resulting Numbers: [1, 56] Generated Node #0,1,0: 57:[1, 56] Operation: 16+40=56 Exploring Operation: 1+40=41, Resulting Numbers: [16, 41] Generated Node #0,1,1: 57:[16, 41] Operation: 1+40=41 Exploring Operation: 40-16=24, Resulting Numbers: [1, 24] Generated Node #0,1,2: 57:[1, 24] Operation: 40-16=24 Exploring Operation: 16+1=17, Resulting Numbers: [40, 17] Generated Node #0,1,3: 57:[40, 17] Operation: 16+1=17 Exploring Operation: 16*1=16, Resulting Numbers: [40, 16] Generated Node #0,1,4: 57:[40, 16] Operation: 16*1=16 Moving to Node #0,3 Current State: 57:[70, 1, 46], Operations: ['16+30=46'] Exploring Operation: 1+46=47, Resulting Numbers: [70, 47] Generated Node #0,3,0: 57:[70, 47] Operation: 1+46=47 Exploring Operation: 70*1=70, Resulting Numbers: [46, 70] Generated Node #0,3,1: 57:[46, 70] Operation: 70*1=70 Exploring Operation: 70/1=70, Resulting Numbers: [46, 70] Generated Node #0,3,2: 57:[46, 70] Operation: 70/1=70 Exploring Operation: 70-46=24, Resulting Numbers: [1, 24] Generated Node #0,3,3: 57:[1, 24] Operation: 70-46=24 Exploring Operation: 70-1=69, Resulting Numbers: [46, 69] Generated Node #0,3,4: 57:[46, 69] Operation: 70-1=69 Moving to Node #0,4 Current State: 57:[70, 30, 17], Operations: ['16+1=17'] Exploring Operation: 70-30=40, Resulting Numbers: [17, 40] Generated Node #0,4,0: 57:[17, 40] Operation: 70-30=40 Exploring Operation: 30-17=13, Resulting Numbers: [70, 13] Generated Node #0,4,1: 57:[70, 13] Operation: 30-17=13 Exploring Operation: 30+17=47, Resulting Numbers: [70, 47] Generated Node #0,4,2: 57:[70, 47] Operation: 30+17=47 Exploring Operation: 70+17=87, Resulting Numbers: [30, 87] Generated Node #0,4,3: 57:[30, 87] Operation: 70+17=87 Exploring Operation: 70-17=53, Resulting Numbers: [30, 53] Generated Node #0,4,4: 57:[30, 53] Operation: 70-17=53 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 57:[30, 53], Operations: ['16+1=17', '70-17=53'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,57 unequal: No Solution Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,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,4,0 Current State: 57:[17, 40], Operations: ['16+1=17', '70-30=40'] Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,57 unequal: No Solution Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[16, 70, 1, 30], Operations: [] Exploring Operation: 16+1=17, Resulting Numbers: [70, 30, 17] Generated Node #0,4: 57:[70, 30, 17] Operation: 16+1=17 Moving to Node #0,4 Current State: 57:[70, 30, 17], Operations: ['16+1=17'] Exploring Operation: 70-30=40, Resulting Numbers: [17, 40] Generated Node #0,4,0: 57:[17, 40] Operation: 70-30=40 Moving to Node #0,4,0 Current State: 57:[17, 40], Operations: ['16+1=17', '70-30=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
sum_heuristic
[ 38, 73, 70, 47 ]
58
[ "73-38=35", "70-47=23", "35+23=58" ]
Current State: 58:[38, 73, 70, 47], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [70, 47, 35] Generated Node #2: [70, 47, 35] from Operation: 73-38=35 Current State: 58:[70, 47, 35], Operations: ['73-38=35'] Exploring Operation: 70-47=23, Resulting Numbers: [35, 23] Generated Node #3: [35, 23] from Operation: 70-47=23 Current State: 58:[35, 23], Operations: ['73-38=35', '70-47=23'] Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[38, 73, 70, 47], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [38, 70, 26] Generated Node #0,0: 58:[38, 70, 26] Operation: 73-47=26 Exploring Operation: 70-38=32, Resulting Numbers: [73, 47, 32] Generated Node #0,1: 58:[73, 47, 32] Operation: 70-38=32 Exploring Operation: 73-38=35, Resulting Numbers: [70, 47, 35] Generated Node #0,2: 58:[70, 47, 35] Operation: 73-38=35 Exploring Operation: 73-70=3, Resulting Numbers: [38, 47, 3] Generated Node #0,3: 58:[38, 47, 3] Operation: 73-70=3 Moving to Node #0,3 Current State: 58:[38, 47, 3], Operations: ['73-70=3'] Exploring Operation: 38+3=41, Resulting Numbers: [47, 41] Generated Node #0,3,0: 58:[47, 41] Operation: 38+3=41 Exploring Operation: 47+3=50, Resulting Numbers: [38, 50] Generated Node #0,3,1: 58:[38, 50] Operation: 47+3=50 Exploring Operation: 47-38=9, Resulting Numbers: [3, 9] Generated Node #0,3,2: 58:[3, 9] Operation: 47-38=9 Exploring Operation: 38-3=35, Resulting Numbers: [47, 35] Generated Node #0,3,3: 58:[47, 35] Operation: 38-3=35 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[3, 9], Operations: ['73-70=3', '47-38=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,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,3,1 Current State: 58:[38, 50], Operations: ['73-70=3', '47+3=50'] Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,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,3,3 Current State: 58:[47, 35], Operations: ['73-70=3', '38-3=35'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,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,3,0 Current State: 58:[47, 41], Operations: ['73-70=3', '38+3=41'] Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,58 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,58 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: 58:[38, 70, 26], Operations: ['73-47=26'] Exploring Operation: 70-26=44, Resulting Numbers: [38, 44] Generated Node #0,0,0: 58:[38, 44] Operation: 70-26=44 Exploring Operation: 70-38=32, Resulting Numbers: [26, 32] Generated Node #0,0,1: 58:[26, 32] Operation: 70-38=32 Exploring Operation: 38-26=12, Resulting Numbers: [70, 12] Generated Node #0,0,2: 58:[70, 12] Operation: 38-26=12 Exploring Operation: 38+26=64, Resulting Numbers: [70, 64] Generated Node #0,0,3: 58:[70, 64] Operation: 38+26=64 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[26, 32], Operations: ['73-47=26', '70-38=32'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,58 unequal: No Solution Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[38, 73, 70, 47], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [38, 70, 26] Generated Node #0,0: 58:[38, 70, 26] Operation: 73-47=26 Moving to Node #0,0 Current State: 58:[38, 70, 26], Operations: ['73-47=26'] Exploring Operation: 70-38=32, Resulting Numbers: [26, 32] Generated Node #0,0,1: 58:[26, 32] Operation: 70-38=32 Moving to Node #0,0,1 Current State: 58:[26, 32], Operations: ['73-47=26', '70-38=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 97, 21, 2, 95 ]
20
[ "97-2=95", "95/95=1", "21-1=20" ]
Current State: 20:[97, 21, 2, 95], Operations: [] Exploring Operation: 97-2=95, Resulting Numbers: [21, 95, 95] Generated Node #2: [21, 95, 95] from Operation: 97-2=95 Current State: 20:[21, 95, 95], Operations: ['97-2=95'] Exploring Operation: 95/95=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 95/95=1 Current State: 20:[21, 1], Operations: ['97-2=95', '95/95=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[97, 21, 2, 95], Operations: [] Exploring Operation: 97-21=76, Resulting Numbers: [2, 95, 76] Generated Node #0,0: 20:[2, 95, 76] Operation: 97-21=76 Exploring Operation: 95-21=74, Resulting Numbers: [97, 2, 74] Generated Node #0,1: 20:[97, 2, 74] Operation: 95-21=74 Exploring Operation: 97-95=2, Resulting Numbers: [21, 2, 2] Generated Node #0,2: 20:[21, 2, 2] Operation: 97-95=2 Exploring Operation: 97-2=95, Resulting Numbers: [21, 95, 95] Generated Node #0,3: 20:[21, 95, 95] Operation: 97-2=95 Exploring Operation: 95-2=93, Resulting Numbers: [97, 21, 93] Generated Node #0,4: 20:[97, 21, 93] Operation: 95-2=93 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[21, 2, 2], Operations: ['97-95=2'] Exploring Operation: 2/2=1, Resulting Numbers: [21, 1] Generated Node #0,2,0: 20:[21, 1] Operation: 2/2=1 Exploring Operation: 2+2=4, Resulting Numbers: [21, 4] Generated Node #0,2,1: 20:[21, 4] Operation: 2+2=4 Exploring Operation: 21-2=19, Resulting Numbers: [2, 19] Generated Node #0,2,2: 20:[2, 19] Operation: 21-2=19 Exploring Operation: 21-2=19, Resulting Numbers: [2, 19] Generated Node #0,2,3: 20:[2, 19] Operation: 21-2=19 Exploring Operation: 2*2=4, Resulting Numbers: [21, 4] Generated Node #0,2,4: 20:[21, 4] Operation: 2*2=4 Moving to Node #0,2,1 Current State: 20:[21, 4], Operations: ['97-95=2', '2+2=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[2, 19], Operations: ['97-95=2', '21-2=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[2, 19], Operations: ['97-95=2', '21-2=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[21, 4], Operations: ['97-95=2', '2*2=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[21, 1], Operations: ['97-95=2', '2/2=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[97, 21, 2, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [21, 2, 2] Generated Node #0,2: 20:[21, 2, 2] Operation: 97-95=2 Moving to Node #0,2 Current State: 20:[21, 2, 2], Operations: ['97-95=2'] Exploring Operation: 2/2=1, Resulting Numbers: [21, 1] Generated Node #0,2,0: 20:[21, 1] Operation: 2/2=1 Moving to Node #0,2,0 Current State: 20:[21, 1], Operations: ['97-95=2', '2/2=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
sum_heuristic
[ 90, 45, 14, 50 ]
55
[ "90+50=140", "140/14=10", "45+10=55" ]
Current State: 55:[90, 45, 14, 50], Operations: [] Exploring Operation: 90+50=140, Resulting Numbers: [45, 14, 140] Generated Node #2: [45, 14, 140] from Operation: 90+50=140 Current State: 55:[45, 14, 140], Operations: ['90+50=140'] Exploring Operation: 140/14=10, Resulting Numbers: [45, 10] Generated Node #3: [45, 10] from Operation: 140/14=10 Current State: 55:[45, 10], Operations: ['90+50=140', '140/14=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[90, 45, 14, 50], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [14, 50, 2] Generated Node #0,0: 55:[14, 50, 2] Operation: 90/45=2 Moving to Node #0,0 Current State: 55:[14, 50, 2], Operations: ['90/45=2'] Exploring Operation: 14-2=12, Resulting Numbers: [50, 12] Generated Node #0,0,0: 55:[50, 12] Operation: 14-2=12 Moving to Node #0,0,0 Current State: 55:[50, 12], Operations: ['90/45=2', '14-2=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,55 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 6, 1, 81 ]
93
[ "7+6=13", "81-1=80", "13+80=93" ]
Current State: 93:[7, 6, 1, 81], Operations: [] Exploring Operation: 7+6=13, Resulting Numbers: [1, 81, 13] Generated Node #2: [1, 81, 13] from Operation: 7+6=13 Current State: 93:[1, 81, 13], Operations: ['7+6=13'] Exploring Operation: 81-1=80, Resulting Numbers: [13, 80] Generated Node #3: [13, 80] from Operation: 81-1=80 Current State: 93:[13, 80], Operations: ['7+6=13', '81-1=80'] Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[7, 6, 1, 81], Operations: [] Exploring Operation: 6+81=87, Resulting Numbers: [7, 1, 87] Generated Node #0,0: 93:[7, 1, 87] Operation: 6+81=87 Exploring Operation: 7+81=88, Resulting Numbers: [6, 1, 88] Generated Node #0,1: 93:[6, 1, 88] Operation: 7+81=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[6, 1, 88], Operations: ['7+81=88'] Exploring Operation: 6-1=5, Resulting Numbers: [88, 5] Generated Node #0,1,0: 93:[88, 5] Operation: 6-1=5 Exploring Operation: 6+88=94, Resulting Numbers: [1, 94] Generated Node #0,1,1: 93:[1, 94] Operation: 6+88=94 Moving to Node #0,1,1 Current State: 93:[1, 94], Operations: ['7+81=88', '6+88=94'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[7, 6, 1, 81], Operations: [] Exploring Operation: 7+81=88, Resulting Numbers: [6, 1, 88] Generated Node #0,1: 93:[6, 1, 88] Operation: 7+81=88 Moving to Node #0,1 Current State: 93:[6, 1, 88], Operations: ['7+81=88'] Exploring Operation: 6+88=94, Resulting Numbers: [1, 94] Generated Node #0,1,1: 93:[1, 94] Operation: 6+88=94 Moving to Node #0,1,1 Current State: 93:[1, 94], Operations: ['7+81=88', '6+88=94'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 27, 45, 83, 73 ]
82
[ "27+45=72", "83-73=10", "72+10=82" ]
Current State: 82:[27, 45, 83, 73], Operations: [] Exploring Operation: 27+45=72, Resulting Numbers: [83, 73, 72] Generated Node #2: [83, 73, 72] from Operation: 27+45=72 Current State: 82:[83, 73, 72], Operations: ['27+45=72'] Exploring Operation: 83-73=10, Resulting Numbers: [72, 10] Generated Node #3: [72, 10] from Operation: 83-73=10 Current State: 82:[72, 10], Operations: ['27+45=72', '83-73=10'] Exploring Operation: 72+10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[27, 45, 83, 73], Operations: [] Exploring Operation: 73-27=46, Resulting Numbers: [45, 83, 46] Generated Node #0,0: 82:[45, 83, 46] Operation: 73-27=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[45, 83, 46], Operations: ['73-27=46'] Exploring Operation: 46-45=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 82:[83, 1] Operation: 46-45=1 Moving to Node #0,0,0 Current State: 82:[83, 1], Operations: ['73-27=46', '46-45=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[27, 45, 83, 73], Operations: [] Exploring Operation: 73-27=46, Resulting Numbers: [45, 83, 46] Generated Node #0,0: 82:[45, 83, 46] Operation: 73-27=46 Moving to Node #0,0 Current State: 82:[45, 83, 46], Operations: ['73-27=46'] Exploring Operation: 46-45=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 82:[83, 1] Operation: 46-45=1 Moving to Node #0,0,0 Current State: 82:[83, 1], Operations: ['73-27=46', '46-45=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 89, 6, 42, 49 ]
19
[ "89+49=138", "138/6=23", "42-23=19" ]
Current State: 19:[89, 6, 42, 49], Operations: [] Exploring Operation: 89+49=138, Resulting Numbers: [6, 42, 138] Generated Node #2: [6, 42, 138] from Operation: 89+49=138 Current State: 19:[6, 42, 138], Operations: ['89+49=138'] Exploring Operation: 138/6=23, Resulting Numbers: [42, 23] Generated Node #3: [42, 23] from Operation: 138/6=23 Current State: 19:[42, 23], Operations: ['89+49=138', '138/6=23'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[89, 6, 42, 49], Operations: [] Exploring Operation: 89-42=47, Resulting Numbers: [6, 49, 47] Generated Node #0,0: 19:[6, 49, 47] Operation: 89-42=47 Exploring Operation: 89-49=40, Resulting Numbers: [6, 42, 40] Generated Node #0,1: 19:[6, 42, 40] Operation: 89-49=40 Exploring Operation: 49-42=7, Resulting Numbers: [89, 6, 7] Generated Node #0,2: 19:[89, 6, 7] Operation: 49-42=7 Moving to Node #0,1 Current State: 19:[6, 42, 40], Operations: ['89-49=40'] Exploring Operation: 42-6=36, Resulting Numbers: [40, 36] Generated Node #0,1,0: 19:[40, 36] Operation: 42-6=36 Exploring Operation: 42-40=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 19:[6, 2] Operation: 42-40=2 Exploring Operation: 42/6=7, Resulting Numbers: [40, 7] Generated Node #0,1,2: 19:[40, 7] Operation: 42/6=7 Moving to Node #0,0 Current State: 19:[6, 49, 47], Operations: ['89-42=47'] Exploring Operation: 49-47=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 19:[6, 2] Operation: 49-47=2 Exploring Operation: 47-6=41, Resulting Numbers: [49, 41] Generated Node #0,0,1: 19:[49, 41] Operation: 47-6=41 Exploring Operation: 49-6=43, Resulting Numbers: [47, 43] Generated Node #0,0,2: 19:[47, 43] Operation: 49-6=43 Moving to Node #0,2 Current State: 19:[89, 6, 7], Operations: ['49-42=7'] Exploring Operation: 6+7=13, Resulting Numbers: [89, 13] Generated Node #0,2,0: 19:[89, 13] Operation: 6+7=13 Exploring Operation: 89-7=82, Resulting Numbers: [6, 82] Generated Node #0,2,1: 19:[6, 82] Operation: 89-7=82 Exploring Operation: 89-6=83, Resulting Numbers: [7, 83] Generated Node #0,2,2: 19:[7, 83] Operation: 89-6=83 Moving to Node #0,1,1 Current State: 19:[6, 2], Operations: ['89-49=40', '42-40=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[6, 2], Operations: ['89-42=47', '49-47=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[40, 7], Operations: ['89-49=40', '42/6=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,19 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[40, 36], Operations: ['89-49=40', '42-6=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,19 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[47, 43], Operations: ['89-42=47', '49-6=43'] Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,19 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[49, 41], Operations: ['89-42=47', '47-6=41'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[89, 13], Operations: ['49-42=7', '6+7=13'] Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,19 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[6, 82], Operations: ['49-42=7', '89-7=82'] Exploring Operation: 6*82=492, Resulting Numbers: [492] 492,19 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[7, 83], Operations: ['49-42=7', '89-6=83'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 7*83=581, Resulting Numbers: [581] 581,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 58, 33, 26, 93 ]
94
[ "58-33=25", "26+93=119", "119-25=94" ]
Current State: 94:[58, 33, 26, 93], Operations: [] Exploring Operation: 58-33=25, Resulting Numbers: [26, 93, 25] Generated Node #2: [26, 93, 25] from Operation: 58-33=25 Current State: 94:[26, 93, 25], Operations: ['58-33=25'] Exploring Operation: 26+93=119, Resulting Numbers: [25, 119] Generated Node #3: [25, 119] from Operation: 26+93=119 Current State: 94:[25, 119], Operations: ['58-33=25', '26+93=119'] Exploring Operation: 119-25=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[58, 33, 26, 93], Operations: [] Exploring Operation: 58+33=91, Resulting Numbers: [26, 93, 91] Generated Node #0,0: 94:[26, 93, 91] Operation: 58+33=91 Exploring Operation: 33-26=7, Resulting Numbers: [58, 93, 7] Generated Node #0,1: 94:[58, 93, 7] Operation: 33-26=7 Exploring Operation: 33+26=59, Resulting Numbers: [58, 93, 59] Generated Node #0,2: 94:[58, 93, 59] Operation: 33+26=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[58, 93, 7], Operations: ['33-26=7'] Exploring Operation: 58-7=51, Resulting Numbers: [93, 51] Generated Node #0,1,0: 94:[93, 51] Operation: 58-7=51 Exploring Operation: 93-58=35, Resulting Numbers: [7, 35] Generated Node #0,1,1: 94:[7, 35] Operation: 93-58=35 Exploring Operation: 93+7=100, Resulting Numbers: [58, 100] Generated Node #0,1,2: 94:[58, 100] Operation: 93+7=100 Moving to Node #0,1,0 Current State: 94:[93, 51], Operations: ['33-26=7', '58-7=51'] Exploring Operation: 93*51=4743, Resulting Numbers: [4743] 4743,94 unequal: No Solution Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 93+51=144, Resulting Numbers: [144] 144,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[7, 35], Operations: ['33-26=7', '93-58=35'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[58, 100], Operations: ['33-26=7', '93+7=100'] Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,94 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,94 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,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,2 Current State: 94:[58, 93, 59], Operations: ['33+26=59'] Exploring Operation: 59-58=1, Resulting Numbers: [93, 1] Generated Node #0,2,0: 94:[93, 1] Operation: 59-58=1 Exploring Operation: 58+59=117, Resulting Numbers: [93, 117] Generated Node #0,2,1: 94:[93, 117] Operation: 58+59=117 Exploring Operation: 93-58=35, Resulting Numbers: [59, 35] Generated Node #0,2,2: 94:[59, 35] Operation: 93-58=35 Moving to Node #0,2,0 Current State: 94:[93, 1], Operations: ['33+26=59', '59-58=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[58, 33, 26, 93], Operations: [] Exploring Operation: 33+26=59, Resulting Numbers: [58, 93, 59] Generated Node #0,2: 94:[58, 93, 59] Operation: 33+26=59 Moving to Node #0,2 Current State: 94:[58, 93, 59], Operations: ['33+26=59'] Exploring Operation: 59-58=1, Resulting Numbers: [93, 1] Generated Node #0,2,0: 94:[93, 1] Operation: 59-58=1 Moving to Node #0,2,0 Current State: 94:[93, 1], Operations: ['33+26=59', '59-58=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 18, 38, 94, 47 ]
40
[ "38-18=20", "94/47=2", "20*2=40" ]
Current State: 40:[18, 38, 94, 47], Operations: [] Exploring Operation: 38-18=20, Resulting Numbers: [94, 47, 20] Generated Node #2: [94, 47, 20] from Operation: 38-18=20 Current State: 40:[94, 47, 20], Operations: ['38-18=20'] Exploring Operation: 94/47=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 94/47=2 Current State: 40:[20, 2], Operations: ['38-18=20', '94/47=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[18, 38, 94, 47], Operations: [] Exploring Operation: 94-47=47, Resulting Numbers: [18, 38, 47] Generated Node #0,0: 40:[18, 38, 47] Operation: 94-47=47 Exploring Operation: 94/47=2, Resulting Numbers: [18, 38, 2] Generated Node #0,1: 40:[18, 38, 2] Operation: 94/47=2 Moving to Node #0,1 Current State: 40:[18, 38, 2], Operations: ['94/47=2'] Exploring Operation: 38-18=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 40:[2, 20] Operation: 38-18=20 Exploring Operation: 18+2=20, Resulting Numbers: [38, 20] Generated Node #0,1,1: 40:[38, 20] Operation: 18+2=20 Moving to Node #0,0 Current State: 40:[18, 38, 47], Operations: ['94-47=47'] Exploring Operation: 38-18=20, Resulting Numbers: [47, 20] Generated Node #0,0,0: 40:[47, 20] Operation: 38-18=20 Exploring Operation: 47-38=9, Resulting Numbers: [18, 9] Generated Node #0,0,1: 40:[18, 9] Operation: 47-38=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[18, 9], Operations: ['94-47=47', '47-38=9'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[47, 20], Operations: ['94-47=47', '38-18=20'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 40:[2, 20], Operations: ['94/47=2', '38-18=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[18, 38, 94, 47], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [18, 38, 2] Generated Node #0,1: 40:[18, 38, 2] Operation: 94/47=2 Moving to Node #0,1 Current State: 40:[18, 38, 2], Operations: ['94/47=2'] Exploring Operation: 38-18=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 40:[2, 20] Operation: 38-18=20 Moving to Node #0,1,0 Current State: 40:[2, 20], Operations: ['94/47=2', '38-18=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 78, 50, 96, 20 ]
99
[ "78*50=3900", "3900/20=195", "195-96=99" ]
Current State: 99:[78, 50, 96, 20], Operations: [] Exploring Operation: 78*50=3900, Resulting Numbers: [96, 20, 3900] Generated Node #2: [96, 20, 3900] from Operation: 78*50=3900 Current State: 99:[96, 20, 3900], Operations: ['78*50=3900'] Exploring Operation: 3900/20=195, Resulting Numbers: [96, 195] Generated Node #3: [96, 195] from Operation: 3900/20=195 Current State: 99:[96, 195], Operations: ['78*50=3900', '3900/20=195'] Exploring Operation: 195-96=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[78, 50, 96, 20], Operations: [] Exploring Operation: 78-50=28, Resulting Numbers: [96, 20, 28] Generated Node #0,0: 99:[96, 20, 28] Operation: 78-50=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[96, 20, 28], Operations: ['78-50=28'] Exploring Operation: 28-20=8, Resulting Numbers: [96, 8] Generated Node #0,0,0: 99:[96, 8] Operation: 28-20=8 Moving to Node #0,0,0 Current State: 99:[96, 8], Operations: ['78-50=28', '28-20=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 23, 94, 84, 6 ]
26
[ "84*6=504", "94+504=598", "598/23=26" ]
Current State: 26:[23, 94, 84, 6], Operations: [] Exploring Operation: 84*6=504, Resulting Numbers: [23, 94, 504] Generated Node #2: [23, 94, 504] from Operation: 84*6=504 Current State: 26:[23, 94, 504], Operations: ['84*6=504'] Exploring Operation: 94+504=598, Resulting Numbers: [23, 598] Generated Node #3: [23, 598] from Operation: 94+504=598 Current State: 26:[23, 598], Operations: ['84*6=504', '94+504=598'] Exploring Operation: 598/23=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[23, 94, 84, 6], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [23, 94, 14] Generated Node #0,0: 26:[23, 94, 14] Operation: 84/6=14 Exploring Operation: 94-84=10, Resulting Numbers: [23, 6, 10] Generated Node #0,1: 26:[23, 6, 10] Operation: 94-84=10 Moving to Node #0,1 Current State: 26:[23, 6, 10], Operations: ['94-84=10'] Exploring Operation: 10-6=4, Resulting Numbers: [23, 4] Generated Node #0,1,0: 26:[23, 4] Operation: 10-6=4 Exploring Operation: 23-10=13, Resulting Numbers: [6, 13] Generated Node #0,1,1: 26:[6, 13] Operation: 23-10=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[6, 13], Operations: ['94-84=10', '23-10=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[23, 4], Operations: ['94-84=10', '10-6=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,26 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: 26:[23, 94, 14], Operations: ['84/6=14'] Exploring Operation: 94-23=71, Resulting Numbers: [14, 71] Generated Node #0,0,0: 26:[14, 71] Operation: 94-23=71 Exploring Operation: 94-14=80, Resulting Numbers: [23, 80] Generated Node #0,0,1: 26:[23, 80] Operation: 94-14=80 Moving to Node #0,0,0 Current State: 26:[14, 71], Operations: ['84/6=14', '94-23=71'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 14+71=85, Resulting Numbers: [85] 85,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[23, 80], Operations: ['84/6=14', '94-14=80'] Exploring Operation: 23+80=103, Resulting Numbers: [103] 103,26 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,26 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 23, 20, 88, 18 ]
94
[ "23-20=3", "18/3=6", "88+6=94" ]
Current State: 94:[23, 20, 88, 18], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [88, 18, 3] Generated Node #2: [88, 18, 3] from Operation: 23-20=3 Current State: 94:[88, 18, 3], Operations: ['23-20=3'] Exploring Operation: 18/3=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 18/3=6 Current State: 94:[88, 6], Operations: ['23-20=3', '18/3=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[23, 20, 88, 18], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [88, 18, 3] Generated Node #0,0: 94:[88, 18, 3] Operation: 23-20=3 Exploring Operation: 23+20=43, Resulting Numbers: [88, 18, 43] Generated Node #0,1: 94:[88, 18, 43] Operation: 23+20=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[88, 18, 3], Operations: ['23-20=3'] Exploring Operation: 88+18=106, Resulting Numbers: [3, 106] Generated Node #0,0,0: 94:[3, 106] Operation: 88+18=106 Exploring Operation: 18/3=6, Resulting Numbers: [88, 6] Generated Node #0,0,1: 94:[88, 6] Operation: 18/3=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[88, 6], Operations: ['23-20=3', '18/3=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[23, 20, 88, 18], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [88, 18, 3] Generated Node #0,0: 94:[88, 18, 3] Operation: 23-20=3 Moving to Node #0,0 Current State: 94:[88, 18, 3], Operations: ['23-20=3'] Exploring Operation: 18/3=6, Resulting Numbers: [88, 6] Generated Node #0,0,1: 94:[88, 6] Operation: 18/3=6 Moving to Node #0,0,1 Current State: 94:[88, 6], Operations: ['23-20=3', '18/3=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 43, 82, 87, 15 ]
63
[ "82-43=39", "87+15=102", "102-39=63" ]
Current State: 63:[43, 82, 87, 15], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [87, 15, 39] Generated Node #2: [87, 15, 39] from Operation: 82-43=39 Current State: 63:[87, 15, 39], Operations: ['82-43=39'] Exploring Operation: 87+15=102, Resulting Numbers: [39, 102] Generated Node #3: [39, 102] from Operation: 87+15=102 Current State: 63:[39, 102], Operations: ['82-43=39', '87+15=102'] Exploring Operation: 102-39=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[43, 82, 87, 15], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [43, 15, 5] Generated Node #0,0: 63:[43, 15, 5] Operation: 87-82=5 Exploring Operation: 87-43=44, Resulting Numbers: [82, 15, 44] Generated Node #0,1: 63:[82, 15, 44] Operation: 87-43=44 Exploring Operation: 82-43=39, Resulting Numbers: [87, 15, 39] Generated Node #0,2: 63:[87, 15, 39] Operation: 82-43=39 Exploring Operation: 43+15=58, Resulting Numbers: [82, 87, 58] Generated Node #0,3: 63:[82, 87, 58] Operation: 43+15=58 Moving to Node #0,0 Current State: 63:[43, 15, 5], Operations: ['87-82=5'] Exploring Operation: 43+5=48, Resulting Numbers: [15, 48] Generated Node #0,0,0: 63:[15, 48] Operation: 43+5=48 Exploring Operation: 15/5=3, Resulting Numbers: [43, 3] Generated Node #0,0,1: 63:[43, 3] Operation: 15/5=3 Exploring Operation: 43-15=28, Resulting Numbers: [5, 28] Generated Node #0,0,2: 63:[5, 28] Operation: 43-15=28 Exploring Operation: 43+15=58, Resulting Numbers: [5, 58] Generated Node #0,0,3: 63:[5, 58] Operation: 43+15=58 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[5, 58], Operations: ['87-82=5', '43+15=58'] Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,63 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[43, 82, 87, 15], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [43, 15, 5] Generated Node #0,0: 63:[43, 15, 5] Operation: 87-82=5 Moving to Node #0,0 Current State: 63:[43, 15, 5], Operations: ['87-82=5'] Exploring Operation: 43+15=58, Resulting Numbers: [5, 58] Generated Node #0,0,3: 63:[5, 58] Operation: 43+15=58 Moving to Node #0,0,3 Current State: 63:[5, 58], Operations: ['87-82=5', '43+15=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 41, 20, 44, 75 ]
30
[ "41+20=61", "75-44=31", "61-31=30" ]
Current State: 30:[41, 20, 44, 75], Operations: [] Exploring Operation: 41+20=61, Resulting Numbers: [44, 75, 61] Generated Node #2: [44, 75, 61] from Operation: 41+20=61 Current State: 30:[44, 75, 61], Operations: ['41+20=61'] Exploring Operation: 75-44=31, Resulting Numbers: [61, 31] Generated Node #3: [61, 31] from Operation: 75-44=31 Current State: 30:[61, 31], Operations: ['41+20=61', '75-44=31'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[41, 20, 44, 75], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [41, 20, 31] Generated Node #0,0: 30:[41, 20, 31] Operation: 75-44=31 Exploring Operation: 44-41=3, Resulting Numbers: [20, 75, 3] Generated Node #0,1: 30:[20, 75, 3] Operation: 44-41=3 Exploring Operation: 75-41=34, Resulting Numbers: [20, 44, 34] Generated Node #0,2: 30:[20, 44, 34] Operation: 75-41=34 Moving to Node #0,0 Current State: 30:[41, 20, 31], Operations: ['75-44=31'] Exploring Operation: 41-31=10, Resulting Numbers: [20, 10] Generated Node #0,0,0: 30:[20, 10] Operation: 41-31=10 Exploring Operation: 31-20=11, Resulting Numbers: [41, 11] Generated Node #0,0,1: 30:[41, 11] Operation: 31-20=11 Exploring Operation: 41-20=21, Resulting Numbers: [31, 21] Generated Node #0,0,2: 30:[31, 21] Operation: 41-20=21 Moving to Node #0,2 Current State: 30:[20, 44, 34], Operations: ['75-41=34'] Exploring Operation: 44-34=10, Resulting Numbers: [20, 10] Generated Node #0,2,0: 30:[20, 10] Operation: 44-34=10 Exploring Operation: 44-20=24, Resulting Numbers: [34, 24] Generated Node #0,2,1: 30:[34, 24] Operation: 44-20=24 Exploring Operation: 34-20=14, Resulting Numbers: [44, 14] Generated Node #0,2,2: 30:[44, 14] Operation: 34-20=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[20, 10], Operations: ['75-41=34', '44-34=10'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[41, 20, 44, 75], Operations: [] Exploring Operation: 75-41=34, Resulting Numbers: [20, 44, 34] Generated Node #0,2: 30:[20, 44, 34] Operation: 75-41=34 Moving to Node #0,2 Current State: 30:[20, 44, 34], Operations: ['75-41=34'] Exploring Operation: 44-34=10, Resulting Numbers: [20, 10] Generated Node #0,2,0: 30:[20, 10] Operation: 44-34=10 Moving to Node #0,2,0 Current State: 30:[20, 10], Operations: ['75-41=34', '44-34=10'] Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 52, 73, 2, 23 ]
51
[ "52+73=125", "125-23=102", "102/2=51" ]
Current State: 51:[52, 73, 2, 23], Operations: [] Exploring Operation: 52+73=125, Resulting Numbers: [2, 23, 125] Generated Node #2: [2, 23, 125] from Operation: 52+73=125 Current State: 51:[2, 23, 125], Operations: ['52+73=125'] Exploring Operation: 125-23=102, Resulting Numbers: [2, 102] Generated Node #3: [2, 102] from Operation: 125-23=102 Current State: 51:[2, 102], Operations: ['52+73=125', '125-23=102'] Exploring Operation: 102/2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[52, 73, 2, 23], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [2, 23, 21] Generated Node #0,0: 51:[2, 23, 21] Operation: 73-52=21 Exploring Operation: 23-2=21, Resulting Numbers: [52, 73, 21] Generated Node #0,1: 51:[52, 73, 21] Operation: 23-2=21 Exploring Operation: 73-23=50, Resulting Numbers: [52, 2, 50] Generated Node #0,2: 51:[52, 2, 50] Operation: 73-23=50 Exploring Operation: 73-2=71, Resulting Numbers: [52, 23, 71] Generated Node #0,3: 51:[52, 23, 71] Operation: 73-2=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[52, 2, 50], Operations: ['73-23=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52, 52] Generated Node #0,2,0: 51:[52, 52] Operation: 2+50=52 Exploring Operation: 52-2=50, Resulting Numbers: [50, 50] Generated Node #0,2,1: 51:[50, 50] Operation: 52-2=50 Exploring Operation: 52-50=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 51:[2, 2] Operation: 52-50=2 Exploring Operation: 52+2=54, Resulting Numbers: [50, 54] Generated Node #0,2,3: 51:[50, 54] Operation: 52+2=54 Moving to Node #0,2,0 Current State: 51:[52, 52], Operations: ['73-23=50', '2+50=52'] Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,51 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[2, 2], Operations: ['73-23=50', '52-50=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[50, 50], Operations: ['73-23=50', '52-2=50'] Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,51 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[50, 54], Operations: ['73-23=50', '52+2=54'] Exploring Operation: 50*54=2700, Resulting Numbers: [2700] 2700,51 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 50+54=104, Resulting Numbers: [104] 104,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:[2, 23, 21], Operations: ['73-52=21'] Exploring Operation: 23+21=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 51:[2, 44] Operation: 23+21=44 Exploring Operation: 23-21=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 51:[2, 2] Operation: 23-21=2 Exploring Operation: 23-2=21, Resulting Numbers: [21, 21] Generated Node #0,0,2: 51:[21, 21] Operation: 23-2=21 Exploring Operation: 21-2=19, Resulting Numbers: [23, 19] Generated Node #0,0,3: 51:[23, 19] Operation: 21-2=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[2, 2], Operations: ['73-52=21', '23-21=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,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, 44], Operations: ['73-52=21', '23+21=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,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,2 Current State: 51:[21, 21], Operations: ['73-52=21', '23-2=21'] Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,51 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,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:[23, 19], Operations: ['73-52=21', '21-2=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,51 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,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:[52, 73, 21], Operations: ['23-2=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52, 52] Generated Node #0,1,0: 51:[52, 52] Operation: 73-21=52 Exploring Operation: 73-52=21, Resulting Numbers: [21, 21] Generated Node #0,1,1: 51:[21, 21] Operation: 73-52=21 Exploring Operation: 52-21=31, Resulting Numbers: [73, 31] Generated Node #0,1,2: 51:[73, 31] Operation: 52-21=31 Exploring Operation: 52+21=73, Resulting Numbers: [73, 73] Generated Node #0,1,3: 51:[73, 73] Operation: 52+21=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[52, 52], Operations: ['23-2=21', '73-21=52'] Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,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,1,1 Current State: 51:[21, 21], Operations: ['23-2=21', '73-52=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,51 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,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,1,2 Current State: 51:[73, 31], Operations: ['23-2=21', '52-21=31'] Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 73*31=2263, Resulting Numbers: [2263] 2263,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,1,3 Current State: 51:[73, 73], Operations: ['23-2=21', '52+21=73'] Exploring Operation: 73*73=5329, Resulting Numbers: [5329] 5329,51 unequal: No Solution Exploring Operation: 73+73=146, Resulting Numbers: [146] 146,51 unequal: No Solution Exploring Operation: 73/73=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 73-73=0, Resulting Numbers: [0] 0,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,3 Current State: 51:[52, 23, 71], Operations: ['73-2=71'] Exploring Operation: 52-23=29, Resulting Numbers: [71, 29] Generated Node #0,3,0: 51:[71, 29] Operation: 52-23=29 Exploring Operation: 71-23=48, Resulting Numbers: [52, 48] Generated Node #0,3,1: 51:[52, 48] Operation: 71-23=48 Exploring Operation: 52+23=75, Resulting Numbers: [71, 75] Generated Node #0,3,2: 51:[71, 75] Operation: 52+23=75 Exploring Operation: 71-52=19, Resulting Numbers: [23, 19] Generated Node #0,3,3: 51:[23, 19] Operation: 71-52=19 Moving to Node #0,3,1 Current State: 51:[52, 48], Operations: ['73-2=71', '71-23=48'] Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,51 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[23, 19], Operations: ['73-2=71', '71-52=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,51 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[71, 29], Operations: ['73-2=71', '52-23=29'] Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,51 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[71, 75], Operations: ['73-2=71', '52+23=75'] Exploring Operation: 71*75=5325, Resulting Numbers: [5325] 5325,51 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 71+75=146, Resulting Numbers: [146] 146,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 31, 42, 11, 16 ]
46
[ "31+42=73", "11+16=27", "73-27=46" ]
Current State: 46:[31, 42, 11, 16], Operations: [] Exploring Operation: 31+42=73, Resulting Numbers: [11, 16, 73] Generated Node #2: [11, 16, 73] from Operation: 31+42=73 Current State: 46:[11, 16, 73], Operations: ['31+42=73'] Exploring Operation: 11+16=27, Resulting Numbers: [73, 27] Generated Node #3: [73, 27] from Operation: 11+16=27 Current State: 46:[73, 27], Operations: ['31+42=73', '11+16=27'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[31, 42, 11, 16], Operations: [] Exploring Operation: 31-11=20, Resulting Numbers: [42, 16, 20] Generated Node #0,0: 46:[42, 16, 20] Operation: 31-11=20 Exploring Operation: 31+11=42, Resulting Numbers: [42, 16, 42] Generated Node #0,1: 46:[42, 16, 42] Operation: 31+11=42 Exploring Operation: 31+16=47, Resulting Numbers: [42, 11, 47] Generated Node #0,2: 46:[42, 11, 47] Operation: 31+16=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[42, 16, 20], Operations: ['31-11=20'] Exploring Operation: 42-16=26, Resulting Numbers: [20, 26] Generated Node #0,0,0: 46:[20, 26] Operation: 42-16=26 Exploring Operation: 20-16=4, Resulting Numbers: [42, 4] Generated Node #0,0,1: 46:[42, 4] Operation: 20-16=4 Exploring Operation: 42-20=22, Resulting Numbers: [16, 22] Generated Node #0,0,2: 46:[16, 22] Operation: 42-20=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[20, 26], Operations: ['31-11=20', '42-16=26'] Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,46 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[31, 42, 11, 16], Operations: [] Exploring Operation: 31-11=20, Resulting Numbers: [42, 16, 20] Generated Node #0,0: 46:[42, 16, 20] Operation: 31-11=20 Moving to Node #0,0 Current State: 46:[42, 16, 20], Operations: ['31-11=20'] Exploring Operation: 42-16=26, Resulting Numbers: [20, 26] Generated Node #0,0,0: 46:[20, 26] Operation: 42-16=26 Moving to Node #0,0,0 Current State: 46:[20, 26], Operations: ['31-11=20', '42-16=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 44, 75, 24, 81 ]
13
[ "44*24=1056", "1056-81=975", "975/75=13" ]
Current State: 13:[44, 75, 24, 81], Operations: [] Exploring Operation: 44*24=1056, Resulting Numbers: [75, 81, 1056] Generated Node #2: [75, 81, 1056] from Operation: 44*24=1056 Current State: 13:[75, 81, 1056], Operations: ['44*24=1056'] Exploring Operation: 1056-81=975, Resulting Numbers: [75, 975] Generated Node #3: [75, 975] from Operation: 1056-81=975 Current State: 13:[75, 975], Operations: ['44*24=1056', '1056-81=975'] Exploring Operation: 975/75=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[44, 75, 24, 81], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [24, 81, 31] Generated Node #0,0: 13:[24, 81, 31] Operation: 75-44=31 Exploring Operation: 81-75=6, Resulting Numbers: [44, 24, 6] Generated Node #0,1: 13:[44, 24, 6] Operation: 81-75=6 Exploring Operation: 81-44=37, Resulting Numbers: [75, 24, 37] Generated Node #0,2: 13:[75, 24, 37] Operation: 81-44=37 Moving to Node #0,1 Current State: 13:[44, 24, 6], Operations: ['81-75=6'] Exploring Operation: 44-24=20, Resulting Numbers: [6, 20] Generated Node #0,1,0: 13:[6, 20] Operation: 44-24=20 Exploring Operation: 24-6=18, Resulting Numbers: [44, 18] Generated Node #0,1,1: 13:[44, 18] Operation: 24-6=18 Exploring Operation: 44-6=38, Resulting Numbers: [24, 38] Generated Node #0,1,2: 13:[24, 38] Operation: 44-6=38 Moving to Node #0,0 Current State: 13:[24, 81, 31], Operations: ['75-44=31'] Exploring Operation: 81-31=50, Resulting Numbers: [24, 50] Generated Node #0,0,0: 13:[24, 50] Operation: 81-31=50 Exploring Operation: 81-24=57, Resulting Numbers: [31, 57] Generated Node #0,0,1: 13:[31, 57] Operation: 81-24=57 Exploring Operation: 31-24=7, Resulting Numbers: [81, 7] Generated Node #0,0,2: 13:[81, 7] Operation: 31-24=7 Moving to Node #0,2 Current State: 13:[75, 24, 37], Operations: ['81-44=37'] Exploring Operation: 75-24=51, Resulting Numbers: [37, 51] Generated Node #0,2,0: 13:[37, 51] Operation: 75-24=51 Exploring Operation: 75-37=38, Resulting Numbers: [24, 38] Generated Node #0,2,1: 13:[24, 38] Operation: 75-37=38 Exploring Operation: 37-24=13, Resulting Numbers: [75, 13] Generated Node #0,2,2: 13:[75, 13] Operation: 37-24=13 Moving to Node #0,1,0 Current State: 13:[6, 20], Operations: ['81-75=6', '44-24=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[24, 38], Operations: ['81-75=6', '44-6=38'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,13 unequal: No Solution Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[24, 38], Operations: ['81-44=37', '75-37=38'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[44, 18], Operations: ['81-75=6', '24-6=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[24, 50], Operations: ['75-44=31', '81-31=50'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 24*50=1200, Resulting Numbers: [1200] 1200,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[75, 13], Operations: ['81-44=37', '37-24=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,13 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[31, 57], Operations: ['75-44=31', '81-24=57'] Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[37, 51], Operations: ['81-44=37', '75-24=51'] Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,13 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[81, 7], Operations: ['75-44=31', '31-24=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,13 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 35, 73, 17, 5 ]
49
[ "35/5=7", "73-17=56", "56-7=49" ]
Current State: 49:[35, 73, 17, 5], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [73, 17, 7] Generated Node #2: [73, 17, 7] from Operation: 35/5=7 Current State: 49:[73, 17, 7], Operations: ['35/5=7'] Exploring Operation: 73-17=56, Resulting Numbers: [7, 56] Generated Node #3: [7, 56] from Operation: 73-17=56 Current State: 49:[7, 56], Operations: ['35/5=7', '73-17=56'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[35, 73, 17, 5], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [73, 17, 7] Generated Node #0,0: 49:[73, 17, 7] Operation: 35/5=7 Exploring Operation: 73-17=56, Resulting Numbers: [35, 5, 56] Generated Node #0,1: 49:[35, 5, 56] Operation: 73-17=56 Exploring Operation: 35-17=18, Resulting Numbers: [73, 5, 18] Generated Node #0,2: 49:[73, 5, 18] Operation: 35-17=18 Exploring Operation: 35+17=52, Resulting Numbers: [73, 5, 52] Generated Node #0,3: 49:[73, 5, 52] Operation: 35+17=52 Exploring Operation: 73-35=38, Resulting Numbers: [17, 5, 38] Generated Node #0,4: 49:[17, 5, 38] Operation: 73-35=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[35, 5, 56], Operations: ['73-17=56'] Exploring Operation: 35/5=7, Resulting Numbers: [56, 7] Generated Node #0,1,0: 49:[56, 7] Operation: 35/5=7 Exploring Operation: 35+5=40, Resulting Numbers: [56, 40] Generated Node #0,1,1: 49:[56, 40] Operation: 35+5=40 Exploring Operation: 56-5=51, Resulting Numbers: [35, 51] Generated Node #0,1,2: 49:[35, 51] Operation: 56-5=51 Exploring Operation: 56-35=21, Resulting Numbers: [5, 21] Generated Node #0,1,3: 49:[5, 21] Operation: 56-35=21 Exploring Operation: 35-5=30, Resulting Numbers: [56, 30] Generated Node #0,1,4: 49:[56, 30] Operation: 35-5=30 Moving to Node #0,1,0 Current State: 49:[56, 7], Operations: ['73-17=56', '35/5=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,49 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[35, 73, 17, 5], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [35, 5, 56] Generated Node #0,1: 49:[35, 5, 56] Operation: 73-17=56 Moving to Node #0,1 Current State: 49:[35, 5, 56], Operations: ['73-17=56'] Exploring Operation: 35/5=7, Resulting Numbers: [56, 7] Generated Node #0,1,0: 49:[56, 7] Operation: 35/5=7 Moving to Node #0,1,0 Current State: 49:[56, 7], Operations: ['73-17=56', '35/5=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 89, 21, 25, 4 ]
42
[ "89-21=68", "68/4=17", "25+17=42" ]
Current State: 42:[89, 21, 25, 4], Operations: [] Exploring Operation: 89-21=68, Resulting Numbers: [25, 4, 68] Generated Node #2: [25, 4, 68] from Operation: 89-21=68 Current State: 42:[25, 4, 68], Operations: ['89-21=68'] Exploring Operation: 68/4=17, Resulting Numbers: [25, 17] Generated Node #3: [25, 17] from Operation: 68/4=17 Current State: 42:[25, 17], Operations: ['89-21=68', '68/4=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[89, 21, 25, 4], Operations: [] Exploring Operation: 89-4=85, Resulting Numbers: [21, 25, 85] Generated Node #0,0: 42:[21, 25, 85] Operation: 89-4=85 Exploring Operation: 89-21=68, Resulting Numbers: [25, 4, 68] Generated Node #0,1: 42:[25, 4, 68] Operation: 89-21=68 Exploring Operation: 25-4=21, Resulting Numbers: [89, 21, 21] Generated Node #0,2: 42:[89, 21, 21] Operation: 25-4=21 Exploring Operation: 89-25=64, Resulting Numbers: [21, 4, 64] Generated Node #0,3: 42:[21, 4, 64] Operation: 89-25=64 Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[21, 4, 64], Operations: ['89-25=64'] Exploring Operation: 64-21=43, Resulting Numbers: [4, 43] Generated Node #0,3,0: 42:[4, 43] Operation: 64-21=43 Exploring Operation: 64-4=60, Resulting Numbers: [21, 60] Generated Node #0,3,1: 42:[21, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [21, 16] Generated Node #0,3,2: 42:[21, 16] Operation: 64/4=16 Exploring Operation: 21-4=17, Resulting Numbers: [64, 17] Generated Node #0,3,3: 42:[64, 17] Operation: 21-4=17 Moving to Node #0,3,0 Current State: 42:[4, 43], Operations: ['89-25=64', '64-21=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[21, 16], Operations: ['89-25=64', '64/4=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,42 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[21, 60], Operations: ['89-25=64', '64-4=60'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 21*60=1260, Resulting Numbers: [1260] 1260,42 unequal: No Solution Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[64, 17], Operations: ['89-25=64', '21-4=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,42 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[25, 4, 68], Operations: ['89-21=68'] Exploring Operation: 68-25=43, Resulting Numbers: [4, 43] Generated Node #0,1,0: 42:[4, 43] Operation: 68-25=43 Exploring Operation: 25-4=21, Resulting Numbers: [68, 21] Generated Node #0,1,1: 42:[68, 21] Operation: 25-4=21 Exploring Operation: 68/4=17, Resulting Numbers: [25, 17] Generated Node #0,1,2: 42:[25, 17] Operation: 68/4=17 Exploring Operation: 68-4=64, Resulting Numbers: [25, 64] Generated Node #0,1,3: 42:[25, 64] Operation: 68-4=64 Moving to Node #0,1,0 Current State: 42:[4, 43], Operations: ['89-21=68', '68-25=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,42 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[25, 17], Operations: ['89-21=68', '68/4=17'] Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,42 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[89, 21, 25, 4], Operations: [] Exploring Operation: 89-21=68, Resulting Numbers: [25, 4, 68] Generated Node #0,1: 42:[25, 4, 68] Operation: 89-21=68 Moving to Node #0,1 Current State: 42:[25, 4, 68], Operations: ['89-21=68'] Exploring Operation: 68/4=17, Resulting Numbers: [25, 17] Generated Node #0,1,2: 42:[25, 17] Operation: 68/4=17 Moving to Node #0,1,2 Current State: 42:[25, 17], Operations: ['89-21=68', '68/4=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 53, 69, 33, 64 ]
72
[ "64-53=11", "33/11=3", "69+3=72" ]
Current State: 72:[53, 69, 33, 64], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [69, 33, 11] Generated Node #2: [69, 33, 11] from Operation: 64-53=11 Current State: 72:[69, 33, 11], Operations: ['64-53=11'] Exploring Operation: 33/11=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 33/11=3 Current State: 72:[69, 3], Operations: ['64-53=11', '33/11=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[53, 69, 33, 64], Operations: [] Exploring Operation: 53-33=20, Resulting Numbers: [69, 64, 20] Generated Node #0,0: 72:[69, 64, 20] Operation: 53-33=20 Exploring Operation: 69-64=5, Resulting Numbers: [53, 33, 5] Generated Node #0,1: 72:[53, 33, 5] Operation: 69-64=5 Exploring Operation: 64-53=11, Resulting Numbers: [69, 33, 11] Generated Node #0,2: 72:[69, 33, 11] Operation: 64-53=11 Exploring Operation: 69-53=16, Resulting Numbers: [33, 64, 16] Generated Node #0,3: 72:[33, 64, 16] Operation: 69-53=16 Moving to Node #0,2 Current State: 72:[69, 33, 11], Operations: ['64-53=11'] Exploring Operation: 33-11=22, Resulting Numbers: [69, 22] Generated Node #0,2,0: 72:[69, 22] Operation: 33-11=22 Exploring Operation: 33/11=3, Resulting Numbers: [69, 3] Generated Node #0,2,1: 72:[69, 3] Operation: 33/11=3 Exploring Operation: 69-33=36, Resulting Numbers: [11, 36] Generated Node #0,2,2: 72:[11, 36] Operation: 69-33=36 Exploring Operation: 69+11=80, Resulting Numbers: [33, 80] Generated Node #0,2,3: 72:[33, 80] Operation: 69+11=80 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[11, 36], Operations: ['64-53=11', '69-33=36'] Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,72 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[69, 3], Operations: ['64-53=11', '33/11=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,72 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,72 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[53, 69, 33, 64], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [69, 33, 11] Generated Node #0,2: 72:[69, 33, 11] Operation: 64-53=11 Moving to Node #0,2 Current State: 72:[69, 33, 11], Operations: ['64-53=11'] Exploring Operation: 33/11=3, Resulting Numbers: [69, 3] Generated Node #0,2,1: 72:[69, 3] Operation: 33/11=3 Moving to Node #0,2,1 Current State: 72:[69, 3], Operations: ['64-53=11', '33/11=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 28, 34, 30, 57 ]
35
[ "28+34=62", "57-30=27", "62-27=35" ]
Current State: 35:[28, 34, 30, 57], Operations: [] Exploring Operation: 28+34=62, Resulting Numbers: [30, 57, 62] Generated Node #2: [30, 57, 62] from Operation: 28+34=62 Current State: 35:[30, 57, 62], Operations: ['28+34=62'] Exploring Operation: 57-30=27, Resulting Numbers: [62, 27] Generated Node #3: [62, 27] from Operation: 57-30=27 Current State: 35:[62, 27], Operations: ['28+34=62', '57-30=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[28, 34, 30, 57], Operations: [] Exploring Operation: 57-28=29, Resulting Numbers: [34, 30, 29] Generated Node #0,0: 35:[34, 30, 29] Operation: 57-28=29 Exploring Operation: 57-30=27, Resulting Numbers: [28, 34, 27] Generated Node #0,1: 35:[28, 34, 27] Operation: 57-30=27 Exploring Operation: 57-34=23, Resulting Numbers: [28, 30, 23] Generated Node #0,2: 35:[28, 30, 23] Operation: 57-34=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[34, 30, 29], Operations: ['57-28=29'] Exploring Operation: 34-30=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 35:[29, 4] Operation: 34-30=4 Exploring Operation: 30-29=1, Resulting Numbers: [34, 1] Generated Node #0,0,1: 35:[34, 1] Operation: 30-29=1 Exploring Operation: 34-29=5, Resulting Numbers: [30, 5] Generated Node #0,0,2: 35:[30, 5] Operation: 34-29=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[34, 1], Operations: ['57-28=29', '30-29=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[28, 34, 30, 57], Operations: [] Exploring Operation: 57-28=29, Resulting Numbers: [34, 30, 29] Generated Node #0,0: 35:[34, 30, 29] Operation: 57-28=29 Moving to Node #0,0 Current State: 35:[34, 30, 29], Operations: ['57-28=29'] Exploring Operation: 30-29=1, Resulting Numbers: [34, 1] Generated Node #0,0,1: 35:[34, 1] Operation: 30-29=1 Moving to Node #0,0,1 Current State: 35:[34, 1], Operations: ['57-28=29', '30-29=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 98, 53, 35, 64 ]
53
[ "98-35=63", "64-63=1", "53*1=53" ]
Current State: 53:[98, 53, 35, 64], Operations: [] Exploring Operation: 98-35=63, Resulting Numbers: [53, 64, 63] Generated Node #2: [53, 64, 63] from Operation: 98-35=63 Current State: 53:[53, 64, 63], Operations: ['98-35=63'] Exploring Operation: 64-63=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 64-63=1 Current State: 53:[53, 1], Operations: ['98-35=63', '64-63=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[98, 53, 35, 64], Operations: [] Exploring Operation: 98-35=63, Resulting Numbers: [53, 64, 63] Generated Node #0,0: 53:[53, 64, 63] Operation: 98-35=63 Exploring Operation: 98-64=34, Resulting Numbers: [53, 35, 34] Generated Node #0,1: 53:[53, 35, 34] Operation: 98-64=34 Exploring Operation: 98-53=45, Resulting Numbers: [35, 64, 45] Generated Node #0,2: 53:[35, 64, 45] Operation: 98-53=45 Exploring Operation: 64-35=29, Resulting Numbers: [98, 53, 29] Generated Node #0,3: 53:[98, 53, 29] Operation: 64-35=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[53, 64, 63], Operations: ['98-35=63'] Exploring Operation: 53+64=117, Resulting Numbers: [63, 117] Generated Node #0,0,0: 53:[63, 117] Operation: 53+64=117 Exploring Operation: 64-53=11, Resulting Numbers: [63, 11] Generated Node #0,0,1: 53:[63, 11] Operation: 64-53=11 Exploring Operation: 63-53=10, Resulting Numbers: [64, 10] Generated Node #0,0,2: 53:[64, 10] Operation: 63-53=10 Exploring Operation: 64-63=1, Resulting Numbers: [53, 1] Generated Node #0,0,3: 53:[53, 1] Operation: 64-63=1 Moving to Node #0,0,1 Current State: 53:[63, 11], Operations: ['98-35=63', '64-53=11'] Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,53 unequal: No Solution Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[53, 1], Operations: ['98-35=63', '64-63=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[98, 53, 35, 64], Operations: [] Exploring Operation: 98-35=63, Resulting Numbers: [53, 64, 63] Generated Node #0,0: 53:[53, 64, 63] Operation: 98-35=63 Moving to Node #0,0 Current State: 53:[53, 64, 63], Operations: ['98-35=63'] Exploring Operation: 64-63=1, Resulting Numbers: [53, 1] Generated Node #0,0,3: 53:[53, 1] Operation: 64-63=1 Moving to Node #0,0,3 Current State: 53:[53, 1], Operations: ['98-35=63', '64-63=1'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 21, 2, 96, 98 ]
22
[ "2+96=98", "98/98=1", "21+1=22" ]
Current State: 22:[21, 2, 96, 98], Operations: [] Exploring Operation: 2+96=98, Resulting Numbers: [21, 98, 98] Generated Node #2: [21, 98, 98] from Operation: 2+96=98 Current State: 22:[21, 98, 98], Operations: ['2+96=98'] Exploring Operation: 98/98=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 98/98=1 Current State: 22:[21, 1], Operations: ['2+96=98', '98/98=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[21, 2, 96, 98], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [21, 2, 2] Generated Node #0,0: 22:[21, 2, 2] Operation: 98-96=2 Moving to Node #0,0 Current State: 22:[21, 2, 2], Operations: ['98-96=2'] Exploring Operation: 21+2=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 22:[2, 23] Operation: 21+2=23 Moving to Node #0,0,0 Current State: 22:[2, 23], Operations: ['98-96=2', '21+2=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 5, 68, 97, 60 ]
45
[ "68+97=165", "60+165=225", "225/5=45" ]
Current State: 45:[5, 68, 97, 60], Operations: [] Exploring Operation: 68+97=165, Resulting Numbers: [5, 60, 165] Generated Node #2: [5, 60, 165] from Operation: 68+97=165 Current State: 45:[5, 60, 165], Operations: ['68+97=165'] Exploring Operation: 60+165=225, Resulting Numbers: [5, 225] Generated Node #3: [5, 225] from Operation: 60+165=225 Current State: 45:[5, 225], Operations: ['68+97=165', '60+165=225'] Exploring Operation: 225/5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[5, 68, 97, 60], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [5, 60, 29] Generated Node #0,0: 45:[5, 60, 29] Operation: 97-68=29 Exploring Operation: 97-60=37, Resulting Numbers: [5, 68, 37] Generated Node #0,1: 45:[5, 68, 37] Operation: 97-60=37 Moving to Node #0,0 Current State: 45:[5, 60, 29], Operations: ['97-68=29'] Exploring Operation: 60/5=12, Resulting Numbers: [29, 12] Generated Node #0,0,0: 45:[29, 12] Operation: 60/5=12 Exploring Operation: 60-29=31, Resulting Numbers: [5, 31] Generated Node #0,0,1: 45:[5, 31] Operation: 60-29=31 Moving to Node #0,1 Current State: 45:[5, 68, 37], Operations: ['97-60=37'] Exploring Operation: 68-37=31, Resulting Numbers: [5, 31] Generated Node #0,1,0: 45:[5, 31] Operation: 68-37=31 Exploring Operation: 68-5=63, Resulting Numbers: [37, 63] Generated Node #0,1,1: 45:[37, 63] Operation: 68-5=63 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[5, 31], Operations: ['97-60=37', '68-37=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[37, 63], Operations: ['97-60=37', '68-5=63'] Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,45 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,45 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: 45:[5, 31], Operations: ['97-68=29', '60-29=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[29, 12], Operations: ['97-68=29', '60/5=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,45 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 72, 79, 83, 20 ]
23
[ "72+20=92", "83-79=4", "92/4=23" ]
Current State: 23:[72, 79, 83, 20], Operations: [] Exploring Operation: 72+20=92, Resulting Numbers: [79, 83, 92] Generated Node #2: [79, 83, 92] from Operation: 72+20=92 Current State: 23:[79, 83, 92], Operations: ['72+20=92'] Exploring Operation: 83-79=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 83-79=4 Current State: 23:[92, 4], Operations: ['72+20=92', '83-79=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[72, 79, 83, 20], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [79, 20, 11] Generated Node #0,0: 23:[79, 20, 11] Operation: 83-72=11 Moving to Node #0,0 Current State: 23:[79, 20, 11], Operations: ['83-72=11'] Exploring Operation: 79-20=59, Resulting Numbers: [11, 59] Generated Node #0,0,0: 23:[11, 59] Operation: 79-20=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[11, 59], Operations: ['83-72=11', '79-20=59'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 57, 19, 38, 58 ]
56
[ "57+19=76", "58-38=20", "76-20=56" ]
Current State: 56:[57, 19, 38, 58], Operations: [] Exploring Operation: 57+19=76, Resulting Numbers: [38, 58, 76] Generated Node #2: [38, 58, 76] from Operation: 57+19=76 Current State: 56:[38, 58, 76], Operations: ['57+19=76'] Exploring Operation: 58-38=20, Resulting Numbers: [76, 20] Generated Node #3: [76, 20] from Operation: 58-38=20 Current State: 56:[76, 20], Operations: ['57+19=76', '58-38=20'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[57, 19, 38, 58], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [57, 58, 2] Generated Node #0,0: 56:[57, 58, 2] Operation: 38/19=2 Moving to Node #0,0 Current State: 56:[57, 58, 2], Operations: ['38/19=2'] Exploring Operation: 58-57=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 56:[2, 1] Operation: 58-57=1 Moving to Node #0,0,0 Current State: 56:[2, 1], Operations: ['38/19=2', '58-57=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,56 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 61, 52, 14, 37 ]
62
[ "61+52=113", "14+37=51", "113-51=62" ]
Current State: 62:[61, 52, 14, 37], Operations: [] Exploring Operation: 61+52=113, Resulting Numbers: [14, 37, 113] Generated Node #2: [14, 37, 113] from Operation: 61+52=113 Current State: 62:[14, 37, 113], Operations: ['61+52=113'] Exploring Operation: 14+37=51, Resulting Numbers: [113, 51] Generated Node #3: [113, 51] from Operation: 14+37=51 Current State: 62:[113, 51], Operations: ['61+52=113', '14+37=51'] Exploring Operation: 113-51=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[61, 52, 14, 37], Operations: [] Exploring Operation: 52-14=38, Resulting Numbers: [61, 37, 38] Generated Node #0,0: 62:[61, 37, 38] Operation: 52-14=38 Exploring Operation: 37-14=23, Resulting Numbers: [61, 52, 23] Generated Node #0,1: 62:[61, 52, 23] Operation: 37-14=23 Exploring Operation: 14+37=51, Resulting Numbers: [61, 52, 51] Generated Node #0,2: 62:[61, 52, 51] Operation: 14+37=51 Exploring Operation: 52+14=66, Resulting Numbers: [61, 37, 66] Generated Node #0,3: 62:[61, 37, 66] Operation: 52+14=66 Moving to Node #0,3 Current State: 62:[61, 37, 66], Operations: ['52+14=66'] Exploring Operation: 61-37=24, Resulting Numbers: [66, 24] Generated Node #0,3,0: 62:[66, 24] Operation: 61-37=24 Exploring Operation: 66-37=29, Resulting Numbers: [61, 29] Generated Node #0,3,1: 62:[61, 29] Operation: 66-37=29 Exploring Operation: 66-61=5, Resulting Numbers: [37, 5] Generated Node #0,3,2: 62:[37, 5] Operation: 66-61=5 Exploring Operation: 61+37=98, Resulting Numbers: [66, 98] Generated Node #0,3,3: 62:[66, 98] Operation: 61+37=98 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 62:[61, 29], Operations: ['52+14=66', '66-37=29'] Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,62 unequal: No Solution Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 62:[37, 5], Operations: ['52+14=66', '66-61=5'] Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,62 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[66, 24], Operations: ['52+14=66', '61-37=24'] Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,62 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 62:[66, 98], Operations: ['52+14=66', '61+37=98'] Exploring Operation: 66+98=164, Resulting Numbers: [164] 164,62 unequal: No Solution Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 66*98=6468, Resulting Numbers: [6468] 6468,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 62:[61, 37, 38], Operations: ['52-14=38'] Exploring Operation: 38-37=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 62:[61, 1] Operation: 38-37=1 Exploring Operation: 61-38=23, Resulting Numbers: [37, 23] Generated Node #0,0,1: 62:[37, 23] Operation: 61-38=23 Exploring Operation: 61-37=24, Resulting Numbers: [38, 24] Generated Node #0,0,2: 62:[38, 24] Operation: 61-37=24 Exploring Operation: 37+38=75, Resulting Numbers: [61, 75] Generated Node #0,0,3: 62:[61, 75] Operation: 37+38=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[61, 1], Operations: ['52-14=38', '38-37=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,62 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[61, 52, 14, 37], Operations: [] Exploring Operation: 52-14=38, Resulting Numbers: [61, 37, 38] Generated Node #0,0: 62:[61, 37, 38] Operation: 52-14=38 Moving to Node #0,0 Current State: 62:[61, 37, 38], Operations: ['52-14=38'] Exploring Operation: 38-37=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 62:[61, 1] Operation: 38-37=1 Moving to Node #0,0,0 Current State: 62:[61, 1], Operations: ['52-14=38', '38-37=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 29, 82, 13, 30 ]
95
[ "30-29=1", "82+13=95", "1*95=95" ]
Current State: 95:[29, 82, 13, 30], Operations: [] Exploring Operation: 30-29=1, Resulting Numbers: [82, 13, 1] Generated Node #2: [82, 13, 1] from Operation: 30-29=1 Current State: 95:[82, 13, 1], Operations: ['30-29=1'] Exploring Operation: 82+13=95, Resulting Numbers: [1, 95] Generated Node #3: [1, 95] from Operation: 82+13=95 Current State: 95:[1, 95], Operations: ['30-29=1', '82+13=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[29, 82, 13, 30], Operations: [] Exploring Operation: 30-13=17, Resulting Numbers: [29, 82, 17] Generated Node #0,0: 95:[29, 82, 17] Operation: 30-13=17 Exploring Operation: 82+13=95, Resulting Numbers: [29, 30, 95] Generated Node #0,1: 95:[29, 30, 95] Operation: 82+13=95 Exploring Operation: 30-29=1, Resulting Numbers: [82, 13, 1] Generated Node #0,2: 95:[82, 13, 1] Operation: 30-29=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[29, 30, 95], Operations: ['82+13=95'] Exploring Operation: 29+95=124, Resulting Numbers: [30, 124] Generated Node #0,1,0: 95:[30, 124] Operation: 29+95=124 Exploring Operation: 29+30=59, Resulting Numbers: [95, 59] Generated Node #0,1,1: 95:[95, 59] Operation: 29+30=59 Exploring Operation: 30-29=1, Resulting Numbers: [95, 1] Generated Node #0,1,2: 95:[95, 1] Operation: 30-29=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[95, 1], Operations: ['82+13=95', '30-29=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[29, 82, 13, 30], Operations: [] Exploring Operation: 82+13=95, Resulting Numbers: [29, 30, 95] Generated Node #0,1: 95:[29, 30, 95] Operation: 82+13=95 Moving to Node #0,1 Current State: 95:[29, 30, 95], Operations: ['82+13=95'] Exploring Operation: 30-29=1, Resulting Numbers: [95, 1] Generated Node #0,1,2: 95:[95, 1] Operation: 30-29=1 Moving to Node #0,1,2 Current State: 95:[95, 1], Operations: ['82+13=95', '30-29=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 40, 64, 72, 51 ]
46
[ "72-64=8", "40/8=5", "51-5=46" ]
Current State: 46:[40, 64, 72, 51], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [40, 51, 8] Generated Node #2: [40, 51, 8] from Operation: 72-64=8 Current State: 46:[40, 51, 8], Operations: ['72-64=8'] Exploring Operation: 40/8=5, Resulting Numbers: [51, 5] Generated Node #3: [51, 5] from Operation: 40/8=5 Current State: 46:[51, 5], Operations: ['72-64=8', '40/8=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[40, 64, 72, 51], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [40, 51, 8] Generated Node #0,0: 46:[40, 51, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[40, 51, 8], Operations: ['72-64=8'] Exploring Operation: 40+8=48, Resulting Numbers: [51, 48] Generated Node #0,0,0: 46:[51, 48] Operation: 40+8=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[51, 48], Operations: ['72-64=8', '40+8=48'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,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 No solution found.
0
hs_1
mult_heuristic
[ 45, 92, 41, 86 ]
24
[ "45-41=4", "92-86=6", "4*6=24" ]
Current State: 24:[45, 92, 41, 86], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [92, 86, 4] Generated Node #2: [92, 86, 4] from Operation: 45-41=4 Current State: 24:[92, 86, 4], Operations: ['45-41=4'] Exploring Operation: 92-86=6, Resulting Numbers: [4, 6] Generated Node #3: [4, 6] from Operation: 92-86=6 Current State: 24:[4, 6], Operations: ['45-41=4', '92-86=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[45, 92, 41, 86], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [45, 86, 51] Generated Node #0,0: 24:[45, 86, 51] Operation: 92-41=51 Exploring Operation: 86-45=41, Resulting Numbers: [92, 41, 41] Generated Node #0,1: 24:[92, 41, 41] Operation: 86-45=41 Exploring Operation: 92-45=47, Resulting Numbers: [41, 86, 47] Generated Node #0,2: 24:[41, 86, 47] Operation: 92-45=47 Exploring Operation: 92-86=6, Resulting Numbers: [45, 41, 6] Generated Node #0,3: 24:[45, 41, 6] Operation: 92-86=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[45, 41, 6], Operations: ['92-86=6'] Exploring Operation: 45+6=51, Resulting Numbers: [41, 51] Generated Node #0,3,0: 24:[41, 51] Operation: 45+6=51 Exploring Operation: 45-41=4, Resulting Numbers: [6, 4] Generated Node #0,3,1: 24:[6, 4] Operation: 45-41=4 Exploring Operation: 41-6=35, Resulting Numbers: [45, 35] Generated Node #0,3,2: 24:[45, 35] Operation: 41-6=35 Exploring Operation: 45-6=39, Resulting Numbers: [41, 39] Generated Node #0,3,3: 24:[41, 39] Operation: 45-6=39 Moving to Node #0,3,1 Current State: 24:[6, 4], Operations: ['92-86=6', '45-41=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[45, 92, 41, 86], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [45, 41, 6] Generated Node #0,3: 24:[45, 41, 6] Operation: 92-86=6 Moving to Node #0,3 Current State: 24:[45, 41, 6], Operations: ['92-86=6'] Exploring Operation: 45-41=4, Resulting Numbers: [6, 4] Generated Node #0,3,1: 24:[6, 4] Operation: 45-41=4 Moving to Node #0,3,1 Current State: 24:[6, 4], Operations: ['92-86=6', '45-41=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 21, 6, 17, 12 ]
37
[ "21-12=9", "6*9=54", "54-17=37" ]
Current State: 37:[21, 6, 17, 12], Operations: [] Exploring Operation: 21-12=9, Resulting Numbers: [6, 17, 9] Generated Node #2: [6, 17, 9] from Operation: 21-12=9 Current State: 37:[6, 17, 9], Operations: ['21-12=9'] Exploring Operation: 6*9=54, Resulting Numbers: [17, 54] Generated Node #3: [17, 54] from Operation: 6*9=54 Current State: 37:[17, 54], Operations: ['21-12=9', '6*9=54'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[21, 6, 17, 12], Operations: [] Exploring Operation: 21+6=27, Resulting Numbers: [17, 12, 27] Generated Node #0,0: 37:[17, 12, 27] Operation: 21+6=27 Exploring Operation: 21+12=33, Resulting Numbers: [6, 17, 33] Generated Node #0,1: 37:[6, 17, 33] Operation: 21+12=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[17, 12, 27], Operations: ['21+6=27'] Exploring Operation: 17+12=29, Resulting Numbers: [27, 29] Generated Node #0,0,0: 37:[27, 29] Operation: 17+12=29 Exploring Operation: 12+27=39, Resulting Numbers: [17, 39] Generated Node #0,0,1: 37:[17, 39] Operation: 12+27=39 Moving to Node #0,0,0 Current State: 37:[27, 29], Operations: ['21+6=27', '17+12=29'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[17, 39], Operations: ['21+6=27', '12+27=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[6, 17, 33], Operations: ['21+12=33'] Exploring Operation: 6+17=23, Resulting Numbers: [33, 23] Generated Node #0,1,0: 37:[33, 23] Operation: 6+17=23 Exploring Operation: 6+33=39, Resulting Numbers: [17, 39] Generated Node #0,1,1: 37:[17, 39] Operation: 6+33=39 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[33, 23], Operations: ['21+12=33', '6+17=23'] Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,37 unequal: No Solution No 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: 37:[17, 39], Operations: ['21+12=33', '6+33=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,37 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
[ 40, 12, 44, 73 ]
23
[ "40+12=52", "73-44=29", "52-29=23" ]
Current State: 23:[40, 12, 44, 73], Operations: [] Exploring Operation: 40+12=52, Resulting Numbers: [44, 73, 52] Generated Node #2: [44, 73, 52] from Operation: 40+12=52 Current State: 23:[44, 73, 52], Operations: ['40+12=52'] Exploring Operation: 73-44=29, Resulting Numbers: [52, 29] Generated Node #3: [52, 29] from Operation: 73-44=29 Current State: 23:[52, 29], Operations: ['40+12=52', '73-44=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[40, 12, 44, 73], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [44, 73, 28] Generated Node #0,0: 23:[44, 73, 28] Operation: 40-12=28 Exploring Operation: 73-12=61, Resulting Numbers: [40, 44, 61] Generated Node #0,1: 23:[40, 44, 61] Operation: 73-12=61 Exploring Operation: 73-44=29, Resulting Numbers: [40, 12, 29] Generated Node #0,2: 23:[40, 12, 29] Operation: 73-44=29 Exploring Operation: 73-40=33, Resulting Numbers: [12, 44, 33] Generated Node #0,3: 23:[12, 44, 33] Operation: 73-40=33 Exploring Operation: 44-12=32, Resulting Numbers: [40, 73, 32] Generated Node #0,4: 23:[40, 73, 32] Operation: 44-12=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[40, 12, 29], Operations: ['73-44=29'] Exploring Operation: 29-12=17, Resulting Numbers: [40, 17] Generated Node #0,2,0: 23:[40, 17] Operation: 29-12=17 Exploring Operation: 40+12=52, Resulting Numbers: [29, 52] Generated Node #0,2,1: 23:[29, 52] Operation: 40+12=52 Exploring Operation: 12+29=41, Resulting Numbers: [40, 41] Generated Node #0,2,2: 23:[40, 41] Operation: 12+29=41 Exploring Operation: 40-12=28, Resulting Numbers: [29, 28] Generated Node #0,2,3: 23:[29, 28] Operation: 40-12=28 Exploring Operation: 40-29=11, Resulting Numbers: [12, 11] Generated Node #0,2,4: 23:[12, 11] Operation: 40-29=11 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 23:[29, 28], Operations: ['73-44=29', '40-12=28'] Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,23 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,23 unequal: No Solution No 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: 23:[40, 17], Operations: ['73-44=29', '29-12=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[40, 12, 44, 73], Operations: [] Exploring Operation: 73-44=29, Resulting Numbers: [40, 12, 29] Generated Node #0,2: 23:[40, 12, 29] Operation: 73-44=29 Moving to Node #0,2 Current State: 23:[40, 12, 29], Operations: ['73-44=29'] Exploring Operation: 29-12=17, Resulting Numbers: [40, 17] Generated Node #0,2,0: 23:[40, 17] Operation: 29-12=17 Moving to Node #0,2,0 Current State: 23:[40, 17], Operations: ['73-44=29', '29-12=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 77, 69, 94, 27 ]
19
[ "69*27=1863", "1863-77=1786", "1786/94=19" ]
Current State: 19:[77, 69, 94, 27], Operations: [] Exploring Operation: 69*27=1863, Resulting Numbers: [77, 94, 1863] Generated Node #2: [77, 94, 1863] from Operation: 69*27=1863 Current State: 19:[77, 94, 1863], Operations: ['69*27=1863'] Exploring Operation: 1863-77=1786, Resulting Numbers: [94, 1786] Generated Node #3: [94, 1786] from Operation: 1863-77=1786 Current State: 19:[94, 1786], Operations: ['69*27=1863', '1863-77=1786'] Exploring Operation: 1786/94=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[77, 69, 94, 27], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [94, 27, 8] Generated Node #0,0: 19:[94, 27, 8] Operation: 77-69=8 Exploring Operation: 94-77=17, Resulting Numbers: [69, 27, 17] Generated Node #0,1: 19:[69, 27, 17] Operation: 94-77=17 Exploring Operation: 94-69=25, Resulting Numbers: [77, 27, 25] Generated Node #0,2: 19:[77, 27, 25] Operation: 94-69=25 Exploring Operation: 77-27=50, Resulting Numbers: [69, 94, 50] Generated Node #0,3: 19:[69, 94, 50] Operation: 77-27=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[69, 27, 17], Operations: ['94-77=17'] Exploring Operation: 69-27=42, Resulting Numbers: [17, 42] Generated Node #0,1,0: 19:[17, 42] Operation: 69-27=42 Exploring Operation: 69+17=86, Resulting Numbers: [27, 86] Generated Node #0,1,1: 19:[27, 86] Operation: 69+17=86 Exploring Operation: 69-17=52, Resulting Numbers: [27, 52] Generated Node #0,1,2: 19:[27, 52] Operation: 69-17=52 Exploring Operation: 27-17=10, Resulting Numbers: [69, 10] Generated Node #0,1,3: 19:[69, 10] Operation: 27-17=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[17, 42], Operations: ['94-77=17', '69-27=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,19 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,19 unequal: No Solution No 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: 19:[27, 52], Operations: ['94-77=17', '69-17=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,19 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,19 unequal: No Solution No 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: 19:[69, 10], Operations: ['94-77=17', '27-17=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,19 unequal: No Solution No 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: 19:[27, 86], Operations: ['94-77=17', '69+17=86'] Exploring Operation: 27+86=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 27*86=2322, Resulting Numbers: [2322] 2322,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[77, 27, 25], Operations: ['94-69=25'] Exploring Operation: 77-25=52, Resulting Numbers: [27, 52] Generated Node #0,2,0: 19:[27, 52] Operation: 77-25=52 Exploring Operation: 27-25=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 19:[77, 2] Operation: 27-25=2 Exploring Operation: 77-27=50, Resulting Numbers: [25, 50] Generated Node #0,2,2: 19:[25, 50] Operation: 77-27=50 Exploring Operation: 77+27=104, Resulting Numbers: [25, 104] Generated Node #0,2,3: 19:[25, 104] Operation: 77+27=104 Moving to Node #0,2,2 Current State: 19:[25, 50], Operations: ['94-69=25', '77-27=50'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 25+50=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 25*50=1250, Resulting Numbers: [1250] 1250,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[27, 52], Operations: ['94-69=25', '77-25=52'] Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,19 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[77, 2], Operations: ['94-69=25', '27-25=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,19 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[25, 104], Operations: ['94-69=25', '77+27=104'] Exploring Operation: 25*104=2600, Resulting Numbers: [2600] 2600,19 unequal: No Solution Exploring Operation: 25+104=129, Resulting Numbers: [129] 129,19 unequal: No Solution Exploring Operation: 104-25=79, Resulting Numbers: [79] 79,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[94, 27, 8], Operations: ['77-69=8'] Exploring Operation: 27-8=19, Resulting Numbers: [94, 19] Generated Node #0,0,0: 19:[94, 19] Operation: 27-8=19 Exploring Operation: 94-8=86, Resulting Numbers: [27, 86] Generated Node #0,0,1: 19:[27, 86] Operation: 94-8=86 Exploring Operation: 94+8=102, Resulting Numbers: [27, 102] Generated Node #0,0,2: 19:[27, 102] Operation: 94+8=102 Exploring Operation: 94-27=67, Resulting Numbers: [8, 67] Generated Node #0,0,3: 19:[8, 67] Operation: 94-27=67 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[8, 67], Operations: ['77-69=8', '94-27=67'] Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,19 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,19 unequal: No Solution No 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: 19:[94, 19], Operations: ['77-69=8', '27-8=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,19 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,19 unequal: No Solution No 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: 19:[27, 86], Operations: ['77-69=8', '94-8=86'] Exploring Operation: 27+86=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 27*86=2322, Resulting Numbers: [2322] 2322,19 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,19 unequal: No Solution No 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: 19:[27, 102], Operations: ['77-69=8', '94+8=102'] Exploring Operation: 102-27=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 27*102=2754, Resulting Numbers: [2754] 2754,19 unequal: No Solution Exploring Operation: 27+102=129, Resulting Numbers: [129] 129,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[69, 94, 50], Operations: ['77-27=50'] Exploring Operation: 94-69=25, Resulting Numbers: [50, 25] Generated Node #0,3,0: 19:[50, 25] Operation: 94-69=25 Exploring Operation: 69-50=19, Resulting Numbers: [94, 19] Generated Node #0,3,1: 19:[94, 19] Operation: 69-50=19 Exploring Operation: 69+94=163, Resulting Numbers: [50, 163] Generated Node #0,3,2: 19:[50, 163] Operation: 69+94=163 Exploring Operation: 94-50=44, Resulting Numbers: [69, 44] Generated Node #0,3,3: 19:[69, 44] Operation: 94-50=44 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[50, 25], Operations: ['77-27=50', '94-69=25'] Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,19 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,19 unequal: No Solution No 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: 19:[94, 19], Operations: ['77-27=50', '69-50=19'] Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,19 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,19 unequal: No Solution No 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: 19:[69, 44], Operations: ['77-27=50', '94-50=44'] Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,19 unequal: No Solution No 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: 19:[50, 163], Operations: ['77-27=50', '69+94=163'] Exploring Operation: 163-50=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 50*163=8150, Resulting Numbers: [8150] 8150,19 unequal: No Solution Exploring Operation: 50+163=213, Resulting Numbers: [213] 213,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 45, 79, 47, 16 ]
47
[ "47-45=2", "16*2=32", "79-32=47" ]
Current State: 47:[45, 79, 47, 16], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [79, 16, 2] Generated Node #2: [79, 16, 2] from Operation: 47-45=2 Current State: 47:[79, 16, 2], Operations: ['47-45=2'] Exploring Operation: 16*2=32, Resulting Numbers: [79, 32] Generated Node #3: [79, 32] from Operation: 16*2=32 Current State: 47:[79, 32], Operations: ['47-45=2', '16*2=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[45, 79, 47, 16], Operations: [] Exploring Operation: 79-16=63, Resulting Numbers: [45, 47, 63] Generated Node #0,0: 47:[45, 47, 63] Operation: 79-16=63 Moving to Node #0,0 Current State: 47:[45, 47, 63], Operations: ['79-16=63'] Exploring Operation: 63-45=18, Resulting Numbers: [47, 18] Generated Node #0,0,0: 47:[47, 18] Operation: 63-45=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[47, 18], Operations: ['79-16=63', '63-45=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 57, 75, 18, 60 ]
96
[ "75-57=18", "18+60=78", "18+78=96" ]
Current State: 96:[57, 75, 18, 60], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [18, 60, 18] Generated Node #2: [18, 60, 18] from Operation: 75-57=18 Current State: 96:[18, 60, 18], Operations: ['75-57=18'] Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,96 equal: Goal Reached Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[57, 75, 18, 60], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [75, 18, 3] Generated Node #0,0: 96:[75, 18, 3] Operation: 60-57=3 Exploring Operation: 75-60=15, Resulting Numbers: [57, 18, 15] Generated Node #0,1: 96:[57, 18, 15] Operation: 75-60=15 Exploring Operation: 75-57=18, Resulting Numbers: [18, 60, 18] Generated Node #0,2: 96:[18, 60, 18] Operation: 75-57=18 Moving to Node #0,1 Current State: 96:[57, 18, 15], Operations: ['75-60=15'] Exploring Operation: 57-15=42, Resulting Numbers: [18, 42] Generated Node #0,1,0: 96:[18, 42] Operation: 57-15=42 Exploring Operation: 57-18=39, Resulting Numbers: [15, 39] Generated Node #0,1,1: 96:[15, 39] Operation: 57-18=39 Exploring Operation: 18-15=3, Resulting Numbers: [57, 3] Generated Node #0,1,2: 96:[57, 3] Operation: 18-15=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[18, 42], Operations: ['75-60=15', '57-15=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,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,1,1 Current State: 96:[15, 39], Operations: ['75-60=15', '57-18=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,96 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,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,1,2 Current State: 96:[57, 3], Operations: ['75-60=15', '18-15=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,96 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: 96:[18, 60, 18], Operations: ['75-57=18'] Exploring Operation: 18/18=1, Resulting Numbers: [60, 1] Generated Node #0,2,0: 96:[60, 1] Operation: 18/18=1 Exploring Operation: 60-18=42, Resulting Numbers: [18, 42] Generated Node #0,2,1: 96:[18, 42] Operation: 60-18=42 Exploring Operation: 60-18=42, Resulting Numbers: [18, 42] Generated Node #0,2,2: 96:[18, 42] Operation: 60-18=42 Moving to Node #0,0 Current State: 96:[75, 18, 3], Operations: ['60-57=3'] Exploring Operation: 75/3=25, Resulting Numbers: [18, 25] Generated Node #0,0,0: 96:[18, 25] Operation: 75/3=25 Exploring Operation: 75+18=93, Resulting Numbers: [3, 93] Generated Node #0,0,1: 96:[3, 93] Operation: 75+18=93 Exploring Operation: 75-18=57, Resulting Numbers: [3, 57] Generated Node #0,0,2: 96:[3, 57] Operation: 75-18=57 Moving to Node #0,0,0 Current State: 96:[18, 25], Operations: ['60-57=3', '75/3=25'] Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,96 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[3, 93], Operations: ['60-57=3', '75+18=93'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,96 unequal: No Solution Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[57, 75, 18, 60], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [75, 18, 3] Generated Node #0,0: 96:[75, 18, 3] Operation: 60-57=3 Moving to Node #0,0 Current State: 96:[75, 18, 3], Operations: ['60-57=3'] Exploring Operation: 75+18=93, Resulting Numbers: [3, 93] Generated Node #0,0,1: 96:[3, 93] Operation: 75+18=93 Moving to Node #0,0,1 Current State: 96:[3, 93], Operations: ['60-57=3', '75+18=93'] Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 63, 13, 26, 69 ]
93
[ "63-13=50", "69-26=43", "50+43=93" ]
Current State: 93:[63, 13, 26, 69], Operations: [] Exploring Operation: 63-13=50, Resulting Numbers: [26, 69, 50] Generated Node #2: [26, 69, 50] from Operation: 63-13=50 Current State: 93:[26, 69, 50], Operations: ['63-13=50'] Exploring Operation: 69-26=43, Resulting Numbers: [50, 43] Generated Node #3: [50, 43] from Operation: 69-26=43 Current State: 93:[50, 43], Operations: ['63-13=50', '69-26=43'] Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[63, 13, 26, 69], Operations: [] Exploring Operation: 63+26=89, Resulting Numbers: [13, 69, 89] Generated Node #0,0: 93:[13, 69, 89] Operation: 63+26=89 Exploring Operation: 69-63=6, Resulting Numbers: [13, 26, 6] Generated Node #0,1: 93:[13, 26, 6] Operation: 69-63=6 Exploring Operation: 26+69=95, Resulting Numbers: [63, 13, 95] Generated Node #0,2: 93:[63, 13, 95] Operation: 26+69=95 Exploring Operation: 63-26=37, Resulting Numbers: [13, 69, 37] Generated Node #0,3: 93:[13, 69, 37] Operation: 63-26=37 Exploring Operation: 63+13=76, Resulting Numbers: [26, 69, 76] Generated Node #0,4: 93:[26, 69, 76] Operation: 63+13=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[13, 26, 6], Operations: ['69-63=6'] Exploring Operation: 13+26=39, Resulting Numbers: [6, 39] Generated Node #0,1,0: 93:[6, 39] Operation: 13+26=39 Exploring Operation: 13-6=7, Resulting Numbers: [26, 7] Generated Node #0,1,1: 93:[26, 7] Operation: 13-6=7 Exploring Operation: 26+6=32, Resulting Numbers: [13, 32] Generated Node #0,1,2: 93:[13, 32] Operation: 26+6=32 Exploring Operation: 26-13=13, Resulting Numbers: [6, 13] Generated Node #0,1,3: 93:[6, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [6, 2] Generated Node #0,1,4: 93:[6, 2] Operation: 26/13=2 Moving to Node #0,1,4 Current State: 93:[6, 2], Operations: ['69-63=6', '26/13=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[26, 7], Operations: ['69-63=6', '13-6=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[6, 39], Operations: ['69-63=6', '13+26=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[13, 32], Operations: ['69-63=6', '26+6=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[6, 13], Operations: ['69-63=6', '26-13=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,93 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,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:[13, 69, 89], Operations: ['63+26=89'] Exploring Operation: 89-13=76, Resulting Numbers: [69, 76] Generated Node #0,0,0: 93:[69, 76] Operation: 89-13=76 Exploring Operation: 13+89=102, Resulting Numbers: [69, 102] Generated Node #0,0,1: 93:[69, 102] Operation: 13+89=102 Exploring Operation: 69-13=56, Resulting Numbers: [89, 56] Generated Node #0,0,2: 93:[89, 56] Operation: 69-13=56 Exploring Operation: 89-69=20, Resulting Numbers: [13, 20] Generated Node #0,0,3: 93:[13, 20] Operation: 89-69=20 Exploring Operation: 13+69=82, Resulting Numbers: [89, 82] Generated Node #0,0,4: 93:[89, 82] Operation: 13+69=82 Moving to Node #0,0,4 Current State: 93:[89, 82], Operations: ['63+26=89', '13+69=82'] Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 89+82=171, Resulting Numbers: [171] 171,93 unequal: No Solution Exploring Operation: 89*82=7298, Resulting Numbers: [7298] 7298,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[13, 20], Operations: ['63+26=89', '89-69=20'] Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,93 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[89, 56], Operations: ['63+26=89', '69-13=56'] Exploring Operation: 89*56=4984, Resulting Numbers: [4984] 4984,93 unequal: No Solution Exploring Operation: 89+56=145, Resulting Numbers: [145] 145,93 unequal: No Solution Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[69, 102], Operations: ['63+26=89', '13+89=102'] Exploring Operation: 102-69=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 69*102=7038, Resulting Numbers: [7038] 7038,93 unequal: No Solution Exploring Operation: 69+102=171, Resulting Numbers: [171] 171,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[69, 76], Operations: ['63+26=89', '89-13=76'] Exploring Operation: 69*76=5244, Resulting Numbers: [5244] 5244,93 unequal: No Solution Exploring Operation: 69+76=145, Resulting Numbers: [145] 145,93 unequal: No Solution Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[13, 69, 37], Operations: ['63-26=37'] Exploring Operation: 69-13=56, Resulting Numbers: [37, 56] Generated Node #0,3,0: 93:[37, 56] Operation: 69-13=56 Exploring Operation: 13+69=82, Resulting Numbers: [37, 82] Generated Node #0,3,1: 93:[37, 82] Operation: 13+69=82 Exploring Operation: 69+37=106, Resulting Numbers: [13, 106] Generated Node #0,3,2: 93:[13, 106] Operation: 69+37=106 Exploring Operation: 69-37=32, Resulting Numbers: [13, 32] Generated Node #0,3,3: 93:[13, 32] Operation: 69-37=32 Exploring Operation: 37-13=24, Resulting Numbers: [69, 24] Generated Node #0,3,4: 93:[69, 24] Operation: 37-13=24 Moving to Node #0,3,3 Current State: 93:[13, 32], Operations: ['63-26=37', '69-37=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[37, 82], Operations: ['63-26=37', '13+69=82'] Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,93 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[13, 106], Operations: ['63-26=37', '69+37=106'] Exploring Operation: 106-13=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[63, 13, 26, 69], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [13, 69, 37] Generated Node #0,3: 93:[13, 69, 37] Operation: 63-26=37 Moving to Node #0,3 Current State: 93:[13, 69, 37], Operations: ['63-26=37'] Exploring Operation: 69+37=106, Resulting Numbers: [13, 106] Generated Node #0,3,2: 93:[13, 106] Operation: 69+37=106 Moving to Node #0,3,2 Current State: 93:[13, 106], Operations: ['63-26=37', '69+37=106'] Exploring Operation: 106-13=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
mult_heuristic
[ 27, 61, 38, 63 ]
63
[ "27+61=88", "63-38=25", "88-25=63" ]
Current State: 63:[27, 61, 38, 63], Operations: [] Exploring Operation: 27+61=88, Resulting Numbers: [38, 63, 88] Generated Node #2: [38, 63, 88] from Operation: 27+61=88 Current State: 63:[38, 63, 88], Operations: ['27+61=88'] Exploring Operation: 63-38=25, Resulting Numbers: [88, 25] Generated Node #3: [88, 25] from Operation: 63-38=25 Current State: 63:[88, 25], Operations: ['27+61=88', '63-38=25'] Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[27, 61, 38, 63], Operations: [] Exploring Operation: 27+38=65, Resulting Numbers: [61, 63, 65] Generated Node #0,0: 63:[61, 63, 65] Operation: 27+38=65 Exploring Operation: 38-27=11, Resulting Numbers: [61, 63, 11] Generated Node #0,1: 63:[61, 63, 11] Operation: 38-27=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[61, 63, 65], Operations: ['27+38=65'] Exploring Operation: 65-61=4, Resulting Numbers: [63, 4] Generated Node #0,0,0: 63:[63, 4] Operation: 65-61=4 Exploring Operation: 63-61=2, Resulting Numbers: [65, 2] Generated Node #0,0,1: 63:[65, 2] Operation: 63-61=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[63, 4], Operations: ['27+38=65', '65-61=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[65, 2], Operations: ['27+38=65', '63-61=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[27, 61, 38, 63], Operations: [] Exploring Operation: 27+38=65, Resulting Numbers: [61, 63, 65] Generated Node #0,0: 63:[61, 63, 65] Operation: 27+38=65 Moving to Node #0,0 Current State: 63:[61, 63, 65], Operations: ['27+38=65'] Exploring Operation: 63-61=2, Resulting Numbers: [65, 2] Generated Node #0,0,1: 63:[65, 2] Operation: 63-61=2 Moving to Node #0,0,1 Current State: 63:[65, 2], Operations: ['27+38=65', '63-61=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 5, 95, 2, 26 ]
64
[ "95/5=19", "2*19=38", "26+38=64" ]
Current State: 64:[5, 95, 2, 26], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [2, 26, 19] Generated Node #2: [2, 26, 19] from Operation: 95/5=19 Current State: 64:[2, 26, 19], Operations: ['95/5=19'] Exploring Operation: 2*19=38, Resulting Numbers: [26, 38] Generated Node #3: [26, 38] from Operation: 2*19=38 Current State: 64:[26, 38], Operations: ['95/5=19', '2*19=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[5, 95, 2, 26], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [2, 26, 19] Generated Node #0,0: 64:[2, 26, 19] Operation: 95/5=19 Exploring Operation: 95-5=90, Resulting Numbers: [2, 26, 90] Generated Node #0,1: 64:[2, 26, 90] Operation: 95-5=90 Exploring Operation: 95-26=69, Resulting Numbers: [5, 2, 69] Generated Node #0,2: 64:[5, 2, 69] Operation: 95-26=69 Moving to Node #0,2 Current State: 64:[5, 2, 69], Operations: ['95-26=69'] Exploring Operation: 69-2=67, Resulting Numbers: [5, 67] Generated Node #0,2,0: 64:[5, 67] Operation: 69-2=67 Exploring Operation: 5+2=7, Resulting Numbers: [69, 7] Generated Node #0,2,1: 64:[69, 7] Operation: 5+2=7 Exploring Operation: 69-5=64, Resulting Numbers: [2, 64] Generated Node #0,2,2: 64:[2, 64] Operation: 69-5=64 Moving to Node #0,0 Current State: 64:[2, 26, 19], Operations: ['95/5=19'] Exploring Operation: 2+26=28, Resulting Numbers: [19, 28] Generated Node #0,0,0: 64:[19, 28] Operation: 2+26=28 Exploring Operation: 26-19=7, Resulting Numbers: [2, 7] Generated Node #0,0,1: 64:[2, 7] Operation: 26-19=7 Exploring Operation: 26/2=13, Resulting Numbers: [19, 13] Generated Node #0,0,2: 64:[19, 13] Operation: 26/2=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[2, 7], Operations: ['95/5=19', '26-19=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,64 unequal: No Solution No 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: 64:[19, 13], Operations: ['95/5=19', '26/2=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,64 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,64 unequal: No Solution No 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: 64:[19, 28], Operations: ['95/5=19', '2+26=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,64 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,64 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: 64:[2, 26, 90], Operations: ['95-5=90'] Exploring Operation: 90/2=45, Resulting Numbers: [26, 45] Generated Node #0,1,0: 64:[26, 45] Operation: 90/2=45 Exploring Operation: 26/2=13, Resulting Numbers: [90, 13] Generated Node #0,1,1: 64:[90, 13] Operation: 26/2=13 Exploring Operation: 90-26=64, Resulting Numbers: [2, 64] Generated Node #0,1,2: 64:[2, 64] Operation: 90-26=64 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[2, 64], Operations: ['95-5=90', '90-26=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,64 unequal: No Solution No 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: 64:[26, 45], Operations: ['95-5=90', '90/2=45'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,64 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,64 unequal: No Solution No 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: 64:[90, 13], Operations: ['95-5=90', '26/2=13'] Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,64 unequal: No Solution Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 64:[2, 64], Operations: ['95-26=69', '69-5=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[5, 67], Operations: ['95-26=69', '69-2=67'] Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,64 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[69, 7], Operations: ['95-26=69', '5+2=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,64 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 90, 6, 58, 80 ]
37
[ "90/6=15", "80-58=22", "15+22=37" ]
Current State: 37:[90, 6, 58, 80], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [58, 80, 15] Generated Node #2: [58, 80, 15] from Operation: 90/6=15 Current State: 37:[58, 80, 15], Operations: ['90/6=15'] Exploring Operation: 80-58=22, Resulting Numbers: [15, 22] Generated Node #3: [15, 22] from Operation: 80-58=22 Current State: 37:[15, 22], Operations: ['90/6=15', '80-58=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[90, 6, 58, 80], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [58, 80, 15] Generated Node #0,0: 37:[58, 80, 15] Operation: 90/6=15 Exploring Operation: 90-80=10, Resulting Numbers: [6, 58, 10] Generated Node #0,1: 37:[6, 58, 10] Operation: 90-80=10 Exploring Operation: 90-58=32, Resulting Numbers: [6, 80, 32] Generated Node #0,2: 37:[6, 80, 32] Operation: 90-58=32 Exploring Operation: 80-58=22, Resulting Numbers: [90, 6, 22] Generated Node #0,3: 37:[90, 6, 22] Operation: 80-58=22 Moving to Node #0,1 Current State: 37:[6, 58, 10], Operations: ['90-80=10'] Exploring Operation: 6*10=60, Resulting Numbers: [58, 60] Generated Node #0,1,0: 37:[58, 60] Operation: 6*10=60 Exploring Operation: 58-10=48, Resulting Numbers: [6, 48] Generated Node #0,1,1: 37:[6, 48] Operation: 58-10=48 Exploring Operation: 58-6=52, Resulting Numbers: [10, 52] Generated Node #0,1,2: 37:[10, 52] Operation: 58-6=52 Exploring Operation: 6+10=16, Resulting Numbers: [58, 16] Generated Node #0,1,3: 37:[58, 16] Operation: 6+10=16 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[6, 48], Operations: ['90-80=10', '58-10=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[10, 52], Operations: ['90-80=10', '58-6=52'] Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 10*52=520, Resulting Numbers: [520] 520,37 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[58, 16], Operations: ['90-80=10', '6+10=16'] Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[58, 60], Operations: ['90-80=10', '6*10=60'] Exploring Operation: 58+60=118, Resulting Numbers: [118] 118,37 unequal: No Solution Exploring Operation: 58*60=3480, Resulting Numbers: [3480] 3480,37 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 37:[6, 80, 32], Operations: ['90-58=32'] Exploring Operation: 6+32=38, Resulting Numbers: [80, 38] Generated Node #0,2,0: 37:[80, 38] Operation: 6+32=38 Exploring Operation: 6+80=86, Resulting Numbers: [32, 86] Generated Node #0,2,1: 37:[32, 86] Operation: 6+80=86 Exploring Operation: 80-32=48, Resulting Numbers: [6, 48] Generated Node #0,2,2: 37:[6, 48] Operation: 80-32=48 Exploring Operation: 80-6=74, Resulting Numbers: [32, 74] Generated Node #0,2,3: 37:[32, 74] Operation: 80-6=74 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[6, 48], Operations: ['90-58=32', '80-32=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[32, 74], Operations: ['90-58=32', '80-6=74'] Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 32*74=2368, Resulting Numbers: [2368] 2368,37 unequal: No Solution Exploring Operation: 32+74=106, Resulting Numbers: [106] 106,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[80, 38], Operations: ['90-58=32', '6+32=38'] Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,37 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[32, 86], Operations: ['90-58=32', '6+80=86'] Exploring Operation: 32*86=2752, Resulting Numbers: [2752] 2752,37 unequal: No Solution Exploring Operation: 32+86=118, Resulting Numbers: [118] 118,37 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 37:[58, 80, 15], Operations: ['90/6=15'] Exploring Operation: 80-58=22, Resulting Numbers: [15, 22] Generated Node #0,0,0: 37:[15, 22] Operation: 80-58=22 Exploring Operation: 80-15=65, Resulting Numbers: [58, 65] Generated Node #0,0,1: 37:[58, 65] Operation: 80-15=65 Exploring Operation: 58-15=43, Resulting Numbers: [80, 43] Generated Node #0,0,2: 37:[80, 43] Operation: 58-15=43 Exploring Operation: 58+15=73, Resulting Numbers: [80, 73] Generated Node #0,0,3: 37:[80, 73] Operation: 58+15=73 Moving to Node #0,3 Current State: 37:[90, 6, 22], Operations: ['80-58=22'] Exploring Operation: 90/6=15, Resulting Numbers: [22, 15] Generated Node #0,3,0: 37:[22, 15] Operation: 90/6=15 Exploring Operation: 6+22=28, Resulting Numbers: [90, 28] Generated Node #0,3,1: 37:[90, 28] Operation: 6+22=28 Exploring Operation: 90-22=68, Resulting Numbers: [6, 68] Generated Node #0,3,2: 37:[6, 68] Operation: 90-22=68 Exploring Operation: 90-6=84, Resulting Numbers: [22, 84] Generated Node #0,3,3: 37:[22, 84] Operation: 90-6=84 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[22, 15], Operations: ['80-58=22', '90/6=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[90, 6, 58, 80], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [90, 6, 22] Generated Node #0,3: 37:[90, 6, 22] Operation: 80-58=22 Moving to Node #0,3 Current State: 37:[90, 6, 22], Operations: ['80-58=22'] Exploring Operation: 90/6=15, Resulting Numbers: [22, 15] Generated Node #0,3,0: 37:[22, 15] Operation: 90/6=15 Moving to Node #0,3,0 Current State: 37:[22, 15], Operations: ['80-58=22', '90/6=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 24, 40, 70, 7 ]
28
[ "40*7=280", "280/70=4", "24+4=28" ]
Current State: 28:[24, 40, 70, 7], Operations: [] Exploring Operation: 40*7=280, Resulting Numbers: [24, 70, 280] Generated Node #2: [24, 70, 280] from Operation: 40*7=280 Current State: 28:[24, 70, 280], Operations: ['40*7=280'] Exploring Operation: 280/70=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 280/70=4 Current State: 28:[24, 4], Operations: ['40*7=280', '280/70=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[24, 40, 70, 7], Operations: [] Exploring Operation: 70-40=30, Resulting Numbers: [24, 7, 30] Generated Node #0,0: 28:[24, 7, 30] Operation: 70-40=30 Moving to Node #0,0 Current State: 28:[24, 7, 30], Operations: ['70-40=30'] Exploring Operation: 30-24=6, Resulting Numbers: [7, 6] Generated Node #0,0,0: 28:[7, 6] Operation: 30-24=6 Moving to Node #0,0,0 Current State: 28:[7, 6], Operations: ['70-40=30', '30-24=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,28 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 49, 90, 25, 2 ]
69
[ "49-25=24", "90/2=45", "24+45=69" ]
Current State: 69:[49, 90, 25, 2], Operations: [] Exploring Operation: 49-25=24, Resulting Numbers: [90, 2, 24] Generated Node #2: [90, 2, 24] from Operation: 49-25=24 Current State: 69:[90, 2, 24], Operations: ['49-25=24'] Exploring Operation: 90/2=45, Resulting Numbers: [24, 45] Generated Node #3: [24, 45] from Operation: 90/2=45 Current State: 69:[24, 45], Operations: ['49-25=24', '90/2=45'] Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[49, 90, 25, 2], Operations: [] Exploring Operation: 49-25=24, Resulting Numbers: [90, 2, 24] Generated Node #0,0: 69:[90, 2, 24] Operation: 49-25=24 Exploring Operation: 90-49=41, Resulting Numbers: [25, 2, 41] Generated Node #0,1: 69:[25, 2, 41] Operation: 90-49=41 Moving to Node #0,1 Current State: 69:[25, 2, 41], Operations: ['90-49=41'] Exploring Operation: 25+41=66, Resulting Numbers: [2, 66] Generated Node #0,1,0: 69:[2, 66] Operation: 25+41=66 Exploring Operation: 41-25=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 69:[2, 16] Operation: 41-25=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[2, 66], Operations: ['90-49=41', '25+41=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,69 unequal: No Solution Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[2, 16], Operations: ['90-49=41', '41-25=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,69 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: 69:[90, 2, 24], Operations: ['49-25=24'] Exploring Operation: 90-2=88, Resulting Numbers: [24, 88] Generated Node #0,0,0: 69:[24, 88] Operation: 90-2=88 Exploring Operation: 90-24=66, Resulting Numbers: [2, 66] Generated Node #0,0,1: 69:[2, 66] Operation: 90-24=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[2, 66], Operations: ['49-25=24', '90-24=66'] Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[24, 88], Operations: ['49-25=24', '90-2=88'] Exploring Operation: 24+88=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,69 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
[ 70, 14, 17, 65 ]
67
[ "65-14=51", "51/17=3", "70-3=67" ]
Current State: 67:[70, 14, 17, 65], Operations: [] Exploring Operation: 65-14=51, Resulting Numbers: [70, 17, 51] Generated Node #2: [70, 17, 51] from Operation: 65-14=51 Current State: 67:[70, 17, 51], Operations: ['65-14=51'] Exploring Operation: 51/17=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 51/17=3 Current State: 67:[70, 3], Operations: ['65-14=51', '51/17=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[70, 14, 17, 65], Operations: [] Exploring Operation: 14+17=31, Resulting Numbers: [70, 65, 31] Generated Node #0,0: 67:[70, 65, 31] Operation: 14+17=31 Exploring Operation: 14+65=79, Resulting Numbers: [70, 17, 79] Generated Node #0,1: 67:[70, 17, 79] Operation: 14+65=79 Exploring Operation: 70-14=56, Resulting Numbers: [17, 65, 56] Generated Node #0,2: 67:[17, 65, 56] Operation: 70-14=56 Moving to Node #0,0 Current State: 67:[70, 65, 31], Operations: ['14+17=31'] Exploring Operation: 70+31=101, Resulting Numbers: [65, 101] Generated Node #0,0,0: 67:[65, 101] Operation: 70+31=101 Exploring Operation: 70-31=39, Resulting Numbers: [65, 39] Generated Node #0,0,1: 67:[65, 39] Operation: 70-31=39 Exploring Operation: 65+31=96, Resulting Numbers: [70, 96] Generated Node #0,0,2: 67:[70, 96] Operation: 65+31=96 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[65, 39], Operations: ['14+17=31', '70-31=39'] Exploring Operation: 65*39=2535, Resulting Numbers: [2535] 2535,67 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 65+39=104, Resulting Numbers: [104] 104,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[70, 96], Operations: ['14+17=31', '65+31=96'] Exploring Operation: 96-70=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 70*96=6720, Resulting Numbers: [6720] 6720,67 unequal: No Solution Exploring Operation: 70+96=166, Resulting Numbers: [166] 166,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[65, 101], Operations: ['14+17=31', '70+31=101'] Exploring Operation: 65*101=6565, Resulting Numbers: [6565] 6565,67 unequal: No Solution Exploring Operation: 101-65=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 65+101=166, Resulting Numbers: [166] 166,67 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: 67:[17, 65, 56], Operations: ['70-14=56'] Exploring Operation: 17+56=73, Resulting Numbers: [65, 73] Generated Node #0,2,0: 67:[65, 73] Operation: 17+56=73 Exploring Operation: 17+65=82, Resulting Numbers: [56, 82] Generated Node #0,2,1: 67:[56, 82] Operation: 17+65=82 Exploring Operation: 65-17=48, Resulting Numbers: [56, 48] Generated Node #0,2,2: 67:[56, 48] Operation: 65-17=48 Moving to Node #0,1 Current State: 67:[70, 17, 79], Operations: ['14+65=79'] Exploring Operation: 70-17=53, Resulting Numbers: [79, 53] Generated Node #0,1,0: 67:[79, 53] Operation: 70-17=53 Exploring Operation: 70+17=87, Resulting Numbers: [79, 87] Generated Node #0,1,1: 67:[79, 87] Operation: 70+17=87 Exploring Operation: 79-17=62, Resulting Numbers: [70, 62] Generated Node #0,1,2: 67:[70, 62] Operation: 79-17=62 Moving to Node #0,2,0 Current State: 67:[65, 73], Operations: ['70-14=56', '17+56=73'] Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,67 unequal: No Solution Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[70, 62], Operations: ['14+65=79', '79-17=62'] Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,67 unequal: No Solution Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[79, 53], Operations: ['14+65=79', '70-17=53'] Exploring Operation: 79+53=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 79*53=4187, Resulting Numbers: [4187] 4187,67 unequal: No Solution Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[56, 82], Operations: ['70-14=56', '17+65=82'] Exploring Operation: 56*82=4592, Resulting Numbers: [4592] 4592,67 unequal: No Solution Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 56+82=138, Resulting Numbers: [138] 138,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[56, 48], Operations: ['70-14=56', '65-17=48'] Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,67 unequal: No Solution Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,67 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[79, 87], Operations: ['14+65=79', '70+17=87'] Exploring Operation: 79+87=166, Resulting Numbers: [166] 166,67 unequal: No Solution Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 79*87=6873, Resulting Numbers: [6873] 6873,67 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 95, 51, 7, 99 ]
23
[ "99-95=4", "7*4=28", "51-28=23" ]
Current State: 23:[95, 51, 7, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [51, 7, 4] Generated Node #2: [51, 7, 4] from Operation: 99-95=4 Current State: 23:[51, 7, 4], Operations: ['99-95=4'] Exploring Operation: 7*4=28, Resulting Numbers: [51, 28] Generated Node #3: [51, 28] from Operation: 7*4=28 Current State: 23:[51, 28], Operations: ['99-95=4', '7*4=28'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[95, 51, 7, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [51, 7, 4] Generated Node #0,0: 23:[51, 7, 4] Operation: 99-95=4 Moving to Node #0,0 Current State: 23:[51, 7, 4], Operations: ['99-95=4'] Exploring Operation: 7*4=28, Resulting Numbers: [51, 28] Generated Node #0,0,0: 23:[51, 28] Operation: 7*4=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[51, 28], Operations: ['99-95=4', '7*4=28'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[95, 51, 7, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [51, 7, 4] Generated Node #0,0: 23:[51, 7, 4] Operation: 99-95=4 Moving to Node #0,0 Current State: 23:[51, 7, 4], Operations: ['99-95=4'] Exploring Operation: 7*4=28, Resulting Numbers: [51, 28] Generated Node #0,0,0: 23:[51, 28] Operation: 7*4=28 Moving to Node #0,0,0 Current State: 23:[51, 28], Operations: ['99-95=4', '7*4=28'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 58, 39, 87, 96 ]
60
[ "87-39=48", "96/48=2", "58+2=60" ]
Current State: 60:[58, 39, 87, 96], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [58, 96, 48] Generated Node #2: [58, 96, 48] from Operation: 87-39=48 Current State: 60:[58, 96, 48], Operations: ['87-39=48'] Exploring Operation: 96/48=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 96/48=2 Current State: 60:[58, 2], Operations: ['87-39=48', '96/48=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[58, 39, 87, 96], Operations: [] Exploring Operation: 96-58=38, Resulting Numbers: [39, 87, 38] Generated Node #0,0: 60:[39, 87, 38] Operation: 96-58=38 Exploring Operation: 87-58=29, Resulting Numbers: [39, 96, 29] Generated Node #0,1: 60:[39, 96, 29] Operation: 87-58=29 Exploring Operation: 96-87=9, Resulting Numbers: [58, 39, 9] Generated Node #0,2: 60:[58, 39, 9] Operation: 96-87=9 Exploring Operation: 87-39=48, Resulting Numbers: [58, 96, 48] Generated Node #0,3: 60:[58, 96, 48] Operation: 87-39=48 Exploring Operation: 96-39=57, Resulting Numbers: [58, 87, 57] Generated Node #0,4: 60:[58, 87, 57] Operation: 96-39=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[58, 39, 9], Operations: ['96-87=9'] Exploring Operation: 58+9=67, Resulting Numbers: [39, 67] Generated Node #0,2,0: 60:[39, 67] Operation: 58+9=67 Exploring Operation: 58-9=49, Resulting Numbers: [39, 49] Generated Node #0,2,1: 60:[39, 49] Operation: 58-9=49 Exploring Operation: 39+9=48, Resulting Numbers: [58, 48] Generated Node #0,2,2: 60:[58, 48] Operation: 39+9=48 Exploring Operation: 39-9=30, Resulting Numbers: [58, 30] Generated Node #0,2,3: 60:[58, 30] Operation: 39-9=30 Exploring Operation: 58-39=19, Resulting Numbers: [9, 19] Generated Node #0,2,4: 60:[9, 19] Operation: 58-39=19 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 60:[58, 30], Operations: ['96-87=9', '39-9=30'] Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,60 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 60:[9, 19], Operations: ['96-87=9', '58-39=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[58, 48], Operations: ['96-87=9', '39+9=48'] Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,60 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[39, 67], Operations: ['96-87=9', '58+9=67'] Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 39+67=106, Resulting Numbers: [106] 106,60 unequal: No Solution Exploring Operation: 39*67=2613, Resulting Numbers: [2613] 2613,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[39, 49], Operations: ['96-87=9', '58-9=49'] Exploring Operation: 39*49=1911, Resulting Numbers: [1911] 1911,60 unequal: No Solution Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 60:[58, 87, 57], Operations: ['96-39=57'] Exploring Operation: 87-57=30, Resulting Numbers: [58, 30] Generated Node #0,4,0: 60:[58, 30] Operation: 87-57=30 Exploring Operation: 58-57=1, Resulting Numbers: [87, 1] Generated Node #0,4,1: 60:[87, 1] Operation: 58-57=1 Exploring Operation: 87+57=144, Resulting Numbers: [58, 144] Generated Node #0,4,2: 60:[58, 144] Operation: 87+57=144 Exploring Operation: 87-58=29, Resulting Numbers: [57, 29] Generated Node #0,4,3: 60:[57, 29] Operation: 87-58=29 Exploring Operation: 58+57=115, Resulting Numbers: [87, 115] Generated Node #0,4,4: 60:[87, 115] Operation: 58+57=115 Moving to Node #0,4,0 Current State: 60:[58, 30], Operations: ['96-39=57', '87-57=30'] Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,60 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[57, 29], Operations: ['96-39=57', '87-58=29'] Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,60 unequal: No Solution Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[87, 1], Operations: ['96-39=57', '58-57=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[87, 115], Operations: ['96-39=57', '58+57=115'] Exploring Operation: 115-87=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 87+115=202, Resulting Numbers: [202] 202,60 unequal: No Solution Exploring Operation: 87*115=10005, Resulting Numbers: [10005] 10005,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[58, 144], Operations: ['96-39=57', '87+57=144'] Exploring Operation: 58+144=202, Resulting Numbers: [202] 202,60 unequal: No Solution Exploring Operation: 144-58=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 58*144=8352, Resulting Numbers: [8352] 8352,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[39, 87, 38], Operations: ['96-58=38'] Exploring Operation: 39-38=1, Resulting Numbers: [87, 1] Generated Node #0,0,0: 60:[87, 1] Operation: 39-38=1 Exploring Operation: 39+87=126, Resulting Numbers: [38, 126] Generated Node #0,0,1: 60:[38, 126] Operation: 39+87=126 Exploring Operation: 39+38=77, Resulting Numbers: [87, 77] Generated Node #0,0,2: 60:[87, 77] Operation: 39+38=77 Exploring Operation: 87-39=48, Resulting Numbers: [38, 48] Generated Node #0,0,3: 60:[38, 48] Operation: 87-39=48 Exploring Operation: 87-38=49, Resulting Numbers: [39, 49] Generated Node #0,0,4: 60:[39, 49] Operation: 87-38=49 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[38, 48], Operations: ['96-58=38', '87-39=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,60 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 60:[39, 49], Operations: ['96-58=38', '87-38=49'] Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 39*49=1911, Resulting Numbers: [1911] 1911,60 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[87, 1], Operations: ['96-58=38', '39-38=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[87, 77], Operations: ['96-58=38', '39+38=77'] Exploring Operation: 87+77=164, Resulting Numbers: [164] 164,60 unequal: No Solution Exploring Operation: 87-77=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 87*77=6699, Resulting Numbers: [6699] 6699,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[38, 126], Operations: ['96-58=38', '39+87=126'] Exploring Operation: 38+126=164, Resulting Numbers: [164] 164,60 unequal: No Solution Exploring Operation: 126-38=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 38*126=4788, Resulting Numbers: [4788] 4788,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[39, 96, 29], Operations: ['87-58=29'] Exploring Operation: 96+29=125, Resulting Numbers: [39, 125] Generated Node #0,1,0: 60:[39, 125] Operation: 96+29=125 Exploring Operation: 39+29=68, Resulting Numbers: [96, 68] Generated Node #0,1,1: 60:[96, 68] Operation: 39+29=68 Exploring Operation: 96-39=57, Resulting Numbers: [29, 57] Generated Node #0,1,2: 60:[29, 57] Operation: 96-39=57 Exploring Operation: 39-29=10, Resulting Numbers: [96, 10] Generated Node #0,1,3: 60:[96, 10] Operation: 39-29=10 Exploring Operation: 96-29=67, Resulting Numbers: [39, 67] Generated Node #0,1,4: 60:[39, 67] Operation: 96-29=67 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[29, 57], Operations: ['87-58=29', '96-39=57'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,60 unequal: No Solution Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 60:[39, 67], Operations: ['87-58=29', '96-29=67'] Exploring Operation: 39*67=2613, Resulting Numbers: [2613] 2613,60 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 39+67=106, Resulting Numbers: [106] 106,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 60:[96, 10], Operations: ['87-58=29', '39-29=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 96+10=106, Resulting Numbers: [106] 106,60 unequal: No Solution Exploring Operation: 96*10=960, Resulting Numbers: [960] 960,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[96, 68], Operations: ['87-58=29', '39+29=68'] Exploring Operation: 96*68=6528, Resulting Numbers: [6528] 6528,60 unequal: No Solution Exploring Operation: 96+68=164, Resulting Numbers: [164] 164,60 unequal: No Solution Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[39, 125], Operations: ['87-58=29', '96+29=125'] Exploring Operation: 125-39=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 39*125=4875, Resulting Numbers: [4875] 4875,60 unequal: No Solution Exploring Operation: 39+125=164, Resulting Numbers: [164] 164,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[58, 96, 48], Operations: ['87-39=48'] Exploring Operation: 96-58=38, Resulting Numbers: [48, 38] Generated Node #0,3,0: 60:[48, 38] Operation: 96-58=38 Exploring Operation: 58+48=106, Resulting Numbers: [96, 106] Generated Node #0,3,1: 60:[96, 106] Operation: 58+48=106 Exploring Operation: 58-48=10, Resulting Numbers: [96, 10] Generated Node #0,3,2: 60:[96, 10] Operation: 58-48=10 Exploring Operation: 96-48=48, Resulting Numbers: [58, 48] Generated Node #0,3,3: 60:[58, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [58, 2] Generated Node #0,3,4: 60:[58, 2] Operation: 96/48=2 Moving to Node #0,3,4 Current State: 60:[58, 2], Operations: ['87-39=48', '96/48=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[58, 39, 87, 96], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [58, 96, 48] Generated Node #0,3: 60:[58, 96, 48] Operation: 87-39=48 Moving to Node #0,3 Current State: 60:[58, 96, 48], Operations: ['87-39=48'] Exploring Operation: 96/48=2, Resulting Numbers: [58, 2] Generated Node #0,3,4: 60:[58, 2] Operation: 96/48=2 Moving to Node #0,3,4 Current State: 60:[58, 2], Operations: ['87-39=48', '96/48=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.913194
hs_5
sum_heuristic
[ 30, 75, 7, 72 ]
97
[ "75-72=3", "30*3=90", "7+90=97" ]
Current State: 97:[30, 75, 7, 72], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [30, 7, 3] Generated Node #2: [30, 7, 3] from Operation: 75-72=3 Current State: 97:[30, 7, 3], Operations: ['75-72=3'] Exploring Operation: 30*3=90, Resulting Numbers: [7, 90] Generated Node #3: [7, 90] from Operation: 30*3=90 Current State: 97:[7, 90], Operations: ['75-72=3', '30*3=90'] Exploring Operation: 7+90=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[30, 75, 7, 72], Operations: [] Exploring Operation: 30+7=37, Resulting Numbers: [75, 72, 37] Generated Node #0,0: 97:[75, 72, 37] Operation: 30+7=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[75, 72, 37], Operations: ['30+7=37'] Exploring Operation: 72+37=109, Resulting Numbers: [75, 109] Generated Node #0,0,0: 97:[75, 109] Operation: 72+37=109 Moving to Node #0,0,0 Current State: 97:[75, 109], Operations: ['30+7=37', '72+37=109'] Exploring Operation: 109-75=34, Resulting Numbers: [34] 34,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 67, 66, 63, 22 ]
92
[ "67+66=133", "63-22=41", "133-41=92" ]
Current State: 92:[67, 66, 63, 22], Operations: [] Exploring Operation: 67+66=133, Resulting Numbers: [63, 22, 133] Generated Node #2: [63, 22, 133] from Operation: 67+66=133 Current State: 92:[63, 22, 133], Operations: ['67+66=133'] Exploring Operation: 63-22=41, Resulting Numbers: [133, 41] Generated Node #3: [133, 41] from Operation: 63-22=41 Current State: 92:[133, 41], Operations: ['67+66=133', '63-22=41'] Exploring Operation: 133-41=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[67, 66, 63, 22], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [66, 22, 4] Generated Node #0,0: 92:[66, 22, 4] Operation: 67-63=4 Exploring Operation: 67-66=1, Resulting Numbers: [63, 22, 1] Generated Node #0,1: 92:[63, 22, 1] Operation: 67-66=1 Exploring Operation: 67-22=45, Resulting Numbers: [66, 63, 45] Generated Node #0,2: 92:[66, 63, 45] Operation: 67-22=45 Exploring Operation: 66-63=3, Resulting Numbers: [67, 22, 3] Generated Node #0,3: 92:[67, 22, 3] Operation: 66-63=3 Moving to Node #0,1 Current State: 92:[63, 22, 1], Operations: ['67-66=1'] Exploring Operation: 22+1=23, Resulting Numbers: [63, 23] Generated Node #0,1,0: 92:[63, 23] Operation: 22+1=23 Exploring Operation: 63-1=62, Resulting Numbers: [22, 62] Generated Node #0,1,1: 92:[22, 62] Operation: 63-1=62 Exploring Operation: 63-22=41, Resulting Numbers: [1, 41] Generated Node #0,1,2: 92:[1, 41] Operation: 63-22=41 Exploring Operation: 63+22=85, Resulting Numbers: [1, 85] Generated Node #0,1,3: 92:[1, 85] Operation: 63+22=85 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[1, 41], Operations: ['67-66=1', '63-22=41'] Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[1, 85], Operations: ['67-66=1', '63+22=85'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[63, 23], Operations: ['67-66=1', '22+1=23'] Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,92 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[22, 62], Operations: ['67-66=1', '63-1=62'] Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,92 unequal: No Solution Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 92:[66, 22, 4], Operations: ['67-63=4'] Exploring Operation: 66/22=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 92:[4, 3] Operation: 66/22=3 Exploring Operation: 66-4=62, Resulting Numbers: [22, 62] Generated Node #0,0,1: 92:[22, 62] Operation: 66-4=62 Exploring Operation: 66+22=88, Resulting Numbers: [4, 88] Generated Node #0,0,2: 92:[4, 88] Operation: 66+22=88 Exploring Operation: 66-22=44, Resulting Numbers: [4, 44] Generated Node #0,0,3: 92:[4, 44] Operation: 66-22=44 Moving to Node #0,3 Current State: 92:[67, 22, 3], Operations: ['66-63=3'] Exploring Operation: 67+22=89, Resulting Numbers: [3, 89] Generated Node #0,3,0: 92:[3, 89] Operation: 67+22=89 Exploring Operation: 67-3=64, Resulting Numbers: [22, 64] Generated Node #0,3,1: 92:[22, 64] Operation: 67-3=64 Exploring Operation: 67+3=70, Resulting Numbers: [22, 70] Generated Node #0,3,2: 92:[22, 70] Operation: 67+3=70 Exploring Operation: 67-22=45, Resulting Numbers: [3, 45] Generated Node #0,3,3: 92:[3, 45] Operation: 67-22=45 Moving to Node #0,2 Current State: 92:[66, 63, 45], Operations: ['67-22=45'] Exploring Operation: 66-45=21, Resulting Numbers: [63, 21] Generated Node #0,2,0: 92:[63, 21] Operation: 66-45=21 Exploring Operation: 66+45=111, Resulting Numbers: [63, 111] Generated Node #0,2,1: 92:[63, 111] Operation: 66+45=111 Exploring Operation: 66-63=3, Resulting Numbers: [45, 3] Generated Node #0,2,2: 92:[45, 3] Operation: 66-63=3 Exploring Operation: 63-45=18, Resulting Numbers: [66, 18] Generated Node #0,2,3: 92:[66, 18] Operation: 63-45=18 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[45, 3], Operations: ['67-22=45', '66-63=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[63, 21], Operations: ['67-22=45', '66-45=21'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 63*21=1323, Resulting Numbers: [1323] 1323,92 unequal: No Solution Exploring Operation: 63+21=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[66, 18], Operations: ['67-22=45', '63-45=18'] Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[63, 111], Operations: ['67-22=45', '66+45=111'] Exploring Operation: 63*111=6993, Resulting Numbers: [6993] 6993,92 unequal: No Solution Exploring Operation: 63+111=174, Resulting Numbers: [174] 174,92 unequal: No Solution Exploring Operation: 111-63=48, Resulting Numbers: [48] 48,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 92:[4, 3], Operations: ['67-63=4', '66/22=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[4, 44], Operations: ['67-63=4', '66-22=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[3, 45], Operations: ['66-63=3', '67-22=45'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[4, 88], Operations: ['67-63=4', '66+22=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 4*88=352, Resulting Numbers: [352] 352,92 unequal: No Solution Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[67, 66, 63, 22], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [66, 22, 4] Generated Node #0,0: 92:[66, 22, 4] Operation: 67-63=4 Moving to Node #0,0 Current State: 92:[66, 22, 4], Operations: ['67-63=4'] Exploring Operation: 66+22=88, Resulting Numbers: [4, 88] Generated Node #0,0,2: 92:[4, 88] Operation: 66+22=88 Moving to Node #0,0,2 Current State: 92:[4, 88], Operations: ['67-63=4', '66+22=88'] Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.94184
hs_4
mult_heuristic
[ 39, 46, 92, 73 ]
12
[ "46-39=7", "92-73=19", "19-7=12" ]
Current State: 12:[39, 46, 92, 73], Operations: [] Exploring Operation: 46-39=7, Resulting Numbers: [92, 73, 7] Generated Node #2: [92, 73, 7] from Operation: 46-39=7 Current State: 12:[92, 73, 7], Operations: ['46-39=7'] Exploring Operation: 92-73=19, Resulting Numbers: [7, 19] Generated Node #3: [7, 19] from Operation: 92-73=19 Current State: 12:[7, 19], Operations: ['46-39=7', '92-73=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[39, 46, 92, 73], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [39, 46, 19] Generated Node #0,0: 12:[39, 46, 19] Operation: 92-73=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[39, 46, 19], Operations: ['92-73=19'] Exploring Operation: 46-39=7, Resulting Numbers: [19, 7] Generated Node #0,0,0: 12:[19, 7] Operation: 46-39=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[19, 7], Operations: ['92-73=19', '46-39=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[39, 46, 92, 73], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [39, 46, 19] Generated Node #0,0: 12:[39, 46, 19] Operation: 92-73=19 Moving to Node #0,0 Current State: 12:[39, 46, 19], Operations: ['92-73=19'] Exploring Operation: 46-39=7, Resulting Numbers: [19, 7] Generated Node #0,0,0: 12:[19, 7] Operation: 46-39=7 Moving to Node #0,0,0 Current State: 12:[19, 7], Operations: ['92-73=19', '46-39=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 62, 20, 19, 67 ]
34
[ "62+20=82", "67-19=48", "82-48=34" ]
Current State: 34:[62, 20, 19, 67], Operations: [] Exploring Operation: 62+20=82, Resulting Numbers: [19, 67, 82] Generated Node #2: [19, 67, 82] from Operation: 62+20=82 Current State: 34:[19, 67, 82], Operations: ['62+20=82'] Exploring Operation: 67-19=48, Resulting Numbers: [82, 48] Generated Node #3: [82, 48] from Operation: 67-19=48 Current State: 34:[82, 48], Operations: ['62+20=82', '67-19=48'] Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[62, 20, 19, 67], Operations: [] Exploring Operation: 67-20=47, Resulting Numbers: [62, 19, 47] Generated Node #0,0: 34:[62, 19, 47] Operation: 67-20=47 Exploring Operation: 67-62=5, Resulting Numbers: [20, 19, 5] Generated Node #0,1: 34:[20, 19, 5] Operation: 67-62=5 Exploring Operation: 62-20=42, Resulting Numbers: [19, 67, 42] Generated Node #0,2: 34:[19, 67, 42] Operation: 62-20=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[20, 19, 5], Operations: ['67-62=5'] Exploring Operation: 20-5=15, Resulting Numbers: [19, 15] Generated Node #0,1,0: 34:[19, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 34:[19, 4] Operation: 20/5=4 Exploring Operation: 20-19=1, Resulting Numbers: [5, 1] Generated Node #0,1,2: 34:[5, 1] Operation: 20-19=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[19, 15], Operations: ['67-62=5', '20-5=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[62, 20, 19, 67], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [20, 19, 5] Generated Node #0,1: 34:[20, 19, 5] Operation: 67-62=5 Moving to Node #0,1 Current State: 34:[20, 19, 5], Operations: ['67-62=5'] Exploring Operation: 20-5=15, Resulting Numbers: [19, 15] Generated Node #0,1,0: 34:[19, 15] Operation: 20-5=15 Moving to Node #0,1,0 Current State: 34:[19, 15], Operations: ['67-62=5', '20-5=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 76, 82, 35, 27 ]
54
[ "76-35=41", "82*27=2214", "2214/41=54" ]
Current State: 54:[76, 82, 35, 27], Operations: [] Exploring Operation: 76-35=41, Resulting Numbers: [82, 27, 41] Generated Node #2: [82, 27, 41] from Operation: 76-35=41 Current State: 54:[82, 27, 41], Operations: ['76-35=41'] Exploring Operation: 82*27=2214, Resulting Numbers: [41, 2214] Generated Node #3: [41, 2214] from Operation: 82*27=2214 Current State: 54:[41, 2214], Operations: ['76-35=41', '82*27=2214'] Exploring Operation: 2214/41=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[76, 82, 35, 27], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [35, 27, 6] Generated Node #0,0: 54:[35, 27, 6] Operation: 82-76=6 Exploring Operation: 82-35=47, Resulting Numbers: [76, 27, 47] Generated Node #0,1: 54:[76, 27, 47] Operation: 82-35=47 Moving to Node #0,0 Current State: 54:[35, 27, 6], Operations: ['82-76=6'] Exploring Operation: 35-6=29, Resulting Numbers: [27, 29] Generated Node #0,0,0: 54:[27, 29] Operation: 35-6=29 Exploring Operation: 35-27=8, Resulting Numbers: [6, 8] Generated Node #0,0,1: 54:[6, 8] Operation: 35-27=8 Moving to Node #0,1 Current State: 54:[76, 27, 47], Operations: ['82-35=47'] Exploring Operation: 76-47=29, Resulting Numbers: [27, 29] Generated Node #0,1,0: 54:[27, 29] Operation: 76-47=29 Exploring Operation: 76-27=49, Resulting Numbers: [47, 49] Generated Node #0,1,1: 54:[47, 49] Operation: 76-27=49 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[27, 29], Operations: ['82-35=47', '76-47=29'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,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,1 Current State: 54:[47, 49], Operations: ['82-35=47', '76-27=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,54 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: 54:[6, 8], Operations: ['82-76=6', '35-27=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[27, 29], Operations: ['82-76=6', '35-6=29'] Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 59, 47, 55, 29 ]
72
[ "59-47=12", "55+29=84", "84-12=72" ]
Current State: 72:[59, 47, 55, 29], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [55, 29, 12] Generated Node #2: [55, 29, 12] from Operation: 59-47=12 Current State: 72:[55, 29, 12], Operations: ['59-47=12'] Exploring Operation: 55+29=84, Resulting Numbers: [12, 84] Generated Node #3: [12, 84] from Operation: 55+29=84 Current State: 72:[12, 84], Operations: ['59-47=12', '55+29=84'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[59, 47, 55, 29], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [47, 29, 4] Generated Node #0,0: 72:[47, 29, 4] Operation: 59-55=4 Exploring Operation: 59-47=12, Resulting Numbers: [55, 29, 12] Generated Node #0,1: 72:[55, 29, 12] Operation: 59-47=12 Exploring Operation: 55-47=8, Resulting Numbers: [59, 29, 8] Generated Node #0,2: 72:[59, 29, 8] Operation: 55-47=8 Exploring Operation: 55-29=26, Resulting Numbers: [59, 47, 26] Generated Node #0,3: 72:[59, 47, 26] Operation: 55-29=26 Moving to Node #0,0 Current State: 72:[47, 29, 4], Operations: ['59-55=4'] Exploring Operation: 47-4=43, Resulting Numbers: [29, 43] Generated Node #0,0,0: 72:[29, 43] Operation: 47-4=43 Exploring Operation: 47+29=76, Resulting Numbers: [4, 76] Generated Node #0,0,1: 72:[4, 76] Operation: 47+29=76 Exploring Operation: 47-29=18, Resulting Numbers: [4, 18] Generated Node #0,0,2: 72:[4, 18] Operation: 47-29=18 Exploring Operation: 29-4=25, Resulting Numbers: [47, 25] Generated Node #0,0,3: 72:[47, 25] Operation: 29-4=25 Moving to Node #0,2 Current State: 72:[59, 29, 8], Operations: ['55-47=8'] Exploring Operation: 59+29=88, Resulting Numbers: [8, 88] Generated Node #0,2,0: 72:[8, 88] Operation: 59+29=88 Exploring Operation: 29+8=37, Resulting Numbers: [59, 37] Generated Node #0,2,1: 72:[59, 37] Operation: 29+8=37 Exploring Operation: 59-29=30, Resulting Numbers: [8, 30] Generated Node #0,2,2: 72:[8, 30] Operation: 59-29=30 Exploring Operation: 59+8=67, Resulting Numbers: [29, 67] Generated Node #0,2,3: 72:[29, 67] Operation: 59+8=67 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[8, 30], Operations: ['55-47=8', '59-29=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[29, 67], Operations: ['55-47=8', '59+8=67'] Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,72 unequal: No Solution Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,72 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[59, 37], Operations: ['55-47=8', '29+8=37'] Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,72 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,72 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[8, 88], Operations: ['55-47=8', '59+29=88'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 8*88=704, Resulting Numbers: [704] 704,72 unequal: No Solution Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,72 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: 72:[55, 29, 12], Operations: ['59-47=12'] Exploring Operation: 55+29=84, Resulting Numbers: [12, 84] Generated Node #0,1,0: 72:[12, 84] Operation: 55+29=84 Exploring Operation: 55+12=67, Resulting Numbers: [29, 67] Generated Node #0,1,1: 72:[29, 67] Operation: 55+12=67 Exploring Operation: 55-29=26, Resulting Numbers: [12, 26] Generated Node #0,1,2: 72:[12, 26] Operation: 55-29=26 Exploring Operation: 55-12=43, Resulting Numbers: [29, 43] Generated Node #0,1,3: 72:[29, 43] Operation: 55-12=43 Moving to Node #0,3 Current State: 72:[59, 47, 26], Operations: ['55-29=26'] Exploring Operation: 47-26=21, Resulting Numbers: [59, 21] Generated Node #0,3,0: 72:[59, 21] Operation: 47-26=21 Exploring Operation: 47+26=73, Resulting Numbers: [59, 73] Generated Node #0,3,1: 72:[59, 73] Operation: 47+26=73 Exploring Operation: 59-47=12, Resulting Numbers: [26, 12] Generated Node #0,3,2: 72:[26, 12] Operation: 59-47=12 Exploring Operation: 59-26=33, Resulting Numbers: [47, 33] Generated Node #0,3,3: 72:[47, 33] Operation: 59-26=33 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[26, 12], Operations: ['55-29=26', '59-47=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,72 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[59, 73], Operations: ['55-29=26', '47+26=73'] Exploring Operation: 59*73=4307, Resulting Numbers: [4307] 4307,72 unequal: No Solution Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 59+73=132, Resulting Numbers: [132] 132,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[47, 33], Operations: ['55-29=26', '59-26=33'] Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,72 unequal: No Solution Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[59, 21], Operations: ['55-29=26', '47-26=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,72 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 72:[4, 18], Operations: ['59-55=4', '47-29=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[59, 47, 55, 29], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [47, 29, 4] Generated Node #0,0: 72:[47, 29, 4] Operation: 59-55=4 Moving to Node #0,0 Current State: 72:[47, 29, 4], Operations: ['59-55=4'] Exploring Operation: 47-29=18, Resulting Numbers: [4, 18] Generated Node #0,0,2: 72:[4, 18] Operation: 47-29=18 Moving to Node #0,0,2 Current State: 72:[4, 18], Operations: ['59-55=4', '47-29=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 10, 6, 36, 28 ]
80
[ "10+6=16", "36+28=64", "16+64=80" ]
Current State: 80:[10, 6, 36, 28], Operations: [] Exploring Operation: 10+6=16, Resulting Numbers: [36, 28, 16] Generated Node #2: [36, 28, 16] from Operation: 10+6=16 Current State: 80:[36, 28, 16], Operations: ['10+6=16'] Exploring Operation: 36+28=64, Resulting Numbers: [16, 64] Generated Node #3: [16, 64] from Operation: 36+28=64 Current State: 80:[16, 64], Operations: ['10+6=16', '36+28=64'] Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[10, 6, 36, 28], Operations: [] Exploring Operation: 28-6=22, Resulting Numbers: [10, 36, 22] Generated Node #0,0: 80:[10, 36, 22] Operation: 28-6=22 Exploring Operation: 36-28=8, Resulting Numbers: [10, 6, 8] Generated Node #0,1: 80:[10, 6, 8] Operation: 36-28=8 Exploring Operation: 10+28=38, Resulting Numbers: [6, 36, 38] Generated Node #0,2: 80:[6, 36, 38] Operation: 10+28=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[10, 6, 8], Operations: ['36-28=8'] Exploring Operation: 10-6=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 80:[8, 4] Operation: 10-6=4 Exploring Operation: 8-6=2, Resulting Numbers: [10, 2] Generated Node #0,1,1: 80:[10, 2] Operation: 8-6=2 Exploring Operation: 10+6=16, Resulting Numbers: [8, 16] Generated Node #0,1,2: 80:[8, 16] Operation: 10+6=16 Moving to Node #0,1,0 Current State: 80:[8, 4], Operations: ['36-28=8', '10-6=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[10, 2], Operations: ['36-28=8', '8-6=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[8, 16], Operations: ['36-28=8', '10+6=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,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 Current State: 80:[10, 36, 22], Operations: ['28-6=22'] Exploring Operation: 10+36=46, Resulting Numbers: [22, 46] Generated Node #0,0,0: 80:[22, 46] Operation: 10+36=46 Exploring Operation: 36-22=14, Resulting Numbers: [10, 14] Generated Node #0,0,1: 80:[10, 14] Operation: 36-22=14 Exploring Operation: 22-10=12, Resulting Numbers: [36, 12] Generated Node #0,0,2: 80:[36, 12] Operation: 22-10=12 Moving to Node #0,0,1 Current State: 80:[10, 14], Operations: ['28-6=22', '36-22=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,80 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[36, 12], Operations: ['28-6=22', '22-10=12'] Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[22, 46], Operations: ['28-6=22', '10+36=46'] Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,80 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,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 Current State: 80:[6, 36, 38], Operations: ['10+28=38'] Exploring Operation: 6+36=42, Resulting Numbers: [38, 42] Generated Node #0,2,0: 80:[38, 42] Operation: 6+36=42 Exploring Operation: 38-36=2, Resulting Numbers: [6, 2] Generated Node #0,2,1: 80:[6, 2] Operation: 38-36=2 Exploring Operation: 36/6=6, Resulting Numbers: [38, 6] Generated Node #0,2,2: 80:[38, 6] Operation: 36/6=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[6, 2], Operations: ['10+28=38', '38-36=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,80 unequal: No Solution No 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: 80:[38, 6], Operations: ['10+28=38', '36/6=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,80 unequal: No Solution No 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: 80:[38, 42], Operations: ['10+28=38', '6+36=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[10, 6, 36, 28], Operations: [] Exploring Operation: 10+28=38, Resulting Numbers: [6, 36, 38] Generated Node #0,2: 80:[6, 36, 38] Operation: 10+28=38 Moving to Node #0,2 Current State: 80:[6, 36, 38], Operations: ['10+28=38'] Exploring Operation: 6+36=42, Resulting Numbers: [38, 42] Generated Node #0,2,0: 80:[38, 42] Operation: 6+36=42 Moving to Node #0,2,0 Current State: 80:[38, 42], Operations: ['10+28=38', '6+36=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_3
sum_heuristic
[ 58, 40, 16, 42 ]
84
[ "58-40=18", "18-16=2", "42*2=84" ]
Current State: 84:[58, 40, 16, 42], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [16, 42, 18] Generated Node #2: [16, 42, 18] from Operation: 58-40=18 Current State: 84:[16, 42, 18], Operations: ['58-40=18'] Exploring Operation: 18-16=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 18-16=2 Current State: 84:[42, 2], Operations: ['58-40=18', '18-16=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[58, 40, 16, 42], Operations: [] Exploring Operation: 58+16=74, Resulting Numbers: [40, 42, 74] Generated Node #0,0: 84:[40, 42, 74] Operation: 58+16=74 Exploring Operation: 58-16=42, Resulting Numbers: [40, 42, 42] Generated Node #0,1: 84:[40, 42, 42] Operation: 58-16=42 Exploring Operation: 58-40=18, Resulting Numbers: [16, 42, 18] Generated Node #0,2: 84:[16, 42, 18] Operation: 58-40=18 Exploring Operation: 58-42=16, Resulting Numbers: [40, 16, 16] Generated Node #0,3: 84:[40, 16, 16] Operation: 58-42=16 Exploring Operation: 58+40=98, Resulting Numbers: [16, 42, 98] Generated Node #0,4: 84:[16, 42, 98] Operation: 58+40=98 Moving to Node #0,1 Current State: 84:[40, 42, 42], Operations: ['58-16=42'] Exploring Operation: 42+42=84, Resulting Numbers: [40, 84] Generated Node #0,1,0: 84:[40, 84] Operation: 42+42=84 Exploring Operation: 42-40=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 84:[42, 2] Operation: 42-40=2 Exploring Operation: 40+42=82, Resulting Numbers: [42, 82] Generated Node #0,1,2: 84:[42, 82] Operation: 40+42=82 Exploring Operation: 42-40=2, Resulting Numbers: [42, 2] Generated Node #0,1,3: 84:[42, 2] Operation: 42-40=2 Exploring Operation: 40+42=82, Resulting Numbers: [42, 82] Generated Node #0,1,4: 84:[42, 82] Operation: 40+42=82 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[42, 2], Operations: ['58-16=42', '42-40=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[58, 40, 16, 42], Operations: [] Exploring Operation: 58-16=42, Resulting Numbers: [40, 42, 42] Generated Node #0,1: 84:[40, 42, 42] Operation: 58-16=42 Moving to Node #0,1 Current State: 84:[40, 42, 42], Operations: ['58-16=42'] Exploring Operation: 42-40=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 84:[42, 2] Operation: 42-40=2 Moving to Node #0,1,1 Current State: 84:[42, 2], Operations: ['58-16=42', '42-40=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 35, 45, 82, 25 ]
97
[ "45-35=10", "82+25=107", "107-10=97" ]
Current State: 97:[35, 45, 82, 25], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [82, 25, 10] Generated Node #2: [82, 25, 10] from Operation: 45-35=10 Current State: 97:[82, 25, 10], Operations: ['45-35=10'] Exploring Operation: 82+25=107, Resulting Numbers: [10, 107] Generated Node #3: [10, 107] from Operation: 82+25=107 Current State: 97:[10, 107], Operations: ['45-35=10', '82+25=107'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[35, 45, 82, 25], Operations: [] Exploring Operation: 35+25=60, Resulting Numbers: [45, 82, 60] Generated Node #0,0: 97:[45, 82, 60] Operation: 35+25=60 Exploring Operation: 35+45=80, Resulting Numbers: [82, 25, 80] Generated Node #0,1: 97:[82, 25, 80] Operation: 35+45=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[45, 82, 60], Operations: ['35+25=60'] Exploring Operation: 45+82=127, Resulting Numbers: [60, 127] Generated Node #0,0,0: 97:[60, 127] Operation: 45+82=127 Exploring Operation: 45+60=105, Resulting Numbers: [82, 105] Generated Node #0,0,1: 97:[82, 105] Operation: 45+60=105 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[82, 105], Operations: ['35+25=60', '45+60=105'] Exploring Operation: 82+105=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 105-82=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[60, 127], Operations: ['35+25=60', '45+82=127'] Exploring Operation: 127-60=67, Resulting Numbers: [67] 67,97 unequal: No Solution Exploring Operation: 60+127=187, Resulting Numbers: [187] 187,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[82, 25, 80], Operations: ['35+45=80'] Exploring Operation: 25+80=105, Resulting Numbers: [82, 105] Generated Node #0,1,0: 97:[82, 105] Operation: 25+80=105 Exploring Operation: 82+25=107, Resulting Numbers: [80, 107] Generated Node #0,1,1: 97:[80, 107] Operation: 82+25=107 Moving to Node #0,1,0 Current State: 97:[82, 105], Operations: ['35+45=80', '25+80=105'] Exploring Operation: 82+105=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 105-82=23, Resulting Numbers: [23] 23,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[80, 107], Operations: ['35+45=80', '82+25=107'] Exploring Operation: 107-80=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 80+107=187, Resulting Numbers: [187] 187,97 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
[ 82, 60, 59, 2 ]
12
[ "82+60=142", "142/2=71", "71-59=12" ]
Current State: 12:[82, 60, 59, 2], Operations: [] Exploring Operation: 82+60=142, Resulting Numbers: [59, 2, 142] Generated Node #2: [59, 2, 142] from Operation: 82+60=142 Current State: 12:[59, 2, 142], Operations: ['82+60=142'] Exploring Operation: 142/2=71, Resulting Numbers: [59, 71] Generated Node #3: [59, 71] from Operation: 142/2=71 Current State: 12:[59, 71], Operations: ['82+60=142', '142/2=71'] Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[82, 60, 59, 2], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [59, 2, 22] Generated Node #0,0: 12:[59, 2, 22] Operation: 82-60=22 Exploring Operation: 60-59=1, Resulting Numbers: [82, 2, 1] Generated Node #0,1: 12:[82, 2, 1] Operation: 60-59=1 Exploring Operation: 82-59=23, Resulting Numbers: [60, 2, 23] Generated Node #0,2: 12:[60, 2, 23] Operation: 82-59=23 Exploring Operation: 60/2=30, Resulting Numbers: [82, 59, 30] Generated Node #0,3: 12:[82, 59, 30] Operation: 60/2=30 Exploring Operation: 82/2=41, Resulting Numbers: [60, 59, 41] Generated Node #0,4: 12:[60, 59, 41] Operation: 82/2=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[59, 2, 22], Operations: ['82-60=22'] Exploring Operation: 59-2=57, Resulting Numbers: [22, 57] Generated Node #0,0,0: 12:[22, 57] Operation: 59-2=57 Exploring Operation: 59+2=61, Resulting Numbers: [22, 61] Generated Node #0,0,1: 12:[22, 61] Operation: 59+2=61 Exploring Operation: 22/2=11, Resulting Numbers: [59, 11] Generated Node #0,0,2: 12:[59, 11] Operation: 22/2=11 Exploring Operation: 59-22=37, Resulting Numbers: [2, 37] Generated Node #0,0,3: 12:[2, 37] Operation: 59-22=37 Exploring Operation: 22-2=20, Resulting Numbers: [59, 20] Generated Node #0,0,4: 12:[59, 20] Operation: 22-2=20 Moving to Node #0,0,3 Current State: 12:[2, 37], Operations: ['82-60=22', '59-22=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,12 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[59, 11], Operations: ['82-60=22', '22/2=11'] Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,12 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[22, 57], Operations: ['82-60=22', '59-2=57'] Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,12 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[59, 20], Operations: ['82-60=22', '22-2=20'] Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,12 unequal: No Solution Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[22, 61], Operations: ['82-60=22', '59+2=61'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,12 unequal: No Solution Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,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,2 Current State: 12:[60, 2, 23], Operations: ['82-59=23'] Exploring Operation: 60+2=62, Resulting Numbers: [23, 62] Generated Node #0,2,0: 12:[23, 62] Operation: 60+2=62 Exploring Operation: 60/2=30, Resulting Numbers: [23, 30] Generated Node #0,2,1: 12:[23, 30] Operation: 60/2=30 Exploring Operation: 60-23=37, Resulting Numbers: [2, 37] Generated Node #0,2,2: 12:[2, 37] Operation: 60-23=37 Exploring Operation: 60-2=58, Resulting Numbers: [23, 58] Generated Node #0,2,3: 12:[23, 58] Operation: 60-2=58 Exploring Operation: 23-2=21, Resulting Numbers: [60, 21] Generated Node #0,2,4: 12:[60, 21] Operation: 23-2=21 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[2, 37], Operations: ['82-59=23', '60-23=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,12 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[23, 30], Operations: ['82-59=23', '60/2=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,12 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[23, 58], Operations: ['82-59=23', '60-2=58'] Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,12 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[60, 21], Operations: ['82-59=23', '23-2=21'] Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,12 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,12 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[23, 62], Operations: ['82-59=23', '60+2=62'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,12 unequal: No Solution Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[82, 2, 1], Operations: ['60-59=1'] Exploring Operation: 82/1=82, Resulting Numbers: [2, 82] Generated Node #0,1,0: 12:[2, 82] Operation: 82/1=82 Exploring Operation: 82-2=80, Resulting Numbers: [1, 80] Generated Node #0,1,1: 12:[1, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [1, 41] Generated Node #0,1,2: 12:[1, 41] Operation: 82/2=41 Exploring Operation: 82*1=82, Resulting Numbers: [2, 82] Generated Node #0,1,3: 12:[2, 82] Operation: 82*1=82 Exploring Operation: 82-1=81, Resulting Numbers: [2, 81] Generated Node #0,1,4: 12:[2, 81] Operation: 82-1=81 Moving to Node #0,1,2 Current State: 12:[1, 41], Operations: ['60-59=1', '82/2=41'] Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[2, 81], Operations: ['60-59=1', '82-1=81'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,12 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[1, 80], Operations: ['60-59=1', '82-2=80'] Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,12 unequal: No Solution Exploring Operation: 1*80=80, Resulting Numbers: [80] 80,12 unequal: No Solution Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[2, 82], Operations: ['60-59=1', '82/1=82'] Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,12 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,12 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,12 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[2, 82], Operations: ['60-59=1', '82*1=82'] Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,12 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,12 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,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,4 Current State: 12:[60, 59, 41], Operations: ['82/2=41'] Exploring Operation: 60-59=1, Resulting Numbers: [41, 1] Generated Node #0,4,0: 12:[41, 1] Operation: 60-59=1 Exploring Operation: 60-41=19, Resulting Numbers: [59, 19] Generated Node #0,4,1: 12:[59, 19] Operation: 60-41=19 Exploring Operation: 60+41=101, Resulting Numbers: [59, 101] Generated Node #0,4,2: 12:[59, 101] Operation: 60+41=101 Exploring Operation: 59-41=18, Resulting Numbers: [60, 18] Generated Node #0,4,3: 12:[60, 18] Operation: 59-41=18 Exploring Operation: 60+59=119, Resulting Numbers: [41, 119] Generated Node #0,4,4: 12:[41, 119] Operation: 60+59=119 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 12:[41, 1], Operations: ['82/2=41', '60-59=1'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 12:[59, 19], Operations: ['82/2=41', '60-41=19'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 12:[60, 18], Operations: ['82/2=41', '59-41=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,12 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 12:[59, 101], Operations: ['82/2=41', '60+41=101'] Exploring Operation: 59*101=5959, Resulting Numbers: [5959] 5959,12 unequal: No Solution Exploring Operation: 101-59=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 59+101=160, Resulting Numbers: [160] 160,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 12:[41, 119], Operations: ['82/2=41', '60+59=119'] Exploring Operation: 119-41=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 41*119=4879, Resulting Numbers: [4879] 4879,12 unequal: No Solution Exploring Operation: 41+119=160, Resulting Numbers: [160] 160,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[82, 59, 30], Operations: ['60/2=30'] Exploring Operation: 82+59=141, Resulting Numbers: [30, 141] Generated Node #0,3,0: 12:[30, 141] Operation: 82+59=141 Exploring Operation: 82-59=23, Resulting Numbers: [30, 23] Generated Node #0,3,1: 12:[30, 23] Operation: 82-59=23 Exploring Operation: 82+30=112, Resulting Numbers: [59, 112] Generated Node #0,3,2: 12:[59, 112] Operation: 82+30=112 Exploring Operation: 82-30=52, Resulting Numbers: [59, 52] Generated Node #0,3,3: 12:[59, 52] Operation: 82-30=52 Exploring Operation: 59-30=29, Resulting Numbers: [82, 29] Generated Node #0,3,4: 12:[82, 29] Operation: 59-30=29 Moving to Node #0,3,1 Current State: 12:[30, 23], Operations: ['60/2=30', '82-59=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,12 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[82, 29], Operations: ['60/2=30', '59-30=29'] Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 82*29=2378, Resulting Numbers: [2378] 2378,12 unequal: No Solution Exploring Operation: 82+29=111, Resulting Numbers: [111] 111,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[59, 52], Operations: ['60/2=30', '82-30=52'] Exploring Operation: 59*52=3068, Resulting Numbers: [3068] 3068,12 unequal: No Solution Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,12 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[30, 141], Operations: ['60/2=30', '82+59=141'] Exploring Operation: 30+141=171, Resulting Numbers: [171] 171,12 unequal: No Solution Exploring Operation: 141-30=111, Resulting Numbers: [111] 111,12 unequal: No Solution Exploring Operation: 30*141=4230, Resulting Numbers: [4230] 4230,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[59, 112], Operations: ['60/2=30', '82+30=112'] Exploring Operation: 59*112=6608, Resulting Numbers: [6608] 6608,12 unequal: No Solution Exploring Operation: 112-59=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 59+112=171, Resulting Numbers: [171] 171,12 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
[ 76, 92, 73, 76 ]
73
[ "76-76=0", "92*0=0", "73+0=73" ]
Current State: 73:[76, 92, 73, 76], Operations: [] Exploring Operation: 76-76=0, Resulting Numbers: [92, 73, 0] Generated Node #2: [92, 73, 0] from Operation: 76-76=0 Current State: 73:[92, 73, 0], Operations: ['76-76=0'] Exploring Operation: 92*0=0, Resulting Numbers: [73, 0] Generated Node #3: [73, 0] from Operation: 92*0=0 Current State: 73:[73, 0], Operations: ['76-76=0', '92*0=0'] Exploring Operation: 73+0=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[76, 92, 73, 76], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [73, 76, 16] Generated Node #0,0: 73:[73, 76, 16] Operation: 92-76=16 Exploring Operation: 92-73=19, Resulting Numbers: [76, 76, 19] Generated Node #0,1: 73:[76, 76, 19] Operation: 92-73=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[73, 76, 16], Operations: ['92-76=16'] Exploring Operation: 76-16=60, Resulting Numbers: [73, 60] Generated Node #0,0,0: 73:[73, 60] Operation: 76-16=60 Exploring Operation: 73+16=89, Resulting Numbers: [76, 89] Generated Node #0,0,1: 73:[76, 89] Operation: 73+16=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[73, 60], Operations: ['92-76=16', '76-16=60'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 73+60=133, Resulting Numbers: [133] 133,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,0,1 Current State: 73:[76, 89], Operations: ['92-76=16', '73+16=89'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[76, 76, 19], Operations: ['92-73=19'] Exploring Operation: 76-19=57, Resulting Numbers: [76, 57] Generated Node #0,1,0: 73:[76, 57] Operation: 76-19=57 Exploring Operation: 76-19=57, Resulting Numbers: [76, 57] Generated Node #0,1,1: 73:[76, 57] Operation: 76-19=57 Moving to Node #0,1,0 Current State: 73:[76, 57], Operations: ['92-73=19', '76-19=57'] Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[76, 57], Operations: ['92-73=19', '76-19=57'] Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,73 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
[ 20, 47, 27, 25 ]
79
[ "47-20=27", "27+25=52", "27+52=79" ]
Current State: 79:[20, 47, 27, 25], Operations: [] Exploring Operation: 47-20=27, Resulting Numbers: [27, 25, 27] Generated Node #2: [27, 25, 27] from Operation: 47-20=27 Current State: 79:[27, 25, 27], Operations: ['47-20=27'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,79 equal: Goal Reached Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[20, 47, 27, 25], Operations: [] Exploring Operation: 20+25=45, Resulting Numbers: [47, 27, 45] Generated Node #0,0: 79:[47, 27, 45] Operation: 20+25=45 Exploring Operation: 20+47=67, Resulting Numbers: [27, 25, 67] Generated Node #0,1: 79:[27, 25, 67] Operation: 20+47=67 Exploring Operation: 20+27=47, Resulting Numbers: [47, 25, 47] Generated Node #0,2: 79:[47, 25, 47] Operation: 20+27=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[47, 27, 45], Operations: ['20+25=45'] Exploring Operation: 47+45=92, Resulting Numbers: [27, 92] Generated Node #0,0,0: 79:[27, 92] Operation: 47+45=92 Exploring Operation: 47+27=74, Resulting Numbers: [45, 74] Generated Node #0,0,1: 79:[45, 74] Operation: 47+27=74 Exploring Operation: 27+45=72, Resulting Numbers: [47, 72] Generated Node #0,0,2: 79:[47, 72] Operation: 27+45=72 Moving to Node #0,0,1 Current State: 79:[45, 74], Operations: ['20+25=45', '47+27=74'] Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,79 unequal: No Solution Exploring Operation: 45*74=3330, Resulting Numbers: [3330] 3330,79 unequal: No Solution Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[47, 72], Operations: ['20+25=45', '27+45=72'] Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 47*72=3384, Resulting Numbers: [3384] 3384,79 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[27, 92], Operations: ['20+25=45', '47+45=92'] Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 27+92=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 27*92=2484, Resulting Numbers: [2484] 2484,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:[27, 25, 67], Operations: ['20+47=67'] Exploring Operation: 25+67=92, Resulting Numbers: [27, 92] Generated Node #0,1,0: 79:[27, 92] Operation: 25+67=92 Exploring Operation: 27+25=52, Resulting Numbers: [67, 52] Generated Node #0,1,1: 79:[67, 52] Operation: 27+25=52 Exploring Operation: 27+67=94, Resulting Numbers: [25, 94] Generated Node #0,1,2: 79:[25, 94] Operation: 27+67=94 Moving to Node #0,1,1 Current State: 79:[67, 52], Operations: ['20+47=67', '27+25=52'] Exploring Operation: 67*52=3484, Resulting Numbers: [3484] 3484,79 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 67+52=119, Resulting Numbers: [119] 119,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[27, 92], Operations: ['20+47=67', '25+67=92'] Exploring Operation: 27*92=2484, Resulting Numbers: [2484] 2484,79 unequal: No Solution Exploring Operation: 27+92=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[25, 94], Operations: ['20+47=67', '27+67=94'] Exploring Operation: 25+94=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 25*94=2350, Resulting Numbers: [2350] 2350,79 unequal: No Solution Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,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:[47, 25, 47], Operations: ['20+27=47'] Exploring Operation: 47+25=72, Resulting Numbers: [47, 72] Generated Node #0,2,0: 79:[47, 72] Operation: 47+25=72 Exploring Operation: 47+47=94, Resulting Numbers: [25, 94] Generated Node #0,2,1: 79:[25, 94] Operation: 47+47=94 Exploring Operation: 25+47=72, Resulting Numbers: [47, 72] Generated Node #0,2,2: 79:[47, 72] Operation: 25+47=72 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[47, 72], Operations: ['20+27=47', '47+25=72'] Exploring Operation: 47*72=3384, Resulting Numbers: [3384] 3384,79 unequal: No Solution Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,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,2,2 Current State: 79:[47, 72], Operations: ['20+27=47', '25+47=72'] Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 47*72=3384, Resulting Numbers: [3384] 3384,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,2,1 Current State: 79:[25, 94], Operations: ['20+27=47', '47+47=94'] Exploring Operation: 25+94=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 25*94=2350, Resulting Numbers: [2350] 2350,79 unequal: No Solution Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,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_3
sum_heuristic
[ 39, 41, 16, 31 ]
95
[ "39+41=80", "31-16=15", "80+15=95" ]
Current State: 95:[39, 41, 16, 31], Operations: [] Exploring Operation: 39+41=80, Resulting Numbers: [16, 31, 80] Generated Node #2: [16, 31, 80] from Operation: 39+41=80 Current State: 95:[16, 31, 80], Operations: ['39+41=80'] Exploring Operation: 31-16=15, Resulting Numbers: [80, 15] Generated Node #3: [80, 15] from Operation: 31-16=15 Current State: 95:[80, 15], Operations: ['39+41=80', '31-16=15'] Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[39, 41, 16, 31], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [41, 16, 8] Generated Node #0,0: 95:[41, 16, 8] Operation: 39-31=8 Exploring Operation: 41-39=2, Resulting Numbers: [16, 31, 2] Generated Node #0,1: 95:[16, 31, 2] Operation: 41-39=2 Moving to Node #0,1 Current State: 95:[16, 31, 2], Operations: ['41-39=2'] Exploring Operation: 16+2=18, Resulting Numbers: [31, 18] Generated Node #0,1,0: 95:[31, 18] Operation: 16+2=18 Exploring Operation: 31-16=15, Resulting Numbers: [2, 15] Generated Node #0,1,1: 95:[2, 15] Operation: 31-16=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[2, 15], Operations: ['41-39=2', '31-16=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,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,0 Current State: 95:[31, 18], Operations: ['41-39=2', '16+2=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,95 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: 95:[41, 16, 8], Operations: ['39-31=8'] Exploring Operation: 41-8=33, Resulting Numbers: [16, 33] Generated Node #0,0,0: 95:[16, 33] Operation: 41-8=33 Exploring Operation: 41-16=25, Resulting Numbers: [8, 25] Generated Node #0,0,1: 95:[8, 25] Operation: 41-16=25 Moving to Node #0,0,1 Current State: 95:[8, 25], Operations: ['39-31=8', '41-16=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[16, 33], Operations: ['39-31=8', '41-8=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,95 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 61, 3, 83, 15 ]
85
[ "61*3=183", "83+15=98", "183-98=85" ]
Current State: 85:[61, 3, 83, 15], Operations: [] Exploring Operation: 61*3=183, Resulting Numbers: [83, 15, 183] Generated Node #2: [83, 15, 183] from Operation: 61*3=183 Current State: 85:[83, 15, 183], Operations: ['61*3=183'] Exploring Operation: 83+15=98, Resulting Numbers: [183, 98] Generated Node #3: [183, 98] from Operation: 83+15=98 Current State: 85:[183, 98], Operations: ['61*3=183', '83+15=98'] Exploring Operation: 183-98=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[61, 3, 83, 15], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [3, 15, 22] Generated Node #0,0: 85:[3, 15, 22] Operation: 83-61=22 Exploring Operation: 61+15=76, Resulting Numbers: [3, 83, 76] Generated Node #0,1: 85:[3, 83, 76] Operation: 61+15=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[3, 15, 22], Operations: ['83-61=22'] Exploring Operation: 22-15=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 85:[3, 7] Operation: 22-15=7 Exploring Operation: 22-3=19, Resulting Numbers: [15, 19] Generated Node #0,0,1: 85:[15, 19] Operation: 22-3=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[3, 7], Operations: ['83-61=22', '22-15=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,85 unequal: No Solution No 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: 85:[15, 19], Operations: ['83-61=22', '22-3=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,85 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,85 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: 85:[3, 83, 76], Operations: ['61+15=76'] Exploring Operation: 3+76=79, Resulting Numbers: [83, 79] Generated Node #0,1,0: 85:[83, 79] Operation: 3+76=79 Exploring Operation: 83-76=7, Resulting Numbers: [3, 7] Generated Node #0,1,1: 85:[3, 7] Operation: 83-76=7 Moving to Node #0,1,1 Current State: 85:[3, 7], Operations: ['61+15=76', '83-76=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[83, 79], Operations: ['61+15=76', '3+76=79'] Exploring Operation: 83+79=162, Resulting Numbers: [162] 162,85 unequal: No Solution Exploring Operation: 83-79=4, Resulting Numbers: [4] 4,85 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
[ 33, 23, 3, 39 ]
81
[ "39-23=16", "3*16=48", "33+48=81" ]
Current State: 81:[33, 23, 3, 39], Operations: [] Exploring Operation: 39-23=16, Resulting Numbers: [33, 3, 16] Generated Node #2: [33, 3, 16] from Operation: 39-23=16 Current State: 81:[33, 3, 16], Operations: ['39-23=16'] Exploring Operation: 3*16=48, Resulting Numbers: [33, 48] Generated Node #3: [33, 48] from Operation: 3*16=48 Current State: 81:[33, 48], Operations: ['39-23=16', '3*16=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[33, 23, 3, 39], Operations: [] Exploring Operation: 39-23=16, Resulting Numbers: [33, 3, 16] Generated Node #0,0: 81:[33, 3, 16] Operation: 39-23=16 Exploring Operation: 33-23=10, Resulting Numbers: [3, 39, 10] Generated Node #0,1: 81:[3, 39, 10] Operation: 33-23=10 Exploring Operation: 39-33=6, Resulting Numbers: [23, 3, 6] Generated Node #0,2: 81:[23, 3, 6] Operation: 39-33=6 Exploring Operation: 33+39=72, Resulting Numbers: [23, 3, 72] Generated Node #0,3: 81:[23, 3, 72] Operation: 33+39=72 Moving to Node #0,2 Current State: 81:[23, 3, 6], Operations: ['39-33=6'] Exploring Operation: 3+6=9, Resulting Numbers: [23, 9] Generated Node #0,2,0: 81:[23, 9] Operation: 3+6=9 Exploring Operation: 23+3=26, Resulting Numbers: [6, 26] Generated Node #0,2,1: 81:[6, 26] Operation: 23+3=26 Exploring Operation: 6-3=3, Resulting Numbers: [23, 3] Generated Node #0,2,2: 81:[23, 3] Operation: 6-3=3 Exploring Operation: 23+6=29, Resulting Numbers: [3, 29] Generated Node #0,2,3: 81:[3, 29] Operation: 23+6=29 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[3, 29], Operations: ['39-33=6', '23+6=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[23, 9], Operations: ['39-33=6', '3+6=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[6, 26], Operations: ['39-33=6', '23+3=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,81 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[23, 3], Operations: ['39-33=6', '6-3=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,81 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: 81:[3, 39, 10], Operations: ['33-23=10'] Exploring Operation: 39/3=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 81:[10, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [10, 36] Generated Node #0,1,1: 81:[10, 36] Operation: 39-3=36 Exploring Operation: 39-10=29, Resulting Numbers: [3, 29] Generated Node #0,1,2: 81:[3, 29] Operation: 39-10=29 Exploring Operation: 10-3=7, Resulting Numbers: [39, 7] Generated Node #0,1,3: 81:[39, 7] Operation: 10-3=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[3, 29], Operations: ['33-23=10', '39-10=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[10, 13], Operations: ['33-23=10', '39/3=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,81 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[10, 36], Operations: ['33-23=10', '39-3=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,81 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[39, 7], Operations: ['33-23=10', '10-3=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,81 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,81 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: 81:[33, 3, 16], Operations: ['39-23=16'] Exploring Operation: 33-3=30, Resulting Numbers: [16, 30] Generated Node #0,0,0: 81:[16, 30] Operation: 33-3=30 Exploring Operation: 16-3=13, Resulting Numbers: [33, 13] Generated Node #0,0,1: 81:[33, 13] Operation: 16-3=13 Exploring Operation: 33/3=11, Resulting Numbers: [16, 11] Generated Node #0,0,2: 81:[16, 11] Operation: 33/3=11 Exploring Operation: 33-16=17, Resulting Numbers: [3, 17] Generated Node #0,0,3: 81:[3, 17] Operation: 33-16=17 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[3, 17], Operations: ['39-23=16', '33-16=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[16, 11], Operations: ['39-23=16', '33/3=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,81 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[16, 30], Operations: ['39-23=16', '33-3=30'] Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,81 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[33, 13], Operations: ['39-23=16', '16-3=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,81 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: 81:[23, 3, 72], Operations: ['33+39=72'] Exploring Operation: 23+3=26, Resulting Numbers: [72, 26] Generated Node #0,3,0: 81:[72, 26] Operation: 23+3=26 Exploring Operation: 3+72=75, Resulting Numbers: [23, 75] Generated Node #0,3,1: 81:[23, 75] Operation: 3+72=75 Exploring Operation: 72/3=24, Resulting Numbers: [23, 24] Generated Node #0,3,2: 81:[23, 24] Operation: 72/3=24 Exploring Operation: 23+72=95, Resulting Numbers: [3, 95] Generated Node #0,3,3: 81:[3, 95] Operation: 23+72=95 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[23, 24], Operations: ['33+39=72', '72/3=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,81 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[72, 26], Operations: ['33+39=72', '23+3=26'] Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[23, 75], Operations: ['33+39=72', '3+72=75'] Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,81 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[3, 95], Operations: ['33+39=72', '23+72=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,81 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,81 unequal: No Solution Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 7, 7, 41, 14 ]
50
[ "7+41=48", "7*14=98", "98-48=50" ]
Current State: 50:[7, 7, 41, 14], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [14, 48] Generated Node #2: [14, 48] from Operation: 7+41=48 Current State: 50:[14, 48], Operations: ['7+41=48'] Exploring Operation: 7*14=98, Resulting Numbers: [48, 98] Generated Node #3: [48, 98] from Operation: 7*14=98 Current State: 50:[48, 98], Operations: ['7+41=48', '7*14=98'] Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 7, 41, 14], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [7, 14, 48] Generated Node #0,0: 50:[7, 14, 48] Operation: 7+41=48 Exploring Operation: 41+14=55, Resulting Numbers: [7, 7, 55] Generated Node #0,1: 50:[7, 7, 55] Operation: 41+14=55 Exploring Operation: 41-14=27, Resulting Numbers: [7, 7, 27] Generated Node #0,2: 50:[7, 7, 27] Operation: 41-14=27 Exploring Operation: 7+41=48, Resulting Numbers: [7, 14, 48] Generated Node #0,3: 50:[7, 14, 48] Operation: 7+41=48 Exploring Operation: 14/7=2, Resulting Numbers: [7, 41, 2] Generated Node #0,4: 50:[7, 41, 2] Operation: 14/7=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[7, 7, 27], Operations: ['41-14=27'] Exploring Operation: 7+7=14, Resulting Numbers: [27, 14] Generated Node #0,2,0: 50:[27, 14] Operation: 7+7=14 Exploring Operation: 7/7=1, Resulting Numbers: [27, 1] Generated Node #0,2,1: 50:[27, 1] Operation: 7/7=1 Exploring Operation: 7-7=0, Resulting Numbers: [27, 0] Generated Node #0,2,2: 50:[27, 0] Operation: 7-7=0 Exploring Operation: 7*7=49, Resulting Numbers: [27, 49] Generated Node #0,2,3: 50:[27, 49] Operation: 7*7=49 Exploring Operation: 27-7=20, Resulting Numbers: [7, 20] Generated Node #0,2,4: 50:[7, 20] Operation: 27-7=20 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[27, 1], Operations: ['41-14=27', '7/7=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 50:[27, 49], Operations: ['41-14=27', '7*7=49'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,50 unequal: No Solution Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[27, 0], Operations: ['41-14=27', '7-7=0'] Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 27*0=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 27-0=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[27, 14], Operations: ['41-14=27', '7+7=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 50:[7, 20], Operations: ['41-14=27', '27-7=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,50 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[7, 14, 48], Operations: ['7+41=48'] Exploring Operation: 7+14=21, Resulting Numbers: [48, 21] Generated Node #0,0,0: 50:[48, 21] Operation: 7+14=21 Exploring Operation: 14-7=7, Resulting Numbers: [48, 7] Generated Node #0,0,1: 50:[48, 7] Operation: 14-7=7 Exploring Operation: 7+48=55, Resulting Numbers: [14, 55] Generated Node #0,0,2: 50:[14, 55] Operation: 7+48=55 Exploring Operation: 14/7=2, Resulting Numbers: [48, 2] Generated Node #0,0,3: 50:[48, 2] Operation: 14/7=2 Exploring Operation: 48-14=34, Resulting Numbers: [7, 34] Generated Node #0,0,4: 50:[7, 34] Operation: 48-14=34 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 50:[48, 2], Operations: ['7+41=48', '14/7=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[7, 7, 41, 14], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [7, 14, 48] Generated Node #0,0: 50:[7, 14, 48] Operation: 7+41=48 Moving to Node #0,0 Current State: 50:[7, 14, 48], Operations: ['7+41=48'] Exploring Operation: 14/7=2, Resulting Numbers: [48, 2] Generated Node #0,0,3: 50:[48, 2] Operation: 14/7=2 Moving to Node #0,0,3 Current State: 50:[48, 2], Operations: ['7+41=48', '14/7=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 78, 17, 14, 74 ]
73
[ "78-74=4", "14*4=56", "17+56=73" ]
Current State: 73:[78, 17, 14, 74], Operations: [] Exploring Operation: 78-74=4, Resulting Numbers: [17, 14, 4] Generated Node #2: [17, 14, 4] from Operation: 78-74=4 Current State: 73:[17, 14, 4], Operations: ['78-74=4'] Exploring Operation: 14*4=56, Resulting Numbers: [17, 56] Generated Node #3: [17, 56] from Operation: 14*4=56 Current State: 73:[17, 56], Operations: ['78-74=4', '14*4=56'] Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[78, 17, 14, 74], Operations: [] Exploring Operation: 78-17=61, Resulting Numbers: [14, 74, 61] Generated Node #0,0: 73:[14, 74, 61] Operation: 78-17=61 Exploring Operation: 74-14=60, Resulting Numbers: [78, 17, 60] Generated Node #0,1: 73:[78, 17, 60] Operation: 74-14=60 Exploring Operation: 78-14=64, Resulting Numbers: [17, 74, 64] Generated Node #0,2: 73:[17, 74, 64] Operation: 78-14=64 Exploring Operation: 17+14=31, Resulting Numbers: [78, 74, 31] Generated Node #0,3: 73:[78, 74, 31] Operation: 17+14=31 Moving to Node #0,3 Current State: 73:[78, 74, 31], Operations: ['17+14=31'] Exploring Operation: 74-31=43, Resulting Numbers: [78, 43] Generated Node #0,3,0: 73:[78, 43] Operation: 74-31=43 Exploring Operation: 74+31=105, Resulting Numbers: [78, 105] Generated Node #0,3,1: 73:[78, 105] Operation: 74+31=105 Exploring Operation: 78-31=47, Resulting Numbers: [74, 47] Generated Node #0,3,2: 73:[74, 47] Operation: 78-31=47 Exploring Operation: 78+31=109, Resulting Numbers: [74, 109] Generated Node #0,3,3: 73:[74, 109] Operation: 78+31=109 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[74, 47], Operations: ['17+14=31', '78-31=47'] Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,73 unequal: No Solution Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,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,3,0 Current State: 73:[78, 43], Operations: ['17+14=31', '74-31=43'] Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,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,3,1 Current State: 73:[78, 105], Operations: ['17+14=31', '74+31=105'] Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 78*105=8190, Resulting Numbers: [8190] 8190,73 unequal: No Solution Exploring Operation: 78+105=183, Resulting Numbers: [183] 183,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,3,3 Current State: 73:[74, 109], Operations: ['17+14=31', '78+31=109'] Exploring Operation: 74*109=8066, Resulting Numbers: [8066] 8066,73 unequal: No Solution Exploring Operation: 109-74=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 74+109=183, Resulting Numbers: [183] 183,73 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: 73:[17, 74, 64], Operations: ['78-14=64'] Exploring Operation: 17+64=81, Resulting Numbers: [74, 81] Generated Node #0,2,0: 73:[74, 81] Operation: 17+64=81 Exploring Operation: 74-17=57, Resulting Numbers: [64, 57] Generated Node #0,2,1: 73:[64, 57] Operation: 74-17=57 Exploring Operation: 17+74=91, Resulting Numbers: [64, 91] Generated Node #0,2,2: 73:[64, 91] Operation: 17+74=91 Exploring Operation: 64-17=47, Resulting Numbers: [74, 47] Generated Node #0,2,3: 73:[74, 47] Operation: 64-17=47 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[74, 81], Operations: ['78-14=64', '17+64=81'] Exploring Operation: 74*81=5994, Resulting Numbers: [5994] 5994,73 unequal: No Solution Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 74+81=155, Resulting Numbers: [155] 155,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,1 Current State: 73:[64, 57], Operations: ['78-14=64', '74-17=57'] Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,73 unequal: No Solution Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,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,2 Current State: 73:[64, 91], Operations: ['78-14=64', '17+74=91'] Exploring Operation: 64*91=5824, Resulting Numbers: [5824] 5824,73 unequal: No Solution Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 64+91=155, Resulting Numbers: [155] 155,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,3 Current State: 73:[74, 47], Operations: ['78-14=64', '64-17=47'] Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,73 unequal: No Solution Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,73 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: 73:[14, 74, 61], Operations: ['78-17=61'] Exploring Operation: 14+61=75, Resulting Numbers: [74, 75] Generated Node #0,0,0: 73:[74, 75] Operation: 14+61=75 Exploring Operation: 14+74=88, Resulting Numbers: [61, 88] Generated Node #0,0,1: 73:[61, 88] Operation: 14+74=88 Exploring Operation: 61-14=47, Resulting Numbers: [74, 47] Generated Node #0,0,2: 73:[74, 47] Operation: 61-14=47 Exploring Operation: 74-14=60, Resulting Numbers: [61, 60] Generated Node #0,0,3: 73:[61, 60] Operation: 74-14=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[74, 75], Operations: ['78-17=61', '14+61=75'] Exploring Operation: 74*75=5550, Resulting Numbers: [5550] 5550,73 unequal: No Solution Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 74+75=149, Resulting Numbers: [149] 149,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,3 Current State: 73:[61, 60], Operations: ['78-17=61', '74-14=60'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 61+60=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 61*60=3660, Resulting Numbers: [3660] 3660,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,1 Current State: 73:[61, 88], Operations: ['78-17=61', '14+74=88'] Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,73 unequal: No Solution Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,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,2 Current State: 73:[74, 47], Operations: ['78-17=61', '61-14=47'] Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,73 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: 73:[78, 17, 60], Operations: ['74-14=60'] Exploring Operation: 78+17=95, Resulting Numbers: [60, 95] Generated Node #0,1,0: 73:[60, 95] Operation: 78+17=95 Exploring Operation: 60-17=43, Resulting Numbers: [78, 43] Generated Node #0,1,1: 73:[78, 43] Operation: 60-17=43 Exploring Operation: 17+60=77, Resulting Numbers: [78, 77] Generated Node #0,1,2: 73:[78, 77] Operation: 17+60=77 Exploring Operation: 78-17=61, Resulting Numbers: [60, 61] Generated Node #0,1,3: 73:[60, 61] Operation: 78-17=61 Moving to Node #0,1,2 Current State: 73:[78, 77], Operations: ['74-14=60', '17+60=77'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,73 unequal: No Solution Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[60, 61], Operations: ['74-14=60', '78-17=61'] Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[78, 43], Operations: ['74-14=60', '60-17=43'] Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,73 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[60, 95], Operations: ['74-14=60', '78+17=95'] Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 60+95=155, Resulting Numbers: [155] 155,73 unequal: No Solution Exploring Operation: 60*95=5700, Resulting Numbers: [5700] 5700,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 1, 88, 41, 19 ]
65
[ "88-1=87", "41-19=22", "87-22=65" ]
Current State: 65:[1, 88, 41, 19], Operations: [] Exploring Operation: 88-1=87, Resulting Numbers: [41, 19, 87] Generated Node #2: [41, 19, 87] from Operation: 88-1=87 Current State: 65:[41, 19, 87], Operations: ['88-1=87'] Exploring Operation: 41-19=22, Resulting Numbers: [87, 22] Generated Node #3: [87, 22] from Operation: 41-19=22 Current State: 65:[87, 22], Operations: ['88-1=87', '41-19=22'] Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[1, 88, 41, 19], Operations: [] Exploring Operation: 41+19=60, Resulting Numbers: [1, 88, 60] Generated Node #0,0: 65:[1, 88, 60] Operation: 41+19=60 Exploring Operation: 88-41=47, Resulting Numbers: [1, 19, 47] Generated Node #0,1: 65:[1, 19, 47] Operation: 88-41=47 Exploring Operation: 88-19=69, Resulting Numbers: [1, 41, 69] Generated Node #0,2: 65:[1, 41, 69] Operation: 88-19=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[1, 19, 47], Operations: ['88-41=47'] Exploring Operation: 47-19=28, Resulting Numbers: [1, 28] Generated Node #0,1,0: 65:[1, 28] Operation: 47-19=28 Exploring Operation: 19-1=18, Resulting Numbers: [47, 18] Generated Node #0,1,1: 65:[47, 18] Operation: 19-1=18 Exploring Operation: 19+47=66, Resulting Numbers: [1, 66] Generated Node #0,1,2: 65:[1, 66] Operation: 19+47=66 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[1, 66], Operations: ['88-41=47', '19+47=66'] Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[1, 88, 41, 19], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [1, 19, 47] Generated Node #0,1: 65:[1, 19, 47] Operation: 88-41=47 Moving to Node #0,1 Current State: 65:[1, 19, 47], Operations: ['88-41=47'] Exploring Operation: 19+47=66, Resulting Numbers: [1, 66] Generated Node #0,1,2: 65:[1, 66] Operation: 19+47=66 Moving to Node #0,1,2 Current State: 65:[1, 66], Operations: ['88-41=47', '19+47=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 69, 5, 47, 76 ]
93
[ "69-5=64", "76-47=29", "64+29=93" ]
Current State: 93:[69, 5, 47, 76], Operations: [] Exploring Operation: 69-5=64, Resulting Numbers: [47, 76, 64] Generated Node #2: [47, 76, 64] from Operation: 69-5=64 Current State: 93:[47, 76, 64], Operations: ['69-5=64'] Exploring Operation: 76-47=29, Resulting Numbers: [64, 29] Generated Node #3: [64, 29] from Operation: 76-47=29 Current State: 93:[64, 29], Operations: ['69-5=64', '76-47=29'] Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[69, 5, 47, 76], Operations: [] Exploring Operation: 76-47=29, Resulting Numbers: [69, 5, 29] Generated Node #0,0: 93:[69, 5, 29] Operation: 76-47=29 Exploring Operation: 69-47=22, Resulting Numbers: [5, 76, 22] Generated Node #0,1: 93:[5, 76, 22] Operation: 69-47=22 Exploring Operation: 76-69=7, Resulting Numbers: [5, 47, 7] Generated Node #0,2: 93:[5, 47, 7] Operation: 76-69=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[5, 47, 7], Operations: ['76-69=7'] Exploring Operation: 47-7=40, Resulting Numbers: [5, 40] Generated Node #0,2,0: 93:[5, 40] Operation: 47-7=40 Exploring Operation: 7-5=2, Resulting Numbers: [47, 2] Generated Node #0,2,1: 93:[47, 2] Operation: 7-5=2 Exploring Operation: 47-5=42, Resulting Numbers: [7, 42] Generated Node #0,2,2: 93:[7, 42] Operation: 47-5=42 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[5, 40], Operations: ['76-69=7', '47-7=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,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,2,2 Current State: 93:[7, 42], Operations: ['76-69=7', '47-5=42'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,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,2,1 Current State: 93:[47, 2], Operations: ['76-69=7', '7-5=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,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,0 Current State: 93:[69, 5, 29], Operations: ['76-47=29'] Exploring Operation: 69-29=40, Resulting Numbers: [5, 40] Generated Node #0,0,0: 93:[5, 40] Operation: 69-29=40 Exploring Operation: 69+5=74, Resulting Numbers: [29, 74] Generated Node #0,0,1: 93:[29, 74] Operation: 69+5=74 Exploring Operation: 69+29=98, Resulting Numbers: [5, 98] Generated Node #0,0,2: 93:[5, 98] Operation: 69+29=98 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[5, 98], Operations: ['76-47=29', '69+29=98'] Exploring Operation: 5*98=490, Resulting Numbers: [490] 490,93 unequal: No Solution Exploring Operation: 5+98=103, Resulting Numbers: [103] 103,93 unequal: No Solution Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[69, 5, 47, 76], Operations: [] Exploring Operation: 76-47=29, Resulting Numbers: [69, 5, 29] Generated Node #0,0: 93:[69, 5, 29] Operation: 76-47=29 Moving to Node #0,0 Current State: 93:[69, 5, 29], Operations: ['76-47=29'] Exploring Operation: 69+29=98, Resulting Numbers: [5, 98] Generated Node #0,0,2: 93:[5, 98] Operation: 69+29=98 Moving to Node #0,0,2 Current State: 93:[5, 98], Operations: ['76-47=29', '69+29=98'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 53, 68, 67, 13 ]
67
[ "53+68=121", "67-13=54", "121-54=67" ]
Current State: 67:[53, 68, 67, 13], Operations: [] Exploring Operation: 53+68=121, Resulting Numbers: [67, 13, 121] Generated Node #2: [67, 13, 121] from Operation: 53+68=121 Current State: 67:[67, 13, 121], Operations: ['53+68=121'] Exploring Operation: 67-13=54, Resulting Numbers: [121, 54] Generated Node #3: [121, 54] from Operation: 67-13=54 Current State: 67:[121, 54], Operations: ['53+68=121', '67-13=54'] Exploring Operation: 121-54=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[53, 68, 67, 13], Operations: [] Exploring Operation: 53+13=66, Resulting Numbers: [68, 67, 66] Generated Node #0,0: 67:[68, 67, 66] Operation: 53+13=66 Exploring Operation: 68-13=55, Resulting Numbers: [53, 67, 55] Generated Node #0,1: 67:[53, 67, 55] Operation: 68-13=55 Moving to Node #0,0 Current State: 67:[68, 67, 66], Operations: ['53+13=66'] Exploring Operation: 68-66=2, Resulting Numbers: [67, 2] Generated Node #0,0,0: 67:[67, 2] Operation: 68-66=2 Exploring Operation: 68-67=1, Resulting Numbers: [66, 1] Generated Node #0,0,1: 67:[66, 1] Operation: 68-67=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[67, 2], Operations: ['53+13=66', '68-66=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[66, 1], Operations: ['53+13=66', '68-67=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[53, 68, 67, 13], Operations: [] Exploring Operation: 53+13=66, Resulting Numbers: [68, 67, 66] Generated Node #0,0: 67:[68, 67, 66] Operation: 53+13=66 Moving to Node #0,0 Current State: 67:[68, 67, 66], Operations: ['53+13=66'] Exploring Operation: 68-67=1, Resulting Numbers: [66, 1] Generated Node #0,0,1: 67:[66, 1] Operation: 68-67=1 Moving to Node #0,0,1 Current State: 67:[66, 1], Operations: ['53+13=66', '68-67=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 48, 86, 72, 20 ]
42
[ "48+86=134", "72+20=92", "134-92=42" ]
Current State: 42:[48, 86, 72, 20], Operations: [] Exploring Operation: 48+86=134, Resulting Numbers: [72, 20, 134] Generated Node #2: [72, 20, 134] from Operation: 48+86=134 Current State: 42:[72, 20, 134], Operations: ['48+86=134'] Exploring Operation: 72+20=92, Resulting Numbers: [134, 92] Generated Node #3: [134, 92] from Operation: 72+20=92 Current State: 42:[134, 92], Operations: ['48+86=134', '72+20=92'] Exploring Operation: 134-92=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[48, 86, 72, 20], Operations: [] Exploring Operation: 86-48=38, Resulting Numbers: [72, 20, 38] Generated Node #0,0: 42:[72, 20, 38] Operation: 86-48=38 Exploring Operation: 86-72=14, Resulting Numbers: [48, 20, 14] Generated Node #0,1: 42:[48, 20, 14] Operation: 86-72=14 Exploring Operation: 72-48=24, Resulting Numbers: [86, 20, 24] Generated Node #0,2: 42:[86, 20, 24] Operation: 72-48=24 Exploring Operation: 86-20=66, Resulting Numbers: [48, 72, 66] Generated Node #0,3: 42:[48, 72, 66] Operation: 86-20=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[48, 20, 14], Operations: ['86-72=14'] Exploring Operation: 20+14=34, Resulting Numbers: [48, 34] Generated Node #0,1,0: 42:[48, 34] Operation: 20+14=34 Exploring Operation: 48-14=34, Resulting Numbers: [20, 34] Generated Node #0,1,1: 42:[20, 34] Operation: 48-14=34 Exploring Operation: 20-14=6, Resulting Numbers: [48, 6] Generated Node #0,1,2: 42:[48, 6] Operation: 20-14=6 Exploring Operation: 48-20=28, Resulting Numbers: [14, 28] Generated Node #0,1,3: 42:[14, 28] Operation: 48-20=28 Moving to Node #0,1,2 Current State: 42:[48, 6], Operations: ['86-72=14', '20-14=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,42 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[48, 86, 72, 20], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [48, 20, 14] Generated Node #0,1: 42:[48, 20, 14] Operation: 86-72=14 Moving to Node #0,1 Current State: 42:[48, 20, 14], Operations: ['86-72=14'] Exploring Operation: 20-14=6, Resulting Numbers: [48, 6] Generated Node #0,1,2: 42:[48, 6] Operation: 20-14=6 Moving to Node #0,1,2 Current State: 42:[48, 6], Operations: ['86-72=14', '20-14=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 62, 15, 45, 88 ]
56
[ "62+15=77", "45+88=133", "133-77=56" ]
Current State: 56:[62, 15, 45, 88], Operations: [] Exploring Operation: 62+15=77, Resulting Numbers: [45, 88, 77] Generated Node #2: [45, 88, 77] from Operation: 62+15=77 Current State: 56:[45, 88, 77], Operations: ['62+15=77'] Exploring Operation: 45+88=133, Resulting Numbers: [77, 133] Generated Node #3: [77, 133] from Operation: 45+88=133 Current State: 56:[77, 133], Operations: ['62+15=77', '45+88=133'] Exploring Operation: 133-77=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[62, 15, 45, 88], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [15, 88, 17] Generated Node #0,0: 56:[15, 88, 17] Operation: 62-45=17 Exploring Operation: 88-15=73, Resulting Numbers: [62, 45, 73] Generated Node #0,1: 56:[62, 45, 73] Operation: 88-15=73 Exploring Operation: 88-45=43, Resulting Numbers: [62, 15, 43] Generated Node #0,2: 56:[62, 15, 43] Operation: 88-45=43 Exploring Operation: 88-62=26, Resulting Numbers: [15, 45, 26] Generated Node #0,3: 56:[15, 45, 26] Operation: 88-62=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[15, 45, 26], Operations: ['88-62=26'] Exploring Operation: 45-26=19, Resulting Numbers: [15, 19] Generated Node #0,3,0: 56:[15, 19] Operation: 45-26=19 Exploring Operation: 45-15=30, Resulting Numbers: [26, 30] Generated Node #0,3,1: 56:[26, 30] Operation: 45-15=30 Exploring Operation: 45/15=3, Resulting Numbers: [26, 3] Generated Node #0,3,2: 56:[26, 3] Operation: 45/15=3 Exploring Operation: 15+45=60, Resulting Numbers: [26, 60] Generated Node #0,3,3: 56:[26, 60] Operation: 15+45=60 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[26, 3], Operations: ['88-62=26', '45/15=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[26, 30], Operations: ['88-62=26', '45-15=30'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[62, 15, 45, 88], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [15, 45, 26] Generated Node #0,3: 56:[15, 45, 26] Operation: 88-62=26 Moving to Node #0,3 Current State: 56:[15, 45, 26], Operations: ['88-62=26'] Exploring Operation: 45-15=30, Resulting Numbers: [26, 30] Generated Node #0,3,1: 56:[26, 30] Operation: 45-15=30 Moving to Node #0,3,1 Current State: 56:[26, 30], Operations: ['88-62=26', '45-15=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 79, 38, 82, 5 ]
10
[ "79-38=41", "82*5=410", "410/41=10" ]
Current State: 10:[79, 38, 82, 5], Operations: [] Exploring Operation: 79-38=41, Resulting Numbers: [82, 5, 41] Generated Node #2: [82, 5, 41] from Operation: 79-38=41 Current State: 10:[82, 5, 41], Operations: ['79-38=41'] Exploring Operation: 82*5=410, Resulting Numbers: [41, 410] Generated Node #3: [41, 410] from Operation: 82*5=410 Current State: 10:[41, 410], Operations: ['79-38=41', '82*5=410'] Exploring Operation: 410/41=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[79, 38, 82, 5], Operations: [] Exploring Operation: 79-5=74, Resulting Numbers: [38, 82, 74] Generated Node #0,0: 10:[38, 82, 74] Operation: 79-5=74 Exploring Operation: 79-38=41, Resulting Numbers: [82, 5, 41] Generated Node #0,1: 10:[82, 5, 41] Operation: 79-38=41 Exploring Operation: 82-79=3, Resulting Numbers: [38, 5, 3] Generated Node #0,2: 10:[38, 5, 3] Operation: 82-79=3 Exploring Operation: 82-38=44, Resulting Numbers: [79, 5, 44] Generated Node #0,3: 10:[79, 5, 44] Operation: 82-38=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[38, 5, 3], Operations: ['82-79=3'] Exploring Operation: 5+3=8, Resulting Numbers: [38, 8] Generated Node #0,2,0: 10:[38, 8] Operation: 5+3=8 Exploring Operation: 38-5=33, Resulting Numbers: [3, 33] Generated Node #0,2,1: 10:[3, 33] Operation: 38-5=33 Exploring Operation: 38-3=35, Resulting Numbers: [5, 35] Generated Node #0,2,2: 10:[5, 35] Operation: 38-3=35 Exploring Operation: 5-3=2, Resulting Numbers: [38, 2] Generated Node #0,2,3: 10:[38, 2] Operation: 5-3=2 Moving to Node #0,2,1 Current State: 10:[3, 33], Operations: ['82-79=3', '38-5=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[5, 35], Operations: ['82-79=3', '38-3=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[38, 2], Operations: ['82-79=3', '5-3=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[38, 8], Operations: ['82-79=3', '5+3=8'] Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,10 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,10 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[82, 5, 41], Operations: ['79-38=41'] Exploring Operation: 82-5=77, Resulting Numbers: [41, 77] Generated Node #0,1,0: 10:[41, 77] Operation: 82-5=77 Exploring Operation: 82/41=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 10:[5, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [5, 41] Generated Node #0,1,2: 10:[5, 41] Operation: 82-41=41 Exploring Operation: 41-5=36, Resulting Numbers: [82, 36] Generated Node #0,1,3: 10:[82, 36] Operation: 41-5=36 Moving to Node #0,1,1 Current State: 10:[5, 2], Operations: ['79-38=41', '82/41=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[79, 38, 82, 5], Operations: [] Exploring Operation: 79-38=41, Resulting Numbers: [82, 5, 41] Generated Node #0,1: 10:[82, 5, 41] Operation: 79-38=41 Moving to Node #0,1 Current State: 10:[82, 5, 41], Operations: ['79-38=41'] Exploring Operation: 82/41=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 10:[5, 2] Operation: 82/41=2 Moving to Node #0,1,1 Current State: 10:[5, 2], Operations: ['79-38=41', '82/41=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 50, 66, 5, 69 ]
25
[ "66+5=71", "71-69=2", "50/2=25" ]
Current State: 25:[50, 66, 5, 69], Operations: [] Exploring Operation: 66+5=71, Resulting Numbers: [50, 69, 71] Generated Node #2: [50, 69, 71] from Operation: 66+5=71 Current State: 25:[50, 69, 71], Operations: ['66+5=71'] Exploring Operation: 71-69=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 71-69=2 Current State: 25:[50, 2], Operations: ['66+5=71', '71-69=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[50, 66, 5, 69], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [50, 5, 3] Generated Node #0,0: 25:[50, 5, 3] Operation: 69-66=3 Moving to Node #0,0 Current State: 25:[50, 5, 3], Operations: ['69-66=3'] Exploring Operation: 50/5=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 25:[3, 10] Operation: 50/5=10 Moving to Node #0,0,0 Current State: 25:[3, 10], Operations: ['69-66=3', '50/5=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,25 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 5, 93, 19, 90 ]
93
[ "90/5=18", "19-18=1", "93*1=93" ]
Current State: 93:[5, 93, 19, 90], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [93, 19, 18] Generated Node #2: [93, 19, 18] from Operation: 90/5=18 Current State: 93:[93, 19, 18], Operations: ['90/5=18'] Exploring Operation: 19-18=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 19-18=1 Current State: 93:[93, 1], Operations: ['90/5=18', '19-18=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[5, 93, 19, 90], Operations: [] Exploring Operation: 5*19=95, Resulting Numbers: [93, 90, 95] Generated Node #0,0: 93:[93, 90, 95] Operation: 5*19=95 Moving to Node #0,0 Current State: 93:[93, 90, 95], Operations: ['5*19=95'] Exploring Operation: 93-90=3, Resulting Numbers: [95, 3] Generated Node #0,0,0: 93:[95, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[95, 3], Operations: ['5*19=95', '93-90=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 65, 34, 5 ]
39
[ "65-65=0", "34+5=39", "0+39=39" ]
Current State: 39:[65, 65, 34, 5], Operations: [] Exploring Operation: 65-65=0, Resulting Numbers: [34, 5, 0] Generated Node #2: [34, 5, 0] from Operation: 65-65=0 Current State: 39:[34, 5, 0], Operations: ['65-65=0'] Exploring Operation: 34+5=39, Resulting Numbers: [0, 39] Generated Node #3: [0, 39] from Operation: 34+5=39 Current State: 39:[0, 39], Operations: ['65-65=0', '34+5=39'] Exploring Operation: 0+39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[65, 65, 34, 5], Operations: [] Exploring Operation: 65-65=0, Resulting Numbers: [34, 5, 0] Generated Node #0,0: 39:[34, 5, 0] Operation: 65-65=0 Exploring Operation: 65/65=1, Resulting Numbers: [34, 5, 1] Generated Node #0,1: 39:[34, 5, 1] Operation: 65/65=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[34, 5, 1], Operations: ['65/65=1'] Exploring Operation: 34+5=39, Resulting Numbers: [1, 39] Generated Node #0,1,0: 39:[1, 39] Operation: 34+5=39 Exploring Operation: 34+1=35, Resulting Numbers: [5, 35] Generated Node #0,1,1: 39:[5, 35] Operation: 34+1=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[1, 39], Operations: ['65/65=1', '34+5=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[65, 65, 34, 5], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [34, 5, 1] Generated Node #0,1: 39:[34, 5, 1] Operation: 65/65=1 Moving to Node #0,1 Current State: 39:[34, 5, 1], Operations: ['65/65=1'] Exploring Operation: 34+5=39, Resulting Numbers: [1, 39] Generated Node #0,1,0: 39:[1, 39] Operation: 34+5=39 Moving to Node #0,1,0 Current State: 39:[1, 39], Operations: ['65/65=1', '34+5=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 81, 43, 44, 99 ]
93
[ "81-43=38", "99-44=55", "38+55=93" ]
Current State: 93:[81, 43, 44, 99], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [44, 99, 38] Generated Node #2: [44, 99, 38] from Operation: 81-43=38 Current State: 93:[44, 99, 38], Operations: ['81-43=38'] Exploring Operation: 99-44=55, Resulting Numbers: [38, 55] Generated Node #3: [38, 55] from Operation: 99-44=55 Current State: 93:[38, 55], Operations: ['81-43=38', '99-44=55'] Exploring Operation: 38+55=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[81, 43, 44, 99], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [44, 99, 38] Generated Node #0,0: 93:[44, 99, 38] Operation: 81-43=38 Exploring Operation: 43+44=87, Resulting Numbers: [81, 99, 87] Generated Node #0,1: 93:[81, 99, 87] Operation: 43+44=87 Exploring Operation: 44-43=1, Resulting Numbers: [81, 99, 1] Generated Node #0,2: 93:[81, 99, 1] Operation: 44-43=1 Exploring Operation: 81-44=37, Resulting Numbers: [43, 99, 37] Generated Node #0,3: 93:[43, 99, 37] Operation: 81-44=37 Moving to Node #0,2 Current State: 93:[81, 99, 1], Operations: ['44-43=1'] Exploring Operation: 81*1=81, Resulting Numbers: [99, 81] Generated Node #0,2,0: 93:[99, 81] Operation: 81*1=81 Exploring Operation: 81+1=82, Resulting Numbers: [99, 82] Generated Node #0,2,1: 93:[99, 82] Operation: 81+1=82 Exploring Operation: 99-1=98, Resulting Numbers: [81, 98] Generated Node #0,2,2: 93:[81, 98] Operation: 99-1=98 Exploring Operation: 99-81=18, Resulting Numbers: [1, 18] Generated Node #0,2,3: 93:[1, 18] Operation: 99-81=18 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[1, 18], Operations: ['44-43=1', '99-81=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,93 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,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,2,1 Current State: 93:[99, 82], Operations: ['44-43=1', '81+1=82'] Exploring Operation: 99+82=181, Resulting Numbers: [181] 181,93 unequal: No Solution Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 99*82=8118, Resulting Numbers: [8118] 8118,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,2,2 Current State: 93:[81, 98], Operations: ['44-43=1', '99-1=98'] Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,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,2,0 Current State: 93:[99, 81], Operations: ['44-43=1', '81*1=81'] Exploring Operation: 99*81=8019, Resulting Numbers: [8019] 8019,93 unequal: No Solution Exploring Operation: 99+81=180, Resulting Numbers: [180] 180,93 unequal: No Solution Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,93 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: 93:[43, 99, 37], Operations: ['81-44=37'] Exploring Operation: 99-37=62, Resulting Numbers: [43, 62] Generated Node #0,3,0: 93:[43, 62] Operation: 99-37=62 Exploring Operation: 43+37=80, Resulting Numbers: [99, 80] Generated Node #0,3,1: 93:[99, 80] Operation: 43+37=80 Exploring Operation: 99-43=56, Resulting Numbers: [37, 56] Generated Node #0,3,2: 93:[37, 56] Operation: 99-43=56 Exploring Operation: 43-37=6, Resulting Numbers: [99, 6] Generated Node #0,3,3: 93:[99, 6] Operation: 43-37=6 Moving to Node #0,1 Current State: 93:[81, 99, 87], Operations: ['43+44=87'] Exploring Operation: 99-87=12, Resulting Numbers: [81, 12] Generated Node #0,1,0: 93:[81, 12] Operation: 99-87=12 Exploring Operation: 81+87=168, Resulting Numbers: [99, 168] Generated Node #0,1,1: 93:[99, 168] Operation: 81+87=168 Exploring Operation: 87-81=6, Resulting Numbers: [99, 6] Generated Node #0,1,2: 93:[99, 6] Operation: 87-81=6 Exploring Operation: 99-81=18, Resulting Numbers: [87, 18] Generated Node #0,1,3: 93:[87, 18] Operation: 99-81=18 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[99, 6], Operations: ['43+44=87', '87-81=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[81, 43, 44, 99], Operations: [] Exploring Operation: 43+44=87, Resulting Numbers: [81, 99, 87] Generated Node #0,1: 93:[81, 99, 87] Operation: 43+44=87 Moving to Node #0,1 Current State: 93:[81, 99, 87], Operations: ['43+44=87'] Exploring Operation: 87-81=6, Resulting Numbers: [99, 6] Generated Node #0,1,2: 93:[99, 6] Operation: 87-81=6 Moving to Node #0,1,2 Current State: 93:[99, 6], Operations: ['43+44=87', '87-81=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 96, 75, 44, 89 ]
36
[ "75*44=3300", "3300-96=3204", "3204/89=36" ]
Current State: 36:[96, 75, 44, 89], Operations: [] Exploring Operation: 75*44=3300, Resulting Numbers: [96, 89, 3300] Generated Node #2: [96, 89, 3300] from Operation: 75*44=3300 Current State: 36:[96, 89, 3300], Operations: ['75*44=3300'] Exploring Operation: 3300-96=3204, Resulting Numbers: [89, 3204] Generated Node #3: [89, 3204] from Operation: 3300-96=3204 Current State: 36:[89, 3204], Operations: ['75*44=3300', '3300-96=3204'] Exploring Operation: 3204/89=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[96, 75, 44, 89], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [75, 44, 7] Generated Node #0,0: 36:[75, 44, 7] Operation: 96-89=7 Moving to Node #0,0 Current State: 36:[75, 44, 7], Operations: ['96-89=7'] Exploring Operation: 75-44=31, Resulting Numbers: [7, 31] Generated Node #0,0,0: 36:[7, 31] Operation: 75-44=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[7, 31], Operations: ['96-89=7', '75-44=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,36 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
[ 18, 67, 96, 48 ]
76
[ "18*48=864", "864/96=9", "67+9=76" ]
Current State: 76:[18, 67, 96, 48], Operations: [] Exploring Operation: 18*48=864, Resulting Numbers: [67, 96, 864] Generated Node #2: [67, 96, 864] from Operation: 18*48=864 Current State: 76:[67, 96, 864], Operations: ['18*48=864'] Exploring Operation: 864/96=9, Resulting Numbers: [67, 9] Generated Node #3: [67, 9] from Operation: 864/96=9 Current State: 76:[67, 9], Operations: ['18*48=864', '864/96=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[18, 67, 96, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [18, 67, 2] Generated Node #0,0: 76:[18, 67, 2] Operation: 96/48=2 Exploring Operation: 96-18=78, Resulting Numbers: [67, 48, 78] Generated Node #0,1: 76:[67, 48, 78] Operation: 96-18=78 Exploring Operation: 67-48=19, Resulting Numbers: [18, 96, 19] Generated Node #0,2: 76:[18, 96, 19] Operation: 67-48=19 Exploring Operation: 96-67=29, Resulting Numbers: [18, 48, 29] Generated Node #0,3: 76:[18, 48, 29] Operation: 96-67=29 Exploring Operation: 96-48=48, Resulting Numbers: [18, 67, 48] Generated Node #0,4: 76:[18, 67, 48] Operation: 96-48=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[18, 67, 2], Operations: ['96/48=2'] Exploring Operation: 67-18=49, Resulting Numbers: [2, 49] Generated Node #0,0,0: 76:[2, 49] Operation: 67-18=49 Exploring Operation: 18+67=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 76:[2, 85] Operation: 18+67=85 Exploring Operation: 18*2=36, Resulting Numbers: [67, 36] Generated Node #0,0,2: 76:[67, 36] Operation: 18*2=36 Exploring Operation: 18+2=20, Resulting Numbers: [67, 20] Generated Node #0,0,3: 76:[67, 20] Operation: 18+2=20 Exploring Operation: 67+2=69, Resulting Numbers: [18, 69] Generated Node #0,0,4: 76:[18, 69] Operation: 67+2=69 Moving to Node #0,0,4 Current State: 76:[18, 69], Operations: ['96/48=2', '67+2=69'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 18*69=1242, Resulting Numbers: [1242] 1242,76 unequal: No Solution Exploring Operation: 18+69=87, Resulting Numbers: [87] 87,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[2, 85], Operations: ['96/48=2', '18+67=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,76 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[67, 20], Operations: ['96/48=2', '18+2=20'] Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,76 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[2, 49], Operations: ['96/48=2', '67-18=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[67, 36], Operations: ['96/48=2', '18*2=36'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,76 unequal: No Solution Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[18, 48, 29], Operations: ['96-67=29'] Exploring Operation: 18+48=66, Resulting Numbers: [29, 66] Generated Node #0,3,0: 76:[29, 66] Operation: 18+48=66 Exploring Operation: 48+29=77, Resulting Numbers: [18, 77] Generated Node #0,3,1: 76:[18, 77] Operation: 48+29=77 Exploring Operation: 29-18=11, Resulting Numbers: [48, 11] Generated Node #0,3,2: 76:[48, 11] Operation: 29-18=11 Exploring Operation: 48-29=19, Resulting Numbers: [18, 19] Generated Node #0,3,3: 76:[18, 19] Operation: 48-29=19 Exploring Operation: 48-18=30, Resulting Numbers: [29, 30] Generated Node #0,3,4: 76:[29, 30] Operation: 48-18=30 Moving to Node #0,3,3 Current State: 76:[18, 19], Operations: ['96-67=29', '48-29=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[18, 77], Operations: ['96-67=29', '48+29=77'] Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 18*77=1386, Resulting Numbers: [1386] 1386,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[48, 11], Operations: ['96-67=29', '29-18=11'] Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,76 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[29, 30], Operations: ['96-67=29', '48-18=30'] Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,76 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[29, 66], Operations: ['96-67=29', '18+48=66'] Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,76 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[18, 67, 48], Operations: ['96-48=48'] Exploring Operation: 67-18=49, Resulting Numbers: [48, 49] Generated Node #0,4,0: 76:[48, 49] Operation: 67-18=49 Exploring Operation: 18+48=66, Resulting Numbers: [67, 66] Generated Node #0,4,1: 76:[67, 66] Operation: 18+48=66 Exploring Operation: 67-48=19, Resulting Numbers: [18, 19] Generated Node #0,4,2: 76:[18, 19] Operation: 67-48=19 Exploring Operation: 18+67=85, Resulting Numbers: [48, 85] Generated Node #0,4,3: 76:[48, 85] Operation: 18+67=85 Exploring Operation: 48-18=30, Resulting Numbers: [67, 30] Generated Node #0,4,4: 76:[67, 30] Operation: 48-18=30 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 76:[18, 19], Operations: ['96-48=48', '67-48=19'] Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,76 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,76 unequal: No Solution No 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: 76:[67, 30], Operations: ['96-48=48', '48-18=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,76 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,76 unequal: No Solution No 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: 76:[67, 66], Operations: ['96-48=48', '18+48=66'] Exploring Operation: 67*66=4422, Resulting Numbers: [4422] 4422,76 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 67+66=133, Resulting Numbers: [133] 133,76 unequal: No Solution No 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: 76:[48, 85], Operations: ['96-48=48', '18+67=85'] Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,76 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,76 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,76 unequal: No Solution No 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: 76:[48, 49], Operations: ['96-48=48', '67-18=49'] Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,76 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,76 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: 76:[67, 48, 78], Operations: ['96-18=78'] Exploring Operation: 78-48=30, Resulting Numbers: [67, 30] Generated Node #0,1,0: 76:[67, 30] Operation: 78-48=30 Exploring Operation: 67-48=19, Resulting Numbers: [78, 19] Generated Node #0,1,1: 76:[78, 19] Operation: 67-48=19 Exploring Operation: 78-67=11, Resulting Numbers: [48, 11] Generated Node #0,1,2: 76:[48, 11] Operation: 78-67=11 Exploring Operation: 48+78=126, Resulting Numbers: [67, 126] Generated Node #0,1,3: 76:[67, 126] Operation: 48+78=126 Exploring Operation: 67+48=115, Resulting Numbers: [78, 115] Generated Node #0,1,4: 76:[78, 115] Operation: 67+48=115 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[78, 19], Operations: ['96-18=78', '67-48=19'] Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,76 unequal: No Solution Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 78*19=1482, Resulting Numbers: [1482] 1482,76 unequal: No Solution No 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: 76:[67, 30], Operations: ['96-18=78', '78-48=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,76 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,76 unequal: No Solution No 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: 76:[48, 11], Operations: ['96-18=78', '78-67=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,76 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 76:[78, 115], Operations: ['96-18=78', '67+48=115'] Exploring Operation: 115-78=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 78+115=193, Resulting Numbers: [193] 193,76 unequal: No Solution Exploring Operation: 78*115=8970, Resulting Numbers: [8970] 8970,76 unequal: No Solution No 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: 76:[67, 126], Operations: ['96-18=78', '48+78=126'] Exploring Operation: 67*126=8442, Resulting Numbers: [8442] 8442,76 unequal: No Solution Exploring Operation: 126-67=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 67+126=193, Resulting Numbers: [193] 193,76 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: 76:[18, 96, 19], Operations: ['67-48=19'] Exploring Operation: 19-18=1, Resulting Numbers: [96, 1] Generated Node #0,2,0: 76:[96, 1] Operation: 19-18=1 Exploring Operation: 96-18=78, Resulting Numbers: [19, 78] Generated Node #0,2,1: 76:[19, 78] Operation: 96-18=78 Exploring Operation: 18+19=37, Resulting Numbers: [96, 37] Generated Node #0,2,2: 76:[96, 37] Operation: 18+19=37 Exploring Operation: 96-19=77, Resulting Numbers: [18, 77] Generated Node #0,2,3: 76:[18, 77] Operation: 96-19=77 Exploring Operation: 18+96=114, Resulting Numbers: [19, 114] Generated Node #0,2,4: 76:[19, 114] Operation: 18+96=114 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[19, 78], Operations: ['67-48=19', '96-18=78'] Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,76 unequal: No Solution Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,76 unequal: No Solution Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,76 unequal: No Solution No 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: 76:[18, 77], Operations: ['67-48=19', '96-19=77'] Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 18*77=1386, Resulting Numbers: [1386] 1386,76 unequal: No Solution No 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: 76:[96, 1], Operations: ['67-48=19', '19-18=1'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,76 unequal: No Solution Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,76 unequal: No Solution No 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: 76:[96, 37], Operations: ['67-48=19', '18+19=37'] Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 96*37=3552, Resulting Numbers: [3552] 3552,76 unequal: No Solution Exploring Operation: 96+37=133, Resulting Numbers: [133] 133,76 unequal: No Solution No 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: 76:[19, 114], Operations: ['67-48=19', '18+96=114'] Exploring Operation: 114-19=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 114/19=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 19+114=133, Resulting Numbers: [133] 133,76 unequal: No Solution Exploring Operation: 19*114=2166, Resulting Numbers: [2166] 2166,76 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
[ 35, 91, 79, 15 ]
32
[ "35+91=126", "79+15=94", "126-94=32" ]
Current State: 32:[35, 91, 79, 15], Operations: [] Exploring Operation: 35+91=126, Resulting Numbers: [79, 15, 126] Generated Node #2: [79, 15, 126] from Operation: 35+91=126 Current State: 32:[79, 15, 126], Operations: ['35+91=126'] Exploring Operation: 79+15=94, Resulting Numbers: [126, 94] Generated Node #3: [126, 94] from Operation: 79+15=94 Current State: 32:[126, 94], Operations: ['35+91=126', '79+15=94'] Exploring Operation: 126-94=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[35, 91, 79, 15], Operations: [] Exploring Operation: 79-15=64, Resulting Numbers: [35, 91, 64] Generated Node #0,0: 32:[35, 91, 64] Operation: 79-15=64 Exploring Operation: 79-35=44, Resulting Numbers: [91, 15, 44] Generated Node #0,1: 32:[91, 15, 44] Operation: 79-35=44 Exploring Operation: 91-35=56, Resulting Numbers: [79, 15, 56] Generated Node #0,2: 32:[79, 15, 56] Operation: 91-35=56 Exploring Operation: 91-15=76, Resulting Numbers: [35, 79, 76] Generated Node #0,3: 32:[35, 79, 76] Operation: 91-15=76 Exploring Operation: 91-79=12, Resulting Numbers: [35, 15, 12] Generated Node #0,4: 32:[35, 15, 12] Operation: 91-79=12 Moving to Node #0,4 Current State: 32:[35, 15, 12], Operations: ['91-79=12'] Exploring Operation: 35+12=47, Resulting Numbers: [15, 47] Generated Node #0,4,0: 32:[15, 47] Operation: 35+12=47 Exploring Operation: 15+12=27, Resulting Numbers: [35, 27] Generated Node #0,4,1: 32:[35, 27] Operation: 15+12=27 Exploring Operation: 35-12=23, Resulting Numbers: [15, 23] Generated Node #0,4,2: 32:[15, 23] Operation: 35-12=23 Exploring Operation: 15-12=3, Resulting Numbers: [35, 3] Generated Node #0,4,3: 32:[35, 3] Operation: 15-12=3 Exploring Operation: 35-15=20, Resulting Numbers: [12, 20] Generated Node #0,4,4: 32:[12, 20] Operation: 35-15=20 Moving to Node #0,2 Current State: 32:[79, 15, 56], Operations: ['91-35=56'] Exploring Operation: 56-15=41, Resulting Numbers: [79, 41] Generated Node #0,2,0: 32:[79, 41] Operation: 56-15=41 Exploring Operation: 79-56=23, Resulting Numbers: [15, 23] Generated Node #0,2,1: 32:[15, 23] Operation: 79-56=23 Exploring Operation: 15+56=71, Resulting Numbers: [79, 71] Generated Node #0,2,2: 32:[79, 71] Operation: 15+56=71 Exploring Operation: 79+15=94, Resulting Numbers: [56, 94] Generated Node #0,2,3: 32:[56, 94] Operation: 79+15=94 Exploring Operation: 79-15=64, Resulting Numbers: [56, 64] Generated Node #0,2,4: 32:[56, 64] Operation: 79-15=64 Moving to Node #0,1 Current State: 32:[91, 15, 44], Operations: ['79-35=44'] Exploring Operation: 91+15=106, Resulting Numbers: [44, 106] Generated Node #0,1,0: 32:[44, 106] Operation: 91+15=106 Exploring Operation: 91-44=47, Resulting Numbers: [15, 47] Generated Node #0,1,1: 32:[15, 47] Operation: 91-44=47 Exploring Operation: 91-15=76, Resulting Numbers: [44, 76] Generated Node #0,1,2: 32:[44, 76] Operation: 91-15=76 Exploring Operation: 15+44=59, Resulting Numbers: [91, 59] Generated Node #0,1,3: 32:[91, 59] Operation: 15+44=59 Exploring Operation: 44-15=29, Resulting Numbers: [91, 29] Generated Node #0,1,4: 32:[91, 29] Operation: 44-15=29 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[15, 47], Operations: ['79-35=44', '91-44=47'] Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,32 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[35, 91, 79, 15], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [91, 15, 44] Generated Node #0,1: 32:[91, 15, 44] Operation: 79-35=44 Moving to Node #0,1 Current State: 32:[91, 15, 44], Operations: ['79-35=44'] Exploring Operation: 91-44=47, Resulting Numbers: [15, 47] Generated Node #0,1,1: 32:[15, 47] Operation: 91-44=47 Moving to Node #0,1,1 Current State: 32:[15, 47], Operations: ['79-35=44', '91-44=47'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 41, 56, 47, 25 ]
75
[ "41+56=97", "47-25=22", "97-22=75" ]
Current State: 75:[41, 56, 47, 25], Operations: [] Exploring Operation: 41+56=97, Resulting Numbers: [47, 25, 97] Generated Node #2: [47, 25, 97] from Operation: 41+56=97 Current State: 75:[47, 25, 97], Operations: ['41+56=97'] Exploring Operation: 47-25=22, Resulting Numbers: [97, 22] Generated Node #3: [97, 22] from Operation: 47-25=22 Current State: 75:[97, 22], Operations: ['41+56=97', '47-25=22'] Exploring Operation: 97-22=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[41, 56, 47, 25], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [47, 25, 15] Generated Node #0,0: 75:[47, 25, 15] Operation: 56-41=15 Exploring Operation: 56-47=9, Resulting Numbers: [41, 25, 9] Generated Node #0,1: 75:[41, 25, 9] Operation: 56-47=9 Exploring Operation: 47-41=6, Resulting Numbers: [56, 25, 6] Generated Node #0,2: 75:[56, 25, 6] Operation: 47-41=6 Exploring Operation: 41+47=88, Resulting Numbers: [56, 25, 88] Generated Node #0,3: 75:[56, 25, 88] Operation: 41+47=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[41, 25, 9], Operations: ['56-47=9'] Exploring Operation: 41-25=16, Resulting Numbers: [9, 16] Generated Node #0,1,0: 75:[9, 16] Operation: 41-25=16 Exploring Operation: 41-9=32, Resulting Numbers: [25, 32] Generated Node #0,1,1: 75:[25, 32] Operation: 41-9=32 Exploring Operation: 41+25=66, Resulting Numbers: [9, 66] Generated Node #0,1,2: 75:[9, 66] Operation: 41+25=66 Exploring Operation: 25-9=16, Resulting Numbers: [41, 16] Generated Node #0,1,3: 75:[41, 16] Operation: 25-9=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[9, 16], Operations: ['56-47=9', '41-25=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,75 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,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:[25, 32], Operations: ['56-47=9', '41-9=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[9, 66], Operations: ['56-47=9', '41+25=66'] Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,75 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[41, 56, 47, 25], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [41, 25, 9] Generated Node #0,1: 75:[41, 25, 9] Operation: 56-47=9 Moving to Node #0,1 Current State: 75:[41, 25, 9], Operations: ['56-47=9'] Exploring Operation: 41+25=66, Resulting Numbers: [9, 66] Generated Node #0,1,2: 75:[9, 66] Operation: 41+25=66 Moving to Node #0,1,2 Current State: 75:[9, 66], Operations: ['56-47=9', '41+25=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 11, 5, 37, 50 ]
54
[ "50-37=13", "5*13=65", "65-11=54" ]
Current State: 54:[11, 5, 37, 50], Operations: [] Exploring Operation: 50-37=13, Resulting Numbers: [11, 5, 13] Generated Node #2: [11, 5, 13] from Operation: 50-37=13 Current State: 54:[11, 5, 13], Operations: ['50-37=13'] Exploring Operation: 5*13=65, Resulting Numbers: [11, 65] Generated Node #3: [11, 65] from Operation: 5*13=65 Current State: 54:[11, 65], Operations: ['50-37=13', '5*13=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[11, 5, 37, 50], Operations: [] Exploring Operation: 37-11=26, Resulting Numbers: [5, 50, 26] Generated Node #0,0: 54:[5, 50, 26] Operation: 37-11=26 Exploring Operation: 50-37=13, Resulting Numbers: [11, 5, 13] Generated Node #0,1: 54:[11, 5, 13] Operation: 50-37=13 Exploring Operation: 11+37=48, Resulting Numbers: [5, 50, 48] Generated Node #0,2: 54:[5, 50, 48] Operation: 11+37=48 Exploring Operation: 37-5=32, Resulting Numbers: [11, 50, 32] Generated Node #0,3: 54:[11, 50, 32] Operation: 37-5=32 Moving to Node #0,0 Current State: 54:[5, 50, 26], Operations: ['37-11=26'] Exploring Operation: 50-26=24, Resulting Numbers: [5, 24] Generated Node #0,0,0: 54:[5, 24] Operation: 50-26=24 Exploring Operation: 5+50=55, Resulting Numbers: [26, 55] Generated Node #0,0,1: 54:[26, 55] Operation: 5+50=55 Exploring Operation: 26-5=21, Resulting Numbers: [50, 21] Generated Node #0,0,2: 54:[50, 21] Operation: 26-5=21 Exploring Operation: 50/5=10, Resulting Numbers: [26, 10] Generated Node #0,0,3: 54:[26, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[26, 55], Operations: ['37-11=26', '5+50=55'] Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,54 unequal: No Solution Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,54 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,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,3 Current State: 54:[26, 10], Operations: ['37-11=26', '50/5=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,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:[5, 24], Operations: ['37-11=26', '50-26=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,54 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,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,2 Current State: 54:[50, 21], Operations: ['37-11=26', '26-5=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,54 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,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:[11, 5, 13], Operations: ['50-37=13'] Exploring Operation: 13-11=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 54:[5, 2] Operation: 13-11=2 Exploring Operation: 5+13=18, Resulting Numbers: [11, 18] Generated Node #0,1,1: 54:[11, 18] Operation: 5+13=18 Exploring Operation: 13-5=8, Resulting Numbers: [11, 8] Generated Node #0,1,2: 54:[11, 8] Operation: 13-5=8 Exploring Operation: 11-5=6, Resulting Numbers: [13, 6] Generated Node #0,1,3: 54:[13, 6] Operation: 11-5=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[5, 2], Operations: ['50-37=13', '13-11=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,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,1 Current State: 54:[11, 18], Operations: ['50-37=13', '5+13=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,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:[11, 8], Operations: ['50-37=13', '13-5=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,54 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,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:[13, 6], Operations: ['50-37=13', '11-5=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,54 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: 54:[11, 50, 32], Operations: ['37-5=32'] Exploring Operation: 11+50=61, Resulting Numbers: [32, 61] Generated Node #0,3,0: 54:[32, 61] Operation: 11+50=61 Exploring Operation: 11+32=43, Resulting Numbers: [50, 43] Generated Node #0,3,1: 54:[50, 43] Operation: 11+32=43 Exploring Operation: 32-11=21, Resulting Numbers: [50, 21] Generated Node #0,3,2: 54:[50, 21] Operation: 32-11=21 Exploring Operation: 50-32=18, Resulting Numbers: [11, 18] Generated Node #0,3,3: 54:[11, 18] Operation: 50-32=18 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[11, 18], Operations: ['37-5=32', '50-32=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,54 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,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,3,2 Current State: 54:[50, 21], Operations: ['37-5=32', '32-11=21'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,54 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,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,3,0 Current State: 54:[32, 61], Operations: ['37-5=32', '11+50=61'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,54 unequal: No Solution Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,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,3,1 Current State: 54:[50, 43], Operations: ['37-5=32', '11+32=43'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,54 unequal: No Solution Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,54 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: 54:[5, 50, 48], Operations: ['11+37=48'] Exploring Operation: 50-48=2, Resulting Numbers: [5, 2] Generated Node #0,2,0: 54:[5, 2] Operation: 50-48=2 Exploring Operation: 50/5=10, Resulting Numbers: [48, 10] Generated Node #0,2,1: 54:[48, 10] Operation: 50/5=10 Exploring Operation: 5+50=55, Resulting Numbers: [48, 55] Generated Node #0,2,2: 54:[48, 55] Operation: 5+50=55 Exploring Operation: 5+48=53, Resulting Numbers: [50, 53] Generated Node #0,2,3: 54:[50, 53] Operation: 5+48=53 Moving to Node #0,2,0 Current State: 54:[5, 2], Operations: ['11+37=48', '50-48=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[50, 53], Operations: ['11+37=48', '5+48=53'] Exploring Operation: 50+53=103, Resulting Numbers: [103] 103,54 unequal: No Solution Exploring Operation: 50*53=2650, Resulting Numbers: [2650] 2650,54 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[48, 55], Operations: ['11+37=48', '5+50=55'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,54 unequal: No Solution Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[48, 10], Operations: ['11+37=48', '50/5=10'] Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,54 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,54 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 11, 92, 2, 90 ]
26
[ "11+92=103", "103-90=13", "2*13=26" ]
Current State: 26:[11, 92, 2, 90], Operations: [] Exploring Operation: 11+92=103, Resulting Numbers: [2, 90, 103] Generated Node #2: [2, 90, 103] from Operation: 11+92=103 Current State: 26:[2, 90, 103], Operations: ['11+92=103'] Exploring Operation: 103-90=13, Resulting Numbers: [2, 13] Generated Node #3: [2, 13] from Operation: 103-90=13 Current State: 26:[2, 13], Operations: ['11+92=103', '103-90=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[11, 92, 2, 90], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [11, 92, 45] Generated Node #0,0: 26:[11, 92, 45] Operation: 90/2=45 Exploring Operation: 90-11=79, Resulting Numbers: [92, 2, 79] Generated Node #0,1: 26:[92, 2, 79] Operation: 90-11=79 Exploring Operation: 92-11=81, Resulting Numbers: [2, 90, 81] Generated Node #0,2: 26:[2, 90, 81] Operation: 92-11=81 Exploring Operation: 92/2=46, Resulting Numbers: [11, 90, 46] Generated Node #0,3: 26:[11, 90, 46] Operation: 92/2=46 Exploring Operation: 92-90=2, Resulting Numbers: [11, 2, 2] Generated Node #0,4: 26:[11, 2, 2] Operation: 92-90=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 26:[11, 2, 2], Operations: ['92-90=2'] Exploring Operation: 2/2=1, Resulting Numbers: [11, 1] Generated Node #0,4,0: 26:[11, 1] Operation: 2/2=1 Exploring Operation: 11*2=22, Resulting Numbers: [2, 22] Generated Node #0,4,1: 26:[2, 22] Operation: 11*2=22 Exploring Operation: 11+2=13, Resulting Numbers: [2, 13] Generated Node #0,4,2: 26:[2, 13] Operation: 11+2=13 Exploring Operation: 11+2=13, Resulting Numbers: [2, 13] Generated Node #0,4,3: 26:[2, 13] Operation: 11+2=13 Exploring Operation: 11-2=9, Resulting Numbers: [2, 9] Generated Node #0,4,4: 26:[2, 9] Operation: 11-2=9 Moving to Node #0,4,2 Current State: 26:[2, 13], Operations: ['92-90=2', '11+2=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[11, 92, 2, 90], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [11, 2, 2] Generated Node #0,4: 26:[11, 2, 2] Operation: 92-90=2 Moving to Node #0,4 Current State: 26:[11, 2, 2], Operations: ['92-90=2'] Exploring Operation: 11+2=13, Resulting Numbers: [2, 13] Generated Node #0,4,2: 26:[2, 13] Operation: 11+2=13 Moving to Node #0,4,2 Current State: 26:[2, 13], Operations: ['92-90=2', '11+2=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 51, 74, 40, 70 ]
61
[ "74-70=4", "40/4=10", "51+10=61" ]
Current State: 61:[51, 74, 40, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [51, 40, 4] Generated Node #2: [51, 40, 4] from Operation: 74-70=4 Current State: 61:[51, 40, 4], Operations: ['74-70=4'] Exploring Operation: 40/4=10, Resulting Numbers: [51, 10] Generated Node #3: [51, 10] from Operation: 40/4=10 Current State: 61:[51, 10], Operations: ['74-70=4', '40/4=10'] Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[51, 74, 40, 70], Operations: [] Exploring Operation: 74-40=34, Resulting Numbers: [51, 70, 34] Generated Node #0,0: 61:[51, 70, 34] Operation: 74-40=34 Exploring Operation: 51+40=91, Resulting Numbers: [74, 70, 91] Generated Node #0,1: 61:[74, 70, 91] Operation: 51+40=91 Exploring Operation: 70-40=30, Resulting Numbers: [51, 74, 30] Generated Node #0,2: 61:[51, 74, 30] Operation: 70-40=30 Moving to Node #0,0 Current State: 61:[51, 70, 34], Operations: ['74-40=34'] Exploring Operation: 51-34=17, Resulting Numbers: [70, 17] Generated Node #0,0,0: 61:[70, 17] Operation: 51-34=17 Exploring Operation: 51+34=85, Resulting Numbers: [70, 85] Generated Node #0,0,1: 61:[70, 85] Operation: 51+34=85 Exploring Operation: 70-34=36, Resulting Numbers: [51, 36] Generated Node #0,0,2: 61:[51, 36] Operation: 70-34=36 Moving to Node #0,1 Current State: 61:[74, 70, 91], Operations: ['51+40=91'] Exploring Operation: 74-70=4, Resulting Numbers: [91, 4] Generated Node #0,1,0: 61:[91, 4] Operation: 74-70=4 Exploring Operation: 91-70=21, Resulting Numbers: [74, 21] Generated Node #0,1,1: 61:[74, 21] Operation: 91-70=21 Exploring Operation: 91-74=17, Resulting Numbers: [70, 17] Generated Node #0,1,2: 61:[70, 17] Operation: 91-74=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[74, 21], Operations: ['51+40=91', '91-70=21'] Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,61 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,61 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[70, 17], Operations: ['51+40=91', '91-74=17'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,61 unequal: No Solution Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 70*17=1190, Resulting Numbers: [1190] 1190,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[91, 4], Operations: ['51+40=91', '74-70=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,61 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: 61:[51, 74, 30], Operations: ['70-40=30'] Exploring Operation: 51-30=21, Resulting Numbers: [74, 21] Generated Node #0,2,0: 61:[74, 21] Operation: 51-30=21 Exploring Operation: 74-30=44, Resulting Numbers: [51, 44] Generated Node #0,2,1: 61:[51, 44] Operation: 74-30=44 Exploring Operation: 51+30=81, Resulting Numbers: [74, 81] Generated Node #0,2,2: 61:[74, 81] Operation: 51+30=81 Moving to Node #0,2,1 Current State: 61:[51, 44], Operations: ['70-40=30', '74-30=44'] Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,61 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[70, 85], Operations: ['74-40=34', '51+34=85'] Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,61 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[74, 81], Operations: ['70-40=30', '51+30=81'] Exploring Operation: 74*81=5994, Resulting Numbers: [5994] 5994,61 unequal: No Solution Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 74+81=155, Resulting Numbers: [155] 155,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[51, 36], Operations: ['74-40=34', '70-34=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,61 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[74, 21], Operations: ['70-40=30', '51-30=21'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,61 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[70, 17], Operations: ['74-40=34', '51-34=17'] Exploring Operation: 70*17=1190, Resulting Numbers: [1190] 1190,61 unequal: No Solution Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,61 unequal: No Solution Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,61 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 23, 21, 45, 69 ]
18
[ "69/23=3", "21*3=63", "63-45=18" ]
Current State: 18:[23, 21, 45, 69], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [21, 45, 3] Generated Node #2: [21, 45, 3] from Operation: 69/23=3 Current State: 18:[21, 45, 3], Operations: ['69/23=3'] Exploring Operation: 21*3=63, Resulting Numbers: [45, 63] Generated Node #3: [45, 63] from Operation: 21*3=63 Current State: 18:[45, 63], Operations: ['69/23=3', '21*3=63'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[23, 21, 45, 69], Operations: [] Exploring Operation: 45-21=24, Resulting Numbers: [23, 69, 24] Generated Node #0,0: 18:[23, 69, 24] Operation: 45-21=24 Exploring Operation: 69-23=46, Resulting Numbers: [21, 45, 46] Generated Node #0,1: 18:[21, 45, 46] Operation: 69-23=46 Exploring Operation: 45-23=22, Resulting Numbers: [21, 69, 22] Generated Node #0,2: 18:[21, 69, 22] Operation: 45-23=22 Exploring Operation: 69-45=24, Resulting Numbers: [23, 21, 24] Generated Node #0,3: 18:[23, 21, 24] Operation: 69-45=24 Exploring Operation: 69/23=3, Resulting Numbers: [21, 45, 3] Generated Node #0,4: 18:[21, 45, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[23, 21, 24], Operations: ['69-45=24'] Exploring Operation: 23-21=2, Resulting Numbers: [24, 2] Generated Node #0,3,0: 18:[24, 2] Operation: 23-21=2 Exploring Operation: 23+24=47, Resulting Numbers: [21, 47] Generated Node #0,3,1: 18:[21, 47] Operation: 23+24=47 Exploring Operation: 23+21=44, Resulting Numbers: [24, 44] Generated Node #0,3,2: 18:[24, 44] Operation: 23+21=44 Exploring Operation: 24-21=3, Resulting Numbers: [23, 3] Generated Node #0,3,3: 18:[23, 3] Operation: 24-21=3 Exploring Operation: 24-23=1, Resulting Numbers: [21, 1] Generated Node #0,3,4: 18:[21, 1] Operation: 24-23=1 Moving to Node #0,3,4 Current State: 18:[21, 1], Operations: ['69-45=24', '24-23=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[23, 3], Operations: ['69-45=24', '24-21=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[24, 2], Operations: ['69-45=24', '23-21=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[21, 47], Operations: ['69-45=24', '23+24=47'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[24, 44], Operations: ['69-45=24', '23+21=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,18 unequal: No Solution No 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: 18:[21, 45, 3], Operations: ['69/23=3'] Exploring Operation: 45-21=24, Resulting Numbers: [3, 24] Generated Node #0,4,0: 18:[3, 24] Operation: 45-21=24 Exploring Operation: 45/3=15, Resulting Numbers: [21, 15] Generated Node #0,4,1: 18:[21, 15] Operation: 45/3=15 Exploring Operation: 45-3=42, Resulting Numbers: [21, 42] Generated Node #0,4,2: 18:[21, 42] Operation: 45-3=42 Exploring Operation: 21/3=7, Resulting Numbers: [45, 7] Generated Node #0,4,3: 18:[45, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [45, 18] Generated Node #0,4,4: 18:[45, 18] Operation: 21-3=18 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 18:[3, 24], Operations: ['69/23=3', '45-21=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,18 unequal: No Solution No 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: 18:[21, 15], Operations: ['69/23=3', '45/3=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,18 unequal: No Solution No 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: 18:[21, 42], Operations: ['69/23=3', '45-3=42'] Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,18 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,18 unequal: No Solution No 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: 18:[45, 18], Operations: ['69/23=3', '21-3=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,18 unequal: No Solution No 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: 18:[45, 7], Operations: ['69/23=3', '21/3=7'] Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,18 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,18 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: 18:[21, 45, 46], Operations: ['69-23=46'] Exploring Operation: 21+45=66, Resulting Numbers: [46, 66] Generated Node #0,1,0: 18:[46, 66] Operation: 21+45=66 Exploring Operation: 45-21=24, Resulting Numbers: [46, 24] Generated Node #0,1,1: 18:[46, 24] Operation: 45-21=24 Exploring Operation: 21+46=67, Resulting Numbers: [45, 67] Generated Node #0,1,2: 18:[45, 67] Operation: 21+46=67 Exploring Operation: 46-45=1, Resulting Numbers: [21, 1] Generated Node #0,1,3: 18:[21, 1] Operation: 46-45=1 Exploring Operation: 46-21=25, Resulting Numbers: [45, 25] Generated Node #0,1,4: 18:[45, 25] Operation: 46-21=25 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 18:[21, 1], Operations: ['69-23=46', '46-45=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,18 unequal: No Solution No 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: 18:[46, 24], Operations: ['69-23=46', '45-21=24'] Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,18 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 18:[45, 25], Operations: ['69-23=46', '46-21=25'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,18 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,18 unequal: No Solution No 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: 18:[46, 66], Operations: ['69-23=46', '21+45=66'] Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,18 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,18 unequal: No Solution No 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: 18:[45, 67], Operations: ['69-23=46', '21+46=67'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 45*67=3015, Resulting Numbers: [3015] 3015,18 unequal: No Solution Exploring Operation: 45+67=112, Resulting Numbers: [112] 112,18 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: 18:[21, 69, 22], Operations: ['45-23=22'] Exploring Operation: 21+69=90, Resulting Numbers: [22, 90] Generated Node #0,2,0: 18:[22, 90] Operation: 21+69=90 Exploring Operation: 69-21=48, Resulting Numbers: [22, 48] Generated Node #0,2,1: 18:[22, 48] Operation: 69-21=48 Exploring Operation: 21+22=43, Resulting Numbers: [69, 43] Generated Node #0,2,2: 18:[69, 43] Operation: 21+22=43 Exploring Operation: 69-22=47, Resulting Numbers: [21, 47] Generated Node #0,2,3: 18:[21, 47] Operation: 69-22=47 Exploring Operation: 22-21=1, Resulting Numbers: [69, 1] Generated Node #0,2,4: 18:[69, 1] Operation: 22-21=1 Moving to Node #0,2,3 Current State: 18:[21, 47], Operations: ['45-23=22', '69-22=47'] Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,18 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[22, 48], Operations: ['45-23=22', '69-21=48'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 22*48=1056, Resulting Numbers: [1056] 1056,18 unequal: No Solution Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[69, 1], Operations: ['45-23=22', '22-21=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,18 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,18 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[22, 90], Operations: ['45-23=22', '21+69=90'] Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,18 unequal: No Solution Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[69, 43], Operations: ['45-23=22', '21+22=43'] Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,18 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,18 unequal: No Solution No 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: 18:[23, 69, 24], Operations: ['45-21=24'] Exploring Operation: 69/23=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 18:[24, 3] Operation: 69/23=3 Exploring Operation: 24-23=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 18:[69, 1] Operation: 24-23=1 Exploring Operation: 69-24=45, Resulting Numbers: [23, 45] Generated Node #0,0,2: 18:[23, 45] Operation: 69-24=45 Exploring Operation: 23+69=92, Resulting Numbers: [24, 92] Generated Node #0,0,3: 18:[24, 92] Operation: 23+69=92 Exploring Operation: 69-23=46, Resulting Numbers: [24, 46] Generated Node #0,0,4: 18:[24, 46] Operation: 69-23=46 Moving to Node #0,0,0 Current State: 18:[24, 3], Operations: ['45-21=24', '69/23=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[23, 45], Operations: ['45-21=24', '69-24=45'] Exploring Operation: 23*45=1035, Resulting Numbers: [1035] 1035,18 unequal: No Solution Exploring Operation: 23+45=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[24, 46], Operations: ['45-21=24', '69-23=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,18 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[69, 1], Operations: ['45-21=24', '24-23=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,18 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,18 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[24, 92], Operations: ['45-21=24', '23+69=92'] Exploring Operation: 24*92=2208, Resulting Numbers: [2208] 2208,18 unequal: No Solution Exploring Operation: 24+92=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,18 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
[ 97, 52, 16, 86 ]
47
[ "97+52=149", "16+86=102", "149-102=47" ]
Current State: 47:[97, 52, 16, 86], Operations: [] Exploring Operation: 97+52=149, Resulting Numbers: [16, 86, 149] Generated Node #2: [16, 86, 149] from Operation: 97+52=149 Current State: 47:[16, 86, 149], Operations: ['97+52=149'] Exploring Operation: 16+86=102, Resulting Numbers: [149, 102] Generated Node #3: [149, 102] from Operation: 16+86=102 Current State: 47:[149, 102], Operations: ['97+52=149', '16+86=102'] Exploring Operation: 149-102=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[97, 52, 16, 86], Operations: [] Exploring Operation: 97-52=45, Resulting Numbers: [16, 86, 45] Generated Node #0,0: 47:[16, 86, 45] Operation: 97-52=45 Exploring Operation: 97-16=81, Resulting Numbers: [52, 86, 81] Generated Node #0,1: 47:[52, 86, 81] Operation: 97-16=81 Exploring Operation: 86-16=70, Resulting Numbers: [97, 52, 70] Generated Node #0,2: 47:[97, 52, 70] Operation: 86-16=70 Exploring Operation: 97-86=11, Resulting Numbers: [52, 16, 11] Generated Node #0,3: 47:[52, 16, 11] Operation: 97-86=11 Moving to Node #0,0 Current State: 47:[16, 86, 45], Operations: ['97-52=45'] Exploring Operation: 16+45=61, Resulting Numbers: [86, 61] Generated Node #0,0,0: 47:[86, 61] Operation: 16+45=61 Exploring Operation: 86-45=41, Resulting Numbers: [16, 41] Generated Node #0,0,1: 47:[16, 41] Operation: 86-45=41 Exploring Operation: 16+86=102, Resulting Numbers: [45, 102] Generated Node #0,0,2: 47:[45, 102] Operation: 16+86=102 Exploring Operation: 86-16=70, Resulting Numbers: [45, 70] Generated Node #0,0,3: 47:[45, 70] Operation: 86-16=70 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[45, 70], Operations: ['97-52=45', '86-16=70'] Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,47 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[16, 41], Operations: ['97-52=45', '86-45=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,47 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[86, 61], Operations: ['97-52=45', '16+45=61'] Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 86*61=5246, Resulting Numbers: [5246] 5246,47 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[45, 102], Operations: ['97-52=45', '16+86=102'] Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 45*102=4590, Resulting Numbers: [4590] 4590,47 unequal: No Solution Exploring Operation: 45+102=147, Resulting Numbers: [147] 147,47 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: 47:[52, 16, 11], Operations: ['97-86=11'] Exploring Operation: 52-11=41, Resulting Numbers: [16, 41] Generated Node #0,3,0: 47:[16, 41] Operation: 52-11=41 Exploring Operation: 16+11=27, Resulting Numbers: [52, 27] Generated Node #0,3,1: 47:[52, 27] Operation: 16+11=27 Exploring Operation: 52+11=63, Resulting Numbers: [16, 63] Generated Node #0,3,2: 47:[16, 63] Operation: 52+11=63 Exploring Operation: 52-16=36, Resulting Numbers: [11, 36] Generated Node #0,3,3: 47:[11, 36] Operation: 52-16=36 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[52, 27], Operations: ['97-86=11', '16+11=27'] Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,47 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[16, 41], Operations: ['97-86=11', '52-11=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[16, 63], Operations: ['97-86=11', '52+11=63'] Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 16*63=1008, Resulting Numbers: [1008] 1008,47 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[97, 52, 16, 86], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [52, 16, 11] Generated Node #0,3: 47:[52, 16, 11] Operation: 97-86=11 Moving to Node #0,3 Current State: 47:[52, 16, 11], Operations: ['97-86=11'] Exploring Operation: 52+11=63, Resulting Numbers: [16, 63] Generated Node #0,3,2: 47:[16, 63] Operation: 52+11=63 Moving to Node #0,3,2 Current State: 47:[16, 63], Operations: ['97-86=11', '52+11=63'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 6, 62, 55, 75 ]
58
[ "75-55=20", "6*20=120", "120-62=58" ]
Current State: 58:[6, 62, 55, 75], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [6, 62, 20] Generated Node #2: [6, 62, 20] from Operation: 75-55=20 Current State: 58:[6, 62, 20], Operations: ['75-55=20'] Exploring Operation: 6*20=120, Resulting Numbers: [62, 120] Generated Node #3: [62, 120] from Operation: 6*20=120 Current State: 58:[62, 120], Operations: ['75-55=20', '6*20=120'] Exploring Operation: 120-62=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[6, 62, 55, 75], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [6, 62, 20] Generated Node #0,0: 58:[6, 62, 20] Operation: 75-55=20 Exploring Operation: 75-62=13, Resulting Numbers: [6, 55, 13] Generated Node #0,1: 58:[6, 55, 13] Operation: 75-62=13 Exploring Operation: 75-6=69, Resulting Numbers: [62, 55, 69] Generated Node #0,2: 58:[62, 55, 69] Operation: 75-6=69 Exploring Operation: 62-6=56, Resulting Numbers: [55, 75, 56] Generated Node #0,3: 58:[55, 75, 56] Operation: 62-6=56 Exploring Operation: 6+55=61, Resulting Numbers: [62, 75, 61] Generated Node #0,4: 58:[62, 75, 61] Operation: 6+55=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[6, 62, 20], Operations: ['75-55=20'] Exploring Operation: 20-6=14, Resulting Numbers: [62, 14] Generated Node #0,0,0: 58:[62, 14] Operation: 20-6=14 Exploring Operation: 6+62=68, Resulting Numbers: [20, 68] Generated Node #0,0,1: 58:[20, 68] Operation: 6+62=68 Exploring Operation: 62-6=56, Resulting Numbers: [20, 56] Generated Node #0,0,2: 58:[20, 56] Operation: 62-6=56 Exploring Operation: 62-20=42, Resulting Numbers: [6, 42] Generated Node #0,0,3: 58:[6, 42] Operation: 62-20=42 Exploring Operation: 6+20=26, Resulting Numbers: [62, 26] Generated Node #0,0,4: 58:[62, 26] Operation: 6+20=26 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 58:[62, 26], Operations: ['75-55=20', '6+20=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,58 unequal: No Solution No 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: 58:[20, 56], Operations: ['75-55=20', '62-6=56'] Exploring Operation: 20*56=1120, Resulting Numbers: [1120] 1120,58 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 20+56=76, Resulting Numbers: [76] 76,58 unequal: No Solution No 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: 58:[62, 14], Operations: ['75-55=20', '20-6=14'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,58 unequal: No Solution No 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: 58:[6, 42], Operations: ['75-55=20', '62-20=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,58 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,58 unequal: No Solution No 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: 58:[20, 68], Operations: ['75-55=20', '6+62=68'] Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,58 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,58 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: 58:[6, 55, 13], Operations: ['75-62=13'] Exploring Operation: 6+13=19, Resulting Numbers: [55, 19] Generated Node #0,1,0: 58:[55, 19] Operation: 6+13=19 Exploring Operation: 6+55=61, Resulting Numbers: [13, 61] Generated Node #0,1,1: 58:[13, 61] Operation: 6+55=61 Exploring Operation: 55+13=68, Resulting Numbers: [6, 68] Generated Node #0,1,2: 58:[6, 68] Operation: 55+13=68 Exploring Operation: 13-6=7, Resulting Numbers: [55, 7] Generated Node #0,1,3: 58:[55, 7] Operation: 13-6=7 Exploring Operation: 55-13=42, Resulting Numbers: [6, 42] Generated Node #0,1,4: 58:[6, 42] Operation: 55-13=42 Moving to Node #0,1,3 Current State: 58:[55, 7], Operations: ['75-62=13', '13-6=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,58 unequal: No Solution Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[55, 19], Operations: ['75-62=13', '6+13=19'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[13, 61], Operations: ['75-62=13', '6+55=61'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[6, 68], Operations: ['75-62=13', '55+13=68'] Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,58 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[6, 42], Operations: ['75-62=13', '55-13=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,58 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,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,2 Current State: 58:[62, 55, 69], Operations: ['75-6=69'] Exploring Operation: 62-55=7, Resulting Numbers: [69, 7] Generated Node #0,2,0: 58:[69, 7] Operation: 62-55=7 Exploring Operation: 69-55=14, Resulting Numbers: [62, 14] Generated Node #0,2,1: 58:[62, 14] Operation: 69-55=14 Exploring Operation: 69-62=7, Resulting Numbers: [55, 7] Generated Node #0,2,2: 58:[55, 7] Operation: 69-62=7 Exploring Operation: 55+69=124, Resulting Numbers: [62, 124] Generated Node #0,2,3: 58:[62, 124] Operation: 55+69=124 Exploring Operation: 62+55=117, Resulting Numbers: [69, 117] Generated Node #0,2,4: 58:[69, 117] Operation: 62+55=117 Moving to Node #0,2,2 Current State: 58:[55, 7], Operations: ['75-6=69', '69-62=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,58 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[62, 14], Operations: ['75-6=69', '69-55=14'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[69, 7], Operations: ['75-6=69', '62-55=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,58 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[62, 124], Operations: ['75-6=69', '55+69=124'] Exploring Operation: 62+124=186, Resulting Numbers: [186] 186,58 unequal: No Solution Exploring Operation: 62*124=7688, Resulting Numbers: [7688] 7688,58 unequal: No Solution Exploring Operation: 124/62=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 124-62=62, Resulting Numbers: [62] 62,58 unequal: No Solution Moving to Node #0,2,4 Current State: 58:[69, 117], Operations: ['75-6=69', '62+55=117'] Exploring Operation: 69+117=186, Resulting Numbers: [186] 186,58 unequal: No Solution Exploring Operation: 117-69=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 69*117=8073, Resulting Numbers: [8073] 8073,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,3 Current State: 58:[55, 75, 56], Operations: ['62-6=56'] Exploring Operation: 55+75=130, Resulting Numbers: [56, 130] Generated Node #0,3,0: 58:[56, 130] Operation: 55+75=130 Exploring Operation: 75-56=19, Resulting Numbers: [55, 19] Generated Node #0,3,1: 58:[55, 19] Operation: 75-56=19 Exploring Operation: 75-55=20, Resulting Numbers: [56, 20] Generated Node #0,3,2: 58:[56, 20] Operation: 75-55=20 Exploring Operation: 56-55=1, Resulting Numbers: [75, 1] Generated Node #0,3,3: 58:[75, 1] Operation: 56-55=1 Exploring Operation: 55+56=111, Resulting Numbers: [75, 111] Generated Node #0,3,4: 58:[75, 111] Operation: 55+56=111 Moving to Node #0,3,2 Current State: 58:[56, 20], Operations: ['62-6=56', '75-55=20'] Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,58 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[55, 19], Operations: ['62-6=56', '75-56=19'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[75, 1], Operations: ['62-6=56', '56-55=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,58 unequal: No Solution Moving to Node #0,3,4 Current State: 58:[75, 111], Operations: ['62-6=56', '55+56=111'] Exploring Operation: 111-75=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 75+111=186, Resulting Numbers: [186] 186,58 unequal: No Solution Exploring Operation: 75*111=8325, Resulting Numbers: [8325] 8325,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[56, 130], Operations: ['62-6=56', '55+75=130'] Exploring Operation: 56+130=186, Resulting Numbers: [186] 186,58 unequal: No Solution Exploring Operation: 130-56=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 56*130=7280, Resulting Numbers: [7280] 7280,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,4 Current State: 58:[62, 75, 61], Operations: ['6+55=61'] Exploring Operation: 62-61=1, Resulting Numbers: [75, 1] Generated Node #0,4,0: 58:[75, 1] Operation: 62-61=1 Exploring Operation: 62+61=123, Resulting Numbers: [75, 123] Generated Node #0,4,1: 58:[75, 123] Operation: 62+61=123 Exploring Operation: 75-61=14, Resulting Numbers: [62, 14] Generated Node #0,4,2: 58:[62, 14] Operation: 75-61=14 Exploring Operation: 75-62=13, Resulting Numbers: [61, 13] Generated Node #0,4,3: 58:[61, 13] Operation: 75-62=13 Exploring Operation: 62+75=137, Resulting Numbers: [61, 137] Generated Node #0,4,4: 58:[61, 137] Operation: 62+75=137 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 58:[61, 13], Operations: ['6+55=61', '75-62=13'] Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,58 unequal: No Solution Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,58 unequal: No Solution No 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: 58:[62, 14], Operations: ['6+55=61', '75-61=14'] Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,58 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,58 unequal: No Solution No 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: 58:[75, 1], Operations: ['6+55=61', '62-61=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,58 unequal: No Solution No 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: 58:[75, 123], Operations: ['6+55=61', '62+61=123'] Exploring Operation: 75*123=9225, Resulting Numbers: [9225] 9225,58 unequal: No Solution Exploring Operation: 75+123=198, Resulting Numbers: [198] 198,58 unequal: No Solution Exploring Operation: 123-75=48, Resulting Numbers: [48] 48,58 unequal: No Solution No 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: 58:[61, 137], Operations: ['6+55=61', '62+75=137'] Exploring Operation: 137-61=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 61+137=198, Resulting Numbers: [198] 198,58 unequal: No Solution Exploring Operation: 61*137=8357, Resulting Numbers: [8357] 8357,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 20, 52, 86, 69 ]
10
[ "20*69=1380", "52+86=138", "1380/138=10" ]
Current State: 10:[20, 52, 86, 69], Operations: [] Exploring Operation: 20*69=1380, Resulting Numbers: [52, 86, 1380] Generated Node #2: [52, 86, 1380] from Operation: 20*69=1380 Current State: 10:[52, 86, 1380], Operations: ['20*69=1380'] Exploring Operation: 52+86=138, Resulting Numbers: [1380, 138] Generated Node #3: [1380, 138] from Operation: 52+86=138 Current State: 10:[1380, 138], Operations: ['20*69=1380', '52+86=138'] Exploring Operation: 1380/138=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[20, 52, 86, 69], Operations: [] Exploring Operation: 52-20=32, Resulting Numbers: [86, 69, 32] Generated Node #0,0: 10:[86, 69, 32] Operation: 52-20=32 Exploring Operation: 69-52=17, Resulting Numbers: [20, 86, 17] Generated Node #0,1: 10:[20, 86, 17] Operation: 69-52=17 Exploring Operation: 86-69=17, Resulting Numbers: [20, 52, 17] Generated Node #0,2: 10:[20, 52, 17] Operation: 86-69=17 Exploring Operation: 86-52=34, Resulting Numbers: [20, 69, 34] Generated Node #0,3: 10:[20, 69, 34] Operation: 86-52=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[20, 52, 17], Operations: ['86-69=17'] Exploring Operation: 20+52=72, Resulting Numbers: [17, 72] Generated Node #0,2,0: 10:[17, 72] Operation: 20+52=72 Exploring Operation: 20-17=3, Resulting Numbers: [52, 3] Generated Node #0,2,1: 10:[52, 3] Operation: 20-17=3 Exploring Operation: 52-20=32, Resulting Numbers: [17, 32] Generated Node #0,2,2: 10:[17, 32] Operation: 52-20=32 Exploring Operation: 52-17=35, Resulting Numbers: [20, 35] Generated Node #0,2,3: 10:[20, 35] Operation: 52-17=35 Moving to Node #0,2,2 Current State: 10:[17, 32], Operations: ['86-69=17', '52-20=32'] Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,10 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[20, 35], Operations: ['86-69=17', '52-17=35'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[52, 3], Operations: ['86-69=17', '20-17=3'] Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,10 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[17, 72], Operations: ['86-69=17', '20+52=72'] Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,10 unequal: No Solution Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[20, 86, 17], Operations: ['69-52=17'] Exploring Operation: 86-20=66, Resulting Numbers: [17, 66] Generated Node #0,1,0: 10:[17, 66] Operation: 86-20=66 Exploring Operation: 20+86=106, Resulting Numbers: [17, 106] Generated Node #0,1,1: 10:[17, 106] Operation: 20+86=106 Exploring Operation: 86-17=69, Resulting Numbers: [20, 69] Generated Node #0,1,2: 10:[20, 69] Operation: 86-17=69 Exploring Operation: 20-17=3, Resulting Numbers: [86, 3] Generated Node #0,1,3: 10:[86, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[17, 66], Operations: ['69-52=17', '86-20=66'] Exploring Operation: 17*66=1122, Resulting Numbers: [1122] 1122,10 unequal: No Solution Exploring Operation: 17+66=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[20, 69], Operations: ['69-52=17', '86-17=69'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 10:[86, 3], Operations: ['69-52=17', '20-17=3'] Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,10 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[17, 106], Operations: ['69-52=17', '20+86=106'] Exploring Operation: 17*106=1802, Resulting Numbers: [1802] 1802,10 unequal: No Solution Exploring Operation: 17+106=123, Resulting Numbers: [123] 123,10 unequal: No Solution Exploring Operation: 106-17=89, Resulting Numbers: [89] 89,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[20, 69, 34], Operations: ['86-52=34'] Exploring Operation: 20+69=89, Resulting Numbers: [34, 89] Generated Node #0,3,0: 10:[34, 89] Operation: 20+69=89 Exploring Operation: 69-34=35, Resulting Numbers: [20, 35] Generated Node #0,3,1: 10:[20, 35] Operation: 69-34=35 Exploring Operation: 69-20=49, Resulting Numbers: [34, 49] Generated Node #0,3,2: 10:[34, 49] Operation: 69-20=49 Exploring Operation: 34-20=14, Resulting Numbers: [69, 14] Generated Node #0,3,3: 10:[69, 14] Operation: 34-20=14 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[20, 35], Operations: ['86-52=34', '69-34=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,10 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[34, 49], Operations: ['86-52=34', '69-20=49'] Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[69, 14], Operations: ['86-52=34', '34-20=14'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 69*14=966, Resulting Numbers: [966] 966,10 unequal: No Solution Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[34, 89], Operations: ['86-52=34', '20+69=89'] Exploring Operation: 34+89=123, Resulting Numbers: [123] 123,10 unequal: No Solution Exploring Operation: 34*89=3026, Resulting Numbers: [3026] 3026,10 unequal: No Solution Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[86, 69, 32], Operations: ['52-20=32'] Exploring Operation: 69-32=37, Resulting Numbers: [86, 37] Generated Node #0,0,0: 10:[86, 37] Operation: 69-32=37 Exploring Operation: 86-32=54, Resulting Numbers: [69, 54] Generated Node #0,0,1: 10:[69, 54] Operation: 86-32=54 Exploring Operation: 86-69=17, Resulting Numbers: [32, 17] Generated Node #0,0,2: 10:[32, 17] Operation: 86-69=17 Exploring Operation: 86+69=155, Resulting Numbers: [32, 155] Generated Node #0,0,3: 10:[32, 155] Operation: 86+69=155 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[32, 17], Operations: ['52-20=32', '86-69=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,10 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[86, 37], Operations: ['52-20=32', '69-32=37'] Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,10 unequal: No Solution Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[69, 54], Operations: ['52-20=32', '86-32=54'] Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,10 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[32, 155], Operations: ['52-20=32', '86+69=155'] Exploring Operation: 155-32=123, Resulting Numbers: [123] 123,10 unequal: No Solution Exploring Operation: 32*155=4960, Resulting Numbers: [4960] 4960,10 unequal: No Solution Exploring Operation: 32+155=187, Resulting Numbers: [187] 187,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 19, 9, 58, 12 ]
18
[ "19+9=28", "58-12=46", "46-28=18" ]
Current State: 18:[19, 9, 58, 12], Operations: [] Exploring Operation: 19+9=28, Resulting Numbers: [58, 12, 28] Generated Node #2: [58, 12, 28] from Operation: 19+9=28 Current State: 18:[58, 12, 28], Operations: ['19+9=28'] Exploring Operation: 58-12=46, Resulting Numbers: [28, 46] Generated Node #3: [28, 46] from Operation: 58-12=46 Current State: 18:[28, 46], Operations: ['19+9=28', '58-12=46'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[19, 9, 58, 12], Operations: [] Exploring Operation: 58-19=39, Resulting Numbers: [9, 12, 39] Generated Node #0,0: 18:[9, 12, 39] Operation: 58-19=39 Moving to Node #0,0 Current State: 18:[9, 12, 39], Operations: ['58-19=39'] Exploring Operation: 39-12=27, Resulting Numbers: [9, 27] Generated Node #0,0,0: 18:[9, 27] Operation: 39-12=27 Moving to Node #0,0,0 Current State: 18:[9, 27], Operations: ['58-19=39', '39-12=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[19, 9, 58, 12], Operations: [] Exploring Operation: 58-19=39, Resulting Numbers: [9, 12, 39] Generated Node #0,0: 18:[9, 12, 39] Operation: 58-19=39 Moving to Node #0,0 Current State: 18:[9, 12, 39], Operations: ['58-19=39'] Exploring Operation: 39-12=27, Resulting Numbers: [9, 27] Generated Node #0,0,0: 18:[9, 27] Operation: 39-12=27 Moving to Node #0,0,0 Current State: 18:[9, 27], Operations: ['58-19=39', '39-12=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 3, 28, 57, 25 ]
58
[ "28-3=25", "25/25=1", "57+1=58" ]
Current State: 58:[3, 28, 57, 25], Operations: [] Exploring Operation: 28-3=25, Resulting Numbers: [57, 25, 25] Generated Node #2: [57, 25, 25] from Operation: 28-3=25 Current State: 58:[57, 25, 25], Operations: ['28-3=25'] Exploring Operation: 25/25=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 25/25=1 Current State: 58:[57, 1], Operations: ['28-3=25', '25/25=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[3, 28, 57, 25], Operations: [] Exploring Operation: 3+25=28, Resulting Numbers: [28, 57, 28] Generated Node #0,0: 58:[28, 57, 28] Operation: 3+25=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[28, 57, 28], Operations: ['3+25=28'] Exploring Operation: 57-28=29, Resulting Numbers: [28, 29] Generated Node #0,0,0: 58:[28, 29] Operation: 57-28=29 Moving to Node #0,0,0 Current State: 58:[28, 29], Operations: ['3+25=28', '57-28=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 36, 65, 26, 40 ]
43
[ "65-36=29", "40-26=14", "29+14=43" ]
Current State: 43:[36, 65, 26, 40], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [26, 40, 29] Generated Node #2: [26, 40, 29] from Operation: 65-36=29 Current State: 43:[26, 40, 29], Operations: ['65-36=29'] Exploring Operation: 40-26=14, Resulting Numbers: [29, 14] Generated Node #3: [29, 14] from Operation: 40-26=14 Current State: 43:[29, 14], Operations: ['65-36=29', '40-26=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[36, 65, 26, 40], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [36, 40, 39] Generated Node #0,0: 43:[36, 40, 39] Operation: 65-26=39 Exploring Operation: 65-36=29, Resulting Numbers: [26, 40, 29] Generated Node #0,1: 43:[26, 40, 29] Operation: 65-36=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[36, 40, 39], Operations: ['65-26=39'] Exploring Operation: 36+40=76, Resulting Numbers: [39, 76] Generated Node #0,0,0: 43:[39, 76] Operation: 36+40=76 Exploring Operation: 36+39=75, Resulting Numbers: [40, 75] Generated Node #0,0,1: 43:[40, 75] Operation: 36+39=75 Moving to Node #0,0,1 Current State: 43:[40, 75], Operations: ['65-26=39', '36+39=75'] Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[39, 76], Operations: ['65-26=39', '36+40=76'] Exploring Operation: 39+76=115, Resulting Numbers: [115] 115,43 unequal: No Solution Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[26, 40, 29], Operations: ['65-36=29'] Exploring Operation: 26+40=66, Resulting Numbers: [29, 66] Generated Node #0,1,0: 43:[29, 66] Operation: 26+40=66 Exploring Operation: 26+29=55, Resulting Numbers: [40, 55] Generated Node #0,1,1: 43:[40, 55] Operation: 26+29=55 Moving to Node #0,1,1 Current State: 43:[40, 55], Operations: ['65-36=29', '26+29=55'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[29, 66], Operations: ['65-36=29', '26+40=66'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,43 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
[ 90, 2, 17, 1 ]
63
[ "90/2=45", "17+1=18", "45+18=63" ]
Current State: 63:[90, 2, 17, 1], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [17, 1, 45] Generated Node #2: [17, 1, 45] from Operation: 90/2=45 Current State: 63:[17, 1, 45], Operations: ['90/2=45'] Exploring Operation: 17+1=18, Resulting Numbers: [45, 18] Generated Node #3: [45, 18] from Operation: 17+1=18 Current State: 63:[45, 18], Operations: ['90/2=45', '17+1=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[90, 2, 17, 1], Operations: [] Exploring Operation: 90-17=73, Resulting Numbers: [2, 1, 73] Generated Node #0,0: 63:[2, 1, 73] Operation: 90-17=73 Exploring Operation: 90/2=45, Resulting Numbers: [17, 1, 45] Generated Node #0,1: 63:[17, 1, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[2, 1, 73], Operations: ['90-17=73'] Exploring Operation: 73-2=71, Resulting Numbers: [1, 71] Generated Node #0,0,0: 63:[1, 71] Operation: 73-2=71 Exploring Operation: 2+1=3, Resulting Numbers: [73, 3] Generated Node #0,0,1: 63:[73, 3] Operation: 2+1=3 Moving to Node #0,0,0 Current State: 63:[1, 71], Operations: ['90-17=73', '73-2=71'] Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[73, 3], Operations: ['90-17=73', '2+1=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[17, 1, 45], Operations: ['90/2=45'] Exploring Operation: 45-17=28, Resulting Numbers: [1, 28] Generated Node #0,1,0: 63:[1, 28] Operation: 45-17=28 Exploring Operation: 17+45=62, Resulting Numbers: [1, 62] Generated Node #0,1,1: 63:[1, 62] Operation: 17+45=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[1, 62], Operations: ['90/2=45', '17+45=62'] Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[90, 2, 17, 1], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [17, 1, 45] Generated Node #0,1: 63:[17, 1, 45] Operation: 90/2=45 Moving to Node #0,1 Current State: 63:[17, 1, 45], Operations: ['90/2=45'] Exploring Operation: 17+45=62, Resulting Numbers: [1, 62] Generated Node #0,1,1: 63:[1, 62] Operation: 17+45=62 Moving to Node #0,1,1 Current State: 63:[1, 62], Operations: ['90/2=45', '17+45=62'] Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 27, 2, 13, 66 ]
52
[ "27+13=40", "66-40=26", "2*26=52" ]
Current State: 52:[27, 2, 13, 66], Operations: [] Exploring Operation: 27+13=40, Resulting Numbers: [2, 66, 40] Generated Node #2: [2, 66, 40] from Operation: 27+13=40 Current State: 52:[2, 66, 40], Operations: ['27+13=40'] Exploring Operation: 66-40=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 66-40=26 Current State: 52:[2, 26], Operations: ['27+13=40', '66-40=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[27, 2, 13, 66], Operations: [] Exploring Operation: 66-13=53, Resulting Numbers: [27, 2, 53] Generated Node #0,0: 52:[27, 2, 53] Operation: 66-13=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[27, 2, 53], Operations: ['66-13=53'] Exploring Operation: 53-27=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 52:[2, 26] Operation: 53-27=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[2, 26], Operations: ['66-13=53', '53-27=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[27, 2, 13, 66], Operations: [] Exploring Operation: 66-13=53, Resulting Numbers: [27, 2, 53] Generated Node #0,0: 52:[27, 2, 53] Operation: 66-13=53 Moving to Node #0,0 Current State: 52:[27, 2, 53], Operations: ['66-13=53'] Exploring Operation: 53-27=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 52:[2, 26] Operation: 53-27=26 Moving to Node #0,0,0 Current State: 52:[2, 26], Operations: ['66-13=53', '53-27=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 37, 6, 54 ]
39
[ "54-51=3", "6/3=2", "37+2=39" ]
Current State: 39:[51, 37, 6, 54], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [37, 6, 3] Generated Node #2: [37, 6, 3] from Operation: 54-51=3 Current State: 39:[37, 6, 3], Operations: ['54-51=3'] Exploring Operation: 6/3=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 6/3=2 Current State: 39:[37, 2], Operations: ['54-51=3', '6/3=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[51, 37, 6, 54], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [37, 6, 3] Generated Node #0,0: 39:[37, 6, 3] Operation: 54-51=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[37, 6, 3], Operations: ['54-51=3'] Exploring Operation: 6-3=3, Resulting Numbers: [37, 3] Generated Node #0,0,0: 39:[37, 3] Operation: 6-3=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[37, 3], Operations: ['54-51=3', '6-3=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,39 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
[ 45, 37, 75, 34 ]
41
[ "45+37=82", "75-34=41", "82-41=41" ]
Current State: 41:[45, 37, 75, 34], Operations: [] Exploring Operation: 45+37=82, Resulting Numbers: [75, 34, 82] Generated Node #2: [75, 34, 82] from Operation: 45+37=82 Current State: 41:[75, 34, 82], Operations: ['45+37=82'] Exploring Operation: 75-34=41, Resulting Numbers: [82, 41] Generated Node #3: [82, 41] from Operation: 75-34=41 Current State: 41:[82, 41], Operations: ['45+37=82', '75-34=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[45, 37, 75, 34], Operations: [] Exploring Operation: 45-34=11, Resulting Numbers: [37, 75, 11] Generated Node #0,0: 41:[37, 75, 11] Operation: 45-34=11 Exploring Operation: 75-37=38, Resulting Numbers: [45, 34, 38] Generated Node #0,1: 41:[45, 34, 38] Operation: 75-37=38 Exploring Operation: 75-34=41, Resulting Numbers: [45, 37, 41] Generated Node #0,2: 41:[45, 37, 41] Operation: 75-34=41 Exploring Operation: 75-45=30, Resulting Numbers: [37, 34, 30] Generated Node #0,3: 41:[37, 34, 30] Operation: 75-45=30 Moving to Node #0,2 Current State: 41:[45, 37, 41], Operations: ['75-34=41'] Exploring Operation: 37+41=78, Resulting Numbers: [45, 78] Generated Node #0,2,0: 41:[45, 78] Operation: 37+41=78 Exploring Operation: 45-41=4, Resulting Numbers: [37, 4] Generated Node #0,2,1: 41:[37, 4] Operation: 45-41=4 Exploring Operation: 45+37=82, Resulting Numbers: [41, 82] Generated Node #0,2,2: 41:[41, 82] Operation: 45+37=82 Exploring Operation: 45-37=8, Resulting Numbers: [41, 8] Generated Node #0,2,3: 41:[41, 8] Operation: 45-37=8 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[41, 8], Operations: ['75-34=41', '45-37=8'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[45, 78], Operations: ['75-34=41', '37+41=78'] Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,41 unequal: No Solution Exploring Operation: 45*78=3510, Resulting Numbers: [3510] 3510,41 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[37, 4], Operations: ['75-34=41', '45-41=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[45, 37, 75, 34], Operations: [] Exploring Operation: 75-34=41, Resulting Numbers: [45, 37, 41] Generated Node #0,2: 41:[45, 37, 41] Operation: 75-34=41 Moving to Node #0,2 Current State: 41:[45, 37, 41], Operations: ['75-34=41'] Exploring Operation: 45-41=4, Resulting Numbers: [37, 4] Generated Node #0,2,1: 41:[37, 4] Operation: 45-41=4 Moving to Node #0,2,1 Current State: 41:[37, 4], Operations: ['75-34=41', '45-41=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 75, 18, 19, 80 ]
71
[ "80-75=5", "18*5=90", "90-19=71" ]
Current State: 71:[75, 18, 19, 80], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [18, 19, 5] Generated Node #2: [18, 19, 5] from Operation: 80-75=5 Current State: 71:[18, 19, 5], Operations: ['80-75=5'] Exploring Operation: 18*5=90, Resulting Numbers: [19, 90] Generated Node #3: [19, 90] from Operation: 18*5=90 Current State: 71:[19, 90], Operations: ['80-75=5', '18*5=90'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[75, 18, 19, 80], Operations: [] Exploring Operation: 80-18=62, Resulting Numbers: [75, 19, 62] Generated Node #0,0: 71:[75, 19, 62] Operation: 80-18=62 Exploring Operation: 18+19=37, Resulting Numbers: [75, 80, 37] Generated Node #0,1: 71:[75, 80, 37] Operation: 18+19=37 Exploring Operation: 80-19=61, Resulting Numbers: [75, 18, 61] Generated Node #0,2: 71:[75, 18, 61] Operation: 80-19=61 Exploring Operation: 75-18=57, Resulting Numbers: [19, 80, 57] Generated Node #0,3: 71:[19, 80, 57] Operation: 75-18=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[75, 80, 37], Operations: ['18+19=37'] Exploring Operation: 75+37=112, Resulting Numbers: [80, 112] Generated Node #0,1,0: 71:[80, 112] Operation: 75+37=112 Exploring Operation: 80+37=117, Resulting Numbers: [75, 117] Generated Node #0,1,1: 71:[75, 117] Operation: 80+37=117 Exploring Operation: 75-37=38, Resulting Numbers: [80, 38] Generated Node #0,1,2: 71:[80, 38] Operation: 75-37=38 Exploring Operation: 80-37=43, Resulting Numbers: [75, 43] Generated Node #0,1,3: 71:[75, 43] Operation: 80-37=43 Moving to Node #0,1,3 Current State: 71:[75, 43], Operations: ['18+19=37', '80-37=43'] Exploring Operation: 75*43=3225, Resulting Numbers: [3225] 3225,71 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[80, 38], Operations: ['18+19=37', '75-37=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[75, 117], Operations: ['18+19=37', '80+37=117'] Exploring Operation: 75+117=192, Resulting Numbers: [192] 192,71 unequal: No Solution Exploring Operation: 117-75=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 75*117=8775, Resulting Numbers: [8775] 8775,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[80, 112], Operations: ['18+19=37', '75+37=112'] Exploring Operation: 112-80=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 80+112=192, Resulting Numbers: [192] 192,71 unequal: No Solution Exploring Operation: 80*112=8960, Resulting Numbers: [8960] 8960,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 Current State: 71:[75, 19, 62], Operations: ['80-18=62'] Exploring Operation: 75-19=56, Resulting Numbers: [62, 56] Generated Node #0,0,0: 71:[62, 56] Operation: 75-19=56 Exploring Operation: 19+62=81, Resulting Numbers: [75, 81] Generated Node #0,0,1: 71:[75, 81] Operation: 19+62=81 Exploring Operation: 75+19=94, Resulting Numbers: [62, 94] Generated Node #0,0,2: 71:[62, 94] Operation: 75+19=94 Exploring Operation: 62-19=43, Resulting Numbers: [75, 43] Generated Node #0,0,3: 71:[75, 43] Operation: 62-19=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[75, 81], Operations: ['80-18=62', '19+62=81'] Exploring Operation: 75+81=156, Resulting Numbers: [156] 156,71 unequal: No Solution Exploring Operation: 75*81=6075, Resulting Numbers: [6075] 6075,71 unequal: No Solution Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,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,0,0 Current State: 71:[62, 56], Operations: ['80-18=62', '75-19=56'] Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,71 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,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,0,2 Current State: 71:[62, 94], Operations: ['80-18=62', '75+19=94'] Exploring Operation: 62*94=5828, Resulting Numbers: [5828] 5828,71 unequal: No Solution Exploring Operation: 62+94=156, Resulting Numbers: [156] 156,71 unequal: No Solution Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,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,0,3 Current State: 71:[75, 43], Operations: ['80-18=62', '62-19=43'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 75*43=3225, Resulting Numbers: [3225] 3225,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,2 Current State: 71:[75, 18, 61], Operations: ['80-19=61'] Exploring Operation: 61-18=43, Resulting Numbers: [75, 43] Generated Node #0,2,0: 71:[75, 43] Operation: 61-18=43 Exploring Operation: 18+61=79, Resulting Numbers: [75, 79] Generated Node #0,2,1: 71:[75, 79] Operation: 18+61=79 Exploring Operation: 75+18=93, Resulting Numbers: [61, 93] Generated Node #0,2,2: 71:[61, 93] Operation: 75+18=93 Exploring Operation: 75-18=57, Resulting Numbers: [61, 57] Generated Node #0,2,3: 71:[61, 57] Operation: 75-18=57 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[75, 79], Operations: ['80-19=61', '18+61=79'] Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,71 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,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:[61, 57], Operations: ['80-19=61', '75-18=57'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,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:[75, 43], Operations: ['80-19=61', '61-18=43'] Exploring Operation: 75*43=3225, Resulting Numbers: [3225] 3225,71 unequal: No Solution Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,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,2 Current State: 71:[61, 93], Operations: ['80-19=61', '75+18=93'] Exploring Operation: 61*93=5673, Resulting Numbers: [5673] 5673,71 unequal: No Solution Exploring Operation: 61+93=154, Resulting Numbers: [154] 154,71 unequal: No Solution Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,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:[19, 80, 57], Operations: ['75-18=57'] Exploring Operation: 57-19=38, Resulting Numbers: [80, 38] Generated Node #0,3,0: 71:[80, 38] Operation: 57-19=38 Exploring Operation: 19+80=99, Resulting Numbers: [57, 99] Generated Node #0,3,1: 71:[57, 99] Operation: 19+80=99 Exploring Operation: 19+57=76, Resulting Numbers: [80, 76] Generated Node #0,3,2: 71:[80, 76] Operation: 19+57=76 Exploring Operation: 80-19=61, Resulting Numbers: [57, 61] Generated Node #0,3,3: 71:[57, 61] Operation: 80-19=61 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 71:[80, 76], Operations: ['75-18=57', '19+57=76'] Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 80+76=156, Resulting Numbers: [156] 156,71 unequal: No Solution Exploring Operation: 80*76=6080, Resulting Numbers: [6080] 6080,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:[57, 61], Operations: ['75-18=57', '80-19=61'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,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:[80, 38], Operations: ['75-18=57', '57-19=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,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,1 Current State: 71:[57, 99], Operations: ['75-18=57', '19+80=99'] Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,71 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,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 No solution found.
0
hs_4
mult_heuristic
[ 71, 64, 36, 43 ]
14
[ "71-64=7", "43-36=7", "7+7=14" ]
Current State: 14:[71, 64, 36, 43], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [36, 43, 7] Generated Node #2: [36, 43, 7] from Operation: 71-64=7 Current State: 14:[36, 43, 7], Operations: ['71-64=7'] Exploring Operation: 43-36=7, Resulting Numbers: [7, 7] Generated Node #3: [7, 7] from Operation: 43-36=7 Current State: 14:[7, 7], Operations: ['71-64=7', '43-36=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[71, 64, 36, 43], Operations: [] Exploring Operation: 71-36=35, Resulting Numbers: [64, 43, 35] Generated Node #0,0: 14:[64, 43, 35] Operation: 71-36=35 Exploring Operation: 64-43=21, Resulting Numbers: [71, 36, 21] Generated Node #0,1: 14:[71, 36, 21] Operation: 64-43=21 Exploring Operation: 71-64=7, Resulting Numbers: [36, 43, 7] Generated Node #0,2: 14:[36, 43, 7] Operation: 71-64=7 Exploring Operation: 71-43=28, Resulting Numbers: [64, 36, 28] Generated Node #0,3: 14:[64, 36, 28] Operation: 71-43=28 Moving to Node #0,2 Current State: 14:[36, 43, 7], Operations: ['71-64=7'] Exploring Operation: 36+7=43, Resulting Numbers: [43, 43] Generated Node #0,2,0: 14:[43, 43] Operation: 36+7=43 Exploring Operation: 43-7=36, Resulting Numbers: [36, 36] Generated Node #0,2,1: 14:[36, 36] Operation: 43-7=36 Exploring Operation: 36-7=29, Resulting Numbers: [43, 29] Generated Node #0,2,2: 14:[43, 29] Operation: 36-7=29 Exploring Operation: 43-36=7, Resulting Numbers: [7, 7] Generated Node #0,2,3: 14:[7, 7] Operation: 43-36=7 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[7, 7], Operations: ['71-64=7', '43-36=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[71, 64, 36, 43], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [36, 43, 7] Generated Node #0,2: 14:[36, 43, 7] Operation: 71-64=7 Moving to Node #0,2 Current State: 14:[36, 43, 7], Operations: ['71-64=7'] Exploring Operation: 43-36=7, Resulting Numbers: [7, 7] Generated Node #0,2,3: 14:[7, 7] Operation: 43-36=7 Moving to Node #0,2,3 Current State: 14:[7, 7], Operations: ['71-64=7', '43-36=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 20, 58, 8, 84 ]
18
[ "20*8=160", "58+84=142", "160-142=18" ]
Current State: 18:[20, 58, 8, 84], Operations: [] Exploring Operation: 20*8=160, Resulting Numbers: [58, 84, 160] Generated Node #2: [58, 84, 160] from Operation: 20*8=160 Current State: 18:[58, 84, 160], Operations: ['20*8=160'] Exploring Operation: 58+84=142, Resulting Numbers: [160, 142] Generated Node #3: [160, 142] from Operation: 58+84=142 Current State: 18:[160, 142], Operations: ['20*8=160', '58+84=142'] Exploring Operation: 160-142=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[20, 58, 8, 84], Operations: [] Exploring Operation: 84-58=26, Resulting Numbers: [20, 8, 26] Generated Node #0,0: 18:[20, 8, 26] Operation: 84-58=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[20, 8, 26], Operations: ['84-58=26'] Exploring Operation: 26-20=6, Resulting Numbers: [8, 6] Generated Node #0,0,0: 18:[8, 6] Operation: 26-20=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[8, 6], Operations: ['84-58=26', '26-20=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,18 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