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
[ 52, 36, 21, 62 ]
19
[ "62-36=26", "52/26=2", "21-2=19" ]
Current State: 19:[52, 36, 21, 62], Operations: [] Exploring Operation: 62-36=26, Resulting Numbers: [52, 21, 26] Generated Node #2: [52, 21, 26] from Operation: 62-36=26 Current State: 19:[52, 21, 26], Operations: ['62-36=26'] Exploring Operation: 52/26=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 52/26=2 Current State: 19:[21, 2], Operations: ['62-36=26', '52/26=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[52, 36, 21, 62], Operations: [] Exploring Operation: 62-52=10, Resulting Numbers: [36, 21, 10] Generated Node #0,0: 19:[36, 21, 10] Operation: 62-52=10 Exploring Operation: 62-36=26, Resulting Numbers: [52, 21, 26] Generated Node #0,1: 19:[52, 21, 26] Operation: 62-36=26 Exploring Operation: 52-36=16, Resulting Numbers: [21, 62, 16] Generated Node #0,2: 19:[21, 62, 16] Operation: 52-36=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[36, 21, 10], Operations: ['62-52=10'] Exploring Operation: 36-21=15, Resulting Numbers: [10, 15] Generated Node #0,0,0: 19:[10, 15] Operation: 36-21=15 Exploring Operation: 36-10=26, Resulting Numbers: [21, 26] Generated Node #0,0,1: 19:[21, 26] Operation: 36-10=26 Exploring Operation: 21-10=11, Resulting Numbers: [36, 11] Generated Node #0,0,2: 19:[36, 11] Operation: 21-10=11 Moving to Node #0,0,1 Current State: 19:[21, 26], Operations: ['62-52=10', '36-10=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[10, 15], Operations: ['62-52=10', '36-21=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,19 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[36, 11], Operations: ['62-52=10', '21-10=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[52, 21, 26], Operations: ['62-36=26'] Exploring Operation: 52/26=2, Resulting Numbers: [21, 2] Generated Node #0,1,0: 19:[21, 2] Operation: 52/26=2 Exploring Operation: 52-21=31, Resulting Numbers: [26, 31] Generated Node #0,1,1: 19:[26, 31] Operation: 52-21=31 Exploring Operation: 52-26=26, Resulting Numbers: [21, 26] Generated Node #0,1,2: 19:[21, 26] Operation: 52-26=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[21, 26], Operations: ['62-36=26', '52-26=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,19 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,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,0 Current State: 19:[21, 2], Operations: ['62-36=26', '52/26=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[52, 36, 21, 62], Operations: [] Exploring Operation: 62-36=26, Resulting Numbers: [52, 21, 26] Generated Node #0,1: 19:[52, 21, 26] Operation: 62-36=26 Moving to Node #0,1 Current State: 19:[52, 21, 26], Operations: ['62-36=26'] Exploring Operation: 52/26=2, Resulting Numbers: [21, 2] Generated Node #0,1,0: 19:[21, 2] Operation: 52/26=2 Moving to Node #0,1,0 Current State: 19:[21, 2], Operations: ['62-36=26', '52/26=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 59, 2, 40, 66 ]
92
[ "59*2=118", "66-40=26", "118-26=92" ]
Current State: 92:[59, 2, 40, 66], Operations: [] Exploring Operation: 59*2=118, Resulting Numbers: [40, 66, 118] Generated Node #2: [40, 66, 118] from Operation: 59*2=118 Current State: 92:[40, 66, 118], Operations: ['59*2=118'] Exploring Operation: 66-40=26, Resulting Numbers: [118, 26] Generated Node #3: [118, 26] from Operation: 66-40=26 Current State: 92:[118, 26], Operations: ['59*2=118', '66-40=26'] Exploring Operation: 118-26=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[59, 2, 40, 66], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [2, 40, 7] Generated Node #0,0: 92:[2, 40, 7] Operation: 66-59=7 Moving to Node #0,0 Current State: 92:[2, 40, 7], Operations: ['66-59=7'] Exploring Operation: 40+7=47, Resulting Numbers: [2, 47] Generated Node #0,0,0: 92:[2, 47] Operation: 40+7=47 Moving to Node #0,0,0 Current State: 92:[2, 47], Operations: ['66-59=7', '40+7=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,92 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 90, 54, 96, 27 ]
75
[ "90+54=144", "96-27=69", "144-69=75" ]
Current State: 75:[90, 54, 96, 27], Operations: [] Exploring Operation: 90+54=144, Resulting Numbers: [96, 27, 144] Generated Node #2: [96, 27, 144] from Operation: 90+54=144 Current State: 75:[96, 27, 144], Operations: ['90+54=144'] Exploring Operation: 96-27=69, Resulting Numbers: [144, 69] Generated Node #3: [144, 69] from Operation: 96-27=69 Current State: 75:[144, 69], Operations: ['90+54=144', '96-27=69'] Exploring Operation: 144-69=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[90, 54, 96, 27], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [54, 27, 6] Generated Node #0,0: 75:[54, 27, 6] Operation: 96-90=6 Exploring Operation: 54/27=2, Resulting Numbers: [90, 96, 2] Generated Node #0,1: 75:[90, 96, 2] Operation: 54/27=2 Exploring Operation: 90-54=36, Resulting Numbers: [96, 27, 36] Generated Node #0,2: 75:[96, 27, 36] Operation: 90-54=36 Exploring Operation: 96-54=42, Resulting Numbers: [90, 27, 42] Generated Node #0,3: 75:[90, 27, 42] Operation: 96-54=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[54, 27, 6], Operations: ['96-90=6'] Exploring Operation: 54-27=27, Resulting Numbers: [6, 27] Generated Node #0,0,0: 75:[6, 27] Operation: 54-27=27 Exploring Operation: 54/6=9, Resulting Numbers: [27, 9] Generated Node #0,0,1: 75:[27, 9] Operation: 54/6=9 Exploring Operation: 54/27=2, Resulting Numbers: [6, 2] Generated Node #0,0,2: 75:[6, 2] Operation: 54/27=2 Exploring Operation: 54+27=81, Resulting Numbers: [6, 81] Generated Node #0,0,3: 75:[6, 81] Operation: 54+27=81 Moving to Node #0,0,2 Current State: 75:[6, 2], Operations: ['96-90=6', '54/27=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[6, 27], Operations: ['96-90=6', '54-27=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,75 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[27, 9], Operations: ['96-90=6', '54/6=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[6, 81], Operations: ['96-90=6', '54+27=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[90, 54, 96, 27], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [54, 27, 6] Generated Node #0,0: 75:[54, 27, 6] Operation: 96-90=6 Moving to Node #0,0 Current State: 75:[54, 27, 6], Operations: ['96-90=6'] Exploring Operation: 54+27=81, Resulting Numbers: [6, 81] Generated Node #0,0,3: 75:[6, 81] Operation: 54+27=81 Moving to Node #0,0,3 Current State: 75:[6, 81], Operations: ['96-90=6', '54+27=81'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 2, 20, 16, 46 ]
84
[ "2+20=22", "16+46=62", "22+62=84" ]
Current State: 84:[2, 20, 16, 46], Operations: [] Exploring Operation: 2+20=22, Resulting Numbers: [16, 46, 22] Generated Node #2: [16, 46, 22] from Operation: 2+20=22 Current State: 84:[16, 46, 22], Operations: ['2+20=22'] Exploring Operation: 16+46=62, Resulting Numbers: [22, 62] Generated Node #3: [22, 62] from Operation: 16+46=62 Current State: 84:[22, 62], Operations: ['2+20=22', '16+46=62'] Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[2, 20, 16, 46], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [2, 46, 4] Generated Node #0,0: 84:[2, 46, 4] Operation: 20-16=4 Exploring Operation: 46-16=30, Resulting Numbers: [2, 20, 30] Generated Node #0,1: 84:[2, 20, 30] Operation: 46-16=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[2, 20, 30], Operations: ['46-16=30'] Exploring Operation: 30-2=28, Resulting Numbers: [20, 28] Generated Node #0,1,0: 84:[20, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 84:[20, 15] Operation: 30/2=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[20, 28], Operations: ['46-16=30', '30-2=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,84 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[20, 15], Operations: ['46-16=30', '30/2=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[2, 46, 4], Operations: ['20-16=4'] Exploring Operation: 46-2=44, Resulting Numbers: [4, 44] Generated Node #0,0,0: 84:[4, 44] Operation: 46-2=44 Exploring Operation: 46-4=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 84:[2, 42] Operation: 46-4=42 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[2, 42], Operations: ['20-16=4', '46-4=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[2, 20, 16, 46], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [2, 46, 4] Generated Node #0,0: 84:[2, 46, 4] Operation: 20-16=4 Moving to Node #0,0 Current State: 84:[2, 46, 4], Operations: ['20-16=4'] Exploring Operation: 46-4=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 84:[2, 42] Operation: 46-4=42 Moving to Node #0,0,1 Current State: 84:[2, 42], Operations: ['20-16=4', '46-4=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 42, 77, 43, 90 ]
56
[ "77+43=120", "42*120=5040", "5040/90=56" ]
Current State: 56:[42, 77, 43, 90], Operations: [] Exploring Operation: 77+43=120, Resulting Numbers: [42, 90, 120] Generated Node #2: [42, 90, 120] from Operation: 77+43=120 Current State: 56:[42, 90, 120], Operations: ['77+43=120'] Exploring Operation: 42*120=5040, Resulting Numbers: [90, 5040] Generated Node #3: [90, 5040] from Operation: 42*120=5040 Current State: 56:[90, 5040], Operations: ['77+43=120', '42*120=5040'] Exploring Operation: 5040/90=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[42, 77, 43, 90], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [42, 43, 13] Generated Node #0,0: 56:[42, 43, 13] Operation: 90-77=13 Moving to Node #0,0 Current State: 56:[42, 43, 13], Operations: ['90-77=13'] Exploring Operation: 43-42=1, Resulting Numbers: [13, 1] Generated Node #0,0,0: 56:[13, 1] Operation: 43-42=1 Moving to Node #0,0,0 Current State: 56:[13, 1], Operations: ['90-77=13', '43-42=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,56 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 30, 59, 34 ]
14
[ "59-3=56", "34-30=4", "56/4=14" ]
Current State: 14:[3, 30, 59, 34], Operations: [] Exploring Operation: 59-3=56, Resulting Numbers: [30, 34, 56] Generated Node #2: [30, 34, 56] from Operation: 59-3=56 Current State: 14:[30, 34, 56], Operations: ['59-3=56'] Exploring Operation: 34-30=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 34-30=4 Current State: 14:[56, 4], Operations: ['59-3=56', '34-30=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[3, 30, 59, 34], Operations: [] Exploring Operation: 30/3=10, Resulting Numbers: [59, 34, 10] Generated Node #0,0: 14:[59, 34, 10] Operation: 30/3=10 Exploring Operation: 34-30=4, Resulting Numbers: [3, 59, 4] Generated Node #0,1: 14:[3, 59, 4] Operation: 34-30=4 Exploring Operation: 59-30=29, Resulting Numbers: [3, 34, 29] Generated Node #0,2: 14:[3, 34, 29] Operation: 59-30=29 Exploring Operation: 59-34=25, Resulting Numbers: [3, 30, 25] Generated Node #0,3: 14:[3, 30, 25] Operation: 59-34=25 Moving to Node #0,3 Current State: 14:[3, 30, 25], Operations: ['59-34=25'] Exploring Operation: 30/3=10, Resulting Numbers: [25, 10] Generated Node #0,3,0: 14:[25, 10] Operation: 30/3=10 Exploring Operation: 25-3=22, Resulting Numbers: [30, 22] Generated Node #0,3,1: 14:[30, 22] Operation: 25-3=22 Exploring Operation: 30-3=27, Resulting Numbers: [25, 27] Generated Node #0,3,2: 14:[25, 27] Operation: 30-3=27 Exploring Operation: 30-25=5, Resulting Numbers: [3, 5] Generated Node #0,3,3: 14:[3, 5] Operation: 30-25=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[3, 5], Operations: ['59-34=25', '30-25=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[25, 10], Operations: ['59-34=25', '30/3=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[30, 22], Operations: ['59-34=25', '25-3=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,14 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[25, 27], Operations: ['59-34=25', '30-3=27'] Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,14 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 14:[3, 34, 29], Operations: ['59-30=29'] Exploring Operation: 29-3=26, Resulting Numbers: [34, 26] Generated Node #0,2,0: 14:[34, 26] Operation: 29-3=26 Exploring Operation: 34-3=31, Resulting Numbers: [29, 31] Generated Node #0,2,1: 14:[29, 31] Operation: 34-3=31 Exploring Operation: 34-29=5, Resulting Numbers: [3, 5] Generated Node #0,2,2: 14:[3, 5] Operation: 34-29=5 Exploring Operation: 3+34=37, Resulting Numbers: [29, 37] Generated Node #0,2,3: 14:[29, 37] Operation: 3+34=37 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[3, 5], Operations: ['59-30=29', '34-29=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[34, 26], Operations: ['59-30=29', '29-3=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,14 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[29, 31], Operations: ['59-30=29', '34-3=31'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,14 unequal: No Solution Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[29, 37], Operations: ['59-30=29', '3+34=37'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 14:[3, 59, 4], Operations: ['34-30=4'] Exploring Operation: 59-4=55, Resulting Numbers: [3, 55] Generated Node #0,1,0: 14:[3, 55] Operation: 59-4=55 Exploring Operation: 3+4=7, Resulting Numbers: [59, 7] Generated Node #0,1,1: 14:[59, 7] Operation: 3+4=7 Exploring Operation: 4-3=1, Resulting Numbers: [59, 1] Generated Node #0,1,2: 14:[59, 1] Operation: 4-3=1 Exploring Operation: 59-3=56, Resulting Numbers: [4, 56] Generated Node #0,1,3: 14:[4, 56] Operation: 59-3=56 Moving to Node #0,0 Current State: 14:[59, 34, 10], Operations: ['30/3=10'] Exploring Operation: 59-10=49, Resulting Numbers: [34, 49] Generated Node #0,0,0: 14:[34, 49] Operation: 59-10=49 Exploring Operation: 59+10=69, Resulting Numbers: [34, 69] Generated Node #0,0,1: 14:[34, 69] Operation: 59+10=69 Exploring Operation: 34-10=24, Resulting Numbers: [59, 24] Generated Node #0,0,2: 14:[59, 24] Operation: 34-10=24 Exploring Operation: 59-34=25, Resulting Numbers: [10, 25] Generated Node #0,0,3: 14:[10, 25] Operation: 59-34=25 Moving to Node #0,0,3 Current State: 14:[10, 25], Operations: ['30/3=10', '59-34=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[3, 55], Operations: ['34-30=4', '59-4=55'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,14 unequal: No Solution Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[4, 56], Operations: ['34-30=4', '59-3=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,14 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[3, 30, 59, 34], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [3, 59, 4] Generated Node #0,1: 14:[3, 59, 4] Operation: 34-30=4 Moving to Node #0,1 Current State: 14:[3, 59, 4], Operations: ['34-30=4'] Exploring Operation: 59-3=56, Resulting Numbers: [4, 56] Generated Node #0,1,3: 14:[4, 56] Operation: 59-3=56 Moving to Node #0,1,3 Current State: 14:[4, 56], Operations: ['34-30=4', '59-3=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.949653
hs_4
mult_heuristic
[ 34, 45, 80, 63 ]
28
[ "45-34=11", "80-63=17", "11+17=28" ]
Current State: 28:[34, 45, 80, 63], Operations: [] Exploring Operation: 45-34=11, Resulting Numbers: [80, 63, 11] Generated Node #2: [80, 63, 11] from Operation: 45-34=11 Current State: 28:[80, 63, 11], Operations: ['45-34=11'] Exploring Operation: 80-63=17, Resulting Numbers: [11, 17] Generated Node #3: [11, 17] from Operation: 80-63=17 Current State: 28:[11, 17], Operations: ['45-34=11', '80-63=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[34, 45, 80, 63], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [34, 45, 17] Generated Node #0,0: 28:[34, 45, 17] Operation: 80-63=17 Exploring Operation: 80-45=35, Resulting Numbers: [34, 63, 35] Generated Node #0,1: 28:[34, 63, 35] Operation: 80-45=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[34, 45, 17], Operations: ['80-63=17'] Exploring Operation: 45-34=11, Resulting Numbers: [17, 11] Generated Node #0,0,0: 28:[17, 11] Operation: 45-34=11 Exploring Operation: 45-17=28, Resulting Numbers: [34, 28] Generated Node #0,0,1: 28:[34, 28] Operation: 45-17=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[17, 11], Operations: ['80-63=17', '45-34=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[34, 45, 80, 63], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [34, 45, 17] Generated Node #0,0: 28:[34, 45, 17] Operation: 80-63=17 Moving to Node #0,0 Current State: 28:[34, 45, 17], Operations: ['80-63=17'] Exploring Operation: 45-34=11, Resulting Numbers: [17, 11] Generated Node #0,0,0: 28:[17, 11] Operation: 45-34=11 Moving to Node #0,0,0 Current State: 28:[17, 11], Operations: ['80-63=17', '45-34=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 15, 41, 47, 7 ]
97
[ "47-41=6", "15*6=90", "7+90=97" ]
Current State: 97:[15, 41, 47, 7], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [15, 7, 6] Generated Node #2: [15, 7, 6] from Operation: 47-41=6 Current State: 97:[15, 7, 6], Operations: ['47-41=6'] Exploring Operation: 15*6=90, Resulting Numbers: [7, 90] Generated Node #3: [7, 90] from Operation: 15*6=90 Current State: 97:[7, 90], Operations: ['47-41=6', '15*6=90'] Exploring Operation: 7+90=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[15, 41, 47, 7], Operations: [] Exploring Operation: 15+7=22, Resulting Numbers: [41, 47, 22] Generated Node #0,0: 97:[41, 47, 22] Operation: 15+7=22 Exploring Operation: 15+47=62, Resulting Numbers: [41, 7, 62] Generated Node #0,1: 97:[41, 7, 62] Operation: 15+47=62 Exploring Operation: 15+41=56, Resulting Numbers: [47, 7, 56] Generated Node #0,2: 97:[47, 7, 56] Operation: 15+41=56 Exploring Operation: 15*7=105, Resulting Numbers: [41, 47, 105] Generated Node #0,3: 97:[41, 47, 105] Operation: 15*7=105 Moving to Node #0,3 Current State: 97:[41, 47, 105], Operations: ['15*7=105'] Exploring Operation: 47-41=6, Resulting Numbers: [105, 6] Generated Node #0,3,0: 97:[105, 6] Operation: 47-41=6 Exploring Operation: 41+47=88, Resulting Numbers: [105, 88] Generated Node #0,3,1: 97:[105, 88] Operation: 41+47=88 Exploring Operation: 105-41=64, Resulting Numbers: [47, 64] Generated Node #0,3,2: 97:[47, 64] Operation: 105-41=64 Exploring Operation: 105-47=58, Resulting Numbers: [41, 58] Generated Node #0,3,3: 97:[41, 58] Operation: 105-47=58 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[105, 88], Operations: ['15*7=105', '41+47=88'] Exploring Operation: 105-88=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 105*88=9240, Resulting Numbers: [9240] 9240,97 unequal: No Solution Exploring Operation: 105+88=193, Resulting Numbers: [193] 193,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[47, 64], Operations: ['15*7=105', '105-41=64'] Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,97 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[41, 58], Operations: ['15*7=105', '105-47=58'] Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[105, 6], Operations: ['15*7=105', '47-41=6'] Exploring Operation: 105-6=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 105*6=630, Resulting Numbers: [630] 630,97 unequal: No Solution Exploring Operation: 105+6=111, Resulting Numbers: [111] 111,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[41, 7, 62], Operations: ['15+47=62'] Exploring Operation: 41+62=103, Resulting Numbers: [7, 103] Generated Node #0,1,0: 97:[7, 103] Operation: 41+62=103 Exploring Operation: 41-7=34, Resulting Numbers: [62, 34] Generated Node #0,1,1: 97:[62, 34] Operation: 41-7=34 Exploring Operation: 7+62=69, Resulting Numbers: [41, 69] Generated Node #0,1,2: 97:[41, 69] Operation: 7+62=69 Exploring Operation: 41+7=48, Resulting Numbers: [62, 48] Generated Node #0,1,3: 97:[62, 48] Operation: 41+7=48 Moving to Node #0,0 Current State: 97:[41, 47, 22], Operations: ['15+7=22'] Exploring Operation: 47+22=69, Resulting Numbers: [41, 69] Generated Node #0,0,0: 97:[41, 69] Operation: 47+22=69 Exploring Operation: 41+22=63, Resulting Numbers: [47, 63] Generated Node #0,0,1: 97:[47, 63] Operation: 41+22=63 Exploring Operation: 41-22=19, Resulting Numbers: [47, 19] Generated Node #0,0,2: 97:[47, 19] Operation: 41-22=19 Exploring Operation: 41+47=88, Resulting Numbers: [22, 88] Generated Node #0,0,3: 97:[22, 88] Operation: 41+47=88 Moving to Node #0,2 Current State: 97:[47, 7, 56], Operations: ['15+41=56'] Exploring Operation: 7+56=63, Resulting Numbers: [47, 63] Generated Node #0,2,0: 97:[47, 63] Operation: 7+56=63 Exploring Operation: 47+7=54, Resulting Numbers: [56, 54] Generated Node #0,2,1: 97:[56, 54] Operation: 47+7=54 Exploring Operation: 47+56=103, Resulting Numbers: [7, 103] Generated Node #0,2,2: 97:[7, 103] Operation: 47+56=103 Exploring Operation: 47-7=40, Resulting Numbers: [56, 40] Generated Node #0,2,3: 97:[56, 40] Operation: 47-7=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[47, 63], Operations: ['15+41=56', '7+56=63'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,97 unequal: No Solution Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[56, 54], Operations: ['15+41=56', '47+7=54'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[7, 103], Operations: ['15+41=56', '47+56=103'] Exploring Operation: 7+103=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 103-7=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 7*103=721, Resulting Numbers: [721] 721,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[56, 40], Operations: ['15+41=56', '47-7=40'] Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,97 unequal: No Solution Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 97:[41, 69], Operations: ['15+47=62', '7+62=69'] Exploring Operation: 41+69=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 41*69=2829, Resulting Numbers: [2829] 2829,97 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[47, 63], Operations: ['15+7=22', '41+22=63'] Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[22, 88], Operations: ['15+7=22', '41+47=88'] Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,97 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[62, 48], Operations: ['15+47=62', '41+7=48'] Exploring Operation: 62*48=2976, Resulting Numbers: [2976] 2976,97 unequal: No Solution Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[41, 69], Operations: ['15+7=22', '47+22=69'] Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 41+69=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 41*69=2829, Resulting Numbers: [2829] 2829,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[7, 103], Operations: ['15+47=62', '41+62=103'] Exploring Operation: 7+103=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 103-7=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 7*103=721, Resulting Numbers: [721] 721,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[62, 34], Operations: ['15+47=62', '41-7=34'] Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,97 unequal: No Solution Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[47, 19], Operations: ['15+7=22', '41-22=19'] Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,97 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 20, 59, 88, 3 ]
69
[ "20+88=108", "59*3=177", "177-108=69" ]
Current State: 69:[20, 59, 88, 3], Operations: [] Exploring Operation: 20+88=108, Resulting Numbers: [59, 3, 108] Generated Node #2: [59, 3, 108] from Operation: 20+88=108 Current State: 69:[59, 3, 108], Operations: ['20+88=108'] Exploring Operation: 59*3=177, Resulting Numbers: [108, 177] Generated Node #3: [108, 177] from Operation: 59*3=177 Current State: 69:[108, 177], Operations: ['20+88=108', '59*3=177'] Exploring Operation: 177-108=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[20, 59, 88, 3], Operations: [] Exploring Operation: 88-59=29, Resulting Numbers: [20, 3, 29] Generated Node #0,0: 69:[20, 3, 29] Operation: 88-59=29 Exploring Operation: 88-20=68, Resulting Numbers: [59, 3, 68] Generated Node #0,1: 69:[59, 3, 68] Operation: 88-20=68 Exploring Operation: 20+59=79, Resulting Numbers: [88, 3, 79] Generated Node #0,2: 69:[88, 3, 79] Operation: 20+59=79 Exploring Operation: 20+3=23, Resulting Numbers: [59, 88, 23] Generated Node #0,3: 69:[59, 88, 23] Operation: 20+3=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[20, 3, 29], Operations: ['88-59=29'] Exploring Operation: 29-3=26, Resulting Numbers: [20, 26] Generated Node #0,0,0: 69:[20, 26] Operation: 29-3=26 Exploring Operation: 20+3=23, Resulting Numbers: [29, 23] Generated Node #0,0,1: 69:[29, 23] Operation: 20+3=23 Exploring Operation: 20-3=17, Resulting Numbers: [29, 17] Generated Node #0,0,2: 69:[29, 17] Operation: 20-3=17 Exploring Operation: 29-20=9, Resulting Numbers: [3, 9] Generated Node #0,0,3: 69:[3, 9] Operation: 29-20=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[20, 26], Operations: ['88-59=29', '29-3=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[29, 23], Operations: ['88-59=29', '20+3=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,69 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[3, 9], Operations: ['88-59=29', '29-20=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[29, 17], Operations: ['88-59=29', '20-3=17'] Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,69 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,69 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: 69:[59, 3, 68], Operations: ['88-20=68'] Exploring Operation: 59+3=62, Resulting Numbers: [68, 62] Generated Node #0,1,0: 69:[68, 62] Operation: 59+3=62 Exploring Operation: 68-59=9, Resulting Numbers: [3, 9] Generated Node #0,1,1: 69:[3, 9] Operation: 68-59=9 Exploring Operation: 59-3=56, Resulting Numbers: [68, 56] Generated Node #0,1,2: 69:[68, 56] Operation: 59-3=56 Exploring Operation: 3+68=71, Resulting Numbers: [59, 71] Generated Node #0,1,3: 69:[59, 71] Operation: 3+68=71 Moving to Node #0,1,1 Current State: 69:[3, 9], Operations: ['88-20=68', '68-59=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[68, 62], Operations: ['88-20=68', '59+3=62'] Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,69 unequal: No Solution Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[59, 71], Operations: ['88-20=68', '3+68=71'] Exploring Operation: 59*71=4189, Resulting Numbers: [4189] 4189,69 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 59+71=130, Resulting Numbers: [130] 130,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[68, 56], Operations: ['88-20=68', '59-3=56'] Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,69 unequal: No Solution Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,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,2 Current State: 69:[88, 3, 79], Operations: ['20+59=79'] Exploring Operation: 79-3=76, Resulting Numbers: [88, 76] Generated Node #0,2,0: 69:[88, 76] Operation: 79-3=76 Exploring Operation: 88+3=91, Resulting Numbers: [79, 91] Generated Node #0,2,1: 69:[79, 91] Operation: 88+3=91 Exploring Operation: 88-79=9, Resulting Numbers: [3, 9] Generated Node #0,2,2: 69:[3, 9] Operation: 88-79=9 Exploring Operation: 88-3=85, Resulting Numbers: [79, 85] Generated Node #0,2,3: 69:[79, 85] Operation: 88-3=85 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[3, 9], Operations: ['20+59=79', '88-79=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[88, 76], Operations: ['20+59=79', '79-3=76'] Exploring Operation: 88*76=6688, Resulting Numbers: [6688] 6688,69 unequal: No Solution Exploring Operation: 88+76=164, Resulting Numbers: [164] 164,69 unequal: No Solution Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 69:[79, 85], Operations: ['20+59=79', '88-3=85'] Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 79+85=164, Resulting Numbers: [164] 164,69 unequal: No Solution Exploring Operation: 79*85=6715, Resulting Numbers: [6715] 6715,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[79, 91], Operations: ['20+59=79', '88+3=91'] Exploring Operation: 79*91=7189, Resulting Numbers: [7189] 7189,69 unequal: No Solution Exploring Operation: 79+91=170, Resulting Numbers: [170] 170,69 unequal: No Solution Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,69 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: 69:[59, 88, 23], Operations: ['20+3=23'] Exploring Operation: 88-59=29, Resulting Numbers: [23, 29] Generated Node #0,3,0: 69:[23, 29] Operation: 88-59=29 Exploring Operation: 59+23=82, Resulting Numbers: [88, 82] Generated Node #0,3,1: 69:[88, 82] Operation: 59+23=82 Exploring Operation: 59-23=36, Resulting Numbers: [88, 36] Generated Node #0,3,2: 69:[88, 36] Operation: 59-23=36 Exploring Operation: 88-23=65, Resulting Numbers: [59, 65] Generated Node #0,3,3: 69:[59, 65] Operation: 88-23=65 Moving to Node #0,3,0 Current State: 69:[23, 29], Operations: ['20+3=23', '88-59=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[59, 65], Operations: ['20+3=23', '88-23=65'] Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 59*65=3835, Resulting Numbers: [3835] 3835,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[88, 36], Operations: ['20+3=23', '59-23=36'] Exploring Operation: 88+36=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 88*36=3168, Resulting Numbers: [3168] 3168,69 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[88, 82], Operations: ['20+3=23', '59+23=82'] Exploring Operation: 88+82=170, Resulting Numbers: [170] 170,69 unequal: No Solution Exploring Operation: 88*82=7216, Resulting Numbers: [7216] 7216,69 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,69 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
[ 89, 73, 33, 6 ]
55
[ "89-73=16", "33+6=39", "16+39=55" ]
Current State: 55:[89, 73, 33, 6], Operations: [] Exploring Operation: 89-73=16, Resulting Numbers: [33, 6, 16] Generated Node #2: [33, 6, 16] from Operation: 89-73=16 Current State: 55:[33, 6, 16], Operations: ['89-73=16'] Exploring Operation: 33+6=39, Resulting Numbers: [16, 39] Generated Node #3: [16, 39] from Operation: 33+6=39 Current State: 55:[16, 39], Operations: ['89-73=16', '33+6=39'] Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[89, 73, 33, 6], Operations: [] Exploring Operation: 89-73=16, Resulting Numbers: [33, 6, 16] Generated Node #0,0: 55:[33, 6, 16] Operation: 89-73=16 Exploring Operation: 73-6=67, Resulting Numbers: [89, 33, 67] Generated Node #0,1: 55:[89, 33, 67] Operation: 73-6=67 Exploring Operation: 73-33=40, Resulting Numbers: [89, 6, 40] Generated Node #0,2: 55:[89, 6, 40] Operation: 73-33=40 Exploring Operation: 89-33=56, Resulting Numbers: [73, 6, 56] Generated Node #0,3: 55:[73, 6, 56] Operation: 89-33=56 Exploring Operation: 89-6=83, Resulting Numbers: [73, 33, 83] Generated Node #0,4: 55:[73, 33, 83] Operation: 89-6=83 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[73, 6, 56], Operations: ['89-33=56'] Exploring Operation: 73+6=79, Resulting Numbers: [56, 79] Generated Node #0,3,0: 55:[56, 79] Operation: 73+6=79 Exploring Operation: 6+56=62, Resulting Numbers: [73, 62] Generated Node #0,3,1: 55:[73, 62] Operation: 6+56=62 Exploring Operation: 73-6=67, Resulting Numbers: [56, 67] Generated Node #0,3,2: 55:[56, 67] Operation: 73-6=67 Exploring Operation: 56-6=50, Resulting Numbers: [73, 50] Generated Node #0,3,3: 55:[73, 50] Operation: 56-6=50 Exploring Operation: 73-56=17, Resulting Numbers: [6, 17] Generated Node #0,3,4: 55:[6, 17] Operation: 73-56=17 Moving to Node #0,3,4 Current State: 55:[6, 17], Operations: ['89-33=56', '73-56=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[56, 67], Operations: ['89-33=56', '73-6=67'] Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,55 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[73, 50], Operations: ['89-33=56', '56-6=50'] Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 73+50=123, Resulting Numbers: [123] 123,55 unequal: No Solution Exploring Operation: 73*50=3650, Resulting Numbers: [3650] 3650,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[56, 79], Operations: ['89-33=56', '73+6=79'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,55 unequal: No Solution Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[73, 62], Operations: ['89-33=56', '6+56=62'] Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 73*62=4526, Resulting Numbers: [4526] 4526,55 unequal: No Solution Exploring Operation: 73+62=135, Resulting Numbers: [135] 135,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[33, 6, 16], Operations: ['89-73=16'] Exploring Operation: 33-16=17, Resulting Numbers: [6, 17] Generated Node #0,0,0: 55:[6, 17] Operation: 33-16=17 Exploring Operation: 33+6=39, Resulting Numbers: [16, 39] Generated Node #0,0,1: 55:[16, 39] Operation: 33+6=39 Exploring Operation: 16-6=10, Resulting Numbers: [33, 10] Generated Node #0,0,2: 55:[33, 10] Operation: 16-6=10 Exploring Operation: 33-6=27, Resulting Numbers: [16, 27] Generated Node #0,0,3: 55:[16, 27] Operation: 33-6=27 Exploring Operation: 33+16=49, Resulting Numbers: [6, 49] Generated Node #0,0,4: 55:[6, 49] Operation: 33+16=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[6, 17], Operations: ['89-73=16', '33-16=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 55:[6, 49], Operations: ['89-73=16', '33+16=49'] Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,55 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[89, 73, 33, 6], Operations: [] Exploring Operation: 89-73=16, Resulting Numbers: [33, 6, 16] Generated Node #0,0: 55:[33, 6, 16] Operation: 89-73=16 Moving to Node #0,0 Current State: 55:[33, 6, 16], Operations: ['89-73=16'] Exploring Operation: 33+16=49, Resulting Numbers: [6, 49] Generated Node #0,0,4: 55:[6, 49] Operation: 33+16=49 Moving to Node #0,0,4 Current State: 55:[6, 49], Operations: ['89-73=16', '33+16=49'] Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 48, 16, 62, 40 ]
44
[ "48+62=110", "16*110=1760", "1760/40=44" ]
Current State: 44:[48, 16, 62, 40], Operations: [] Exploring Operation: 48+62=110, Resulting Numbers: [16, 40, 110] Generated Node #2: [16, 40, 110] from Operation: 48+62=110 Current State: 44:[16, 40, 110], Operations: ['48+62=110'] Exploring Operation: 16*110=1760, Resulting Numbers: [40, 1760] Generated Node #3: [40, 1760] from Operation: 16*110=1760 Current State: 44:[40, 1760], Operations: ['48+62=110', '16*110=1760'] Exploring Operation: 1760/40=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[48, 16, 62, 40], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [48, 16, 22] Generated Node #0,0: 44:[48, 16, 22] Operation: 62-40=22 Exploring Operation: 62-16=46, Resulting Numbers: [48, 40, 46] Generated Node #0,1: 44:[48, 40, 46] Operation: 62-16=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[48, 16, 22], Operations: ['62-40=22'] Exploring Operation: 48/16=3, Resulting Numbers: [22, 3] Generated Node #0,0,0: 44:[22, 3] Operation: 48/16=3 Exploring Operation: 22-16=6, Resulting Numbers: [48, 6] Generated Node #0,0,1: 44:[48, 6] Operation: 22-16=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[22, 3], Operations: ['62-40=22', '48/16=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[48, 6], Operations: ['62-40=22', '22-16=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,44 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: 44:[48, 40, 46], Operations: ['62-16=46'] Exploring Operation: 48-40=8, Resulting Numbers: [46, 8] Generated Node #0,1,0: 44:[46, 8] Operation: 48-40=8 Exploring Operation: 48-46=2, Resulting Numbers: [40, 2] Generated Node #0,1,1: 44:[40, 2] Operation: 48-46=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[40, 2], Operations: ['62-16=46', '48-46=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[46, 8], Operations: ['62-16=46', '48-40=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,44 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,44 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
[ 14, 70, 99, 56 ]
25
[ "56/14=4", "99-70=29", "29-4=25" ]
Current State: 25:[14, 70, 99, 56], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [70, 99, 4] Generated Node #2: [70, 99, 4] from Operation: 56/14=4 Current State: 25:[70, 99, 4], Operations: ['56/14=4'] Exploring Operation: 99-70=29, Resulting Numbers: [4, 29] Generated Node #3: [4, 29] from Operation: 99-70=29 Current State: 25:[4, 29], Operations: ['56/14=4', '99-70=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[14, 70, 99, 56], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [14, 56, 29] Generated Node #0,0: 25:[14, 56, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 25:[14, 56, 29], Operations: ['99-70=29'] Exploring Operation: 56/14=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 25:[29, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[29, 4], Operations: ['99-70=29', '56/14=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[14, 70, 99, 56], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [14, 56, 29] Generated Node #0,0: 25:[14, 56, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 25:[14, 56, 29], Operations: ['99-70=29'] Exploring Operation: 56/14=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 25:[29, 4] Operation: 56/14=4 Moving to Node #0,0,0 Current State: 25:[29, 4], Operations: ['99-70=29', '56/14=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 10, 41, 20, 34 ]
23
[ "41-10=31", "20+34=54", "54-31=23" ]
Current State: 23:[10, 41, 20, 34], Operations: [] Exploring Operation: 41-10=31, Resulting Numbers: [20, 34, 31] Generated Node #2: [20, 34, 31] from Operation: 41-10=31 Current State: 23:[20, 34, 31], Operations: ['41-10=31'] Exploring Operation: 20+34=54, Resulting Numbers: [31, 54] Generated Node #3: [31, 54] from Operation: 20+34=54 Current State: 23:[31, 54], Operations: ['41-10=31', '20+34=54'] Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[10, 41, 20, 34], Operations: [] Exploring Operation: 41-20=21, Resulting Numbers: [10, 34, 21] Generated Node #0,0: 23:[10, 34, 21] Operation: 41-20=21 Exploring Operation: 41-10=31, Resulting Numbers: [20, 34, 31] Generated Node #0,1: 23:[20, 34, 31] Operation: 41-10=31 Exploring Operation: 34-10=24, Resulting Numbers: [41, 20, 24] Generated Node #0,2: 23:[41, 20, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[20, 34, 31], Operations: ['41-10=31'] Exploring Operation: 31-20=11, Resulting Numbers: [34, 11] Generated Node #0,1,0: 23:[34, 11] Operation: 31-20=11 Exploring Operation: 34-20=14, Resulting Numbers: [31, 14] Generated Node #0,1,1: 23:[31, 14] Operation: 34-20=14 Exploring Operation: 34-31=3, Resulting Numbers: [20, 3] Generated Node #0,1,2: 23:[20, 3] Operation: 34-31=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[31, 14], Operations: ['41-10=31', '34-20=14'] Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,23 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,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,1,0 Current State: 23:[34, 11], Operations: ['41-10=31', '31-20=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[10, 41, 20, 34], Operations: [] Exploring Operation: 41-10=31, Resulting Numbers: [20, 34, 31] Generated Node #0,1: 23:[20, 34, 31] Operation: 41-10=31 Moving to Node #0,1 Current State: 23:[20, 34, 31], Operations: ['41-10=31'] Exploring Operation: 31-20=11, Resulting Numbers: [34, 11] Generated Node #0,1,0: 23:[34, 11] Operation: 31-20=11 Moving to Node #0,1,0 Current State: 23:[34, 11], Operations: ['41-10=31', '31-20=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 73, 26, 69, 27 ]
77
[ "73-69=4", "26*4=104", "104-27=77" ]
Current State: 77:[73, 26, 69, 27], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [26, 27, 4] Generated Node #2: [26, 27, 4] from Operation: 73-69=4 Current State: 77:[26, 27, 4], Operations: ['73-69=4'] Exploring Operation: 26*4=104, Resulting Numbers: [27, 104] Generated Node #3: [27, 104] from Operation: 26*4=104 Current State: 77:[27, 104], Operations: ['73-69=4', '26*4=104'] Exploring Operation: 104-27=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[73, 26, 69, 27], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [73, 69, 1] Generated Node #0,0: 77:[73, 69, 1] Operation: 27-26=1 Exploring Operation: 73-69=4, Resulting Numbers: [26, 27, 4] Generated Node #0,1: 77:[26, 27, 4] Operation: 73-69=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[73, 69, 1], Operations: ['27-26=1'] Exploring Operation: 73-69=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 77:[1, 4] Operation: 73-69=4 Exploring Operation: 73+1=74, Resulting Numbers: [69, 74] Generated Node #0,0,1: 77:[69, 74] Operation: 73+1=74 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[1, 4], Operations: ['27-26=1', '73-69=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[69, 74], Operations: ['27-26=1', '73+1=74'] Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 69+74=143, Resulting Numbers: [143] 143,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[26, 27, 4], Operations: ['73-69=4'] Exploring Operation: 26+27=53, Resulting Numbers: [4, 53] Generated Node #0,1,0: 77:[4, 53] Operation: 26+27=53 Exploring Operation: 27-26=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 77:[4, 1] Operation: 27-26=1 Moving to Node #0,1,1 Current State: 77:[4, 1], Operations: ['73-69=4', '27-26=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[4, 53], Operations: ['73-69=4', '26+27=53'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,77 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,77 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
[ 67, 30, 46, 83 ]
32
[ "67+30=97", "46+83=129", "129-97=32" ]
Current State: 32:[67, 30, 46, 83], Operations: [] Exploring Operation: 67+30=97, Resulting Numbers: [46, 83, 97] Generated Node #2: [46, 83, 97] from Operation: 67+30=97 Current State: 32:[46, 83, 97], Operations: ['67+30=97'] Exploring Operation: 46+83=129, Resulting Numbers: [97, 129] Generated Node #3: [97, 129] from Operation: 46+83=129 Current State: 32:[97, 129], Operations: ['67+30=97', '46+83=129'] Exploring Operation: 129-97=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[67, 30, 46, 83], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [30, 46, 16] Generated Node #0,0: 32:[30, 46, 16] Operation: 83-67=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[30, 46, 16], Operations: ['83-67=16'] Exploring Operation: 46-30=16, Resulting Numbers: [16, 16] Generated Node #0,0,0: 32:[16, 16] Operation: 46-30=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[16, 16], Operations: ['83-67=16', '46-30=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[67, 30, 46, 83], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [30, 46, 16] Generated Node #0,0: 32:[30, 46, 16] Operation: 83-67=16 Moving to Node #0,0 Current State: 32:[30, 46, 16], Operations: ['83-67=16'] Exploring Operation: 46-30=16, Resulting Numbers: [16, 16] Generated Node #0,0,0: 32:[16, 16] Operation: 46-30=16 Moving to Node #0,0,0 Current State: 32:[16, 16], Operations: ['83-67=16', '46-30=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 1, 56, 47, 62 ]
70
[ "56-1=55", "62-47=15", "55+15=70" ]
Current State: 70:[1, 56, 47, 62], Operations: [] Exploring Operation: 56-1=55, Resulting Numbers: [47, 62, 55] Generated Node #2: [47, 62, 55] from Operation: 56-1=55 Current State: 70:[47, 62, 55], Operations: ['56-1=55'] Exploring Operation: 62-47=15, Resulting Numbers: [55, 15] Generated Node #3: [55, 15] from Operation: 62-47=15 Current State: 70:[55, 15], Operations: ['56-1=55', '62-47=15'] Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[1, 56, 47, 62], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [1, 56, 15] Generated Node #0,0: 70:[1, 56, 15] Operation: 62-47=15 Exploring Operation: 56-47=9, Resulting Numbers: [1, 62, 9] Generated Node #0,1: 70:[1, 62, 9] Operation: 56-47=9 Exploring Operation: 62-56=6, Resulting Numbers: [1, 47, 6] Generated Node #0,2: 70:[1, 47, 6] Operation: 62-56=6 Moving to Node #0,1 Current State: 70:[1, 62, 9], Operations: ['56-47=9'] Exploring Operation: 1+62=63, Resulting Numbers: [9, 63] Generated Node #0,1,0: 70:[9, 63] Operation: 1+62=63 Exploring Operation: 1+9=10, Resulting Numbers: [62, 10] Generated Node #0,1,1: 70:[62, 10] Operation: 1+9=10 Exploring Operation: 62+9=71, Resulting Numbers: [1, 71] Generated Node #0,1,2: 70:[1, 71] Operation: 62+9=71 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[1, 71], Operations: ['56-47=9', '62+9=71'] Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[1, 56, 47, 62], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [1, 62, 9] Generated Node #0,1: 70:[1, 62, 9] Operation: 56-47=9 Moving to Node #0,1 Current State: 70:[1, 62, 9], Operations: ['56-47=9'] Exploring Operation: 62+9=71, Resulting Numbers: [1, 71] Generated Node #0,1,2: 70:[1, 71] Operation: 62+9=71 Moving to Node #0,1,2 Current State: 70:[1, 71], Operations: ['56-47=9', '62+9=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 53, 96, 53, 53 ]
48
[ "53*96=5088", "53+53=106", "5088/106=48" ]
Current State: 48:[53, 96, 53, 53], Operations: [] Exploring Operation: 53*96=5088, Resulting Numbers: [5088] 5088,48 equal: Goal Reached Exploring Operation: 53+53=106, Resulting Numbers: [5088, 106] Generated Node #2: [5088, 106] from Operation: 53+53=106 Current State: 48:[5088, 106], Operations: ['53+53=106'] Exploring Operation: 5088/106=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[53, 96, 53, 53], Operations: [] Exploring Operation: 96-53=43, Resulting Numbers: [53, 53, 43] Generated Node #0,0: 48:[53, 53, 43] Operation: 96-53=43 Exploring Operation: 96-53=43, Resulting Numbers: [53, 53, 43] Generated Node #0,1: 48:[53, 53, 43] Operation: 96-53=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[53, 53, 43], Operations: ['96-53=43'] Exploring Operation: 53-53=0, Resulting Numbers: [43, 0] Generated Node #0,0,0: 48:[43, 0] Operation: 53-53=0 Exploring Operation: 53/53=1, Resulting Numbers: [43, 1] Generated Node #0,0,1: 48:[43, 1] Operation: 53/53=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[43, 1], Operations: ['96-53=43', '53/53=1'] Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,48 unequal: No Solution No 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: 48:[43, 0], Operations: ['96-53=43', '53-53=0'] Exploring Operation: 43*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,48 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: 48:[53, 53, 43], Operations: ['96-53=43'] Exploring Operation: 53-53=0, Resulting Numbers: [43, 0] Generated Node #0,1,0: 48:[43, 0] Operation: 53-53=0 Exploring Operation: 53/53=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 48:[43, 1] Operation: 53/53=1 Moving to Node #0,1,1 Current State: 48:[43, 1], Operations: ['96-53=43', '53/53=1'] Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[43, 0], Operations: ['96-53=43', '53-53=0'] Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 43*0=0, Resulting Numbers: [0] 0,48 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
[ 43, 42, 84, 55 ]
14
[ "55-43=12", "84/42=2", "12+2=14" ]
Current State: 14:[43, 42, 84, 55], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [42, 84, 12] Generated Node #2: [42, 84, 12] from Operation: 55-43=12 Current State: 14:[42, 84, 12], Operations: ['55-43=12'] Exploring Operation: 84/42=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 84/42=2 Current State: 14:[12, 2], Operations: ['55-43=12', '84/42=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[43, 42, 84, 55], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [43, 42, 29] Generated Node #0,0: 14:[43, 42, 29] Operation: 84-55=29 Exploring Operation: 84/42=2, Resulting Numbers: [43, 55, 2] Generated Node #0,1: 14:[43, 55, 2] Operation: 84/42=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[43, 55, 2], Operations: ['84/42=2'] Exploring Operation: 43-2=41, Resulting Numbers: [55, 41] Generated Node #0,1,0: 14:[55, 41] Operation: 43-2=41 Exploring Operation: 55-43=12, Resulting Numbers: [2, 12] Generated Node #0,1,1: 14:[2, 12] Operation: 55-43=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[2, 12], Operations: ['84/42=2', '55-43=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[43, 42, 84, 55], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [43, 55, 2] Generated Node #0,1: 14:[43, 55, 2] Operation: 84/42=2 Moving to Node #0,1 Current State: 14:[43, 55, 2], Operations: ['84/42=2'] Exploring Operation: 55-43=12, Resulting Numbers: [2, 12] Generated Node #0,1,1: 14:[2, 12] Operation: 55-43=12 Moving to Node #0,1,1 Current State: 14:[2, 12], Operations: ['84/42=2', '55-43=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 89, 62, 57, 60 ]
16
[ "89-57=32", "62-60=2", "32/2=16" ]
Current State: 16:[89, 62, 57, 60], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [62, 60, 32] Generated Node #2: [62, 60, 32] from Operation: 89-57=32 Current State: 16:[62, 60, 32], Operations: ['89-57=32'] Exploring Operation: 62-60=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 62-60=2 Current State: 16:[32, 2], Operations: ['89-57=32', '62-60=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[89, 62, 57, 60], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [62, 60, 32] Generated Node #0,0: 16:[62, 60, 32] Operation: 89-57=32 Exploring Operation: 62-60=2, Resulting Numbers: [89, 57, 2] Generated Node #0,1: 16:[89, 57, 2] Operation: 62-60=2 Exploring Operation: 89-60=29, Resulting Numbers: [62, 57, 29] Generated Node #0,2: 16:[62, 57, 29] Operation: 89-60=29 Exploring Operation: 89-62=27, Resulting Numbers: [57, 60, 27] Generated Node #0,3: 16:[57, 60, 27] Operation: 89-62=27 Moving to Node #0,3 Current State: 16:[57, 60, 27], Operations: ['89-62=27'] Exploring Operation: 57-27=30, Resulting Numbers: [60, 30] Generated Node #0,3,0: 16:[60, 30] Operation: 57-27=30 Exploring Operation: 60-57=3, Resulting Numbers: [27, 3] Generated Node #0,3,1: 16:[27, 3] Operation: 60-57=3 Exploring Operation: 57+60=117, Resulting Numbers: [27, 117] Generated Node #0,3,2: 16:[27, 117] Operation: 57+60=117 Exploring Operation: 60-27=33, Resulting Numbers: [57, 33] Generated Node #0,3,3: 16:[57, 33] Operation: 60-27=33 Moving to Node #0,2 Current State: 16:[62, 57, 29], Operations: ['89-60=29'] Exploring Operation: 62-57=5, Resulting Numbers: [29, 5] Generated Node #0,2,0: 16:[29, 5] Operation: 62-57=5 Exploring Operation: 57-29=28, Resulting Numbers: [62, 28] Generated Node #0,2,1: 16:[62, 28] Operation: 57-29=28 Exploring Operation: 62+57=119, Resulting Numbers: [29, 119] Generated Node #0,2,2: 16:[29, 119] Operation: 62+57=119 Exploring Operation: 62-29=33, Resulting Numbers: [57, 33] Generated Node #0,2,3: 16:[57, 33] Operation: 62-29=33 Moving to Node #0,0 Current State: 16:[62, 60, 32], Operations: ['89-57=32'] Exploring Operation: 60-32=28, Resulting Numbers: [62, 28] Generated Node #0,0,0: 16:[62, 28] Operation: 60-32=28 Exploring Operation: 62-60=2, Resulting Numbers: [32, 2] Generated Node #0,0,1: 16:[32, 2] Operation: 62-60=2 Exploring Operation: 62-32=30, Resulting Numbers: [60, 30] Generated Node #0,0,2: 16:[60, 30] Operation: 62-32=30 Exploring Operation: 62+60=122, Resulting Numbers: [32, 122] Generated Node #0,0,3: 16:[32, 122] Operation: 62+60=122 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[32, 2], Operations: ['89-57=32', '62-60=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[89, 62, 57, 60], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [62, 60, 32] Generated Node #0,0: 16:[62, 60, 32] Operation: 89-57=32 Moving to Node #0,0 Current State: 16:[62, 60, 32], Operations: ['89-57=32'] Exploring Operation: 62-60=2, Resulting Numbers: [32, 2] Generated Node #0,0,1: 16:[32, 2] Operation: 62-60=2 Moving to Node #0,0,1 Current State: 16:[32, 2], Operations: ['89-57=32', '62-60=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 57, 29, 14, 33 ]
31
[ "57-29=28", "28/14=2", "33-2=31" ]
Current State: 31:[57, 29, 14, 33], Operations: [] Exploring Operation: 57-29=28, Resulting Numbers: [14, 33, 28] Generated Node #2: [14, 33, 28] from Operation: 57-29=28 Current State: 31:[14, 33, 28], Operations: ['57-29=28'] Exploring Operation: 28/14=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 28/14=2 Current State: 31:[33, 2], Operations: ['57-29=28', '28/14=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[57, 29, 14, 33], Operations: [] Exploring Operation: 29+14=43, Resulting Numbers: [57, 33, 43] Generated Node #0,0: 31:[57, 33, 43] Operation: 29+14=43 Exploring Operation: 33-14=19, Resulting Numbers: [57, 29, 19] Generated Node #0,1: 31:[57, 29, 19] Operation: 33-14=19 Exploring Operation: 57-33=24, Resulting Numbers: [29, 14, 24] Generated Node #0,2: 31:[29, 14, 24] Operation: 57-33=24 Exploring Operation: 57-14=43, Resulting Numbers: [29, 33, 43] Generated Node #0,3: 31:[29, 33, 43] Operation: 57-14=43 Exploring Operation: 57-29=28, Resulting Numbers: [14, 33, 28] Generated Node #0,4: 31:[14, 33, 28] Operation: 57-29=28 Moving to Node #0,3 Current State: 31:[29, 33, 43], Operations: ['57-14=43'] Exploring Operation: 33-29=4, Resulting Numbers: [43, 4] Generated Node #0,3,0: 31:[43, 4] Operation: 33-29=4 Exploring Operation: 43-33=10, Resulting Numbers: [29, 10] Generated Node #0,3,1: 31:[29, 10] Operation: 43-33=10 Exploring Operation: 29+33=62, Resulting Numbers: [43, 62] Generated Node #0,3,2: 31:[43, 62] Operation: 29+33=62 Exploring Operation: 29+43=72, Resulting Numbers: [33, 72] Generated Node #0,3,3: 31:[33, 72] Operation: 29+43=72 Exploring Operation: 43-29=14, Resulting Numbers: [33, 14] Generated Node #0,3,4: 31:[33, 14] Operation: 43-29=14 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 31:[33, 14], Operations: ['57-14=43', '43-29=14'] Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,31 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[29, 10], Operations: ['57-14=43', '43-33=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,31 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[43, 4], Operations: ['57-14=43', '33-29=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[43, 62], Operations: ['57-14=43', '29+33=62'] Exploring Operation: 43*62=2666, Resulting Numbers: [2666] 2666,31 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 43+62=105, Resulting Numbers: [105] 105,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[33, 72], Operations: ['57-14=43', '29+43=72'] Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,31 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 31:[14, 33, 28], Operations: ['57-29=28'] Exploring Operation: 14+28=42, Resulting Numbers: [33, 42] Generated Node #0,4,0: 31:[33, 42] Operation: 14+28=42 Exploring Operation: 14+33=47, Resulting Numbers: [28, 47] Generated Node #0,4,1: 31:[28, 47] Operation: 14+33=47 Exploring Operation: 33-14=19, Resulting Numbers: [28, 19] Generated Node #0,4,2: 31:[28, 19] Operation: 33-14=19 Exploring Operation: 28-14=14, Resulting Numbers: [33, 14] Generated Node #0,4,3: 31:[33, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [33, 2] Generated Node #0,4,4: 31:[33, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[33, 42], Operations: ['57-29=28', '14+28=42'] Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 33*42=1386, Resulting Numbers: [1386] 1386,31 unequal: No Solution Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 31:[28, 19], Operations: ['57-29=28', '33-14=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,31 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 31:[28, 47], Operations: ['57-29=28', '14+33=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 28*47=1316, Resulting Numbers: [1316] 1316,31 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 31:[33, 14], Operations: ['57-29=28', '28-14=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,31 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 31:[33, 2], Operations: ['57-29=28', '28/14=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[57, 29, 14, 33], Operations: [] Exploring Operation: 57-29=28, Resulting Numbers: [14, 33, 28] Generated Node #0,4: 31:[14, 33, 28] Operation: 57-29=28 Moving to Node #0,4 Current State: 31:[14, 33, 28], Operations: ['57-29=28'] Exploring Operation: 28/14=2, Resulting Numbers: [33, 2] Generated Node #0,4,4: 31:[33, 2] Operation: 28/14=2 Moving to Node #0,4,4 Current State: 31:[33, 2], Operations: ['57-29=28', '28/14=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
mult_heuristic
[ 83, 68, 89, 23 ]
97
[ "83-68=15", "89+23=112", "112-15=97" ]
Current State: 97:[83, 68, 89, 23], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [89, 23, 15] Generated Node #2: [89, 23, 15] from Operation: 83-68=15 Current State: 97:[89, 23, 15], Operations: ['83-68=15'] Exploring Operation: 89+23=112, Resulting Numbers: [15, 112] Generated Node #3: [15, 112] from Operation: 89+23=112 Current State: 97:[15, 112], Operations: ['83-68=15', '89+23=112'] Exploring Operation: 112-15=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[83, 68, 89, 23], Operations: [] Exploring Operation: 68+23=91, Resulting Numbers: [83, 89, 91] Generated Node #0,0: 97:[83, 89, 91] Operation: 68+23=91 Moving to Node #0,0 Current State: 97:[83, 89, 91], Operations: ['68+23=91'] Exploring Operation: 83+89=172, Resulting Numbers: [91, 172] Generated Node #0,0,0: 97:[91, 172] Operation: 83+89=172 Moving to Node #0,0,0 Current State: 97:[91, 172], Operations: ['68+23=91', '83+89=172'] Exploring Operation: 172-91=81, Resulting Numbers: [81] 81,97 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 19, 62, 47, 44 ]
47
[ "62-19=43", "44-43=1", "47*1=47" ]
Current State: 47:[19, 62, 47, 44], Operations: [] Exploring Operation: 62-19=43, Resulting Numbers: [47, 44, 43] Generated Node #2: [47, 44, 43] from Operation: 62-19=43 Current State: 47:[47, 44, 43], Operations: ['62-19=43'] Exploring Operation: 44-43=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 44-43=1 Current State: 47:[47, 1], Operations: ['62-19=43', '44-43=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[19, 62, 47, 44], Operations: [] Exploring Operation: 19+44=63, Resulting Numbers: [62, 47, 63] Generated Node #0,0: 47:[62, 47, 63] Operation: 19+44=63 Exploring Operation: 62-19=43, Resulting Numbers: [47, 44, 43] Generated Node #0,1: 47:[47, 44, 43] Operation: 62-19=43 Exploring Operation: 19+47=66, Resulting Numbers: [62, 44, 66] Generated Node #0,2: 47:[62, 44, 66] Operation: 19+47=66 Exploring Operation: 47-19=28, Resulting Numbers: [62, 44, 28] Generated Node #0,3: 47:[62, 44, 28] Operation: 47-19=28 Exploring Operation: 19+62=81, Resulting Numbers: [47, 44, 81] Generated Node #0,4: 47:[47, 44, 81] Operation: 19+62=81 Moving to Node #0,1 Current State: 47:[47, 44, 43], Operations: ['62-19=43'] Exploring Operation: 47+43=90, Resulting Numbers: [44, 90] Generated Node #0,1,0: 47:[44, 90] Operation: 47+43=90 Exploring Operation: 47-43=4, Resulting Numbers: [44, 4] Generated Node #0,1,1: 47:[44, 4] Operation: 47-43=4 Exploring Operation: 44+43=87, Resulting Numbers: [47, 87] Generated Node #0,1,2: 47:[47, 87] Operation: 44+43=87 Exploring Operation: 44-43=1, Resulting Numbers: [47, 1] Generated Node #0,1,3: 47:[47, 1] Operation: 44-43=1 Exploring Operation: 47+44=91, Resulting Numbers: [43, 91] Generated Node #0,1,4: 47:[43, 91] Operation: 47+44=91 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[47, 87], Operations: ['62-19=43', '44+43=87'] Exploring Operation: 47+87=134, Resulting Numbers: [134] 134,47 unequal: No Solution Exploring Operation: 47*87=4089, Resulting Numbers: [4089] 4089,47 unequal: No Solution Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[44, 90], Operations: ['62-19=43', '47+43=90'] Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,47 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,47 unequal: No Solution Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[44, 4], Operations: ['62-19=43', '47-43=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,47 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[47, 1], Operations: ['62-19=43', '44-43=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[19, 62, 47, 44], Operations: [] Exploring Operation: 62-19=43, Resulting Numbers: [47, 44, 43] Generated Node #0,1: 47:[47, 44, 43] Operation: 62-19=43 Moving to Node #0,1 Current State: 47:[47, 44, 43], Operations: ['62-19=43'] Exploring Operation: 44-43=1, Resulting Numbers: [47, 1] Generated Node #0,1,3: 47:[47, 1] Operation: 44-43=1 Moving to Node #0,1,3 Current State: 47:[47, 1], Operations: ['62-19=43', '44-43=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 5, 85, 49, 5 ]
37
[ "85/5=17", "49+5=54", "54-17=37" ]
Current State: 37:[5, 85, 49, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [49, 17] Generated Node #2: [49, 17] from Operation: 85/5=17 Current State: 37:[49, 17], Operations: ['85/5=17'] Exploring Operation: 49+5=54, Resulting Numbers: [17, 54] Generated Node #3: [17, 54] from Operation: 49+5=54 Current State: 37:[17, 54], Operations: ['85/5=17', '49+5=54'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[5, 85, 49, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [49, 5, 17] Generated Node #0,0: 37:[49, 5, 17] Operation: 85/5=17 Exploring Operation: 85/5=17, Resulting Numbers: [5, 49, 17] Generated Node #0,1: 37:[5, 49, 17] Operation: 85/5=17 Moving to Node #0,0 Current State: 37:[49, 5, 17], Operations: ['85/5=17'] Exploring Operation: 5+17=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 37:[49, 22] Operation: 5+17=22 Exploring Operation: 49-5=44, Resulting Numbers: [17, 44] Generated Node #0,0,1: 37:[17, 44] Operation: 49-5=44 Moving to Node #0,1 Current State: 37:[5, 49, 17], Operations: ['85/5=17'] Exploring Operation: 5+17=22, Resulting Numbers: [49, 22] Generated Node #0,1,0: 37:[49, 22] Operation: 5+17=22 Exploring Operation: 49-5=44, Resulting Numbers: [17, 44] Generated Node #0,1,1: 37:[17, 44] Operation: 49-5=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[49, 22], Operations: ['85/5=17', '5+17=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,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,1 Current State: 37:[17, 44], Operations: ['85/5=17', '49-5=44'] Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,37 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: 37:[49, 22], Operations: ['85/5=17', '5+17=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[17, 44], Operations: ['85/5=17', '49-5=44'] Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 73, 54, 29, 64 ]
35
[ "73-64=9", "54/9=6", "29+6=35" ]
Current State: 35:[73, 54, 29, 64], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [54, 29, 9] Generated Node #2: [54, 29, 9] from Operation: 73-64=9 Current State: 35:[54, 29, 9], Operations: ['73-64=9'] Exploring Operation: 54/9=6, Resulting Numbers: [29, 6] Generated Node #3: [29, 6] from Operation: 54/9=6 Current State: 35:[29, 6], Operations: ['73-64=9', '54/9=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[73, 54, 29, 64], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [54, 29, 9] Generated Node #0,0: 35:[54, 29, 9] Operation: 73-64=9 Exploring Operation: 64-54=10, Resulting Numbers: [73, 29, 10] Generated Node #0,1: 35:[73, 29, 10] Operation: 64-54=10 Exploring Operation: 64-29=35, Resulting Numbers: [73, 54, 35] Generated Node #0,2: 35:[73, 54, 35] Operation: 64-29=35 Exploring Operation: 73-54=19, Resulting Numbers: [29, 64, 19] Generated Node #0,3: 35:[29, 64, 19] Operation: 73-54=19 Exploring Operation: 73-29=44, Resulting Numbers: [54, 64, 44] Generated Node #0,4: 35:[54, 64, 44] Operation: 73-29=44 Moving to Node #0,0 Current State: 35:[54, 29, 9], Operations: ['73-64=9'] Exploring Operation: 29+9=38, Resulting Numbers: [54, 38] Generated Node #0,0,0: 35:[54, 38] Operation: 29+9=38 Exploring Operation: 54-29=25, Resulting Numbers: [9, 25] Generated Node #0,0,1: 35:[9, 25] Operation: 54-29=25 Exploring Operation: 29-9=20, Resulting Numbers: [54, 20] Generated Node #0,0,2: 35:[54, 20] Operation: 29-9=20 Exploring Operation: 54/9=6, Resulting Numbers: [29, 6] Generated Node #0,0,3: 35:[29, 6] Operation: 54/9=6 Exploring Operation: 54-9=45, Resulting Numbers: [29, 45] Generated Node #0,0,4: 35:[29, 45] Operation: 54-9=45 Moving to Node #0,3 Current State: 35:[29, 64, 19], Operations: ['73-54=19'] Exploring Operation: 29+19=48, Resulting Numbers: [64, 48] Generated Node #0,3,0: 35:[64, 48] Operation: 29+19=48 Exploring Operation: 29-19=10, Resulting Numbers: [64, 10] Generated Node #0,3,1: 35:[64, 10] Operation: 29-19=10 Exploring Operation: 64-29=35, Resulting Numbers: [19, 35] Generated Node #0,3,2: 35:[19, 35] Operation: 64-29=35 Exploring Operation: 64-19=45, Resulting Numbers: [29, 45] Generated Node #0,3,3: 35:[29, 45] Operation: 64-19=45 Exploring Operation: 64+19=83, Resulting Numbers: [29, 83] Generated Node #0,3,4: 35:[29, 83] Operation: 64+19=83 Moving to Node #0,1 Current State: 35:[73, 29, 10], Operations: ['64-54=10'] Exploring Operation: 73-29=44, Resulting Numbers: [10, 44] Generated Node #0,1,0: 35:[10, 44] Operation: 73-29=44 Exploring Operation: 73-10=63, Resulting Numbers: [29, 63] Generated Node #0,1,1: 35:[29, 63] Operation: 73-10=63 Exploring Operation: 29-10=19, Resulting Numbers: [73, 19] Generated Node #0,1,2: 35:[73, 19] Operation: 29-10=19 Exploring Operation: 73+10=83, Resulting Numbers: [29, 83] Generated Node #0,1,3: 35:[29, 83] Operation: 73+10=83 Exploring Operation: 29+10=39, Resulting Numbers: [73, 39] Generated Node #0,1,4: 35:[73, 39] Operation: 29+10=39 Moving to Node #0,2 Current State: 35:[73, 54, 35], Operations: ['64-29=35'] Exploring Operation: 73+35=108, Resulting Numbers: [54, 108] Generated Node #0,2,0: 35:[54, 108] Operation: 73+35=108 Exploring Operation: 73-54=19, Resulting Numbers: [35, 19] Generated Node #0,2,1: 35:[35, 19] Operation: 73-54=19 Exploring Operation: 73+54=127, Resulting Numbers: [35, 127] Generated Node #0,2,2: 35:[35, 127] Operation: 73+54=127 Exploring Operation: 54-35=19, Resulting Numbers: [73, 19] Generated Node #0,2,3: 35:[73, 19] Operation: 54-35=19 Exploring Operation: 73-35=38, Resulting Numbers: [54, 38] Generated Node #0,2,4: 35:[54, 38] Operation: 73-35=38 Moving to Node #0,4 Current State: 35:[54, 64, 44], Operations: ['73-29=44'] Exploring Operation: 54-44=10, Resulting Numbers: [64, 10] Generated Node #0,4,0: 35:[64, 10] Operation: 54-44=10 Exploring Operation: 54+64=118, Resulting Numbers: [44, 118] Generated Node #0,4,1: 35:[44, 118] Operation: 54+64=118 Exploring Operation: 64-54=10, Resulting Numbers: [44, 10] Generated Node #0,4,2: 35:[44, 10] Operation: 64-54=10 Exploring Operation: 64-44=20, Resulting Numbers: [54, 20] Generated Node #0,4,3: 35:[54, 20] Operation: 64-44=20 Exploring Operation: 54+44=98, Resulting Numbers: [64, 98] Generated Node #0,4,4: 35:[64, 98] Operation: 54+44=98 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 35:[44, 10], Operations: ['73-29=44', '64-54=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,35 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,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,4,0 Current State: 35:[64, 10], Operations: ['73-29=44', '54-44=10'] Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,35 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,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,4,3 Current State: 35:[54, 20], Operations: ['73-29=44', '64-44=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,35 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,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,4,1 Current State: 35:[44, 118], Operations: ['73-29=44', '54+64=118'] Exploring Operation: 44+118=162, Resulting Numbers: [162] 162,35 unequal: No Solution Exploring Operation: 118-44=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 44*118=5192, Resulting Numbers: [5192] 5192,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,4,4 Current State: 35:[64, 98], Operations: ['73-29=44', '54+44=98'] Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 64+98=162, Resulting Numbers: [162] 162,35 unequal: No Solution Exploring Operation: 64*98=6272, Resulting Numbers: [6272] 6272,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 35:[29, 6], Operations: ['73-64=9', '54/9=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[73, 54, 29, 64], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [54, 29, 9] Generated Node #0,0: 35:[54, 29, 9] Operation: 73-64=9 Moving to Node #0,0 Current State: 35:[54, 29, 9], Operations: ['73-64=9'] Exploring Operation: 54/9=6, Resulting Numbers: [29, 6] Generated Node #0,0,3: 35:[29, 6] Operation: 54/9=6 Moving to Node #0,0,3 Current State: 35:[29, 6], Operations: ['73-64=9', '54/9=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 49, 87, 34, 26 ]
98
[ "87-49=38", "34+26=60", "38+60=98" ]
Current State: 98:[49, 87, 34, 26], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [34, 26, 38] Generated Node #2: [34, 26, 38] from Operation: 87-49=38 Current State: 98:[34, 26, 38], Operations: ['87-49=38'] Exploring Operation: 34+26=60, Resulting Numbers: [38, 60] Generated Node #3: [38, 60] from Operation: 34+26=60 Current State: 98:[38, 60], Operations: ['87-49=38', '34+26=60'] Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[49, 87, 34, 26], Operations: [] Exploring Operation: 34-26=8, Resulting Numbers: [49, 87, 8] Generated Node #0,0: 98:[49, 87, 8] Operation: 34-26=8 Moving to Node #0,0 Current State: 98:[49, 87, 8], Operations: ['34-26=8'] Exploring Operation: 87+8=95, Resulting Numbers: [49, 95] Generated Node #0,0,0: 98:[49, 95] Operation: 87+8=95 Moving to Node #0,0,0 Current State: 98:[49, 95], Operations: ['34-26=8', '87+8=95'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,98 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 98, 5, 95, 74 ]
72
[ "98-5=93", "95-74=21", "93-21=72" ]
Current State: 72:[98, 5, 95, 74], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [95, 74, 93] Generated Node #2: [95, 74, 93] from Operation: 98-5=93 Current State: 72:[95, 74, 93], Operations: ['98-5=93'] Exploring Operation: 95-74=21, Resulting Numbers: [93, 21] Generated Node #3: [93, 21] from Operation: 95-74=21 Current State: 72:[93, 21], Operations: ['98-5=93', '95-74=21'] Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[98, 5, 95, 74], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [5, 74, 3] Generated Node #0,0: 72:[5, 74, 3] Operation: 98-95=3 Exploring Operation: 98-5=93, Resulting Numbers: [95, 74, 93] Generated Node #0,1: 72:[95, 74, 93] Operation: 98-5=93 Exploring Operation: 98-74=24, Resulting Numbers: [5, 95, 24] Generated Node #0,2: 72:[5, 95, 24] Operation: 98-74=24 Exploring Operation: 95/5=19, Resulting Numbers: [98, 74, 19] Generated Node #0,3: 72:[98, 74, 19] Operation: 95/5=19 Exploring Operation: 95-74=21, Resulting Numbers: [98, 5, 21] Generated Node #0,4: 72:[98, 5, 21] Operation: 95-74=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[5, 74, 3], Operations: ['98-95=3'] Exploring Operation: 74-5=69, Resulting Numbers: [3, 69] Generated Node #0,0,0: 72:[3, 69] Operation: 74-5=69 Exploring Operation: 5-3=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 72:[74, 2] Operation: 5-3=2 Exploring Operation: 74-3=71, Resulting Numbers: [5, 71] Generated Node #0,0,2: 72:[5, 71] Operation: 74-3=71 Exploring Operation: 5*3=15, Resulting Numbers: [74, 15] Generated Node #0,0,3: 72:[74, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [74, 8] Generated Node #0,0,4: 72:[74, 8] Operation: 5+3=8 Moving to Node #0,0,1 Current State: 72:[74, 2], Operations: ['98-95=3', '5-3=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[98, 5, 95, 74], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [5, 74, 3] Generated Node #0,0: 72:[5, 74, 3] Operation: 98-95=3 Moving to Node #0,0 Current State: 72:[5, 74, 3], Operations: ['98-95=3'] Exploring Operation: 5-3=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 72:[74, 2] Operation: 5-3=2 Moving to Node #0,0,1 Current State: 72:[74, 2], Operations: ['98-95=3', '5-3=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 2, 43, 56, 55 ]
97
[ "2*55=110", "56-43=13", "110-13=97" ]
Current State: 97:[2, 43, 56, 55], Operations: [] Exploring Operation: 2*55=110, Resulting Numbers: [43, 56, 110] Generated Node #2: [43, 56, 110] from Operation: 2*55=110 Current State: 97:[43, 56, 110], Operations: ['2*55=110'] Exploring Operation: 56-43=13, Resulting Numbers: [110, 13] Generated Node #3: [110, 13] from Operation: 56-43=13 Current State: 97:[110, 13], Operations: ['2*55=110', '56-43=13'] Exploring Operation: 110-13=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[2, 43, 56, 55], Operations: [] Exploring Operation: 2*43=86, Resulting Numbers: [56, 55, 86] Generated Node #0,0: 97:[56, 55, 86] Operation: 2*43=86 Moving to Node #0,0 Current State: 97:[56, 55, 86], Operations: ['2*43=86'] Exploring Operation: 56+55=111, Resulting Numbers: [86, 111] Generated Node #0,0,0: 97:[86, 111] Operation: 56+55=111 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[86, 111], Operations: ['2*43=86', '56+55=111'] Exploring Operation: 111-86=25, Resulting Numbers: [25] 25,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
[ 97, 56, 87, 9 ]
55
[ "97-56=41", "87+9=96", "96-41=55" ]
Current State: 55:[97, 56, 87, 9], Operations: [] Exploring Operation: 97-56=41, Resulting Numbers: [87, 9, 41] Generated Node #2: [87, 9, 41] from Operation: 97-56=41 Current State: 55:[87, 9, 41], Operations: ['97-56=41'] Exploring Operation: 87+9=96, Resulting Numbers: [41, 96] Generated Node #3: [41, 96] from Operation: 87+9=96 Current State: 55:[41, 96], Operations: ['97-56=41', '87+9=96'] Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[97, 56, 87, 9], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [56, 9, 10] Generated Node #0,0: 55:[56, 9, 10] Operation: 97-87=10 Exploring Operation: 87-9=78, Resulting Numbers: [97, 56, 78] Generated Node #0,1: 55:[97, 56, 78] Operation: 87-9=78 Exploring Operation: 97-56=41, Resulting Numbers: [87, 9, 41] Generated Node #0,2: 55:[87, 9, 41] Operation: 97-56=41 Exploring Operation: 87-56=31, Resulting Numbers: [97, 9, 31] Generated Node #0,3: 55:[97, 9, 31] Operation: 87-56=31 Exploring Operation: 97-9=88, Resulting Numbers: [56, 87, 88] Generated Node #0,4: 55:[56, 87, 88] Operation: 97-9=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[56, 9, 10], Operations: ['97-87=10'] Exploring Operation: 9+10=19, Resulting Numbers: [56, 19] Generated Node #0,0,0: 55:[56, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 55:[56, 1] Operation: 10-9=1 Exploring Operation: 56-10=46, Resulting Numbers: [9, 46] Generated Node #0,0,2: 55:[9, 46] Operation: 56-10=46 Exploring Operation: 56-9=47, Resulting Numbers: [10, 47] Generated Node #0,0,3: 55:[10, 47] Operation: 56-9=47 Exploring Operation: 56+9=65, Resulting Numbers: [10, 65] Generated Node #0,0,4: 55:[10, 65] Operation: 56+9=65 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[56, 1], Operations: ['97-87=10', '10-9=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[97, 56, 87, 9], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [56, 9, 10] Generated Node #0,0: 55:[56, 9, 10] Operation: 97-87=10 Moving to Node #0,0 Current State: 55:[56, 9, 10], Operations: ['97-87=10'] Exploring Operation: 10-9=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 55:[56, 1] Operation: 10-9=1 Moving to Node #0,0,1 Current State: 55:[56, 1], Operations: ['97-87=10', '10-9=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 47, 41, 44, 55 ]
42
[ "47-44=3", "55-41=14", "3*14=42" ]
Current State: 42:[47, 41, 44, 55], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [41, 55, 3] Generated Node #2: [41, 55, 3] from Operation: 47-44=3 Current State: 42:[41, 55, 3], Operations: ['47-44=3'] Exploring Operation: 55-41=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 55-41=14 Current State: 42:[3, 14], Operations: ['47-44=3', '55-41=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[47, 41, 44, 55], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [41, 44, 8] Generated Node #0,0: 42:[41, 44, 8] Operation: 55-47=8 Moving to Node #0,0 Current State: 42:[41, 44, 8], Operations: ['55-47=8'] Exploring Operation: 44-41=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 42:[8, 3] Operation: 44-41=3 Moving to Node #0,0,0 Current State: 42:[8, 3], Operations: ['55-47=8', '44-41=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,42 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 29, 9, 19 ]
95
[ "29+9=38", "2*38=76", "19+76=95" ]
Current State: 95:[2, 29, 9, 19], Operations: [] Exploring Operation: 29+9=38, Resulting Numbers: [2, 19, 38] Generated Node #2: [2, 19, 38] from Operation: 29+9=38 Current State: 95:[2, 19, 38], Operations: ['29+9=38'] Exploring Operation: 2*38=76, Resulting Numbers: [19, 76] Generated Node #3: [19, 76] from Operation: 2*38=76 Current State: 95:[19, 76], Operations: ['29+9=38', '2*38=76'] Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[2, 29, 9, 19], Operations: [] Exploring Operation: 29-2=27, Resulting Numbers: [9, 19, 27] Generated Node #0,0: 95:[9, 19, 27] Operation: 29-2=27 Exploring Operation: 29-9=20, Resulting Numbers: [2, 19, 20] Generated Node #0,1: 95:[2, 19, 20] Operation: 29-9=20 Exploring Operation: 29-19=10, Resulting Numbers: [2, 9, 10] Generated Node #0,2: 95:[2, 9, 10] Operation: 29-19=10 Exploring Operation: 2*9=18, Resulting Numbers: [29, 19, 18] Generated Node #0,3: 95:[29, 19, 18] Operation: 2*9=18 Exploring Operation: 9-2=7, Resulting Numbers: [29, 19, 7] Generated Node #0,4: 95:[29, 19, 7] Operation: 9-2=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[2, 19, 20], Operations: ['29-9=20'] Exploring Operation: 2+20=22, Resulting Numbers: [19, 22] Generated Node #0,1,0: 95:[19, 22] Operation: 2+20=22 Exploring Operation: 2+19=21, Resulting Numbers: [20, 21] Generated Node #0,1,1: 95:[20, 21] Operation: 2+19=21 Exploring Operation: 20-2=18, Resulting Numbers: [19, 18] Generated Node #0,1,2: 95:[19, 18] Operation: 20-2=18 Exploring Operation: 19-2=17, Resulting Numbers: [20, 17] Generated Node #0,1,3: 95:[20, 17] Operation: 19-2=17 Exploring Operation: 20/2=10, Resulting Numbers: [19, 10] Generated Node #0,1,4: 95:[19, 10] Operation: 20/2=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[19, 18], Operations: ['29-9=20', '20-2=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[19, 22], Operations: ['29-9=20', '2+20=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,95 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[20, 21], Operations: ['29-9=20', '2+19=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,95 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 95:[20, 17], Operations: ['29-9=20', '19-2=17'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,95 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 95:[19, 10], Operations: ['29-9=20', '20/2=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[29, 19, 18], Operations: ['2*9=18'] Exploring Operation: 29-18=11, Resulting Numbers: [19, 11] Generated Node #0,3,0: 95:[19, 11] Operation: 29-18=11 Exploring Operation: 29-19=10, Resulting Numbers: [18, 10] Generated Node #0,3,1: 95:[18, 10] Operation: 29-19=10 Exploring Operation: 19+18=37, Resulting Numbers: [29, 37] Generated Node #0,3,2: 95:[29, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [29, 1] Generated Node #0,3,3: 95:[29, 1] Operation: 19-18=1 Exploring Operation: 29+18=47, Resulting Numbers: [19, 47] Generated Node #0,3,4: 95:[19, 47] Operation: 29+18=47 Moving to Node #0,3,0 Current State: 95:[19, 11], Operations: ['2*9=18', '29-18=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[18, 10], Operations: ['2*9=18', '29-19=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[29, 1], Operations: ['2*9=18', '19-18=1'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[29, 37], Operations: ['2*9=18', '19+18=37'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,95 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[19, 47], Operations: ['2*9=18', '29+18=47'] Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,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,0 Current State: 95:[9, 19, 27], Operations: ['29-2=27'] Exploring Operation: 27-19=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 95:[9, 8] Operation: 27-19=8 Exploring Operation: 27/9=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 95:[19, 3] Operation: 27/9=3 Exploring Operation: 9+19=28, Resulting Numbers: [27, 28] Generated Node #0,0,2: 95:[27, 28] Operation: 9+19=28 Exploring Operation: 19-9=10, Resulting Numbers: [27, 10] Generated Node #0,0,3: 95:[27, 10] Operation: 19-9=10 Exploring Operation: 27-9=18, Resulting Numbers: [19, 18] Generated Node #0,0,4: 95:[19, 18] Operation: 27-9=18 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 95:[19, 18], Operations: ['29-2=27', '27-9=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,95 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[19, 3], Operations: ['29-2=27', '27/9=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[9, 8], Operations: ['29-2=27', '27-19=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[27, 10], Operations: ['29-2=27', '19-9=10'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,95 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[27, 28], Operations: ['29-2=27', '9+19=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,95 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[2, 9, 10], Operations: ['29-19=10'] Exploring Operation: 2*10=20, Resulting Numbers: [9, 20] Generated Node #0,2,0: 95:[9, 20] Operation: 2*10=20 Exploring Operation: 9-2=7, Resulting Numbers: [10, 7] Generated Node #0,2,1: 95:[10, 7] Operation: 9-2=7 Exploring Operation: 10/2=5, Resulting Numbers: [9, 5] Generated Node #0,2,2: 95:[9, 5] Operation: 10/2=5 Exploring Operation: 2*9=18, Resulting Numbers: [10, 18] Generated Node #0,2,3: 95:[10, 18] Operation: 2*9=18 Exploring Operation: 9+10=19, Resulting Numbers: [2, 19] Generated Node #0,2,4: 95:[2, 19] Operation: 9+10=19 Moving to Node #0,2,4 Current State: 95:[2, 19], Operations: ['29-19=10', '9+10=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[9, 5], Operations: ['29-19=10', '10/2=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[9, 20], Operations: ['29-19=10', '2*10=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,95 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[10, 18], Operations: ['29-19=10', '2*9=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[10, 7], Operations: ['29-19=10', '9-2=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,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,4 Current State: 95:[29, 19, 7], Operations: ['9-2=7'] Exploring Operation: 19+7=26, Resulting Numbers: [29, 26] Generated Node #0,4,0: 95:[29, 26] Operation: 19+7=26 Exploring Operation: 29-19=10, Resulting Numbers: [7, 10] Generated Node #0,4,1: 95:[7, 10] Operation: 29-19=10 Exploring Operation: 29+7=36, Resulting Numbers: [19, 36] Generated Node #0,4,2: 95:[19, 36] Operation: 29+7=36 Exploring Operation: 19-7=12, Resulting Numbers: [29, 12] Generated Node #0,4,3: 95:[29, 12] Operation: 19-7=12 Exploring Operation: 29-7=22, Resulting Numbers: [19, 22] Generated Node #0,4,4: 95:[19, 22] Operation: 29-7=22 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 95:[19, 22], Operations: ['9-2=7', '29-7=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 95:[7, 10], Operations: ['9-2=7', '29-19=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 95:[29, 26], Operations: ['9-2=7', '19+7=26'] Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,95 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,95 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 95:[19, 36], Operations: ['9-2=7', '29+7=36'] Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,95 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 95:[29, 12], Operations: ['9-2=7', '19-7=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 8, 62, 90, 40 ]
80
[ "8*90=720", "720/40=18", "62+18=80" ]
Current State: 80:[8, 62, 90, 40], Operations: [] Exploring Operation: 8*90=720, Resulting Numbers: [62, 40, 720] Generated Node #2: [62, 40, 720] from Operation: 8*90=720 Current State: 80:[62, 40, 720], Operations: ['8*90=720'] Exploring Operation: 720/40=18, Resulting Numbers: [62, 18] Generated Node #3: [62, 18] from Operation: 720/40=18 Current State: 80:[62, 18], Operations: ['8*90=720', '720/40=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[8, 62, 90, 40], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [8, 40, 28] Generated Node #0,0: 80:[8, 40, 28] Operation: 90-62=28 Exploring Operation: 62-40=22, Resulting Numbers: [8, 90, 22] Generated Node #0,1: 80:[8, 90, 22] Operation: 62-40=22 Moving to Node #0,0 Current State: 80:[8, 40, 28], Operations: ['90-62=28'] Exploring Operation: 40-28=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 80:[8, 12] Operation: 40-28=12 Exploring Operation: 28-8=20, Resulting Numbers: [40, 20] Generated Node #0,0,1: 80:[40, 20] Operation: 28-8=20 Moving to Node #0,1 Current State: 80:[8, 90, 22], Operations: ['62-40=22'] Exploring Operation: 90-8=82, Resulting Numbers: [22, 82] Generated Node #0,1,0: 80:[22, 82] Operation: 90-8=82 Exploring Operation: 22-8=14, Resulting Numbers: [90, 14] Generated Node #0,1,1: 80:[90, 14] Operation: 22-8=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[22, 82], Operations: ['62-40=22', '90-8=82'] Exploring Operation: 22+82=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[90, 14], Operations: ['62-40=22', '22-8=14'] Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,80 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: 80:[40, 20], Operations: ['90-62=28', '28-8=20'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[8, 12], Operations: ['90-62=28', '40-28=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 42, 90, 94, 21 ]
25
[ "90-42=48", "94-21=73", "73-48=25" ]
Current State: 25:[42, 90, 94, 21], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [94, 21, 48] Generated Node #2: [94, 21, 48] from Operation: 90-42=48 Current State: 25:[94, 21, 48], Operations: ['90-42=48'] Exploring Operation: 94-21=73, Resulting Numbers: [48, 73] Generated Node #3: [48, 73] from Operation: 94-21=73 Current State: 25:[48, 73], Operations: ['90-42=48', '94-21=73'] Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[42, 90, 94, 21], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [42, 21, 4] Generated Node #0,0: 25:[42, 21, 4] Operation: 94-90=4 Exploring Operation: 90-42=48, Resulting Numbers: [94, 21, 48] Generated Node #0,1: 25:[94, 21, 48] Operation: 90-42=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[42, 21, 4], Operations: ['94-90=4'] Exploring Operation: 42-21=21, Resulting Numbers: [4, 21] Generated Node #0,0,0: 25:[4, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 25:[4, 2] Operation: 42/21=2 Moving to Node #0,0,1 Current State: 25:[4, 2], Operations: ['94-90=4', '42/21=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[4, 21], Operations: ['94-90=4', '42-21=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[42, 90, 94, 21], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [42, 21, 4] Generated Node #0,0: 25:[42, 21, 4] Operation: 94-90=4 Moving to Node #0,0 Current State: 25:[42, 21, 4], Operations: ['94-90=4'] Exploring Operation: 42-21=21, Resulting Numbers: [4, 21] Generated Node #0,0,0: 25:[4, 21] Operation: 42-21=21 Moving to Node #0,0,0 Current State: 25:[4, 21], Operations: ['94-90=4', '42-21=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 56, 41, 56, 45 ]
45
[ "56-56=0", "41*0=0", "45+0=45" ]
Current State: 45:[56, 41, 56, 45], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [41, 45, 0] Generated Node #2: [41, 45, 0] from Operation: 56-56=0 Current State: 45:[41, 45, 0], Operations: ['56-56=0'] Exploring Operation: 41*0=0, Resulting Numbers: [45, 0] Generated Node #3: [45, 0] from Operation: 41*0=0 Current State: 45:[45, 0], Operations: ['56-56=0', '41*0=0'] Exploring Operation: 45+0=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[56, 41, 56, 45], Operations: [] Exploring Operation: 56/56=1, Resulting Numbers: [41, 45, 1] Generated Node #0,0: 45:[41, 45, 1] Operation: 56/56=1 Exploring Operation: 56-56=0, Resulting Numbers: [41, 45, 0] Generated Node #0,1: 45:[41, 45, 0] Operation: 56-56=0 Moving to Node #0,0 Current State: 45:[41, 45, 1], Operations: ['56/56=1'] Exploring Operation: 41+1=42, Resulting Numbers: [45, 42] Generated Node #0,0,0: 45:[45, 42] Operation: 41+1=42 Exploring Operation: 45-41=4, Resulting Numbers: [1, 4] Generated Node #0,0,1: 45:[1, 4] Operation: 45-41=4 Moving to Node #0,1 Current State: 45:[41, 45, 0], Operations: ['56-56=0'] Exploring Operation: 45-41=4, Resulting Numbers: [0, 4] Generated Node #0,1,0: 45:[0, 4] Operation: 45-41=4 Exploring Operation: 41*0=0, Resulting Numbers: [45, 0] Generated Node #0,1,1: 45:[45, 0] Operation: 41*0=0 Moving to Node #0,0,0 Current State: 45:[45, 42], Operations: ['56/56=1', '41+1=42'] Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[45, 0], Operations: ['56-56=0', '41*0=0'] Exploring Operation: 45-0=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[56, 41, 56, 45], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [41, 45, 0] Generated Node #0,1: 45:[41, 45, 0] Operation: 56-56=0 Moving to Node #0,1 Current State: 45:[41, 45, 0], Operations: ['56-56=0'] Exploring Operation: 41*0=0, Resulting Numbers: [45, 0] Generated Node #0,1,1: 45:[45, 0] Operation: 41*0=0 Moving to Node #0,1,1 Current State: 45:[45, 0], Operations: ['56-56=0', '41*0=0'] Exploring Operation: 45-0=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 58, 27, 73, 28 ]
16
[ "58+27=85", "73+28=101", "101-85=16" ]
Current State: 16:[58, 27, 73, 28], Operations: [] Exploring Operation: 58+27=85, Resulting Numbers: [73, 28, 85] Generated Node #2: [73, 28, 85] from Operation: 58+27=85 Current State: 16:[73, 28, 85], Operations: ['58+27=85'] Exploring Operation: 73+28=101, Resulting Numbers: [85, 101] Generated Node #3: [85, 101] from Operation: 73+28=101 Current State: 16:[85, 101], Operations: ['58+27=85', '73+28=101'] Exploring Operation: 101-85=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[58, 27, 73, 28], Operations: [] Exploring Operation: 58-28=30, Resulting Numbers: [27, 73, 30] Generated Node #0,0: 16:[27, 73, 30] Operation: 58-28=30 Exploring Operation: 73-58=15, Resulting Numbers: [27, 28, 15] Generated Node #0,1: 16:[27, 28, 15] Operation: 73-58=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[27, 28, 15], Operations: ['73-58=15'] Exploring Operation: 28-27=1, Resulting Numbers: [15, 1] Generated Node #0,1,0: 16:[15, 1] Operation: 28-27=1 Exploring Operation: 28-15=13, Resulting Numbers: [27, 13] Generated Node #0,1,1: 16:[27, 13] Operation: 28-15=13 Moving to Node #0,1,0 Current State: 16:[15, 1], Operations: ['73-58=15', '28-27=1'] Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[58, 27, 73, 28], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [27, 28, 15] Generated Node #0,1: 16:[27, 28, 15] Operation: 73-58=15 Moving to Node #0,1 Current State: 16:[27, 28, 15], Operations: ['73-58=15'] Exploring Operation: 28-27=1, Resulting Numbers: [15, 1] Generated Node #0,1,0: 16:[15, 1] Operation: 28-27=1 Moving to Node #0,1,0 Current State: 16:[15, 1], Operations: ['73-58=15', '28-27=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 84, 25, 71, 27 ]
15
[ "84-25=59", "71-27=44", "59-44=15" ]
Current State: 15:[84, 25, 71, 27], Operations: [] Exploring Operation: 84-25=59, Resulting Numbers: [71, 27, 59] Generated Node #2: [71, 27, 59] from Operation: 84-25=59 Current State: 15:[71, 27, 59], Operations: ['84-25=59'] Exploring Operation: 71-27=44, Resulting Numbers: [59, 44] Generated Node #3: [59, 44] from Operation: 71-27=44 Current State: 15:[59, 44], Operations: ['84-25=59', '71-27=44'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[84, 25, 71, 27], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [25, 71, 57] Generated Node #0,0: 15:[25, 71, 57] Operation: 84-27=57 Exploring Operation: 71-27=44, Resulting Numbers: [84, 25, 44] Generated Node #0,1: 15:[84, 25, 44] Operation: 71-27=44 Exploring Operation: 84-71=13, Resulting Numbers: [25, 27, 13] Generated Node #0,2: 15:[25, 27, 13] Operation: 84-71=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[25, 27, 13], Operations: ['84-71=13'] Exploring Operation: 25-13=12, Resulting Numbers: [27, 12] Generated Node #0,2,0: 15:[27, 12] Operation: 25-13=12 Exploring Operation: 27-25=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 15:[13, 2] Operation: 27-25=2 Exploring Operation: 27-13=14, Resulting Numbers: [25, 14] Generated Node #0,2,2: 15:[25, 14] Operation: 27-13=14 Moving to Node #0,2,1 Current State: 15:[13, 2], Operations: ['84-71=13', '27-25=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[84, 25, 71, 27], Operations: [] Exploring Operation: 84-71=13, Resulting Numbers: [25, 27, 13] Generated Node #0,2: 15:[25, 27, 13] Operation: 84-71=13 Moving to Node #0,2 Current State: 15:[25, 27, 13], Operations: ['84-71=13'] Exploring Operation: 27-25=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 15:[13, 2] Operation: 27-25=2 Moving to Node #0,2,1 Current State: 15:[13, 2], Operations: ['84-71=13', '27-25=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 79, 4, 27, 50 ]
63
[ "79-27=52", "52/4=13", "50+13=63" ]
Current State: 63:[79, 4, 27, 50], Operations: [] Exploring Operation: 79-27=52, Resulting Numbers: [4, 50, 52] Generated Node #2: [4, 50, 52] from Operation: 79-27=52 Current State: 63:[4, 50, 52], Operations: ['79-27=52'] Exploring Operation: 52/4=13, Resulting Numbers: [50, 13] Generated Node #3: [50, 13] from Operation: 52/4=13 Current State: 63:[50, 13], Operations: ['79-27=52', '52/4=13'] Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[79, 4, 27, 50], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [4, 27, 29] Generated Node #0,0: 63:[4, 27, 29] Operation: 79-50=29 Exploring Operation: 50-27=23, Resulting Numbers: [79, 4, 23] Generated Node #0,1: 63:[79, 4, 23] Operation: 50-27=23 Moving to Node #0,0 Current State: 63:[4, 27, 29], Operations: ['79-50=29'] Exploring Operation: 27+29=56, Resulting Numbers: [4, 56] Generated Node #0,0,0: 63:[4, 56] Operation: 27+29=56 Exploring Operation: 29-27=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 63:[4, 2] Operation: 29-27=2 Moving to Node #0,1 Current State: 63:[79, 4, 23], Operations: ['50-27=23'] Exploring Operation: 79-23=56, Resulting Numbers: [4, 56] Generated Node #0,1,0: 63:[4, 56] Operation: 79-23=56 Exploring Operation: 79-4=75, Resulting Numbers: [23, 75] Generated Node #0,1,1: 63:[23, 75] Operation: 79-4=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[4, 56], Operations: ['50-27=23', '79-23=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,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,1 Current State: 63:[23, 75], Operations: ['50-27=23', '79-4=75'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,63 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: 63:[4, 2], Operations: ['79-50=29', '29-27=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[4, 56], Operations: ['79-50=29', '27+29=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 87, 18, 61, 59 ]
67
[ "87-18=69", "61-59=2", "69-2=67" ]
Current State: 67:[87, 18, 61, 59], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [61, 59, 69] Generated Node #2: [61, 59, 69] from Operation: 87-18=69 Current State: 67:[61, 59, 69], Operations: ['87-18=69'] Exploring Operation: 61-59=2, Resulting Numbers: [69, 2] Generated Node #3: [69, 2] from Operation: 61-59=2 Current State: 67:[69, 2], Operations: ['87-18=69', '61-59=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[87, 18, 61, 59], Operations: [] Exploring Operation: 61-18=43, Resulting Numbers: [87, 59, 43] Generated Node #0,0: 67:[87, 59, 43] Operation: 61-18=43 Exploring Operation: 18+59=77, Resulting Numbers: [87, 61, 77] Generated Node #0,1: 67:[87, 61, 77] Operation: 18+59=77 Exploring Operation: 18+61=79, Resulting Numbers: [87, 59, 79] Generated Node #0,2: 67:[87, 59, 79] Operation: 18+61=79 Exploring Operation: 87-18=69, Resulting Numbers: [61, 59, 69] Generated Node #0,3: 67:[61, 59, 69] Operation: 87-18=69 Exploring Operation: 87+18=105, Resulting Numbers: [61, 59, 105] Generated Node #0,4: 67:[61, 59, 105] Operation: 87+18=105 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[61, 59, 69], Operations: ['87-18=69'] Exploring Operation: 59+69=128, Resulting Numbers: [61, 128] Generated Node #0,3,0: 67:[61, 128] Operation: 59+69=128 Exploring Operation: 69-61=8, Resulting Numbers: [59, 8] Generated Node #0,3,1: 67:[59, 8] Operation: 69-61=8 Exploring Operation: 61+59=120, Resulting Numbers: [69, 120] Generated Node #0,3,2: 67:[69, 120] Operation: 61+59=120 Exploring Operation: 61-59=2, Resulting Numbers: [69, 2] Generated Node #0,3,3: 67:[69, 2] Operation: 61-59=2 Exploring Operation: 69-59=10, Resulting Numbers: [61, 10] Generated Node #0,3,4: 67:[61, 10] Operation: 69-59=10 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[69, 120], Operations: ['87-18=69', '61+59=120'] Exploring Operation: 69*120=8280, Resulting Numbers: [8280] 8280,67 unequal: No Solution Exploring Operation: 69+120=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 120-69=51, Resulting Numbers: [51] 51,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 67:[61, 10], Operations: ['87-18=69', '69-59=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,67 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[61, 128], Operations: ['87-18=69', '59+69=128'] Exploring Operation: 61*128=7808, Resulting Numbers: [7808] 7808,67 unequal: No Solution Exploring Operation: 61+128=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 128-61=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[87, 18, 61, 59], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [61, 59, 69] Generated Node #0,3: 67:[61, 59, 69] Operation: 87-18=69 Moving to Node #0,3 Current State: 67:[61, 59, 69], Operations: ['87-18=69'] Exploring Operation: 59+69=128, Resulting Numbers: [61, 128] Generated Node #0,3,0: 67:[61, 128] Operation: 59+69=128 Moving to Node #0,3,0 Current State: 67:[61, 128], Operations: ['87-18=69', '59+69=128'] Exploring Operation: 128-61=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 50, 35, 17, 84 ]
70
[ "84-50=34", "35*34=1190", "1190/17=70" ]
Current State: 70:[50, 35, 17, 84], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [35, 17, 34] Generated Node #2: [35, 17, 34] from Operation: 84-50=34 Current State: 70:[35, 17, 34], Operations: ['84-50=34'] Exploring Operation: 35*34=1190, Resulting Numbers: [17, 1190] Generated Node #3: [17, 1190] from Operation: 35*34=1190 Current State: 70:[17, 1190], Operations: ['84-50=34', '35*34=1190'] Exploring Operation: 1190/17=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[50, 35, 17, 84], Operations: [] Exploring Operation: 50+17=67, Resulting Numbers: [35, 84, 67] Generated Node #0,0: 70:[35, 84, 67] Operation: 50+17=67 Exploring Operation: 50-17=33, Resulting Numbers: [35, 84, 33] Generated Node #0,1: 70:[35, 84, 33] Operation: 50-17=33 Exploring Operation: 50-35=15, Resulting Numbers: [17, 84, 15] Generated Node #0,2: 70:[17, 84, 15] Operation: 50-35=15 Exploring Operation: 84-50=34, Resulting Numbers: [35, 17, 34] Generated Node #0,3: 70:[35, 17, 34] Operation: 84-50=34 Moving to Node #0,3 Current State: 70:[35, 17, 34], Operations: ['84-50=34'] Exploring Operation: 34-17=17, Resulting Numbers: [35, 17] Generated Node #0,3,0: 70:[35, 17] Operation: 34-17=17 Exploring Operation: 35+34=69, Resulting Numbers: [17, 69] Generated Node #0,3,1: 70:[17, 69] Operation: 35+34=69 Exploring Operation: 35-34=1, Resulting Numbers: [17, 1] Generated Node #0,3,2: 70:[17, 1] Operation: 35-34=1 Exploring Operation: 34/17=2, Resulting Numbers: [35, 2] Generated Node #0,3,3: 70:[35, 2] Operation: 34/17=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[35, 2], Operations: ['84-50=34', '34/17=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[50, 35, 17, 84], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [35, 17, 34] Generated Node #0,3: 70:[35, 17, 34] Operation: 84-50=34 Moving to Node #0,3 Current State: 70:[35, 17, 34], Operations: ['84-50=34'] Exploring Operation: 34/17=2, Resulting Numbers: [35, 2] Generated Node #0,3,3: 70:[35, 2] Operation: 34/17=2 Moving to Node #0,3,3 Current State: 70:[35, 2], Operations: ['84-50=34', '34/17=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 89, 25, 21, 44 ]
49
[ "89+25=114", "21+44=65", "114-65=49" ]
Current State: 49:[89, 25, 21, 44], Operations: [] Exploring Operation: 89+25=114, Resulting Numbers: [21, 44, 114] Generated Node #2: [21, 44, 114] from Operation: 89+25=114 Current State: 49:[21, 44, 114], Operations: ['89+25=114'] Exploring Operation: 21+44=65, Resulting Numbers: [114, 65] Generated Node #3: [114, 65] from Operation: 21+44=65 Current State: 49:[114, 65], Operations: ['89+25=114', '21+44=65'] Exploring Operation: 114-65=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[89, 25, 21, 44], Operations: [] Exploring Operation: 89-44=45, Resulting Numbers: [25, 21, 45] Generated Node #0,0: 49:[25, 21, 45] Operation: 89-44=45 Exploring Operation: 89-21=68, Resulting Numbers: [25, 44, 68] Generated Node #0,1: 49:[25, 44, 68] Operation: 89-21=68 Exploring Operation: 89-25=64, Resulting Numbers: [21, 44, 64] Generated Node #0,2: 49:[21, 44, 64] Operation: 89-25=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[21, 44, 64], Operations: ['89-25=64'] Exploring Operation: 64-44=20, Resulting Numbers: [21, 20] Generated Node #0,2,0: 49:[21, 20] Operation: 64-44=20 Exploring Operation: 21+44=65, Resulting Numbers: [64, 65] Generated Node #0,2,1: 49:[64, 65] Operation: 21+44=65 Exploring Operation: 64-21=43, Resulting Numbers: [44, 43] Generated Node #0,2,2: 49:[44, 43] Operation: 64-21=43 Moving to Node #0,2,2 Current State: 49:[44, 43], Operations: ['89-25=64', '64-21=43'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,49 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[21, 20], Operations: ['89-25=64', '64-44=20'] Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,49 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,49 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[64, 65], Operations: ['89-25=64', '21+44=65'] Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,49 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,49 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[25, 21, 45], Operations: ['89-44=45'] Exploring Operation: 25+21=46, Resulting Numbers: [45, 46] Generated Node #0,0,0: 49:[45, 46] Operation: 25+21=46 Exploring Operation: 25-21=4, Resulting Numbers: [45, 4] Generated Node #0,0,1: 49:[45, 4] Operation: 25-21=4 Exploring Operation: 45-25=20, Resulting Numbers: [21, 20] Generated Node #0,0,2: 49:[21, 20] Operation: 45-25=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[45, 46], Operations: ['89-44=45', '25+21=46'] Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,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,1 Current State: 49:[45, 4], Operations: ['89-44=45', '25-21=4'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,49 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[89, 25, 21, 44], Operations: [] Exploring Operation: 89-44=45, Resulting Numbers: [25, 21, 45] Generated Node #0,0: 49:[25, 21, 45] Operation: 89-44=45 Moving to Node #0,0 Current State: 49:[25, 21, 45], Operations: ['89-44=45'] Exploring Operation: 25-21=4, Resulting Numbers: [45, 4] Generated Node #0,0,1: 49:[45, 4] Operation: 25-21=4 Moving to Node #0,0,1 Current State: 49:[45, 4], Operations: ['89-44=45', '25-21=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 40, 27, 37, 5 ]
18
[ "40/5=8", "37-27=10", "8+10=18" ]
Current State: 18:[40, 27, 37, 5], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [27, 37, 8] Generated Node #2: [27, 37, 8] from Operation: 40/5=8 Current State: 18:[27, 37, 8], Operations: ['40/5=8'] Exploring Operation: 37-27=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 37-27=10 Current State: 18:[8, 10], Operations: ['40/5=8', '37-27=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[40, 27, 37, 5], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [37, 5, 13] Generated Node #0,0: 18:[37, 5, 13] Operation: 40-27=13 Exploring Operation: 40/5=8, Resulting Numbers: [27, 37, 8] Generated Node #0,1: 18:[27, 37, 8] Operation: 40/5=8 Exploring Operation: 40-37=3, Resulting Numbers: [27, 5, 3] Generated Node #0,2: 18:[27, 5, 3] Operation: 40-37=3 Exploring Operation: 37-27=10, Resulting Numbers: [40, 5, 10] Generated Node #0,3: 18:[40, 5, 10] Operation: 37-27=10 Moving to Node #0,2 Current State: 18:[27, 5, 3], Operations: ['40-37=3'] Exploring Operation: 5-3=2, Resulting Numbers: [27, 2] Generated Node #0,2,0: 18:[27, 2] Operation: 5-3=2 Exploring Operation: 27/3=9, Resulting Numbers: [5, 9] Generated Node #0,2,1: 18:[5, 9] Operation: 27/3=9 Exploring Operation: 27-3=24, Resulting Numbers: [5, 24] Generated Node #0,2,2: 18:[5, 24] Operation: 27-3=24 Exploring Operation: 27-5=22, Resulting Numbers: [3, 22] Generated Node #0,2,3: 18:[3, 22] Operation: 27-5=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[5, 9], Operations: ['40-37=3', '27/3=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,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,2,3 Current State: 18:[3, 22], Operations: ['40-37=3', '27-5=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,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,2,2 Current State: 18:[5, 24], Operations: ['40-37=3', '27-3=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,18 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,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,2,0 Current State: 18:[27, 2], Operations: ['40-37=3', '5-3=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,18 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: 18:[40, 5, 10], Operations: ['37-27=10'] Exploring Operation: 40/5=8, Resulting Numbers: [10, 8] Generated Node #0,3,0: 18:[10, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [10, 35] Generated Node #0,3,1: 18:[10, 35] Operation: 40-5=35 Exploring Operation: 40-10=30, Resulting Numbers: [5, 30] Generated Node #0,3,2: 18:[5, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [5, 4] Generated Node #0,3,3: 18:[5, 4] Operation: 40/10=4 Moving to Node #0,0 Current State: 18:[37, 5, 13], Operations: ['40-27=13'] Exploring Operation: 5+13=18, Resulting Numbers: [37, 18] Generated Node #0,0,0: 18:[37, 18] Operation: 5+13=18 Exploring Operation: 37-5=32, Resulting Numbers: [13, 32] Generated Node #0,0,1: 18:[13, 32] Operation: 37-5=32 Exploring Operation: 37-13=24, Resulting Numbers: [5, 24] Generated Node #0,0,2: 18:[5, 24] Operation: 37-13=24 Exploring Operation: 13-5=8, Resulting Numbers: [37, 8] Generated Node #0,0,3: 18:[37, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[5, 24], Operations: ['40-27=13', '37-13=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,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,1 Current State: 18:[13, 32], Operations: ['40-27=13', '37-5=32'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,18 unequal: No Solution Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,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,0 Current State: 18:[37, 18], Operations: ['40-27=13', '5+13=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,18 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,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,3 Current State: 18:[37, 8], Operations: ['40-27=13', '13-5=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,18 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,18 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: 18:[27, 37, 8], Operations: ['40/5=8'] Exploring Operation: 37-8=29, Resulting Numbers: [27, 29] Generated Node #0,1,0: 18:[27, 29] Operation: 37-8=29 Exploring Operation: 37-27=10, Resulting Numbers: [8, 10] Generated Node #0,1,1: 18:[8, 10] Operation: 37-27=10 Exploring Operation: 27-8=19, Resulting Numbers: [37, 19] Generated Node #0,1,2: 18:[37, 19] Operation: 27-8=19 Exploring Operation: 27+8=35, Resulting Numbers: [37, 35] Generated Node #0,1,3: 18:[37, 35] Operation: 27+8=35 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[8, 10], Operations: ['40/5=8', '37-27=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,18 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[40, 27, 37, 5], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [27, 37, 8] Generated Node #0,1: 18:[27, 37, 8] Operation: 40/5=8 Moving to Node #0,1 Current State: 18:[27, 37, 8], Operations: ['40/5=8'] Exploring Operation: 37-27=10, Resulting Numbers: [8, 10] Generated Node #0,1,1: 18:[8, 10] Operation: 37-27=10 Moving to Node #0,1,1 Current State: 18:[8, 10], Operations: ['40/5=8', '37-27=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
mult_heuristic
[ 99, 62, 39, 2 ]
29
[ "99-39=60", "62/2=31", "60-31=29" ]
Current State: 29:[99, 62, 39, 2], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [62, 2, 60] Generated Node #2: [62, 2, 60] from Operation: 99-39=60 Current State: 29:[62, 2, 60], Operations: ['99-39=60'] Exploring Operation: 62/2=31, Resulting Numbers: [60, 31] Generated Node #3: [60, 31] from Operation: 62/2=31 Current State: 29:[60, 31], Operations: ['99-39=60', '62/2=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[99, 62, 39, 2], Operations: [] Exploring Operation: 62/2=31, Resulting Numbers: [99, 39, 31] Generated Node #0,0: 29:[99, 39, 31] Operation: 62/2=31 Exploring Operation: 99-62=37, Resulting Numbers: [39, 2, 37] Generated Node #0,1: 29:[39, 2, 37] Operation: 99-62=37 Moving to Node #0,1 Current State: 29:[39, 2, 37], Operations: ['99-62=37'] Exploring Operation: 39-2=37, Resulting Numbers: [37, 37] Generated Node #0,1,0: 29:[37, 37] Operation: 39-2=37 Exploring Operation: 37-2=35, Resulting Numbers: [39, 35] Generated Node #0,1,1: 29:[39, 35] Operation: 37-2=35 Moving to Node #0,0 Current State: 29:[99, 39, 31], Operations: ['62/2=31'] Exploring Operation: 99-31=68, Resulting Numbers: [39, 68] Generated Node #0,0,0: 29:[39, 68] Operation: 99-31=68 Exploring Operation: 99-39=60, Resulting Numbers: [31, 60] Generated Node #0,0,1: 29:[31, 60] Operation: 99-39=60 Moving to Node #0,1,0 Current State: 29:[37, 37], Operations: ['99-62=37', '39-2=37'] Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[39, 35], Operations: ['99-62=37', '37-2=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[31, 60], Operations: ['62/2=31', '99-39=60'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[99, 62, 39, 2], Operations: [] Exploring Operation: 62/2=31, Resulting Numbers: [99, 39, 31] Generated Node #0,0: 29:[99, 39, 31] Operation: 62/2=31 Moving to Node #0,0 Current State: 29:[99, 39, 31], Operations: ['62/2=31'] Exploring Operation: 99-39=60, Resulting Numbers: [31, 60] Generated Node #0,0,1: 29:[31, 60] Operation: 99-39=60 Moving to Node #0,0,1 Current State: 29:[31, 60], Operations: ['62/2=31', '99-39=60'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 73, 7, 79, 20 ]
75
[ "73+7=80", "80/20=4", "79-4=75" ]
Current State: 75:[73, 7, 79, 20], Operations: [] Exploring Operation: 73+7=80, Resulting Numbers: [79, 20, 80] Generated Node #2: [79, 20, 80] from Operation: 73+7=80 Current State: 75:[79, 20, 80], Operations: ['73+7=80'] Exploring Operation: 80/20=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 80/20=4 Current State: 75:[79, 4], Operations: ['73+7=80', '80/20=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[73, 7, 79, 20], Operations: [] Exploring Operation: 79-7=72, Resulting Numbers: [73, 20, 72] Generated Node #0,0: 75:[73, 20, 72] Operation: 79-7=72 Exploring Operation: 7+20=27, Resulting Numbers: [73, 79, 27] Generated Node #0,1: 75:[73, 79, 27] Operation: 7+20=27 Exploring Operation: 79-73=6, Resulting Numbers: [7, 20, 6] Generated Node #0,2: 75:[7, 20, 6] Operation: 79-73=6 Exploring Operation: 20-7=13, Resulting Numbers: [73, 79, 13] Generated Node #0,3: 75:[73, 79, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[73, 79, 27], Operations: ['7+20=27'] Exploring Operation: 73-27=46, Resulting Numbers: [79, 46] Generated Node #0,1,0: 75:[79, 46] Operation: 73-27=46 Exploring Operation: 73+27=100, Resulting Numbers: [79, 100] Generated Node #0,1,1: 75:[79, 100] Operation: 73+27=100 Exploring Operation: 79-27=52, Resulting Numbers: [73, 52] Generated Node #0,1,2: 75:[73, 52] Operation: 79-27=52 Exploring Operation: 79-73=6, Resulting Numbers: [27, 6] Generated Node #0,1,3: 75:[27, 6] Operation: 79-73=6 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[27, 6], Operations: ['7+20=27', '79-73=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,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,0 Current State: 75:[79, 46], Operations: ['7+20=27', '73-27=46'] Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 79*46=3634, Resulting Numbers: [3634] 3634,75 unequal: No Solution Exploring Operation: 79+46=125, Resulting Numbers: [125] 125,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:[73, 52], Operations: ['7+20=27', '79-27=52'] Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,75 unequal: No Solution Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,75 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,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:[79, 100], Operations: ['7+20=27', '73+27=100'] Exploring Operation: 79+100=179, Resulting Numbers: [179] 179,75 unequal: No Solution Exploring Operation: 79*100=7900, Resulting Numbers: [7900] 7900,75 unequal: No Solution Exploring Operation: 100-79=21, Resulting Numbers: [21] 21,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[7, 20, 6], Operations: ['79-73=6'] Exploring Operation: 20+6=26, Resulting Numbers: [7, 26] Generated Node #0,2,0: 75:[7, 26] Operation: 20+6=26 Exploring Operation: 7+20=27, Resulting Numbers: [6, 27] Generated Node #0,2,1: 75:[6, 27] Operation: 7+20=27 Exploring Operation: 20-6=14, Resulting Numbers: [7, 14] Generated Node #0,2,2: 75:[7, 14] Operation: 20-6=14 Exploring Operation: 20-7=13, Resulting Numbers: [6, 13] Generated Node #0,2,3: 75:[6, 13] Operation: 20-7=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[7, 26], Operations: ['79-73=6', '20+6=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,75 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,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,2,1 Current State: 75:[6, 27], Operations: ['79-73=6', '7+20=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,75 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,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,2,2 Current State: 75:[7, 14], Operations: ['79-73=6', '20-6=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,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,2,3 Current State: 75:[6, 13], Operations: ['79-73=6', '20-7=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[73, 79, 13], Operations: ['20-7=13'] Exploring Operation: 79-13=66, Resulting Numbers: [73, 66] Generated Node #0,3,0: 75:[73, 66] Operation: 79-13=66 Exploring Operation: 79-73=6, Resulting Numbers: [13, 6] Generated Node #0,3,1: 75:[13, 6] Operation: 79-73=6 Exploring Operation: 73+13=86, Resulting Numbers: [79, 86] Generated Node #0,3,2: 75:[79, 86] Operation: 73+13=86 Exploring Operation: 73-13=60, Resulting Numbers: [79, 60] Generated Node #0,3,3: 75:[79, 60] Operation: 73-13=60 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[13, 6], Operations: ['20-7=13', '79-73=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 75:[73, 66], Operations: ['20-7=13', '79-13=66'] Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,75 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,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,3,2 Current State: 75:[79, 86], Operations: ['20-7=13', '73+13=86'] Exploring Operation: 79+86=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 86-79=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 79*86=6794, Resulting Numbers: [6794] 6794,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,3,3 Current State: 75:[79, 60], Operations: ['20-7=13', '73-13=60'] Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,75 unequal: No Solution Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,75 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[73, 20, 72], Operations: ['79-7=72'] Exploring Operation: 73-72=1, Resulting Numbers: [20, 1] Generated Node #0,0,0: 75:[20, 1] Operation: 73-72=1 Exploring Operation: 20+72=92, Resulting Numbers: [73, 92] Generated Node #0,0,1: 75:[73, 92] Operation: 20+72=92 Exploring Operation: 73-20=53, Resulting Numbers: [72, 53] Generated Node #0,0,2: 75:[72, 53] Operation: 73-20=53 Exploring Operation: 73+20=93, Resulting Numbers: [72, 93] Generated Node #0,0,3: 75:[72, 93] Operation: 73+20=93 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[20, 1], Operations: ['79-7=72', '73-72=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[73, 92], Operations: ['79-7=72', '20+72=92'] Exploring Operation: 73*92=6716, Resulting Numbers: [6716] 6716,75 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 73+92=165, Resulting Numbers: [165] 165,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[72, 93], Operations: ['79-7=72', '73+20=93'] Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 72+93=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 72*93=6696, Resulting Numbers: [6696] 6696,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[72, 53], Operations: ['79-7=72', '73-20=53'] Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,75 unequal: No Solution Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 5, 20, 92, 3 ]
32
[ "20/5=4", "92+4=96", "96/3=32" ]
Current State: 32:[5, 20, 92, 3], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [92, 3, 4] Generated Node #2: [92, 3, 4] from Operation: 20/5=4 Current State: 32:[92, 3, 4], Operations: ['20/5=4'] Exploring Operation: 92+4=96, Resulting Numbers: [3, 96] Generated Node #3: [3, 96] from Operation: 92+4=96 Current State: 32:[3, 96], Operations: ['20/5=4', '92+4=96'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[5, 20, 92, 3], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [92, 3, 4] Generated Node #0,0: 32:[92, 3, 4] Operation: 20/5=4 Exploring Operation: 92-5=87, Resulting Numbers: [20, 3, 87] Generated Node #0,1: 32:[20, 3, 87] Operation: 92-5=87 Exploring Operation: 92-20=72, Resulting Numbers: [5, 3, 72] Generated Node #0,2: 32:[5, 3, 72] Operation: 92-20=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[5, 3, 72], Operations: ['92-20=72'] Exploring Operation: 72/3=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 32:[5, 24] Operation: 72/3=24 Exploring Operation: 72-3=69, Resulting Numbers: [5, 69] Generated Node #0,2,1: 32:[5, 69] Operation: 72-3=69 Exploring Operation: 72-5=67, Resulting Numbers: [3, 67] Generated Node #0,2,2: 32:[3, 67] Operation: 72-5=67 Moving to Node #0,2,0 Current State: 32:[5, 24], Operations: ['92-20=72', '72/3=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[3, 67], Operations: ['92-20=72', '72-5=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,32 unequal: No Solution Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,32 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[5, 69], Operations: ['92-20=72', '72-3=69'] Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,32 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[20, 3, 87], Operations: ['92-5=87'] Exploring Operation: 20-3=17, Resulting Numbers: [87, 17] Generated Node #0,1,0: 32:[87, 17] Operation: 20-3=17 Exploring Operation: 87/3=29, Resulting Numbers: [20, 29] Generated Node #0,1,1: 32:[20, 29] Operation: 87/3=29 Exploring Operation: 87-20=67, Resulting Numbers: [3, 67] Generated Node #0,1,2: 32:[3, 67] Operation: 87-20=67 Moving to Node #0,1,1 Current State: 32:[20, 29], Operations: ['92-5=87', '87/3=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,32 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[3, 67], Operations: ['92-5=87', '87-20=67'] Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,32 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,32 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[87, 17], Operations: ['92-5=87', '20-3=17'] Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,32 unequal: No Solution Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,32 unequal: No Solution Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[92, 3, 4], Operations: ['20/5=4'] Exploring Operation: 92/4=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 32:[3, 23] Operation: 92/4=23 Exploring Operation: 92-4=88, Resulting Numbers: [3, 88] Generated Node #0,0,1: 32:[3, 88] Operation: 92-4=88 Exploring Operation: 92-3=89, Resulting Numbers: [4, 89] Generated Node #0,0,2: 32:[4, 89] Operation: 92-3=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[3, 23], Operations: ['20/5=4', '92/4=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,32 unequal: No Solution No 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: 32:[3, 88], Operations: ['20/5=4', '92-4=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,32 unequal: No Solution Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,32 unequal: No Solution Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,32 unequal: No Solution No 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: 32:[4, 89], Operations: ['20/5=4', '92-3=89'] Exploring Operation: 4*89=356, Resulting Numbers: [356] 356,32 unequal: No Solution Exploring Operation: 4+89=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 30, 90, 26, 35 ]
43
[ "90/30=3", "26*3=78", "78-35=43" ]
Current State: 43:[30, 90, 26, 35], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [26, 35, 3] Generated Node #2: [26, 35, 3] from Operation: 90/30=3 Current State: 43:[26, 35, 3], Operations: ['90/30=3'] Exploring Operation: 26*3=78, Resulting Numbers: [35, 78] Generated Node #3: [35, 78] from Operation: 26*3=78 Current State: 43:[35, 78], Operations: ['90/30=3', '26*3=78'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[30, 90, 26, 35], Operations: [] Exploring Operation: 90-30=60, Resulting Numbers: [26, 35, 60] Generated Node #0,0: 43:[26, 35, 60] Operation: 90-30=60 Exploring Operation: 90-26=64, Resulting Numbers: [30, 35, 64] Generated Node #0,1: 43:[30, 35, 64] Operation: 90-26=64 Moving to Node #0,0 Current State: 43:[26, 35, 60], Operations: ['90-30=60'] Exploring Operation: 26+35=61, Resulting Numbers: [60, 61] Generated Node #0,0,0: 43:[60, 61] Operation: 26+35=61 Exploring Operation: 60-26=34, Resulting Numbers: [35, 34] Generated Node #0,0,1: 43:[35, 34] Operation: 60-26=34 Moving to Node #0,1 Current State: 43:[30, 35, 64], Operations: ['90-26=64'] Exploring Operation: 64-35=29, Resulting Numbers: [30, 29] Generated Node #0,1,0: 43:[30, 29] Operation: 64-35=29 Exploring Operation: 64-30=34, Resulting Numbers: [35, 34] Generated Node #0,1,1: 43:[35, 34] Operation: 64-30=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[35, 34], Operations: ['90-26=64', '64-30=34'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,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,0 Current State: 43:[30, 29], Operations: ['90-26=64', '64-35=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,43 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: 43:[35, 34], Operations: ['90-30=60', '60-26=34'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[60, 61], Operations: ['90-30=60', '26+35=61'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 34, 74, 51, 15 ]
37
[ "51-34=17", "17-15=2", "74/2=37" ]
Current State: 37:[34, 74, 51, 15], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [74, 15, 17] Generated Node #2: [74, 15, 17] from Operation: 51-34=17 Current State: 37:[74, 15, 17], Operations: ['51-34=17'] Exploring Operation: 17-15=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 17-15=2 Current State: 37:[74, 2], Operations: ['51-34=17', '17-15=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[34, 74, 51, 15], Operations: [] Exploring Operation: 74-34=40, Resulting Numbers: [51, 15, 40] Generated Node #0,0: 37:[51, 15, 40] Operation: 74-34=40 Exploring Operation: 74-51=23, Resulting Numbers: [34, 15, 23] Generated Node #0,1: 37:[34, 15, 23] Operation: 74-51=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[51, 15, 40], Operations: ['74-34=40'] Exploring Operation: 40-15=25, Resulting Numbers: [51, 25] Generated Node #0,0,0: 37:[51, 25] Operation: 40-15=25 Exploring Operation: 51-15=36, Resulting Numbers: [40, 36] Generated Node #0,0,1: 37:[40, 36] Operation: 51-15=36 Moving to Node #0,0,1 Current State: 37:[40, 36], Operations: ['74-34=40', '51-15=36'] Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[51, 25], Operations: ['74-34=40', '40-15=25'] Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,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:[34, 15, 23], Operations: ['74-51=23'] Exploring Operation: 34+15=49, Resulting Numbers: [23, 49] Generated Node #0,1,0: 37:[23, 49] Operation: 34+15=49 Exploring Operation: 15+23=38, Resulting Numbers: [34, 38] Generated Node #0,1,1: 37:[34, 38] Operation: 15+23=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[34, 38], Operations: ['74-51=23', '15+23=38'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,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,0 Current State: 37:[23, 49], Operations: ['74-51=23', '34+15=49'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,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
[ 71, 80, 46, 56 ]
79
[ "56-46=10", "80/10=8", "71+8=79" ]
Current State: 79:[71, 80, 46, 56], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [71, 80, 10] Generated Node #2: [71, 80, 10] from Operation: 56-46=10 Current State: 79:[71, 80, 10], Operations: ['56-46=10'] Exploring Operation: 80/10=8, Resulting Numbers: [71, 8] Generated Node #3: [71, 8] from Operation: 80/10=8 Current State: 79:[71, 8], Operations: ['56-46=10', '80/10=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[71, 80, 46, 56], Operations: [] Exploring Operation: 46+56=102, Resulting Numbers: [71, 80, 102] Generated Node #0,0: 79:[71, 80, 102] Operation: 46+56=102 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[71, 80, 102], Operations: ['46+56=102'] Exploring Operation: 102-71=31, Resulting Numbers: [80, 31] Generated Node #0,0,0: 79:[80, 31] Operation: 102-71=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[80, 31], Operations: ['46+56=102', '102-71=31'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,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_1
sum_heuristic
[ 48, 68, 21, 65 ]
66
[ "68-48=20", "21+65=86", "86-20=66" ]
Current State: 66:[48, 68, 21, 65], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [21, 65, 20] Generated Node #2: [21, 65, 20] from Operation: 68-48=20 Current State: 66:[21, 65, 20], Operations: ['68-48=20'] Exploring Operation: 21+65=86, Resulting Numbers: [20, 86] Generated Node #3: [20, 86] from Operation: 21+65=86 Current State: 66:[20, 86], Operations: ['68-48=20', '21+65=86'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[48, 68, 21, 65], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [21, 65, 20] Generated Node #0,0: 66:[21, 65, 20] Operation: 68-48=20 Moving to Node #0,0 Current State: 66:[21, 65, 20], Operations: ['68-48=20'] Exploring Operation: 21-20=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 66:[65, 1] Operation: 21-20=1 Moving to Node #0,0,0 Current State: 66:[65, 1], Operations: ['68-48=20', '21-20=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[48, 68, 21, 65], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [21, 65, 20] Generated Node #0,0: 66:[21, 65, 20] Operation: 68-48=20 Moving to Node #0,0 Current State: 66:[21, 65, 20], Operations: ['68-48=20'] Exploring Operation: 21-20=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 66:[65, 1] Operation: 21-20=1 Moving to Node #0,0,0 Current State: 66:[65, 1], Operations: ['68-48=20', '21-20=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 6, 98, 5, 95 ]
27
[ "6*5=30", "98-95=3", "30-3=27" ]
Current State: 27:[6, 98, 5, 95], Operations: [] Exploring Operation: 6*5=30, Resulting Numbers: [98, 95, 30] Generated Node #2: [98, 95, 30] from Operation: 6*5=30 Current State: 27:[98, 95, 30], Operations: ['6*5=30'] Exploring Operation: 98-95=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 98-95=3 Current State: 27:[30, 3], Operations: ['6*5=30', '98-95=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[6, 98, 5, 95], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [6, 5, 3] Generated Node #0,0: 27:[6, 5, 3] Operation: 98-95=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[6, 5, 3], Operations: ['98-95=3'] Exploring Operation: 6+5=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 27:[3, 11] Operation: 6+5=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[3, 11], Operations: ['98-95=3', '6+5=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 46, 97, 16, 56 ]
64
[ "46*56=2576", "2576/16=161", "161-97=64" ]
Current State: 64:[46, 97, 16, 56], Operations: [] Exploring Operation: 46*56=2576, Resulting Numbers: [97, 16, 2576] Generated Node #2: [97, 16, 2576] from Operation: 46*56=2576 Current State: 64:[97, 16, 2576], Operations: ['46*56=2576'] Exploring Operation: 2576/16=161, Resulting Numbers: [97, 161] Generated Node #3: [97, 161] from Operation: 2576/16=161 Current State: 64:[97, 161], Operations: ['46*56=2576', '2576/16=161'] Exploring Operation: 161-97=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[46, 97, 16, 56], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [16, 56, 51] Generated Node #0,0: 64:[16, 56, 51] Operation: 97-46=51 Exploring Operation: 97-56=41, Resulting Numbers: [46, 16, 41] Generated Node #0,1: 64:[46, 16, 41] Operation: 97-56=41 Exploring Operation: 56-46=10, Resulting Numbers: [97, 16, 10] Generated Node #0,2: 64:[97, 16, 10] Operation: 56-46=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[16, 56, 51], Operations: ['97-46=51'] Exploring Operation: 51-16=35, Resulting Numbers: [56, 35] Generated Node #0,0,0: 64:[56, 35] Operation: 51-16=35 Exploring Operation: 16+51=67, Resulting Numbers: [56, 67] Generated Node #0,0,1: 64:[56, 67] Operation: 16+51=67 Exploring Operation: 56-51=5, Resulting Numbers: [16, 5] Generated Node #0,0,2: 64:[16, 5] Operation: 56-51=5 Moving to Node #0,0,2 Current State: 64:[16, 5], Operations: ['97-46=51', '56-51=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[56, 35], Operations: ['97-46=51', '51-16=35'] Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,64 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[56, 67], Operations: ['97-46=51', '16+51=67'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,64 unequal: No Solution Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,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 Current State: 64:[46, 16, 41], Operations: ['97-56=41'] Exploring Operation: 46-41=5, Resulting Numbers: [16, 5] Generated Node #0,1,0: 64:[16, 5] Operation: 46-41=5 Exploring Operation: 46-16=30, Resulting Numbers: [41, 30] Generated Node #0,1,1: 64:[41, 30] Operation: 46-16=30 Exploring Operation: 46+16=62, Resulting Numbers: [41, 62] Generated Node #0,1,2: 64:[41, 62] Operation: 46+16=62 Moving to Node #0,1,0 Current State: 64:[16, 5], Operations: ['97-56=41', '46-41=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,64 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[41, 30], Operations: ['97-56=41', '46-16=30'] Exploring Operation: 41*30=1230, Resulting Numbers: [1230] 1230,64 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 41+30=71, Resulting Numbers: [71] 71,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[41, 62], Operations: ['97-56=41', '46+16=62'] Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,64 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,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,2 Current State: 64:[97, 16, 10], Operations: ['56-46=10'] Exploring Operation: 97-10=87, Resulting Numbers: [16, 87] Generated Node #0,2,0: 64:[16, 87] Operation: 97-10=87 Exploring Operation: 97-16=81, Resulting Numbers: [10, 81] Generated Node #0,2,1: 64:[10, 81] Operation: 97-16=81 Exploring Operation: 16-10=6, Resulting Numbers: [97, 6] Generated Node #0,2,2: 64:[97, 6] Operation: 16-10=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[10, 81], Operations: ['56-46=10', '97-16=81'] Exploring Operation: 10*81=810, Resulting Numbers: [810] 810,64 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,64 unequal: No Solution Exploring Operation: 10+81=91, Resulting Numbers: [91] 91,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[16, 87], Operations: ['56-46=10', '97-10=87'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,64 unequal: No Solution Exploring Operation: 16+87=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 16*87=1392, Resulting Numbers: [1392] 1392,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[97, 6], Operations: ['56-46=10', '16-10=6'] Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,64 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 57, 77, 92, 2 ]
56
[ "77-57=20", "92+20=112", "112/2=56" ]
Current State: 56:[57, 77, 92, 2], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [92, 2, 20] Generated Node #2: [92, 2, 20] from Operation: 77-57=20 Current State: 56:[92, 2, 20], Operations: ['77-57=20'] Exploring Operation: 92+20=112, Resulting Numbers: [2, 112] Generated Node #3: [2, 112] from Operation: 92+20=112 Current State: 56:[2, 112], Operations: ['77-57=20', '92+20=112'] Exploring Operation: 112/2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[57, 77, 92, 2], Operations: [] Exploring Operation: 92-77=15, Resulting Numbers: [57, 2, 15] Generated Node #0,0: 56:[57, 2, 15] Operation: 92-77=15 Exploring Operation: 92-57=35, Resulting Numbers: [77, 2, 35] Generated Node #0,1: 56:[77, 2, 35] Operation: 92-57=35 Exploring Operation: 92/2=46, Resulting Numbers: [57, 77, 46] Generated Node #0,2: 56:[57, 77, 46] Operation: 92/2=46 Moving to Node #0,0 Current State: 56:[57, 2, 15], Operations: ['92-77=15'] Exploring Operation: 57-2=55, Resulting Numbers: [15, 55] Generated Node #0,0,0: 56:[15, 55] Operation: 57-2=55 Exploring Operation: 15-2=13, Resulting Numbers: [57, 13] Generated Node #0,0,1: 56:[57, 13] Operation: 15-2=13 Exploring Operation: 2*15=30, Resulting Numbers: [57, 30] Generated Node #0,0,2: 56:[57, 30] Operation: 2*15=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[15, 55], Operations: ['92-77=15', '57-2=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[57, 13], Operations: ['92-77=15', '15-2=13'] Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,56 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[57, 30], Operations: ['92-77=15', '2*15=30'] Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,56 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[77, 2, 35], Operations: ['92-57=35'] Exploring Operation: 77-2=75, Resulting Numbers: [35, 75] Generated Node #0,1,0: 56:[35, 75] Operation: 77-2=75 Exploring Operation: 77-35=42, Resulting Numbers: [2, 42] Generated Node #0,1,1: 56:[2, 42] Operation: 77-35=42 Exploring Operation: 35-2=33, Resulting Numbers: [77, 33] Generated Node #0,1,2: 56:[77, 33] Operation: 35-2=33 Moving to Node #0,2 Current State: 56:[57, 77, 46], Operations: ['92/2=46'] Exploring Operation: 77-57=20, Resulting Numbers: [46, 20] Generated Node #0,2,0: 56:[46, 20] Operation: 77-57=20 Exploring Operation: 57-46=11, Resulting Numbers: [77, 11] Generated Node #0,2,1: 56:[77, 11] Operation: 57-46=11 Exploring Operation: 77-46=31, Resulting Numbers: [57, 31] Generated Node #0,2,2: 56:[57, 31] Operation: 77-46=31 Moving to Node #0,2,2 Current State: 56:[57, 31], Operations: ['92/2=46', '77-46=31'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,56 unequal: No Solution Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[2, 42], Operations: ['92-57=35', '77-35=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[46, 20], Operations: ['92/2=46', '77-57=20'] Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,56 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[77, 11], Operations: ['92/2=46', '57-46=11'] Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,56 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[35, 75], Operations: ['92-57=35', '77-2=75'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 35+75=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 35*75=2625, Resulting Numbers: [2625] 2625,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[77, 33], Operations: ['92-57=35', '35-2=33'] Exploring Operation: 77-33=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 77+33=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 77*33=2541, Resulting Numbers: [2541] 2541,56 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 67, 30, 14, 17 ]
94
[ "67+30=97", "17-14=3", "97-3=94" ]
Current State: 94:[67, 30, 14, 17], Operations: [] Exploring Operation: 67+30=97, Resulting Numbers: [14, 17, 97] Generated Node #2: [14, 17, 97] from Operation: 67+30=97 Current State: 94:[14, 17, 97], Operations: ['67+30=97'] Exploring Operation: 17-14=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 17-14=3 Current State: 94:[97, 3], Operations: ['67+30=97', '17-14=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[67, 30, 14, 17], Operations: [] Exploring Operation: 67+30=97, Resulting Numbers: [14, 17, 97] Generated Node #0,0: 94:[14, 17, 97] Operation: 67+30=97 Exploring Operation: 30+17=47, Resulting Numbers: [67, 14, 47] Generated Node #0,1: 94:[67, 14, 47] Operation: 30+17=47 Exploring Operation: 67-17=50, Resulting Numbers: [30, 14, 50] Generated Node #0,2: 94:[30, 14, 50] Operation: 67-17=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[14, 17, 97], Operations: ['67+30=97'] Exploring Operation: 97-14=83, Resulting Numbers: [17, 83] Generated Node #0,0,0: 94:[17, 83] Operation: 97-14=83 Exploring Operation: 17-14=3, Resulting Numbers: [97, 3] Generated Node #0,0,1: 94:[97, 3] Operation: 17-14=3 Exploring Operation: 14+17=31, Resulting Numbers: [97, 31] Generated Node #0,0,2: 94:[97, 31] Operation: 14+17=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[97, 3], Operations: ['67+30=97', '17-14=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,94 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[67, 30, 14, 17], Operations: [] Exploring Operation: 67+30=97, Resulting Numbers: [14, 17, 97] Generated Node #0,0: 94:[14, 17, 97] Operation: 67+30=97 Moving to Node #0,0 Current State: 94:[14, 17, 97], Operations: ['67+30=97'] Exploring Operation: 17-14=3, Resulting Numbers: [97, 3] Generated Node #0,0,1: 94:[97, 3] Operation: 17-14=3 Moving to Node #0,0,1 Current State: 94:[97, 3], Operations: ['67+30=97', '17-14=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 94, 43, 37, 5 ]
70
[ "94-43=51", "51-37=14", "5*14=70" ]
Current State: 70:[94, 43, 37, 5], Operations: [] Exploring Operation: 94-43=51, Resulting Numbers: [37, 5, 51] Generated Node #2: [37, 5, 51] from Operation: 94-43=51 Current State: 70:[37, 5, 51], Operations: ['94-43=51'] Exploring Operation: 51-37=14, Resulting Numbers: [5, 14] Generated Node #3: [5, 14] from Operation: 51-37=14 Current State: 70:[5, 14], Operations: ['94-43=51', '51-37=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[94, 43, 37, 5], Operations: [] Exploring Operation: 94-43=51, Resulting Numbers: [37, 5, 51] Generated Node #0,0: 70:[37, 5, 51] Operation: 94-43=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[37, 5, 51], Operations: ['94-43=51'] Exploring Operation: 51-37=14, Resulting Numbers: [5, 14] Generated Node #0,0,0: 70:[5, 14] Operation: 51-37=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[5, 14], Operations: ['94-43=51', '51-37=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[94, 43, 37, 5], Operations: [] Exploring Operation: 94-43=51, Resulting Numbers: [37, 5, 51] Generated Node #0,0: 70:[37, 5, 51] Operation: 94-43=51 Moving to Node #0,0 Current State: 70:[37, 5, 51], Operations: ['94-43=51'] Exploring Operation: 51-37=14, Resulting Numbers: [5, 14] Generated Node #0,0,0: 70:[5, 14] Operation: 51-37=14 Moving to Node #0,0,0 Current State: 70:[5, 14], Operations: ['94-43=51', '51-37=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 95, 19, 13, 6 ]
73
[ "95/19=5", "13*6=78", "78-5=73" ]
Current State: 73:[95, 19, 13, 6], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [13, 6, 5] Generated Node #2: [13, 6, 5] from Operation: 95/19=5 Current State: 73:[13, 6, 5], Operations: ['95/19=5'] Exploring Operation: 13*6=78, Resulting Numbers: [5, 78] Generated Node #3: [5, 78] from Operation: 13*6=78 Current State: 73:[5, 78], Operations: ['95/19=5', '13*6=78'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[95, 19, 13, 6], Operations: [] Exploring Operation: 19*6=114, Resulting Numbers: [95, 13, 114] Generated Node #0,0: 73:[95, 13, 114] Operation: 19*6=114 Exploring Operation: 95-19=76, Resulting Numbers: [13, 6, 76] Generated Node #0,1: 73:[13, 6, 76] Operation: 95-19=76 Exploring Operation: 13*6=78, Resulting Numbers: [95, 19, 78] Generated Node #0,2: 73:[95, 19, 78] Operation: 13*6=78 Exploring Operation: 95-13=82, Resulting Numbers: [19, 6, 82] Generated Node #0,3: 73:[19, 6, 82] Operation: 95-13=82 Moving to Node #0,2 Current State: 73:[95, 19, 78], Operations: ['13*6=78'] Exploring Operation: 78-19=59, Resulting Numbers: [95, 59] Generated Node #0,2,0: 73:[95, 59] Operation: 78-19=59 Exploring Operation: 95+19=114, Resulting Numbers: [78, 114] Generated Node #0,2,1: 73:[78, 114] Operation: 95+19=114 Exploring Operation: 19+78=97, Resulting Numbers: [95, 97] Generated Node #0,2,2: 73:[95, 97] Operation: 19+78=97 Exploring Operation: 95-19=76, Resulting Numbers: [78, 76] Generated Node #0,2,3: 73:[78, 76] Operation: 95-19=76 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[78, 76], Operations: ['13*6=78', '95-19=76'] Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,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,0 Current State: 73:[95, 59], Operations: ['13*6=78', '78-19=59'] Exploring Operation: 95*59=5605, Resulting Numbers: [5605] 5605,73 unequal: No Solution Exploring Operation: 95-59=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 95+59=154, Resulting Numbers: [154] 154,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:[78, 114], Operations: ['13*6=78', '95+19=114'] Exploring Operation: 78*114=8892, Resulting Numbers: [8892] 8892,73 unequal: No Solution Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,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:[95, 97], Operations: ['13*6=78', '19+78=97'] Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 95+97=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 95*97=9215, Resulting Numbers: [9215] 9215,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:[95, 13, 114], Operations: ['19*6=114'] Exploring Operation: 95-13=82, Resulting Numbers: [114, 82] Generated Node #0,0,0: 73:[114, 82] Operation: 95-13=82 Exploring Operation: 114-13=101, Resulting Numbers: [95, 101] Generated Node #0,0,1: 73:[95, 101] Operation: 114-13=101 Exploring Operation: 95+13=108, Resulting Numbers: [114, 108] Generated Node #0,0,2: 73:[114, 108] Operation: 95+13=108 Exploring Operation: 13+114=127, Resulting Numbers: [95, 127] Generated Node #0,0,3: 73:[95, 127] Operation: 13+114=127 Moving to Node #0,3 Current State: 73:[19, 6, 82], Operations: ['95-13=82'] Exploring Operation: 19-6=13, Resulting Numbers: [82, 13] Generated Node #0,3,0: 73:[82, 13] Operation: 19-6=13 Exploring Operation: 19*6=114, Resulting Numbers: [82, 114] Generated Node #0,3,1: 73:[82, 114] Operation: 19*6=114 Exploring Operation: 82-6=76, Resulting Numbers: [19, 76] Generated Node #0,3,2: 73:[19, 76] Operation: 82-6=76 Exploring Operation: 19+6=25, Resulting Numbers: [82, 25] Generated Node #0,3,3: 73:[82, 25] Operation: 19+6=25 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[82, 114], Operations: ['95-13=82', '19*6=114'] Exploring Operation: 114-82=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 82+114=196, Resulting Numbers: [196] 196,73 unequal: No Solution Exploring Operation: 82*114=9348, Resulting Numbers: [9348] 9348,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,2 Current State: 73:[19, 76], Operations: ['95-13=82', '82-6=76'] Exploring Operation: 19*76=1444, Resulting Numbers: [1444] 1444,73 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,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:[82, 25], Operations: ['95-13=82', '19+6=25'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,73 unequal: No Solution Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,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:[82, 13], Operations: ['95-13=82', '19-6=13'] Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,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:[13, 6, 76], Operations: ['95-19=76'] Exploring Operation: 13+6=19, Resulting Numbers: [76, 19] Generated Node #0,1,0: 73:[76, 19] Operation: 13+6=19 Exploring Operation: 76-6=70, Resulting Numbers: [13, 70] Generated Node #0,1,1: 73:[13, 70] Operation: 76-6=70 Exploring Operation: 13*6=78, Resulting Numbers: [76, 78] Generated Node #0,1,2: 73:[76, 78] Operation: 13*6=78 Exploring Operation: 13-6=7, Resulting Numbers: [76, 7] Generated Node #0,1,3: 73:[76, 7] Operation: 13-6=7 Moving to Node #0,1,2 Current State: 73:[76, 78], Operations: ['95-19=76', '13*6=78'] Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,73 unequal: No Solution Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[114, 82], Operations: ['19*6=114', '95-13=82'] Exploring Operation: 114*82=9348, Resulting Numbers: [9348] 9348,73 unequal: No Solution Exploring Operation: 114-82=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 114+82=196, Resulting Numbers: [196] 196,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[95, 101], Operations: ['19*6=114', '114-13=101'] Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,73 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[76, 19], Operations: ['95-19=76', '13+6=19'] Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[13, 70], Operations: ['95-19=76', '76-6=70'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,73 unequal: No Solution Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[76, 7], Operations: ['95-19=76', '13-6=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,73 unequal: No Solution Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[95, 127], Operations: ['19*6=114', '13+114=127'] Exploring Operation: 95*127=12065, Resulting Numbers: [12065] 12065,73 unequal: No Solution Exploring Operation: 95+127=222, Resulting Numbers: [222] 222,73 unequal: No Solution Exploring Operation: 127-95=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[114, 108], Operations: ['19*6=114', '95+13=108'] Exploring Operation: 114*108=12312, Resulting Numbers: [12312] 12312,73 unequal: No Solution Exploring Operation: 114-108=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 114+108=222, Resulting Numbers: [222] 222,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 89, 24, 41, 97 ]
38
[ "97-89=8", "24/8=3", "41-3=38" ]
Current State: 38:[89, 24, 41, 97], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [24, 41, 8] Generated Node #2: [24, 41, 8] from Operation: 97-89=8 Current State: 38:[24, 41, 8], Operations: ['97-89=8'] Exploring Operation: 24/8=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 24/8=3 Current State: 38:[41, 3], Operations: ['97-89=8', '24/8=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[89, 24, 41, 97], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [24, 41, 8] Generated Node #0,0: 38:[24, 41, 8] Operation: 97-89=8 Exploring Operation: 89-41=48, Resulting Numbers: [24, 97, 48] Generated Node #0,1: 38:[24, 97, 48] Operation: 89-41=48 Exploring Operation: 89-24=65, Resulting Numbers: [41, 97, 65] Generated Node #0,2: 38:[41, 97, 65] Operation: 89-24=65 Exploring Operation: 97-41=56, Resulting Numbers: [89, 24, 56] Generated Node #0,3: 38:[89, 24, 56] Operation: 97-41=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[24, 41, 8], Operations: ['97-89=8'] Exploring Operation: 24+8=32, Resulting Numbers: [41, 32] Generated Node #0,0,0: 38:[41, 32] Operation: 24+8=32 Exploring Operation: 24-8=16, Resulting Numbers: [41, 16] Generated Node #0,0,1: 38:[41, 16] Operation: 24-8=16 Exploring Operation: 24/8=3, Resulting Numbers: [41, 3] Generated Node #0,0,2: 38:[41, 3] Operation: 24/8=3 Exploring Operation: 41-24=17, Resulting Numbers: [8, 17] Generated Node #0,0,3: 38:[8, 17] Operation: 41-24=17 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[41, 3], Operations: ['97-89=8', '24/8=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[89, 24, 41, 97], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [24, 41, 8] Generated Node #0,0: 38:[24, 41, 8] Operation: 97-89=8 Moving to Node #0,0 Current State: 38:[24, 41, 8], Operations: ['97-89=8'] Exploring Operation: 24/8=3, Resulting Numbers: [41, 3] Generated Node #0,0,2: 38:[41, 3] Operation: 24/8=3 Moving to Node #0,0,2 Current State: 38:[41, 3], Operations: ['97-89=8', '24/8=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 78, 83, 13, 39 ]
38
[ "78/13=6", "83-39=44", "44-6=38" ]
Current State: 38:[78, 83, 13, 39], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [83, 39, 6] Generated Node #2: [83, 39, 6] from Operation: 78/13=6 Current State: 38:[83, 39, 6], Operations: ['78/13=6'] Exploring Operation: 83-39=44, Resulting Numbers: [6, 44] Generated Node #3: [6, 44] from Operation: 83-39=44 Current State: 38:[6, 44], Operations: ['78/13=6', '83-39=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[78, 83, 13, 39], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [83, 39, 6] Generated Node #0,0: 38:[83, 39, 6] Operation: 78/13=6 Exploring Operation: 83-78=5, Resulting Numbers: [13, 39, 5] Generated Node #0,1: 38:[13, 39, 5] Operation: 83-78=5 Exploring Operation: 78-39=39, Resulting Numbers: [83, 13, 39] Generated Node #0,2: 38:[83, 13, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [83, 13, 2] Generated Node #0,3: 38:[83, 13, 2] Operation: 78/39=2 Exploring Operation: 83-39=44, Resulting Numbers: [78, 13, 44] Generated Node #0,4: 38:[78, 13, 44] Operation: 83-39=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[13, 39, 5], Operations: ['83-78=5'] Exploring Operation: 13-5=8, Resulting Numbers: [39, 8] Generated Node #0,1,0: 38:[39, 8] Operation: 13-5=8 Exploring Operation: 39/13=3, Resulting Numbers: [5, 3] Generated Node #0,1,1: 38:[5, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [5, 26] Generated Node #0,1,2: 38:[5, 26] Operation: 39-13=26 Exploring Operation: 13+5=18, Resulting Numbers: [39, 18] Generated Node #0,1,3: 38:[39, 18] Operation: 13+5=18 Exploring Operation: 39-5=34, Resulting Numbers: [13, 34] Generated Node #0,1,4: 38:[13, 34] Operation: 39-5=34 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[39, 18], Operations: ['83-78=5', '13+5=18'] Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,38 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[5, 3], Operations: ['83-78=5', '39/13=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[39, 8], Operations: ['83-78=5', '13-5=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,38 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[5, 26], Operations: ['83-78=5', '39-13=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,38 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 38:[13, 34], Operations: ['83-78=5', '39-5=34'] Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[83, 39, 6], Operations: ['78/13=6'] Exploring Operation: 39+6=45, Resulting Numbers: [83, 45] Generated Node #0,0,0: 38:[83, 45] Operation: 39+6=45 Exploring Operation: 83-6=77, Resulting Numbers: [39, 77] Generated Node #0,0,1: 38:[39, 77] Operation: 83-6=77 Exploring Operation: 83+6=89, Resulting Numbers: [39, 89] Generated Node #0,0,2: 38:[39, 89] Operation: 83+6=89 Exploring Operation: 39-6=33, Resulting Numbers: [83, 33] Generated Node #0,0,3: 38:[83, 33] Operation: 39-6=33 Exploring Operation: 83-39=44, Resulting Numbers: [6, 44] Generated Node #0,0,4: 38:[6, 44] Operation: 83-39=44 Moving to Node #0,0,4 Current State: 38:[6, 44], Operations: ['78/13=6', '83-39=44'] Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,38 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[78, 83, 13, 39], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [83, 39, 6] Generated Node #0,0: 38:[83, 39, 6] Operation: 78/13=6 Moving to Node #0,0 Current State: 38:[83, 39, 6], Operations: ['78/13=6'] Exploring Operation: 83-39=44, Resulting Numbers: [6, 44] Generated Node #0,0,4: 38:[6, 44] Operation: 83-39=44 Moving to Node #0,0,4 Current State: 38:[6, 44], Operations: ['78/13=6', '83-39=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 19, 43, 94, 43 ]
76
[ "94-19=75", "43/43=1", "75+1=76" ]
Current State: 76:[19, 43, 94, 43], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [43, 43, 75] Generated Node #2: [43, 43, 75] from Operation: 94-19=75 Current State: 76:[43, 43, 75], Operations: ['94-19=75'] Exploring Operation: 43/43=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 43/43=1 Current State: 76:[75, 1], Operations: ['94-19=75', '43/43=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[19, 43, 94, 43], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [43, 43, 75] Generated Node #0,0: 76:[43, 43, 75] Operation: 94-19=75 Exploring Operation: 94-43=51, Resulting Numbers: [19, 43, 51] Generated Node #0,1: 76:[19, 43, 51] Operation: 94-43=51 Exploring Operation: 94-43=51, Resulting Numbers: [19, 43, 51] Generated Node #0,2: 76:[19, 43, 51] Operation: 94-43=51 Exploring Operation: 43/43=1, Resulting Numbers: [19, 94, 1] Generated Node #0,3: 76:[19, 94, 1] Operation: 43/43=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[43, 43, 75], Operations: ['94-19=75'] Exploring Operation: 75-43=32, Resulting Numbers: [43, 32] Generated Node #0,0,0: 76:[43, 32] Operation: 75-43=32 Exploring Operation: 43/43=1, Resulting Numbers: [75, 1] Generated Node #0,0,1: 76:[75, 1] Operation: 43/43=1 Exploring Operation: 43+43=86, Resulting Numbers: [75, 86] Generated Node #0,0,2: 76:[75, 86] Operation: 43+43=86 Exploring Operation: 43-43=0, Resulting Numbers: [75, 0] Generated Node #0,0,3: 76:[75, 0] Operation: 43-43=0 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[75, 1], Operations: ['94-19=75', '43/43=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[19, 43, 94, 43], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [43, 43, 75] Generated Node #0,0: 76:[43, 43, 75] Operation: 94-19=75 Moving to Node #0,0 Current State: 76:[43, 43, 75], Operations: ['94-19=75'] Exploring Operation: 43/43=1, Resulting Numbers: [75, 1] Generated Node #0,0,1: 76:[75, 1] Operation: 43/43=1 Moving to Node #0,0,1 Current State: 76:[75, 1], Operations: ['94-19=75', '43/43=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 30, 66, 15, 60 ]
51
[ "30+66=96", "60-15=45", "96-45=51" ]
Current State: 51:[30, 66, 15, 60], Operations: [] Exploring Operation: 30+66=96, Resulting Numbers: [15, 60, 96] Generated Node #2: [15, 60, 96] from Operation: 30+66=96 Current State: 51:[15, 60, 96], Operations: ['30+66=96'] Exploring Operation: 60-15=45, Resulting Numbers: [96, 45] Generated Node #3: [96, 45] from Operation: 60-15=45 Current State: 51:[96, 45], Operations: ['30+66=96', '60-15=45'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[30, 66, 15, 60], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [66, 15, 2] Generated Node #0,0: 51:[66, 15, 2] Operation: 60/30=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[66, 15, 2], Operations: ['60/30=2'] Exploring Operation: 66-15=51, Resulting Numbers: [2, 51] Generated Node #0,0,0: 51:[2, 51] Operation: 66-15=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[2, 51], Operations: ['60/30=2', '66-15=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,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 No solution found.
0
hs_1
sum_heuristic
[ 35, 41, 90, 70 ]
85
[ "41-35=6", "90/6=15", "70+15=85" ]
Current State: 85:[35, 41, 90, 70], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [90, 70, 6] Generated Node #2: [90, 70, 6] from Operation: 41-35=6 Current State: 85:[90, 70, 6], Operations: ['41-35=6'] Exploring Operation: 90/6=15, Resulting Numbers: [70, 15] Generated Node #3: [70, 15] from Operation: 90/6=15 Current State: 85:[70, 15], Operations: ['41-35=6', '90/6=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[35, 41, 90, 70], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [90, 70, 6] Generated Node #0,0: 85:[90, 70, 6] Operation: 41-35=6 Exploring Operation: 70/35=2, Resulting Numbers: [41, 90, 2] Generated Node #0,1: 85:[41, 90, 2] Operation: 70/35=2 Exploring Operation: 35+41=76, Resulting Numbers: [90, 70, 76] Generated Node #0,2: 85:[90, 70, 76] Operation: 35+41=76 Moving to Node #0,0 Current State: 85:[90, 70, 6], Operations: ['41-35=6'] Exploring Operation: 90-70=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 85:[6, 20] Operation: 90-70=20 Exploring Operation: 70+6=76, Resulting Numbers: [90, 76] Generated Node #0,0,1: 85:[90, 76] Operation: 70+6=76 Exploring Operation: 90-6=84, Resulting Numbers: [70, 84] Generated Node #0,0,2: 85:[70, 84] Operation: 90-6=84 Moving to Node #0,2 Current State: 85:[90, 70, 76], Operations: ['35+41=76'] Exploring Operation: 90-76=14, Resulting Numbers: [70, 14] Generated Node #0,2,0: 85:[70, 14] Operation: 90-76=14 Exploring Operation: 90-70=20, Resulting Numbers: [76, 20] Generated Node #0,2,1: 85:[76, 20] Operation: 90-70=20 Exploring Operation: 76-70=6, Resulting Numbers: [90, 6] Generated Node #0,2,2: 85:[90, 6] Operation: 76-70=6 Moving to Node #0,1 Current State: 85:[41, 90, 2], Operations: ['70/35=2'] Exploring Operation: 41*2=82, Resulting Numbers: [90, 82] Generated Node #0,1,0: 85:[90, 82] Operation: 41*2=82 Exploring Operation: 90-2=88, Resulting Numbers: [41, 88] Generated Node #0,1,1: 85:[41, 88] Operation: 90-2=88 Exploring Operation: 41-2=39, Resulting Numbers: [90, 39] Generated Node #0,1,2: 85:[90, 39] Operation: 41-2=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[90, 82], Operations: ['70/35=2', '41*2=82'] Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 90+82=172, Resulting Numbers: [172] 172,85 unequal: No Solution Exploring Operation: 90*82=7380, Resulting Numbers: [7380] 7380,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[41, 88], Operations: ['70/35=2', '90-2=88'] Exploring Operation: 41+88=129, Resulting Numbers: [129] 129,85 unequal: No Solution Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,85 unequal: No Solution Exploring Operation: 41*88=3608, Resulting Numbers: [3608] 3608,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[90, 39], Operations: ['70/35=2', '41-2=39'] Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,85 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,85 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: 85:[6, 20], Operations: ['41-35=6', '90-70=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,85 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[90, 6], Operations: ['35+41=76', '76-70=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[76, 20], Operations: ['35+41=76', '90-70=20'] Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,85 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[90, 76], Operations: ['41-35=6', '70+6=76'] Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,85 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,85 unequal: No Solution Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[70, 84], Operations: ['41-35=6', '90-6=84'] Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,85 unequal: No Solution Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[70, 14], Operations: ['35+41=76', '90-76=14'] Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,85 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 72, 33, 37, 3 ]
73
[ "72-33=39", "37-3=34", "39+34=73" ]
Current State: 73:[72, 33, 37, 3], Operations: [] Exploring Operation: 72-33=39, Resulting Numbers: [37, 3, 39] Generated Node #2: [37, 3, 39] from Operation: 72-33=39 Current State: 73:[37, 3, 39], Operations: ['72-33=39'] Exploring Operation: 37-3=34, Resulting Numbers: [39, 34] Generated Node #3: [39, 34] from Operation: 37-3=34 Current State: 73:[39, 34], Operations: ['72-33=39', '37-3=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[72, 33, 37, 3], Operations: [] Exploring Operation: 33+37=70, Resulting Numbers: [72, 3, 70] Generated Node #0,0: 73:[72, 3, 70] Operation: 33+37=70 Exploring Operation: 33*3=99, Resulting Numbers: [72, 37, 99] Generated Node #0,1: 73:[72, 37, 99] Operation: 33*3=99 Exploring Operation: 33+3=36, Resulting Numbers: [72, 37, 36] Generated Node #0,2: 73:[72, 37, 36] Operation: 33+3=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[72, 37, 99], Operations: ['33*3=99'] Exploring Operation: 72+37=109, Resulting Numbers: [99, 109] Generated Node #0,1,0: 73:[99, 109] Operation: 72+37=109 Exploring Operation: 99-37=62, Resulting Numbers: [72, 62] Generated Node #0,1,1: 73:[72, 62] Operation: 99-37=62 Exploring Operation: 72-37=35, Resulting Numbers: [99, 35] Generated Node #0,1,2: 73:[99, 35] Operation: 72-37=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[72, 62], Operations: ['33*3=99', '99-37=62'] Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 72*62=4464, Resulting Numbers: [4464] 4464,73 unequal: No Solution Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,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,1,0 Current State: 73:[99, 109], Operations: ['33*3=99', '72+37=109'] Exploring Operation: 109-99=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 99+109=208, Resulting Numbers: [208] 208,73 unequal: No Solution Exploring Operation: 99*109=10791, Resulting Numbers: [10791] 10791,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,1,2 Current State: 73:[99, 35], Operations: ['33*3=99', '72-37=35'] Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 99+35=134, Resulting Numbers: [134] 134,73 unequal: No Solution Exploring Operation: 99*35=3465, Resulting Numbers: [3465] 3465,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,0 Current State: 73:[72, 3, 70], Operations: ['33+37=70'] Exploring Operation: 72+3=75, Resulting Numbers: [70, 75] Generated Node #0,0,0: 73:[70, 75] Operation: 72+3=75 Exploring Operation: 72-3=69, Resulting Numbers: [70, 69] Generated Node #0,0,1: 73:[70, 69] Operation: 72-3=69 Exploring Operation: 3+70=73, Resulting Numbers: [72, 73] Generated Node #0,0,2: 73:[72, 73] Operation: 3+70=73 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[72, 73], Operations: ['33+37=70', '3+70=73'] Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 72+73=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 72*73=5256, Resulting Numbers: [5256] 5256,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,0 Current State: 73:[70, 75], Operations: ['33+37=70', '72+3=75'] Exploring Operation: 70+75=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 70*75=5250, Resulting Numbers: [5250] 5250,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:[70, 69], Operations: ['33+37=70', '72-3=69'] Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,73 unequal: No Solution Exploring Operation: 70*69=4830, Resulting Numbers: [4830] 4830,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,2 Current State: 73:[72, 37, 36], Operations: ['33+3=36'] Exploring Operation: 37+36=73, Resulting Numbers: [72, 73] Generated Node #0,2,0: 73:[72, 73] Operation: 37+36=73 Exploring Operation: 72+36=108, Resulting Numbers: [37, 108] Generated Node #0,2,1: 73:[37, 108] Operation: 72+36=108 Exploring Operation: 72+37=109, Resulting Numbers: [36, 109] Generated Node #0,2,2: 73:[36, 109] Operation: 72+37=109 Moving to Node #0,2,0 Current State: 73:[72, 73], Operations: ['33+3=36', '37+36=73'] Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 72*73=5256, Resulting Numbers: [5256] 5256,73 unequal: No Solution Exploring Operation: 72+73=145, Resulting Numbers: [145] 145,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[37, 108], Operations: ['33+3=36', '72+36=108'] Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 37*108=3996, Resulting Numbers: [3996] 3996,73 unequal: No Solution Exploring Operation: 37+108=145, Resulting Numbers: [145] 145,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[36, 109], Operations: ['33+3=36', '72+37=109'] Exploring Operation: 36+109=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 109-36=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[72, 33, 37, 3], Operations: [] Exploring Operation: 33+3=36, Resulting Numbers: [72, 37, 36] Generated Node #0,2: 73:[72, 37, 36] Operation: 33+3=36 Moving to Node #0,2 Current State: 73:[72, 37, 36], Operations: ['33+3=36'] Exploring Operation: 72+37=109, Resulting Numbers: [36, 109] Generated Node #0,2,2: 73:[36, 109] Operation: 72+37=109 Moving to Node #0,2,2 Current State: 73:[36, 109], Operations: ['33+3=36', '72+37=109'] Exploring Operation: 109-36=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 87, 52, 70, 52 ]
50
[ "87-52=35", "70/35=2", "52-2=50" ]
Current State: 50:[87, 52, 70, 52], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [70, 35] Generated Node #2: [70, 35] from Operation: 87-52=35 Current State: 50:[70, 35], Operations: ['87-52=35'] Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,50 equal: Goal Reached Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[87, 52, 70, 52], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [52, 70, 35] Generated Node #0,0: 50:[52, 70, 35] Operation: 87-52=35 Exploring Operation: 87-52=35, Resulting Numbers: [70, 52, 35] Generated Node #0,1: 50:[70, 52, 35] Operation: 87-52=35 Exploring Operation: 87-70=17, Resulting Numbers: [52, 52, 17] Generated Node #0,2: 50:[52, 52, 17] Operation: 87-70=17 Exploring Operation: 70-52=18, Resulting Numbers: [87, 52, 18] Generated Node #0,3: 50:[87, 52, 18] Operation: 70-52=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[52, 52, 17], Operations: ['87-70=17'] Exploring Operation: 52-17=35, Resulting Numbers: [52, 35] Generated Node #0,2,0: 50:[52, 35] Operation: 52-17=35 Exploring Operation: 52-52=0, Resulting Numbers: [17, 0] Generated Node #0,2,1: 50:[17, 0] Operation: 52-52=0 Exploring Operation: 52-17=35, Resulting Numbers: [52, 35] Generated Node #0,2,2: 50:[52, 35] Operation: 52-17=35 Exploring Operation: 52/52=1, Resulting Numbers: [17, 1] Generated Node #0,2,3: 50:[17, 1] Operation: 52/52=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 50:[17, 1], Operations: ['87-70=17', '52/52=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,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,1 Current State: 50:[17, 0], Operations: ['87-70=17', '52-52=0'] Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 17*0=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 17-0=17, Resulting Numbers: [17] 17,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:[52, 35], Operations: ['87-70=17', '52-17=35'] Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,50 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,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:[52, 35], Operations: ['87-70=17', '52-17=35'] Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,50 unequal: No Solution Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,50 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,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:[52, 70, 35], Operations: ['87-52=35'] Exploring Operation: 70-35=35, Resulting Numbers: [52, 35] Generated Node #0,0,0: 50:[52, 35] Operation: 70-35=35 Exploring Operation: 52-35=17, Resulting Numbers: [70, 17] Generated Node #0,0,1: 50:[70, 17] Operation: 52-35=17 Exploring Operation: 70-52=18, Resulting Numbers: [35, 18] Generated Node #0,0,2: 50:[35, 18] Operation: 70-52=18 Exploring Operation: 70/35=2, Resulting Numbers: [52, 2] Generated Node #0,0,3: 50:[52, 2] Operation: 70/35=2 Moving to Node #0,0,3 Current State: 50:[52, 2], Operations: ['87-52=35', '70/35=2'] Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,50 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[87, 52, 70, 52], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [52, 70, 35] Generated Node #0,0: 50:[52, 70, 35] Operation: 87-52=35 Moving to Node #0,0 Current State: 50:[52, 70, 35], Operations: ['87-52=35'] Exploring Operation: 70/35=2, Resulting Numbers: [52, 2] Generated Node #0,0,3: 50:[52, 2] Operation: 70/35=2 Moving to Node #0,0,3 Current State: 50:[52, 2], Operations: ['87-52=35', '70/35=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 22, 20, 38, 17 ]
21
[ "22+20=42", "38-17=21", "42-21=21" ]
Current State: 21:[22, 20, 38, 17], Operations: [] Exploring Operation: 22+20=42, Resulting Numbers: [38, 17, 42] Generated Node #2: [38, 17, 42] from Operation: 22+20=42 Current State: 21:[38, 17, 42], Operations: ['22+20=42'] Exploring Operation: 38-17=21, Resulting Numbers: [42, 21] Generated Node #3: [42, 21] from Operation: 38-17=21 Current State: 21:[42, 21], Operations: ['22+20=42', '38-17=21'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[22, 20, 38, 17], Operations: [] Exploring Operation: 38-20=18, Resulting Numbers: [22, 17, 18] Generated Node #0,0: 21:[22, 17, 18] Operation: 38-20=18 Exploring Operation: 38-17=21, Resulting Numbers: [22, 20, 21] Generated Node #0,1: 21:[22, 20, 21] Operation: 38-17=21 Exploring Operation: 22-17=5, Resulting Numbers: [20, 38, 5] Generated Node #0,2: 21:[20, 38, 5] Operation: 22-17=5 Exploring Operation: 38-22=16, Resulting Numbers: [20, 17, 16] Generated Node #0,3: 21:[20, 17, 16] Operation: 38-22=16 Exploring Operation: 20-17=3, Resulting Numbers: [22, 38, 3] Generated Node #0,4: 21:[22, 38, 3] Operation: 20-17=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[22, 20, 21], Operations: ['38-17=21'] Exploring Operation: 21-20=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 21:[22, 1] Operation: 21-20=1 Exploring Operation: 22-21=1, Resulting Numbers: [20, 1] Generated Node #0,1,1: 21:[20, 1] Operation: 22-21=1 Exploring Operation: 22+20=42, Resulting Numbers: [21, 42] Generated Node #0,1,2: 21:[21, 42] Operation: 22+20=42 Exploring Operation: 20+21=41, Resulting Numbers: [22, 41] Generated Node #0,1,3: 21:[22, 41] Operation: 20+21=41 Exploring Operation: 22-20=2, Resulting Numbers: [21, 2] Generated Node #0,1,4: 21:[21, 2] Operation: 22-20=2 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 21:[21, 2], Operations: ['38-17=21', '22-20=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[22, 1], Operations: ['38-17=21', '21-20=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[22, 20, 38, 17], Operations: [] Exploring Operation: 38-17=21, Resulting Numbers: [22, 20, 21] Generated Node #0,1: 21:[22, 20, 21] Operation: 38-17=21 Moving to Node #0,1 Current State: 21:[22, 20, 21], Operations: ['38-17=21'] Exploring Operation: 21-20=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 21:[22, 1] Operation: 21-20=1 Moving to Node #0,1,0 Current State: 21:[22, 1], Operations: ['38-17=21', '21-20=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 63, 72, 2, 15 ]
75
[ "63+72=135", "15+135=150", "150/2=75" ]
Current State: 75:[63, 72, 2, 15], Operations: [] Exploring Operation: 63+72=135, Resulting Numbers: [2, 15, 135] Generated Node #2: [2, 15, 135] from Operation: 63+72=135 Current State: 75:[2, 15, 135], Operations: ['63+72=135'] Exploring Operation: 15+135=150, Resulting Numbers: [2, 150] Generated Node #3: [2, 150] from Operation: 15+135=150 Current State: 75:[2, 150], Operations: ['63+72=135', '15+135=150'] Exploring Operation: 150/2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[63, 72, 2, 15], Operations: [] Exploring Operation: 63+2=65, Resulting Numbers: [72, 15, 65] Generated Node #0,0: 75:[72, 15, 65] Operation: 63+2=65 Exploring Operation: 72+2=74, Resulting Numbers: [63, 15, 74] Generated Node #0,1: 75:[63, 15, 74] Operation: 72+2=74 Exploring Operation: 63+15=78, Resulting Numbers: [72, 2, 78] Generated Node #0,2: 75:[72, 2, 78] Operation: 63+15=78 Exploring Operation: 72-63=9, Resulting Numbers: [2, 15, 9] Generated Node #0,3: 75:[2, 15, 9] Operation: 72-63=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[2, 15, 9], Operations: ['72-63=9'] Exploring Operation: 15+9=24, Resulting Numbers: [2, 24] Generated Node #0,3,0: 75:[2, 24] Operation: 15+9=24 Exploring Operation: 2*9=18, Resulting Numbers: [15, 18] Generated Node #0,3,1: 75:[15, 18] Operation: 2*9=18 Exploring Operation: 15-9=6, Resulting Numbers: [2, 6] Generated Node #0,3,2: 75:[2, 6] Operation: 15-9=6 Exploring Operation: 9-2=7, Resulting Numbers: [15, 7] Generated Node #0,3,3: 75:[15, 7] Operation: 9-2=7 Moving to Node #0,3,0 Current State: 75:[2, 24], Operations: ['72-63=9', '15+9=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[15, 7], Operations: ['72-63=9', '9-2=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[2, 6], Operations: ['72-63=9', '15-9=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[15, 18], Operations: ['72-63=9', '2*9=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,75 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[72, 2, 78], Operations: ['63+15=78'] Exploring Operation: 78-2=76, Resulting Numbers: [72, 76] Generated Node #0,2,0: 75:[72, 76] Operation: 78-2=76 Exploring Operation: 72-2=70, Resulting Numbers: [78, 70] Generated Node #0,2,1: 75:[78, 70] Operation: 72-2=70 Exploring Operation: 72+2=74, Resulting Numbers: [78, 74] Generated Node #0,2,2: 75:[78, 74] Operation: 72+2=74 Exploring Operation: 78-72=6, Resulting Numbers: [2, 6] Generated Node #0,2,3: 75:[2, 6] Operation: 78-72=6 Moving to Node #0,2,3 Current State: 75:[2, 6], Operations: ['63+15=78', '78-72=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[78, 74], Operations: ['63+15=78', '72+2=74'] Exploring Operation: 78+74=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 78*74=5772, Resulting Numbers: [5772] 5772,75 unequal: No Solution Exploring Operation: 78-74=4, Resulting Numbers: [4] 4,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[72, 76], Operations: ['63+15=78', '78-2=76'] Exploring Operation: 72*76=5472, Resulting Numbers: [5472] 5472,75 unequal: No Solution Exploring Operation: 72+76=148, Resulting Numbers: [148] 148,75 unequal: No Solution Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[78, 70], Operations: ['63+15=78', '72-2=70'] Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 78+70=148, Resulting Numbers: [148] 148,75 unequal: No Solution Exploring Operation: 78*70=5460, Resulting Numbers: [5460] 5460,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[72, 15, 65], Operations: ['63+2=65'] Exploring Operation: 72+15=87, Resulting Numbers: [65, 87] Generated Node #0,0,0: 75:[65, 87] Operation: 72+15=87 Exploring Operation: 72-65=7, Resulting Numbers: [15, 7] Generated Node #0,0,1: 75:[15, 7] Operation: 72-65=7 Exploring Operation: 15+65=80, Resulting Numbers: [72, 80] Generated Node #0,0,2: 75:[72, 80] Operation: 15+65=80 Exploring Operation: 72-15=57, Resulting Numbers: [65, 57] Generated Node #0,0,3: 75:[65, 57] Operation: 72-15=57 Moving to Node #0,0,1 Current State: 75:[15, 7], Operations: ['63+2=65', '72-65=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[72, 80], Operations: ['63+2=65', '15+65=80'] Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,75 unequal: No Solution Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[65, 87], Operations: ['63+2=65', '72+15=87'] Exploring Operation: 65*87=5655, Resulting Numbers: [5655] 5655,75 unequal: No Solution Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 65+87=152, Resulting Numbers: [152] 152,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[65, 57], Operations: ['63+2=65', '72-15=57'] Exploring Operation: 65*57=3705, Resulting Numbers: [3705] 3705,75 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 65+57=122, Resulting Numbers: [122] 122,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[63, 15, 74], Operations: ['72+2=74'] Exploring Operation: 63+15=78, Resulting Numbers: [74, 78] Generated Node #0,1,0: 75:[74, 78] Operation: 63+15=78 Exploring Operation: 63-15=48, Resulting Numbers: [74, 48] Generated Node #0,1,1: 75:[74, 48] Operation: 63-15=48 Exploring Operation: 15+74=89, Resulting Numbers: [63, 89] Generated Node #0,1,2: 75:[63, 89] Operation: 15+74=89 Exploring Operation: 74-63=11, Resulting Numbers: [15, 11] Generated Node #0,1,3: 75:[15, 11] Operation: 74-63=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[74, 78], Operations: ['72+2=74', '63+15=78'] Exploring Operation: 74*78=5772, Resulting Numbers: [5772] 5772,75 unequal: No Solution Exploring Operation: 74+78=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 78-74=4, Resulting Numbers: [4] 4,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[15, 11], Operations: ['72+2=74', '74-63=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[74, 48], Operations: ['72+2=74', '63-15=48'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,75 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,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:[63, 89], Operations: ['72+2=74', '15+74=89'] Exploring Operation: 63*89=5607, Resulting Numbers: [5607] 5607,75 unequal: No Solution Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 63+89=152, Resulting Numbers: [152] 152,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 48, 3, 85, 6 ]
74
[ "85-48=37", "6/3=2", "37*2=74" ]
Current State: 74:[48, 3, 85, 6], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [3, 6, 37] Generated Node #2: [3, 6, 37] from Operation: 85-48=37 Current State: 74:[3, 6, 37], Operations: ['85-48=37'] Exploring Operation: 6/3=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 6/3=2 Current State: 74:[37, 2], Operations: ['85-48=37', '6/3=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[48, 3, 85, 6], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [3, 6, 37] Generated Node #0,0: 74:[3, 6, 37] Operation: 85-48=37 Moving to Node #0,0 Current State: 74:[3, 6, 37], Operations: ['85-48=37'] Exploring Operation: 6/3=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 74:[37, 2] Operation: 6/3=2 Moving to Node #0,0,0 Current State: 74:[37, 2], Operations: ['85-48=37', '6/3=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[48, 3, 85, 6], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [3, 6, 37] Generated Node #0,0: 74:[3, 6, 37] Operation: 85-48=37 Moving to Node #0,0 Current State: 74:[3, 6, 37], Operations: ['85-48=37'] Exploring Operation: 6/3=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 74:[37, 2] Operation: 6/3=2 Moving to Node #0,0,0 Current State: 74:[37, 2], Operations: ['85-48=37', '6/3=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 5, 68, 71, 44 ]
90
[ "68-5=63", "71-44=27", "63+27=90" ]
Current State: 90:[5, 68, 71, 44], Operations: [] Exploring Operation: 68-5=63, Resulting Numbers: [71, 44, 63] Generated Node #2: [71, 44, 63] from Operation: 68-5=63 Current State: 90:[71, 44, 63], Operations: ['68-5=63'] Exploring Operation: 71-44=27, Resulting Numbers: [63, 27] Generated Node #3: [63, 27] from Operation: 71-44=27 Current State: 90:[63, 27], Operations: ['68-5=63', '71-44=27'] Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[5, 68, 71, 44], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [5, 44, 3] Generated Node #0,0: 90:[5, 44, 3] Operation: 71-68=3 Exploring Operation: 68-44=24, Resulting Numbers: [5, 71, 24] Generated Node #0,1: 90:[5, 71, 24] Operation: 68-44=24 Exploring Operation: 5+68=73, Resulting Numbers: [71, 44, 73] Generated Node #0,2: 90:[71, 44, 73] Operation: 5+68=73 Exploring Operation: 71-44=27, Resulting Numbers: [5, 68, 27] Generated Node #0,3: 90:[5, 68, 27] Operation: 71-44=27 Moving to Node #0,0 Current State: 90:[5, 44, 3], Operations: ['71-68=3'] Exploring Operation: 5+3=8, Resulting Numbers: [44, 8] Generated Node #0,0,0: 90:[44, 8] Operation: 5+3=8 Exploring Operation: 5*3=15, Resulting Numbers: [44, 15] Generated Node #0,0,1: 90:[44, 15] Operation: 5*3=15 Exploring Operation: 44+3=47, Resulting Numbers: [5, 47] Generated Node #0,0,2: 90:[5, 47] Operation: 44+3=47 Exploring Operation: 5-3=2, Resulting Numbers: [44, 2] Generated Node #0,0,3: 90:[44, 2] Operation: 5-3=2 Moving to Node #0,3 Current State: 90:[5, 68, 27], Operations: ['71-44=27'] Exploring Operation: 68+27=95, Resulting Numbers: [5, 95] Generated Node #0,3,0: 90:[5, 95] Operation: 68+27=95 Exploring Operation: 68-5=63, Resulting Numbers: [27, 63] Generated Node #0,3,1: 90:[27, 63] Operation: 68-5=63 Exploring Operation: 68-27=41, Resulting Numbers: [5, 41] Generated Node #0,3,2: 90:[5, 41] Operation: 68-27=41 Exploring Operation: 5+68=73, Resulting Numbers: [27, 73] Generated Node #0,3,3: 90:[27, 73] Operation: 5+68=73 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[5, 41], Operations: ['71-44=27', '68-27=41'] Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,90 unequal: No Solution Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[5, 95], Operations: ['71-44=27', '68+27=95'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[5, 68, 71, 44], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [5, 68, 27] Generated Node #0,3: 90:[5, 68, 27] Operation: 71-44=27 Moving to Node #0,3 Current State: 90:[5, 68, 27], Operations: ['71-44=27'] Exploring Operation: 68+27=95, Resulting Numbers: [5, 95] Generated Node #0,3,0: 90:[5, 95] Operation: 68+27=95 Moving to Node #0,3,0 Current State: 90:[5, 95], Operations: ['71-44=27', '68+27=95'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 33, 86, 24, 5 ]
72
[ "86-33=53", "24-5=19", "53+19=72" ]
Current State: 72:[33, 86, 24, 5], Operations: [] Exploring Operation: 86-33=53, Resulting Numbers: [24, 5, 53] Generated Node #2: [24, 5, 53] from Operation: 86-33=53 Current State: 72:[24, 5, 53], Operations: ['86-33=53'] Exploring Operation: 24-5=19, Resulting Numbers: [53, 19] Generated Node #3: [53, 19] from Operation: 24-5=19 Current State: 72:[53, 19], Operations: ['86-33=53', '24-5=19'] Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[33, 86, 24, 5], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [33, 24, 81] Generated Node #0,0: 72:[33, 24, 81] Operation: 86-5=81 Moving to Node #0,0 Current State: 72:[33, 24, 81], Operations: ['86-5=81'] Exploring Operation: 33-24=9, Resulting Numbers: [81, 9] Generated Node #0,0,0: 72:[81, 9] Operation: 33-24=9 Moving to Node #0,0,0 Current State: 72:[81, 9], Operations: ['86-5=81', '33-24=9'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[33, 86, 24, 5], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [33, 24, 81] Generated Node #0,0: 72:[33, 24, 81] Operation: 86-5=81 Moving to Node #0,0 Current State: 72:[33, 24, 81], Operations: ['86-5=81'] Exploring Operation: 33-24=9, Resulting Numbers: [81, 9] Generated Node #0,0,0: 72:[81, 9] Operation: 33-24=9 Moving to Node #0,0,0 Current State: 72:[81, 9], Operations: ['86-5=81', '33-24=9'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 29, 5, 38, 56 ]
61
[ "56-38=18", "5*18=90", "90-29=61" ]
Current State: 61:[29, 5, 38, 56], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [29, 5, 18] Generated Node #2: [29, 5, 18] from Operation: 56-38=18 Current State: 61:[29, 5, 18], Operations: ['56-38=18'] Exploring Operation: 5*18=90, Resulting Numbers: [29, 90] Generated Node #3: [29, 90] from Operation: 5*18=90 Current State: 61:[29, 90], Operations: ['56-38=18', '5*18=90'] Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[29, 5, 38, 56], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [29, 56, 43] Generated Node #0,0: 61:[29, 56, 43] Operation: 5+38=43 Exploring Operation: 29+5=34, Resulting Numbers: [38, 56, 34] Generated Node #0,1: 61:[38, 56, 34] Operation: 29+5=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[29, 56, 43], Operations: ['5+38=43'] Exploring Operation: 29+43=72, Resulting Numbers: [56, 72] Generated Node #0,0,0: 61:[56, 72] Operation: 29+43=72 Exploring Operation: 29+56=85, Resulting Numbers: [43, 85] Generated Node #0,0,1: 61:[43, 85] Operation: 29+56=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[56, 72], Operations: ['5+38=43', '29+43=72'] Exploring Operation: 56+72=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[43, 85], Operations: ['5+38=43', '29+56=85'] Exploring Operation: 85-43=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 43+85=128, Resulting Numbers: [128] 128,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[38, 56, 34], Operations: ['29+5=34'] Exploring Operation: 56+34=90, Resulting Numbers: [38, 90] Generated Node #0,1,0: 61:[38, 90] Operation: 56+34=90 Exploring Operation: 38+34=72, Resulting Numbers: [56, 72] Generated Node #0,1,1: 61:[56, 72] Operation: 38+34=72 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[56, 72], Operations: ['29+5=34', '38+34=72'] Exploring Operation: 56+72=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,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:[38, 90], Operations: ['29+5=34', '56+34=90'] Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 38+90=128, Resulting Numbers: [128] 128,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 18, 44, 21, 44 ]
38
[ "18+21=39", "44/44=1", "39-1=38" ]
Current State: 38:[18, 44, 21, 44], Operations: [] Exploring Operation: 18+21=39, Resulting Numbers: [44, 44, 39] Generated Node #2: [44, 44, 39] from Operation: 18+21=39 Current State: 38:[44, 44, 39], Operations: ['18+21=39'] Exploring Operation: 44/44=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 44/44=1 Current State: 38:[39, 1], Operations: ['18+21=39', '44/44=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[18, 44, 21, 44], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [18, 21, 1] Generated Node #0,0: 38:[18, 21, 1] Operation: 44/44=1 Moving to Node #0,0 Current State: 38:[18, 21, 1], Operations: ['44/44=1'] Exploring Operation: 18+21=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 38:[1, 39] Operation: 18+21=39 Moving to Node #0,0,0 Current State: 38:[1, 39], Operations: ['44/44=1', '18+21=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[18, 44, 21, 44], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [18, 21, 1] Generated Node #0,0: 38:[18, 21, 1] Operation: 44/44=1 Moving to Node #0,0 Current State: 38:[18, 21, 1], Operations: ['44/44=1'] Exploring Operation: 18+21=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 38:[1, 39] Operation: 18+21=39 Moving to Node #0,0,0 Current State: 38:[1, 39], Operations: ['44/44=1', '18+21=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 36, 12, 2, 55 ]
61
[ "36/12=3", "2*3=6", "55+6=61" ]
Current State: 61:[36, 12, 2, 55], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [2, 55, 3] Generated Node #2: [2, 55, 3] from Operation: 36/12=3 Current State: 61:[2, 55, 3], Operations: ['36/12=3'] Exploring Operation: 2*3=6, Resulting Numbers: [55, 6] Generated Node #3: [55, 6] from Operation: 2*3=6 Current State: 61:[55, 6], Operations: ['36/12=3', '2*3=6'] Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[36, 12, 2, 55], Operations: [] Exploring Operation: 36*2=72, Resulting Numbers: [12, 55, 72] Generated Node #0,0: 61:[12, 55, 72] Operation: 36*2=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[12, 55, 72], Operations: ['36*2=72'] Exploring Operation: 72-12=60, Resulting Numbers: [55, 60] Generated Node #0,0,0: 61:[55, 60] Operation: 72-12=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[55, 60], Operations: ['36*2=72', '72-12=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 1, 59, 68 ]
46
[ "56-1=55", "68-59=9", "55-9=46" ]
Current State: 46:[56, 1, 59, 68], Operations: [] Exploring Operation: 56-1=55, Resulting Numbers: [59, 68, 55] Generated Node #2: [59, 68, 55] from Operation: 56-1=55 Current State: 46:[59, 68, 55], Operations: ['56-1=55'] Exploring Operation: 68-59=9, Resulting Numbers: [55, 9] Generated Node #3: [55, 9] from Operation: 68-59=9 Current State: 46:[55, 9], Operations: ['56-1=55', '68-59=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[56, 1, 59, 68], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [56, 1, 9] Generated Node #0,0: 46:[56, 1, 9] Operation: 68-59=9 Exploring Operation: 68-56=12, Resulting Numbers: [1, 59, 12] Generated Node #0,1: 46:[1, 59, 12] Operation: 68-56=12 Exploring Operation: 59-56=3, Resulting Numbers: [1, 68, 3] Generated Node #0,2: 46:[1, 68, 3] Operation: 59-56=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[56, 1, 9], Operations: ['68-59=9'] Exploring Operation: 9-1=8, Resulting Numbers: [56, 8] Generated Node #0,0,0: 46:[56, 8] Operation: 9-1=8 Exploring Operation: 56-9=47, Resulting Numbers: [1, 47] Generated Node #0,0,1: 46:[1, 47] Operation: 56-9=47 Exploring Operation: 56-1=55, Resulting Numbers: [9, 55] Generated Node #0,0,2: 46:[9, 55] Operation: 56-1=55 Moving to Node #0,0,1 Current State: 46:[1, 47], Operations: ['68-59=9', '56-9=47'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[56, 1, 59, 68], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [56, 1, 9] Generated Node #0,0: 46:[56, 1, 9] Operation: 68-59=9 Moving to Node #0,0 Current State: 46:[56, 1, 9], Operations: ['68-59=9'] Exploring Operation: 56-9=47, Resulting Numbers: [1, 47] Generated Node #0,0,1: 46:[1, 47] Operation: 56-9=47 Moving to Node #0,0,1 Current State: 46:[1, 47], Operations: ['68-59=9', '56-9=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 79, 96, 81, 49 ]
97
[ "81-79=2", "96/2=48", "49+48=97" ]
Current State: 97:[79, 96, 81, 49], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [96, 49, 2] Generated Node #2: [96, 49, 2] from Operation: 81-79=2 Current State: 97:[96, 49, 2], Operations: ['81-79=2'] Exploring Operation: 96/2=48, Resulting Numbers: [49, 48] Generated Node #3: [49, 48] from Operation: 96/2=48 Current State: 97:[49, 48], Operations: ['81-79=2', '96/2=48'] Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[79, 96, 81, 49], Operations: [] Exploring Operation: 81+49=130, Resulting Numbers: [79, 96, 130] Generated Node #0,0: 97:[79, 96, 130] Operation: 81+49=130 Exploring Operation: 79+49=128, Resulting Numbers: [96, 81, 128] Generated Node #0,1: 97:[96, 81, 128] Operation: 79+49=128 Exploring Operation: 96-49=47, Resulting Numbers: [79, 81, 47] Generated Node #0,2: 97:[79, 81, 47] Operation: 96-49=47 Exploring Operation: 79-49=30, Resulting Numbers: [96, 81, 30] Generated Node #0,3: 97:[96, 81, 30] Operation: 79-49=30 Exploring Operation: 96+49=145, Resulting Numbers: [79, 81, 145] Generated Node #0,4: 97:[79, 81, 145] Operation: 96+49=145 Moving to Node #0,1 Current State: 97:[96, 81, 128], Operations: ['79+49=128'] Exploring Operation: 96-81=15, Resulting Numbers: [128, 15] Generated Node #0,1,0: 97:[128, 15] Operation: 96-81=15 Exploring Operation: 81+128=209, Resulting Numbers: [96, 209] Generated Node #0,1,1: 97:[96, 209] Operation: 81+128=209 Exploring Operation: 128-96=32, Resulting Numbers: [81, 32] Generated Node #0,1,2: 97:[81, 32] Operation: 128-96=32 Exploring Operation: 96+81=177, Resulting Numbers: [128, 177] Generated Node #0,1,3: 97:[128, 177] Operation: 96+81=177 Exploring Operation: 128-81=47, Resulting Numbers: [96, 47] Generated Node #0,1,4: 97:[96, 47] Operation: 128-81=47 Moving to Node #0,0 Current State: 97:[79, 96, 130], Operations: ['81+49=130'] Exploring Operation: 79+96=175, Resulting Numbers: [130, 175] Generated Node #0,0,0: 97:[130, 175] Operation: 79+96=175 Exploring Operation: 130-79=51, Resulting Numbers: [96, 51] Generated Node #0,0,1: 97:[96, 51] Operation: 130-79=51 Exploring Operation: 79+130=209, Resulting Numbers: [96, 209] Generated Node #0,0,2: 97:[96, 209] Operation: 79+130=209 Exploring Operation: 96-79=17, Resulting Numbers: [130, 17] Generated Node #0,0,3: 97:[130, 17] Operation: 96-79=17 Exploring Operation: 130-96=34, Resulting Numbers: [79, 34] Generated Node #0,0,4: 97:[79, 34] Operation: 130-96=34 Moving to Node #0,4 Current State: 97:[79, 81, 145], Operations: ['96+49=145'] Exploring Operation: 81-79=2, Resulting Numbers: [145, 2] Generated Node #0,4,0: 97:[145, 2] Operation: 81-79=2 Exploring Operation: 145-79=66, Resulting Numbers: [81, 66] Generated Node #0,4,1: 97:[81, 66] Operation: 145-79=66 Exploring Operation: 145-81=64, Resulting Numbers: [79, 64] Generated Node #0,4,2: 97:[79, 64] Operation: 145-81=64 Exploring Operation: 79+81=160, Resulting Numbers: [145, 160] Generated Node #0,4,3: 97:[145, 160] Operation: 79+81=160 Exploring Operation: 79+145=224, Resulting Numbers: [81, 224] Generated Node #0,4,4: 97:[81, 224] Operation: 79+145=224 Moving to Node #0,2 Current State: 97:[79, 81, 47], Operations: ['96-49=47'] Exploring Operation: 79+81=160, Resulting Numbers: [47, 160] Generated Node #0,2,0: 97:[47, 160] Operation: 79+81=160 Exploring Operation: 79+47=126, Resulting Numbers: [81, 126] Generated Node #0,2,1: 97:[81, 126] Operation: 79+47=126 Exploring Operation: 81-47=34, Resulting Numbers: [79, 34] Generated Node #0,2,2: 97:[79, 34] Operation: 81-47=34 Exploring Operation: 81+47=128, Resulting Numbers: [79, 128] Generated Node #0,2,3: 97:[79, 128] Operation: 81+47=128 Exploring Operation: 79-47=32, Resulting Numbers: [81, 32] Generated Node #0,2,4: 97:[81, 32] Operation: 79-47=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[81, 126], Operations: ['96-49=47', '79+47=126'] Exploring Operation: 81*126=10206, Resulting Numbers: [10206] 10206,97 unequal: No Solution Exploring Operation: 126-81=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 81+126=207, Resulting Numbers: [207] 207,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[79, 128], Operations: ['96-49=47', '81+47=128'] Exploring Operation: 128-79=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 79*128=10112, Resulting Numbers: [10112] 10112,97 unequal: No Solution Exploring Operation: 79+128=207, Resulting Numbers: [207] 207,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[79, 34], Operations: ['96-49=47', '81-47=34'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 97:[81, 32], Operations: ['96-49=47', '79-47=32'] Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[47, 160], Operations: ['96-49=47', '79+81=160'] Exploring Operation: 47*160=7520, Resulting Numbers: [7520] 7520,97 unequal: No Solution Exploring Operation: 47+160=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 160-47=113, Resulting Numbers: [113] 113,97 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: 97:[96, 81, 30], Operations: ['79-49=30'] Exploring Operation: 81+30=111, Resulting Numbers: [96, 111] Generated Node #0,3,0: 97:[96, 111] Operation: 81+30=111 Exploring Operation: 96-30=66, Resulting Numbers: [81, 66] Generated Node #0,3,1: 97:[81, 66] Operation: 96-30=66 Exploring Operation: 96+30=126, Resulting Numbers: [81, 126] Generated Node #0,3,2: 97:[81, 126] Operation: 96+30=126 Exploring Operation: 96+81=177, Resulting Numbers: [30, 177] Generated Node #0,3,3: 97:[30, 177] Operation: 96+81=177 Exploring Operation: 81-30=51, Resulting Numbers: [96, 51] Generated Node #0,3,4: 97:[96, 51] Operation: 81-30=51 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[96, 111], Operations: ['79-49=30', '81+30=111'] Exploring Operation: 96+111=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 111-96=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 96*111=10656, Resulting Numbers: [10656] 10656,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[81, 126], Operations: ['79-49=30', '96+30=126'] Exploring Operation: 126-81=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 81*126=10206, Resulting Numbers: [10206] 10206,97 unequal: No Solution Exploring Operation: 81+126=207, Resulting Numbers: [207] 207,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[81, 66], Operations: ['79-49=30', '96-30=66'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,97 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 97:[96, 51], Operations: ['79-49=30', '81-30=51'] Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[30, 177], Operations: ['79-49=30', '96+81=177'] Exploring Operation: 30*177=5310, Resulting Numbers: [5310] 5310,97 unequal: No Solution Exploring Operation: 30+177=207, Resulting Numbers: [207] 207,97 unequal: No Solution Exploring Operation: 177-30=147, Resulting Numbers: [147] 147,97 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: 97:[96, 51], Operations: ['81+49=130', '130-79=51'] Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,97 unequal: No Solution Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[81, 66], Operations: ['96+49=145', '145-79=66'] Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,97 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[96, 47], Operations: ['79+49=128', '128-81=47'] Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 96*47=4512, Resulting Numbers: [4512] 4512,97 unequal: No Solution Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[79, 64], Operations: ['96+49=145', '145-81=64'] Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,97 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[79, 34], Operations: ['81+49=130', '130-96=34'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,97 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[81, 32], Operations: ['79+49=128', '128-96=32'] Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[145, 160], Operations: ['96+49=145', '79+81=160'] Exploring Operation: 145+160=305, Resulting Numbers: [305] 305,97 unequal: No Solution Exploring Operation: 160-145=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 145*160=23200, Resulting Numbers: [23200] 23200,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[128, 177], Operations: ['79+49=128', '96+81=177'] Exploring Operation: 177-128=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 128+177=305, Resulting Numbers: [305] 305,97 unequal: No Solution Exploring Operation: 128*177=22656, Resulting Numbers: [22656] 22656,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[130, 175], Operations: ['81+49=130', '79+96=175'] Exploring Operation: 130+175=305, Resulting Numbers: [305] 305,97 unequal: No Solution Exploring Operation: 130*175=22750, Resulting Numbers: [22750] 22750,97 unequal: No Solution Exploring Operation: 175-130=45, Resulting Numbers: [45] 45,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[130, 17], Operations: ['81+49=130', '96-79=17'] Exploring Operation: 130+17=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 130-17=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 130*17=2210, Resulting Numbers: [2210] 2210,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[96, 209], Operations: ['79+49=128', '81+128=209'] Exploring Operation: 96*209=20064, Resulting Numbers: [20064] 20064,97 unequal: No Solution Exploring Operation: 209-96=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 96+209=305, Resulting Numbers: [305] 305,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[128, 15], Operations: ['79+49=128', '96-81=15'] Exploring Operation: 128+15=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 128*15=1920, Resulting Numbers: [1920] 1920,97 unequal: No Solution Exploring Operation: 128-15=113, Resulting Numbers: [113] 113,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[96, 209], Operations: ['81+49=130', '79+130=209'] Exploring Operation: 96*209=20064, Resulting Numbers: [20064] 20064,97 unequal: No Solution Exploring Operation: 96+209=305, Resulting Numbers: [305] 305,97 unequal: No Solution Exploring Operation: 209-96=113, Resulting Numbers: [113] 113,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[145, 2], Operations: ['96+49=145', '81-79=2'] Exploring Operation: 145*2=290, Resulting Numbers: [290] 290,97 unequal: No Solution Exploring Operation: 145+2=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 145-2=143, Resulting Numbers: [143] 143,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[81, 224], Operations: ['96+49=145', '79+145=224'] Exploring Operation: 224-81=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 81*224=18144, Resulting Numbers: [18144] 18144,97 unequal: No Solution Exploring Operation: 81+224=305, Resulting Numbers: [305] 305,97 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 52, 58, 82, 30 ]
58
[ "52+58=110", "82-30=52", "110-52=58" ]
Current State: 58:[52, 58, 82, 30], Operations: [] Exploring Operation: 52+58=110, Resulting Numbers: [82, 30, 110] Generated Node #2: [82, 30, 110] from Operation: 52+58=110 Current State: 58:[82, 30, 110], Operations: ['52+58=110'] Exploring Operation: 82-30=52, Resulting Numbers: [110, 52] Generated Node #3: [110, 52] from Operation: 82-30=52 Current State: 58:[110, 52], Operations: ['52+58=110', '82-30=52'] Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[52, 58, 82, 30], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [58, 30, 30] Generated Node #0,0: 58:[58, 30, 30] Operation: 82-52=30 Exploring Operation: 52-30=22, Resulting Numbers: [58, 82, 22] Generated Node #0,1: 58:[58, 82, 22] Operation: 52-30=22 Exploring Operation: 58-52=6, Resulting Numbers: [82, 30, 6] Generated Node #0,2: 58:[82, 30, 6] Operation: 58-52=6 Exploring Operation: 82-58=24, Resulting Numbers: [52, 30, 24] Generated Node #0,3: 58:[52, 30, 24] Operation: 82-58=24 Exploring Operation: 82-30=52, Resulting Numbers: [52, 58, 52] Generated Node #0,4: 58:[52, 58, 52] Operation: 82-30=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[58, 30, 30], Operations: ['82-52=30'] Exploring Operation: 58-30=28, Resulting Numbers: [30, 28] Generated Node #0,0,0: 58:[30, 28] Operation: 58-30=28 Exploring Operation: 30/30=1, Resulting Numbers: [58, 1] Generated Node #0,0,1: 58:[58, 1] Operation: 30/30=1 Exploring Operation: 30+30=60, Resulting Numbers: [58, 60] Generated Node #0,0,2: 58:[58, 60] Operation: 30+30=60 Exploring Operation: 58-30=28, Resulting Numbers: [30, 28] Generated Node #0,0,3: 58:[30, 28] Operation: 58-30=28 Exploring Operation: 30-30=0, Resulting Numbers: [58, 0] Generated Node #0,0,4: 58:[58, 0] Operation: 30-30=0 Moving to Node #0,0,1 Current State: 58:[58, 1], Operations: ['82-52=30', '30/30=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[52, 58, 82, 30], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [58, 30, 30] Generated Node #0,0: 58:[58, 30, 30] Operation: 82-52=30 Moving to Node #0,0 Current State: 58:[58, 30, 30], Operations: ['82-52=30'] Exploring Operation: 30/30=1, Resulting Numbers: [58, 1] Generated Node #0,0,1: 58:[58, 1] Operation: 30/30=1 Moving to Node #0,0,1 Current State: 58:[58, 1], Operations: ['82-52=30', '30/30=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 68, 33, 16, 48 ]
68
[ "33+16=49", "49-48=1", "68*1=68" ]
Current State: 68:[68, 33, 16, 48], Operations: [] Exploring Operation: 33+16=49, Resulting Numbers: [68, 48, 49] Generated Node #2: [68, 48, 49] from Operation: 33+16=49 Current State: 68:[68, 48, 49], Operations: ['33+16=49'] Exploring Operation: 49-48=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 49-48=1 Current State: 68:[68, 1], Operations: ['33+16=49', '49-48=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[68, 33, 16, 48], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [68, 33, 3] Generated Node #0,0: 68:[68, 33, 3] Operation: 48/16=3 Exploring Operation: 48-16=32, Resulting Numbers: [68, 33, 32] Generated Node #0,1: 68:[68, 33, 32] Operation: 48-16=32 Exploring Operation: 48-33=15, Resulting Numbers: [68, 16, 15] Generated Node #0,2: 68:[68, 16, 15] Operation: 48-33=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[68, 33, 3], Operations: ['48/16=3'] Exploring Operation: 68+3=71, Resulting Numbers: [33, 71] Generated Node #0,0,0: 68:[33, 71] Operation: 68+3=71 Exploring Operation: 68-33=35, Resulting Numbers: [3, 35] Generated Node #0,0,1: 68:[3, 35] Operation: 68-33=35 Exploring Operation: 33+3=36, Resulting Numbers: [68, 36] Generated Node #0,0,2: 68:[68, 36] Operation: 33+3=36 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[3, 35], Operations: ['48/16=3', '68-33=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,68 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[68, 36], Operations: ['48/16=3', '33+3=36'] Exploring Operation: 68*36=2448, Resulting Numbers: [2448] 2448,68 unequal: No Solution Exploring Operation: 68+36=104, Resulting Numbers: [104] 104,68 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[33, 71], Operations: ['48/16=3', '68+3=71'] Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,68 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[68, 33, 32], Operations: ['48-16=32'] Exploring Operation: 68-32=36, Resulting Numbers: [33, 36] Generated Node #0,1,0: 68:[33, 36] Operation: 68-32=36 Exploring Operation: 33-32=1, Resulting Numbers: [68, 1] Generated Node #0,1,1: 68:[68, 1] Operation: 33-32=1 Exploring Operation: 68-33=35, Resulting Numbers: [32, 35] Generated Node #0,1,2: 68:[32, 35] Operation: 68-33=35 Moving to Node #0,1,1 Current State: 68:[68, 1], Operations: ['48-16=32', '33-32=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[68, 33, 16, 48], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [68, 33, 32] Generated Node #0,1: 68:[68, 33, 32] Operation: 48-16=32 Moving to Node #0,1 Current State: 68:[68, 33, 32], Operations: ['48-16=32'] Exploring Operation: 33-32=1, Resulting Numbers: [68, 1] Generated Node #0,1,1: 68:[68, 1] Operation: 33-32=1 Moving to Node #0,1,1 Current State: 68:[68, 1], Operations: ['48-16=32', '33-32=1'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 43, 76, 90, 32 ]
56
[ "43+90=133", "32*133=4256", "4256/76=56" ]
Current State: 56:[43, 76, 90, 32], Operations: [] Exploring Operation: 43+90=133, Resulting Numbers: [76, 32, 133] Generated Node #2: [76, 32, 133] from Operation: 43+90=133 Current State: 56:[76, 32, 133], Operations: ['43+90=133'] Exploring Operation: 32*133=4256, Resulting Numbers: [76, 4256] Generated Node #3: [76, 4256] from Operation: 32*133=4256 Current State: 56:[76, 4256], Operations: ['43+90=133', '32*133=4256'] Exploring Operation: 4256/76=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[43, 76, 90, 32], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [43, 76, 58] Generated Node #0,0: 56:[43, 76, 58] Operation: 90-32=58 Exploring Operation: 90-76=14, Resulting Numbers: [43, 32, 14] Generated Node #0,1: 56:[43, 32, 14] Operation: 90-76=14 Exploring Operation: 90-43=47, Resulting Numbers: [76, 32, 47] Generated Node #0,2: 56:[76, 32, 47] Operation: 90-43=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[43, 32, 14], Operations: ['90-76=14'] Exploring Operation: 43-32=11, Resulting Numbers: [14, 11] Generated Node #0,1,0: 56:[14, 11] Operation: 43-32=11 Exploring Operation: 43+14=57, Resulting Numbers: [32, 57] Generated Node #0,1,1: 56:[32, 57] Operation: 43+14=57 Exploring Operation: 43-14=29, Resulting Numbers: [32, 29] Generated Node #0,1,2: 56:[32, 29] Operation: 43-14=29 Moving to Node #0,1,0 Current State: 56:[14, 11], Operations: ['90-76=14', '43-32=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[32, 57], Operations: ['90-76=14', '43+14=57'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 32*57=1824, Resulting Numbers: [1824] 1824,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[32, 29], Operations: ['90-76=14', '43-14=29'] Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,56 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[76, 32, 47], Operations: ['90-43=47'] Exploring Operation: 76-47=29, Resulting Numbers: [32, 29] Generated Node #0,2,0: 56:[32, 29] Operation: 76-47=29 Exploring Operation: 76-32=44, Resulting Numbers: [47, 44] Generated Node #0,2,1: 56:[47, 44] Operation: 76-32=44 Exploring Operation: 47-32=15, Resulting Numbers: [76, 15] Generated Node #0,2,2: 56:[76, 15] Operation: 47-32=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[32, 29], Operations: ['90-43=47', '76-47=29'] Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,56 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,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,2,1 Current State: 56:[47, 44], Operations: ['90-43=47', '76-32=44'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 47*44=2068, Resulting Numbers: [2068] 2068,56 unequal: No Solution Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,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,2,2 Current State: 56:[76, 15], Operations: ['90-43=47', '47-32=15'] Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,56 unequal: No Solution Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[43, 76, 58], Operations: ['90-32=58'] Exploring Operation: 76-43=33, Resulting Numbers: [58, 33] Generated Node #0,0,0: 56:[58, 33] Operation: 76-43=33 Exploring Operation: 76-58=18, Resulting Numbers: [43, 18] Generated Node #0,0,1: 56:[43, 18] Operation: 76-58=18 Exploring Operation: 58-43=15, Resulting Numbers: [76, 15] Generated Node #0,0,2: 56:[76, 15] Operation: 58-43=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[58, 33], Operations: ['90-32=58', '76-43=33'] Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,56 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[43, 18], Operations: ['90-32=58', '76-58=18'] Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 43*18=774, Resulting Numbers: [774] 774,56 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[76, 15], Operations: ['90-32=58', '58-43=15'] Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 3, 75, 11, 43 ]
87
[ "11+43=54", "3*54=162", "162-75=87" ]
Current State: 87:[3, 75, 11, 43], Operations: [] Exploring Operation: 11+43=54, Resulting Numbers: [3, 75, 54] Generated Node #2: [3, 75, 54] from Operation: 11+43=54 Current State: 87:[3, 75, 54], Operations: ['11+43=54'] Exploring Operation: 3*54=162, Resulting Numbers: [75, 162] Generated Node #3: [75, 162] from Operation: 3*54=162 Current State: 87:[75, 162], Operations: ['11+43=54', '3*54=162'] Exploring Operation: 162-75=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 75, 11, 43], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [3, 11, 32] Generated Node #0,0: 87:[3, 11, 32] Operation: 75-43=32 Moving to Node #0,0 Current State: 87:[3, 11, 32], Operations: ['75-43=32'] Exploring Operation: 3*11=33, Resulting Numbers: [32, 33] Generated Node #0,0,0: 87:[32, 33] Operation: 3*11=33 Moving to Node #0,0,0 Current State: 87:[32, 33], Operations: ['75-43=32', '3*11=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 59, 49, 36, 59 ]
62
[ "59+49=108", "108/36=3", "59+3=62" ]
Current State: 62:[59, 49, 36, 59], Operations: [] Exploring Operation: 59+49=108, Resulting Numbers: [36, 108] Generated Node #2: [36, 108] from Operation: 59+49=108 Current State: 62:[36, 108], Operations: ['59+49=108'] Exploring Operation: 108/36=3, Resulting Numbers: [3] 3,62 equal: Goal Reached Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[59, 49, 36, 59], Operations: [] Exploring Operation: 59-49=10, Resulting Numbers: [36, 59, 10] Generated Node #0,0: 62:[36, 59, 10] Operation: 59-49=10 Exploring Operation: 59-49=10, Resulting Numbers: [59, 36, 10] Generated Node #0,1: 62:[59, 36, 10] Operation: 59-49=10 Exploring Operation: 49-36=13, Resulting Numbers: [59, 59, 13] Generated Node #0,2: 62:[59, 59, 13] Operation: 49-36=13 Moving to Node #0,0 Current State: 62:[36, 59, 10], Operations: ['59-49=10'] Exploring Operation: 36-10=26, Resulting Numbers: [59, 26] Generated Node #0,0,0: 62:[59, 26] Operation: 36-10=26 Exploring Operation: 59-36=23, Resulting Numbers: [10, 23] Generated Node #0,0,1: 62:[10, 23] Operation: 59-36=23 Exploring Operation: 59+10=69, Resulting Numbers: [36, 69] Generated Node #0,0,2: 62:[36, 69] Operation: 59+10=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[59, 26], Operations: ['59-49=10', '36-10=26'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,62 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[36, 69], Operations: ['59-49=10', '59+10=69'] Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,62 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[10, 23], Operations: ['59-49=10', '59-36=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,62 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: 62:[59, 36, 10], Operations: ['59-49=10'] Exploring Operation: 36-10=26, Resulting Numbers: [59, 26] Generated Node #0,1,0: 62:[59, 26] Operation: 36-10=26 Exploring Operation: 59+10=69, Resulting Numbers: [36, 69] Generated Node #0,1,1: 62:[36, 69] Operation: 59+10=69 Exploring Operation: 59-36=23, Resulting Numbers: [10, 23] Generated Node #0,1,2: 62:[10, 23] Operation: 59-36=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[59, 26], Operations: ['59-49=10', '36-10=26'] Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,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,1,1 Current State: 62:[36, 69], Operations: ['59-49=10', '59+10=69'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,62 unequal: No Solution Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,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,1,2 Current State: 62:[10, 23], Operations: ['59-49=10', '59-36=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,62 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 62:[59, 59, 13], Operations: ['49-36=13'] Exploring Operation: 59+13=72, Resulting Numbers: [59, 72] Generated Node #0,2,0: 62:[59, 72] Operation: 59+13=72 Exploring Operation: 59-59=0, Resulting Numbers: [13, 0] Generated Node #0,2,1: 62:[13, 0] Operation: 59-59=0 Exploring Operation: 59/59=1, Resulting Numbers: [13, 1] Generated Node #0,2,2: 62:[13, 1] Operation: 59/59=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[13, 1], Operations: ['49-36=13', '59/59=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[59, 72], Operations: ['49-36=13', '59+13=72'] Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 59+72=131, Resulting Numbers: [131] 131,62 unequal: No Solution Exploring Operation: 59*72=4248, Resulting Numbers: [4248] 4248,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[13, 0], Operations: ['49-36=13', '59-59=0'] Exploring Operation: 13+0=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 13-0=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 13*0=0, Resulting Numbers: [0] 0,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 3, 61, 51, 59 ]
96
[ "51-3=48", "61-59=2", "48*2=96" ]
Current State: 96:[3, 61, 51, 59], Operations: [] Exploring Operation: 51-3=48, Resulting Numbers: [61, 59, 48] Generated Node #2: [61, 59, 48] from Operation: 51-3=48 Current State: 96:[61, 59, 48], Operations: ['51-3=48'] Exploring Operation: 61-59=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 61-59=2 Current State: 96:[48, 2], Operations: ['51-3=48', '61-59=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 61, 51, 59], Operations: [] Exploring Operation: 61-51=10, Resulting Numbers: [3, 59, 10] Generated Node #0,0: 96:[3, 59, 10] Operation: 61-51=10 Exploring Operation: 61-59=2, Resulting Numbers: [3, 51, 2] Generated Node #0,1: 96:[3, 51, 2] Operation: 61-59=2 Exploring Operation: 59-51=8, Resulting Numbers: [3, 61, 8] Generated Node #0,2: 96:[3, 61, 8] Operation: 59-51=8 Moving to Node #0,1 Current State: 96:[3, 51, 2], Operations: ['61-59=2'] Exploring Operation: 51/3=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 96:[2, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 96:[2, 48] Operation: 51-3=48 Exploring Operation: 51-2=49, Resulting Numbers: [3, 49] Generated Node #0,1,2: 96:[3, 49] Operation: 51-2=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[2, 48], Operations: ['61-59=2', '51-3=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[3, 61, 51, 59], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [3, 51, 2] Generated Node #0,1: 96:[3, 51, 2] Operation: 61-59=2 Moving to Node #0,1 Current State: 96:[3, 51, 2], Operations: ['61-59=2'] Exploring Operation: 51-3=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 96:[2, 48] Operation: 51-3=48 Moving to Node #0,1,1 Current State: 96:[2, 48], Operations: ['61-59=2', '51-3=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 63, 69, 61, 27 ]
82
[ "69-63=6", "61+27=88", "88-6=82" ]
Current State: 82:[63, 69, 61, 27], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [61, 27, 6] Generated Node #2: [61, 27, 6] from Operation: 69-63=6 Current State: 82:[61, 27, 6], Operations: ['69-63=6'] Exploring Operation: 61+27=88, Resulting Numbers: [6, 88] Generated Node #3: [6, 88] from Operation: 61+27=88 Current State: 82:[6, 88], Operations: ['69-63=6', '61+27=88'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[63, 69, 61, 27], Operations: [] Exploring Operation: 61+27=88, Resulting Numbers: [63, 69, 88] Generated Node #0,0: 82:[63, 69, 88] Operation: 61+27=88 Exploring Operation: 69-63=6, Resulting Numbers: [61, 27, 6] Generated Node #0,1: 82:[61, 27, 6] Operation: 69-63=6 Exploring Operation: 63-61=2, Resulting Numbers: [69, 27, 2] Generated Node #0,2: 82:[69, 27, 2] Operation: 63-61=2 Exploring Operation: 63-27=36, Resulting Numbers: [69, 61, 36] Generated Node #0,3: 82:[69, 61, 36] Operation: 63-27=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[69, 27, 2], Operations: ['63-61=2'] Exploring Operation: 69+2=71, Resulting Numbers: [27, 71] Generated Node #0,2,0: 82:[27, 71] Operation: 69+2=71 Exploring Operation: 69+27=96, Resulting Numbers: [2, 96] Generated Node #0,2,1: 82:[2, 96] Operation: 69+27=96 Exploring Operation: 27+2=29, Resulting Numbers: [69, 29] Generated Node #0,2,2: 82:[69, 29] Operation: 27+2=29 Exploring Operation: 69-27=42, Resulting Numbers: [2, 42] Generated Node #0,2,3: 82:[2, 42] Operation: 69-27=42 Moving to Node #0,2,3 Current State: 82:[2, 42], Operations: ['63-61=2', '69-27=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[2, 96], Operations: ['63-61=2', '69+27=96'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 2*96=192, Resulting Numbers: [192] 192,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[69, 29], Operations: ['63-61=2', '27+2=29'] Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[27, 71], Operations: ['63-61=2', '69+2=71'] Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,82 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[63, 69, 88], Operations: ['61+27=88'] Exploring Operation: 88-63=25, Resulting Numbers: [69, 25] Generated Node #0,0,0: 82:[69, 25] Operation: 88-63=25 Exploring Operation: 63+69=132, Resulting Numbers: [88, 132] Generated Node #0,0,1: 82:[88, 132] Operation: 63+69=132 Exploring Operation: 88-69=19, Resulting Numbers: [63, 19] Generated Node #0,0,2: 82:[63, 19] Operation: 88-69=19 Exploring Operation: 69-63=6, Resulting Numbers: [88, 6] Generated Node #0,0,3: 82:[88, 6] Operation: 69-63=6 Moving to Node #0,0,3 Current State: 82:[88, 6], Operations: ['61+27=88', '69-63=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[63, 69, 61, 27], Operations: [] Exploring Operation: 61+27=88, Resulting Numbers: [63, 69, 88] Generated Node #0,0: 82:[63, 69, 88] Operation: 61+27=88 Moving to Node #0,0 Current State: 82:[63, 69, 88], Operations: ['61+27=88'] Exploring Operation: 69-63=6, Resulting Numbers: [88, 6] Generated Node #0,0,3: 82:[88, 6] Operation: 69-63=6 Moving to Node #0,0,3 Current State: 82:[88, 6], Operations: ['61+27=88', '69-63=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 10, 18, 58, 96 ]
26
[ "10*18=180", "58+96=154", "180-154=26" ]
Current State: 26:[10, 18, 58, 96], Operations: [] Exploring Operation: 10*18=180, Resulting Numbers: [58, 96, 180] Generated Node #2: [58, 96, 180] from Operation: 10*18=180 Current State: 26:[58, 96, 180], Operations: ['10*18=180'] Exploring Operation: 58+96=154, Resulting Numbers: [180, 154] Generated Node #3: [180, 154] from Operation: 58+96=154 Current State: 26:[180, 154], Operations: ['10*18=180', '58+96=154'] Exploring Operation: 180-154=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[10, 18, 58, 96], Operations: [] Exploring Operation: 96-58=38, Resulting Numbers: [10, 18, 38] Generated Node #0,0: 26:[10, 18, 38] Operation: 96-58=38 Exploring Operation: 58-10=48, Resulting Numbers: [18, 96, 48] Generated Node #0,1: 26:[18, 96, 48] Operation: 58-10=48 Exploring Operation: 58-18=40, Resulting Numbers: [10, 96, 40] Generated Node #0,2: 26:[10, 96, 40] Operation: 58-18=40 Exploring Operation: 96-18=78, Resulting Numbers: [10, 58, 78] Generated Node #0,3: 26:[10, 58, 78] Operation: 96-18=78 Exploring Operation: 96-10=86, Resulting Numbers: [18, 58, 86] Generated Node #0,4: 26:[18, 58, 86] Operation: 96-10=86 Moving to Node #0,0 Current State: 26:[10, 18, 38], Operations: ['96-58=38'] Exploring Operation: 38-18=20, Resulting Numbers: [10, 20] Generated Node #0,0,0: 26:[10, 20] Operation: 38-18=20 Exploring Operation: 10+18=28, Resulting Numbers: [38, 28] Generated Node #0,0,1: 26:[38, 28] Operation: 10+18=28 Exploring Operation: 18-10=8, Resulting Numbers: [38, 8] Generated Node #0,0,2: 26:[38, 8] Operation: 18-10=8 Exploring Operation: 10+38=48, Resulting Numbers: [18, 48] Generated Node #0,0,3: 26:[18, 48] Operation: 10+38=48 Exploring Operation: 38-10=28, Resulting Numbers: [18, 28] Generated Node #0,0,4: 26:[18, 28] Operation: 38-10=28 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 26:[18, 28], Operations: ['96-58=38', '38-10=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[10, 20], Operations: ['96-58=38', '38-18=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,26 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[38, 28], Operations: ['96-58=38', '10+18=28'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,26 unequal: No Solution Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[38, 8], Operations: ['96-58=38', '18-10=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,26 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[18, 48], Operations: ['96-58=38', '10+38=48'] Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,26 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 26:[10, 58, 78], Operations: ['96-18=78'] Exploring Operation: 58-10=48, Resulting Numbers: [78, 48] Generated Node #0,3,0: 26:[78, 48] Operation: 58-10=48 Exploring Operation: 78-58=20, Resulting Numbers: [10, 20] Generated Node #0,3,1: 26:[10, 20] Operation: 78-58=20 Exploring Operation: 78-10=68, Resulting Numbers: [58, 68] Generated Node #0,3,2: 26:[58, 68] Operation: 78-10=68 Exploring Operation: 10+58=68, Resulting Numbers: [78, 68] Generated Node #0,3,3: 26:[78, 68] Operation: 10+58=68 Exploring Operation: 10+78=88, Resulting Numbers: [58, 88] Generated Node #0,3,4: 26:[58, 88] Operation: 10+78=88 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 26:[10, 20], Operations: ['96-18=78', '78-58=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,26 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 26:[78, 48], Operations: ['96-18=78', '58-10=48'] Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 78+48=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 78*48=3744, Resulting Numbers: [3744] 3744,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,3,2 Current State: 26:[58, 68], Operations: ['96-18=78', '78-10=68'] Exploring Operation: 58+68=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 58*68=3944, Resulting Numbers: [3944] 3944,26 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 26:[78, 68], Operations: ['96-18=78', '10+58=68'] Exploring Operation: 78*68=5304, Resulting Numbers: [5304] 5304,26 unequal: No Solution Exploring Operation: 78+68=146, Resulting Numbers: [146] 146,26 unequal: No Solution Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 26:[58, 88], Operations: ['96-18=78', '10+78=88'] Exploring Operation: 58*88=5104, Resulting Numbers: [5104] 5104,26 unequal: No Solution Exploring Operation: 58+88=146, Resulting Numbers: [146] 146,26 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 26:[10, 96, 40], Operations: ['58-18=40'] Exploring Operation: 10+96=106, Resulting Numbers: [40, 106] Generated Node #0,2,0: 26:[40, 106] Operation: 10+96=106 Exploring Operation: 96-40=56, Resulting Numbers: [10, 56] Generated Node #0,2,1: 26:[10, 56] Operation: 96-40=56 Exploring Operation: 40-10=30, Resulting Numbers: [96, 30] Generated Node #0,2,2: 26:[96, 30] Operation: 40-10=30 Exploring Operation: 96-10=86, Resulting Numbers: [40, 86] Generated Node #0,2,3: 26:[40, 86] Operation: 96-10=86 Exploring Operation: 40/10=4, Resulting Numbers: [96, 4] Generated Node #0,2,4: 26:[96, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[10, 56], Operations: ['58-18=40', '96-40=56'] Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,26 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 26:[96, 4], Operations: ['58-18=40', '40/10=4'] Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,26 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,26 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[96, 30], Operations: ['58-18=40', '40-10=30'] Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,26 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,26 unequal: No Solution Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[40, 86], Operations: ['58-18=40', '96-10=86'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[40, 106], Operations: ['58-18=40', '10+96=106'] Exploring Operation: 40+106=146, Resulting Numbers: [146] 146,26 unequal: No Solution Exploring Operation: 40*106=4240, Resulting Numbers: [4240] 4240,26 unequal: No Solution Exploring Operation: 106-40=66, Resulting Numbers: [66] 66,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 26:[18, 96, 48], Operations: ['58-10=48'] Exploring Operation: 18+96=114, Resulting Numbers: [48, 114] Generated Node #0,1,0: 26:[48, 114] Operation: 18+96=114 Exploring Operation: 96/48=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 26:[18, 2] Operation: 96/48=2 Exploring Operation: 96-18=78, Resulting Numbers: [48, 78] Generated Node #0,1,2: 26:[48, 78] Operation: 96-18=78 Exploring Operation: 48-18=30, Resulting Numbers: [96, 30] Generated Node #0,1,3: 26:[96, 30] Operation: 48-18=30 Exploring Operation: 96-48=48, Resulting Numbers: [18, 48] Generated Node #0,1,4: 26:[18, 48] Operation: 96-48=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[18, 2], Operations: ['58-10=48', '96/48=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 26:[18, 48], Operations: ['58-10=48', '96-48=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,26 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[48, 78], Operations: ['58-10=48', '96-18=78'] Exploring Operation: 48+78=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 78-48=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 48*78=3744, Resulting Numbers: [3744] 3744,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,3 Current State: 26:[96, 30], Operations: ['58-10=48', '48-18=30'] Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,26 unequal: No Solution Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,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:[48, 114], Operations: ['58-10=48', '18+96=114'] Exploring Operation: 48*114=5472, Resulting Numbers: [5472] 5472,26 unequal: No Solution Exploring Operation: 48+114=162, Resulting Numbers: [162] 162,26 unequal: No Solution Exploring Operation: 114-48=66, Resulting Numbers: [66] 66,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 26:[18, 58, 86], Operations: ['96-10=86'] Exploring Operation: 18+58=76, Resulting Numbers: [86, 76] Generated Node #0,4,0: 26:[86, 76] Operation: 18+58=76 Exploring Operation: 58-18=40, Resulting Numbers: [86, 40] Generated Node #0,4,1: 26:[86, 40] Operation: 58-18=40 Exploring Operation: 86-58=28, Resulting Numbers: [18, 28] Generated Node #0,4,2: 26:[18, 28] Operation: 86-58=28 Exploring Operation: 18+86=104, Resulting Numbers: [58, 104] Generated Node #0,4,3: 26:[58, 104] Operation: 18+86=104 Exploring Operation: 86-18=68, Resulting Numbers: [58, 68] Generated Node #0,4,4: 26:[58, 68] Operation: 86-18=68 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 26:[18, 28], Operations: ['96-10=86', '86-58=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,26 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 26:[86, 40], Operations: ['96-10=86', '58-18=40'] Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 26:[58, 68], Operations: ['96-10=86', '86-18=68'] Exploring Operation: 58+68=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 58*68=3944, Resulting Numbers: [3944] 3944,26 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 26:[86, 76], Operations: ['96-10=86', '18+58=76'] Exploring Operation: 86*76=6536, Resulting Numbers: [6536] 6536,26 unequal: No Solution Exploring Operation: 86+76=162, Resulting Numbers: [162] 162,26 unequal: No Solution Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 26:[58, 104], Operations: ['96-10=86', '18+86=104'] Exploring Operation: 104-58=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 58*104=6032, Resulting Numbers: [6032] 6032,26 unequal: No Solution Exploring Operation: 58+104=162, Resulting Numbers: [162] 162,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 92, 87, 41, 34 ]
32
[ "87-41=46", "92/46=2", "34-2=32" ]
Current State: 32:[92, 87, 41, 34], Operations: [] Exploring Operation: 87-41=46, Resulting Numbers: [92, 34, 46] Generated Node #2: [92, 34, 46] from Operation: 87-41=46 Current State: 32:[92, 34, 46], Operations: ['87-41=46'] Exploring Operation: 92/46=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 92/46=2 Current State: 32:[34, 2], Operations: ['87-41=46', '92/46=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[92, 87, 41, 34], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [41, 34, 5] Generated Node #0,0: 32:[41, 34, 5] Operation: 92-87=5 Exploring Operation: 92-41=51, Resulting Numbers: [87, 34, 51] Generated Node #0,1: 32:[87, 34, 51] Operation: 92-41=51 Moving to Node #0,0 Current State: 32:[41, 34, 5], Operations: ['92-87=5'] Exploring Operation: 41-34=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 32:[5, 7] Operation: 41-34=7 Exploring Operation: 41-5=36, Resulting Numbers: [34, 36] Generated Node #0,0,1: 32:[34, 36] Operation: 41-5=36 Moving to Node #0,1 Current State: 32:[87, 34, 51], Operations: ['92-41=51'] Exploring Operation: 87-34=53, Resulting Numbers: [51, 53] Generated Node #0,1,0: 32:[51, 53] Operation: 87-34=53 Exploring Operation: 87-51=36, Resulting Numbers: [34, 36] Generated Node #0,1,1: 32:[34, 36] Operation: 87-51=36 Moving to Node #0,0,0 Current State: 32:[5, 7], Operations: ['92-87=5', '41-34=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[34, 36], Operations: ['92-41=51', '87-51=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,32 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[34, 36], Operations: ['92-87=5', '41-5=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[51, 53], Operations: ['92-41=51', '87-34=53'] Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,32 unequal: No Solution Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,32 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 41, 6, 58, 78 ]
67
[ "41+6=47", "78-58=20", "47+20=67" ]
Current State: 67:[41, 6, 58, 78], Operations: [] Exploring Operation: 41+6=47, Resulting Numbers: [58, 78, 47] Generated Node #2: [58, 78, 47] from Operation: 41+6=47 Current State: 67:[58, 78, 47], Operations: ['41+6=47'] Exploring Operation: 78-58=20, Resulting Numbers: [47, 20] Generated Node #3: [47, 20] from Operation: 78-58=20 Current State: 67:[47, 20], Operations: ['41+6=47', '78-58=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[41, 6, 58, 78], Operations: [] Exploring Operation: 41+6=47, Resulting Numbers: [58, 78, 47] Generated Node #0,0: 67:[58, 78, 47] Operation: 41+6=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[58, 78, 47], Operations: ['41+6=47'] Exploring Operation: 78-47=31, Resulting Numbers: [58, 31] Generated Node #0,0,0: 67:[58, 31] Operation: 78-47=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[58, 31], Operations: ['41+6=47', '78-47=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 23, 37, 1 ]
50
[ "23-9=14", "37-1=36", "14+36=50" ]
Current State: 50:[9, 23, 37, 1], Operations: [] Exploring Operation: 23-9=14, Resulting Numbers: [37, 1, 14] Generated Node #2: [37, 1, 14] from Operation: 23-9=14 Current State: 50:[37, 1, 14], Operations: ['23-9=14'] Exploring Operation: 37-1=36, Resulting Numbers: [14, 36] Generated Node #3: [14, 36] from Operation: 37-1=36 Current State: 50:[14, 36], Operations: ['23-9=14', '37-1=36'] Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[9, 23, 37, 1], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [23, 1, 28] Generated Node #0,0: 50:[23, 1, 28] Operation: 37-9=28 Exploring Operation: 9+37=46, Resulting Numbers: [23, 1, 46] Generated Node #0,1: 50:[23, 1, 46] Operation: 9+37=46 Exploring Operation: 37-23=14, Resulting Numbers: [9, 1, 14] Generated Node #0,2: 50:[9, 1, 14] Operation: 37-23=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[23, 1, 28], Operations: ['37-9=28'] Exploring Operation: 23+1=24, Resulting Numbers: [28, 24] Generated Node #0,0,0: 50:[28, 24] Operation: 23+1=24 Exploring Operation: 23+28=51, Resulting Numbers: [1, 51] Generated Node #0,0,1: 50:[1, 51] Operation: 23+28=51 Exploring Operation: 28-23=5, Resulting Numbers: [1, 5] Generated Node #0,0,2: 50:[1, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 50:[1, 5], Operations: ['37-9=28', '28-23=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,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,0,1 Current State: 50:[1, 51], Operations: ['37-9=28', '23+28=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[9, 23, 37, 1], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [23, 1, 28] Generated Node #0,0: 50:[23, 1, 28] Operation: 37-9=28 Moving to Node #0,0 Current State: 50:[23, 1, 28], Operations: ['37-9=28'] Exploring Operation: 23+28=51, Resulting Numbers: [1, 51] Generated Node #0,0,1: 50:[1, 51] Operation: 23+28=51 Moving to Node #0,0,1 Current State: 50:[1, 51], Operations: ['37-9=28', '23+28=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 24, 77, 15, 30 ]
98
[ "77-24=53", "15+30=45", "53+45=98" ]
Current State: 98:[24, 77, 15, 30], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [15, 30, 53] Generated Node #2: [15, 30, 53] from Operation: 77-24=53 Current State: 98:[15, 30, 53], Operations: ['77-24=53'] Exploring Operation: 15+30=45, Resulting Numbers: [53, 45] Generated Node #3: [53, 45] from Operation: 15+30=45 Current State: 98:[53, 45], Operations: ['77-24=53', '15+30=45'] Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[24, 77, 15, 30], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [15, 30, 53] Generated Node #0,0: 98:[15, 30, 53] Operation: 77-24=53 Exploring Operation: 30-24=6, Resulting Numbers: [77, 15, 6] Generated Node #0,1: 98:[77, 15, 6] Operation: 30-24=6 Exploring Operation: 77+30=107, Resulting Numbers: [24, 15, 107] Generated Node #0,2: 98:[24, 15, 107] Operation: 77+30=107 Exploring Operation: 77-30=47, Resulting Numbers: [24, 15, 47] Generated Node #0,3: 98:[24, 15, 47] Operation: 77-30=47 Exploring Operation: 24+77=101, Resulting Numbers: [15, 30, 101] Generated Node #0,4: 98:[15, 30, 101] Operation: 24+77=101 Moving to Node #0,3 Current State: 98:[24, 15, 47], Operations: ['77-30=47'] Exploring Operation: 24+47=71, Resulting Numbers: [15, 71] Generated Node #0,3,0: 98:[15, 71] Operation: 24+47=71 Exploring Operation: 47-24=23, Resulting Numbers: [15, 23] Generated Node #0,3,1: 98:[15, 23] Operation: 47-24=23 Exploring Operation: 24+15=39, Resulting Numbers: [47, 39] Generated Node #0,3,2: 98:[47, 39] Operation: 24+15=39 Exploring Operation: 15+47=62, Resulting Numbers: [24, 62] Generated Node #0,3,3: 98:[24, 62] Operation: 15+47=62 Exploring Operation: 24-15=9, Resulting Numbers: [47, 9] Generated Node #0,3,4: 98:[47, 9] Operation: 24-15=9 Moving to Node #0,4 Current State: 98:[15, 30, 101], Operations: ['24+77=101'] Exploring Operation: 15+30=45, Resulting Numbers: [101, 45] Generated Node #0,4,0: 98:[101, 45] Operation: 15+30=45 Exploring Operation: 101-15=86, Resulting Numbers: [30, 86] Generated Node #0,4,1: 98:[30, 86] Operation: 101-15=86 Exploring Operation: 30-15=15, Resulting Numbers: [101, 15] Generated Node #0,4,2: 98:[101, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [101, 2] Generated Node #0,4,3: 98:[101, 2] Operation: 30/15=2 Exploring Operation: 101-30=71, Resulting Numbers: [15, 71] Generated Node #0,4,4: 98:[15, 71] Operation: 101-30=71 Moving to Node #0,2 Current State: 98:[24, 15, 107], Operations: ['77+30=107'] Exploring Operation: 24+107=131, Resulting Numbers: [15, 131] Generated Node #0,2,0: 98:[15, 131] Operation: 24+107=131 Exploring Operation: 107-15=92, Resulting Numbers: [24, 92] Generated Node #0,2,1: 98:[24, 92] Operation: 107-15=92 Exploring Operation: 24-15=9, Resulting Numbers: [107, 9] Generated Node #0,2,2: 98:[107, 9] Operation: 24-15=9 Exploring Operation: 107-24=83, Resulting Numbers: [15, 83] Generated Node #0,2,3: 98:[15, 83] Operation: 107-24=83 Exploring Operation: 24+15=39, Resulting Numbers: [107, 39] Generated Node #0,2,4: 98:[107, 39] Operation: 24+15=39 Moving to Node #0,0 Current State: 98:[15, 30, 53], Operations: ['77-24=53'] Exploring Operation: 15+30=45, Resulting Numbers: [53, 45] Generated Node #0,0,0: 98:[53, 45] Operation: 15+30=45 Exploring Operation: 30+53=83, Resulting Numbers: [15, 83] Generated Node #0,0,1: 98:[15, 83] Operation: 30+53=83 Exploring Operation: 30/15=2, Resulting Numbers: [53, 2] Generated Node #0,0,2: 98:[53, 2] Operation: 30/15=2 Exploring Operation: 30-15=15, Resulting Numbers: [53, 15] Generated Node #0,0,3: 98:[53, 15] Operation: 30-15=15 Exploring Operation: 53-30=23, Resulting Numbers: [15, 23] Generated Node #0,0,4: 98:[15, 23] Operation: 53-30=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[53, 2], Operations: ['77-24=53', '30/15=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,98 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 98:[53, 15], Operations: ['77-24=53', '30-15=15'] Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,98 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[53, 45], Operations: ['77-24=53', '15+30=45'] Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[24, 77, 15, 30], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [15, 30, 53] Generated Node #0,0: 98:[15, 30, 53] Operation: 77-24=53 Moving to Node #0,0 Current State: 98:[15, 30, 53], Operations: ['77-24=53'] Exploring Operation: 15+30=45, Resulting Numbers: [53, 45] Generated Node #0,0,0: 98:[53, 45] Operation: 15+30=45 Moving to Node #0,0,0 Current State: 98:[53, 45], Operations: ['77-24=53', '15+30=45'] Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 84, 21, 91, 39 ]
85
[ "91*39=3549", "3549/21=169", "169-84=85" ]
Current State: 85:[84, 21, 91, 39], Operations: [] Exploring Operation: 91*39=3549, Resulting Numbers: [84, 21, 3549] Generated Node #2: [84, 21, 3549] from Operation: 91*39=3549 Current State: 85:[84, 21, 3549], Operations: ['91*39=3549'] Exploring Operation: 3549/21=169, Resulting Numbers: [84, 169] Generated Node #3: [84, 169] from Operation: 3549/21=169 Current State: 85:[84, 169], Operations: ['91*39=3549', '3549/21=169'] Exploring Operation: 169-84=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[84, 21, 91, 39], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [91, 39, 4] Generated Node #0,0: 85:[91, 39, 4] Operation: 84/21=4 Exploring Operation: 39-21=18, Resulting Numbers: [84, 91, 18] Generated Node #0,1: 85:[84, 91, 18] Operation: 39-21=18 Exploring Operation: 84-39=45, Resulting Numbers: [21, 91, 45] Generated Node #0,2: 85:[21, 91, 45] Operation: 84-39=45 Exploring Operation: 21+39=60, Resulting Numbers: [84, 91, 60] Generated Node #0,3: 85:[84, 91, 60] Operation: 21+39=60 Exploring Operation: 91-84=7, Resulting Numbers: [21, 39, 7] Generated Node #0,4: 85:[21, 39, 7] Operation: 91-84=7 Moving to Node #0,1 Current State: 85:[84, 91, 18], Operations: ['39-21=18'] Exploring Operation: 91+18=109, Resulting Numbers: [84, 109] Generated Node #0,1,0: 85:[84, 109] Operation: 91+18=109 Exploring Operation: 91-84=7, Resulting Numbers: [18, 7] Generated Node #0,1,1: 85:[18, 7] Operation: 91-84=7 Exploring Operation: 84+18=102, Resulting Numbers: [91, 102] Generated Node #0,1,2: 85:[91, 102] Operation: 84+18=102 Exploring Operation: 91-18=73, Resulting Numbers: [84, 73] Generated Node #0,1,3: 85:[84, 73] Operation: 91-18=73 Exploring Operation: 84-18=66, Resulting Numbers: [91, 66] Generated Node #0,1,4: 85:[91, 66] Operation: 84-18=66 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[18, 7], Operations: ['39-21=18', '91-84=7'] Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 85:[84, 73], Operations: ['39-21=18', '91-18=73'] Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,85 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[91, 102], Operations: ['39-21=18', '84+18=102'] Exploring Operation: 91+102=193, Resulting Numbers: [193] 193,85 unequal: No Solution Exploring Operation: 102-91=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 91*102=9282, Resulting Numbers: [9282] 9282,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[84, 109], Operations: ['39-21=18', '91+18=109'] Exploring Operation: 84+109=193, Resulting Numbers: [193] 193,85 unequal: No Solution Exploring Operation: 109-84=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 84*109=9156, Resulting Numbers: [9156] 9156,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 85:[91, 66], Operations: ['39-21=18', '84-18=66'] Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 91+66=157, Resulting Numbers: [157] 157,85 unequal: No Solution Exploring Operation: 91*66=6006, Resulting Numbers: [6006] 6006,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 85:[21, 39, 7], Operations: ['91-84=7'] Exploring Operation: 21/7=3, Resulting Numbers: [39, 3] Generated Node #0,4,0: 85:[39, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [39, 14] Generated Node #0,4,1: 85:[39, 14] Operation: 21-7=14 Exploring Operation: 21+39=60, Resulting Numbers: [7, 60] Generated Node #0,4,2: 85:[7, 60] Operation: 21+39=60 Exploring Operation: 39-21=18, Resulting Numbers: [7, 18] Generated Node #0,4,3: 85:[7, 18] Operation: 39-21=18 Exploring Operation: 39-7=32, Resulting Numbers: [21, 32] Generated Node #0,4,4: 85:[21, 32] Operation: 39-7=32 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 85:[7, 18], Operations: ['91-84=7', '39-21=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 85:[21, 32], Operations: ['91-84=7', '39-7=32'] Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,85 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 85:[39, 3], Operations: ['91-84=7', '21/7=3'] Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 85:[39, 14], Operations: ['91-84=7', '21-7=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,85 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 85:[7, 60], Operations: ['91-84=7', '21+39=60'] Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,85 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,85 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: 85:[91, 39, 4], Operations: ['84/21=4'] Exploring Operation: 91+4=95, Resulting Numbers: [39, 95] Generated Node #0,0,0: 85:[39, 95] Operation: 91+4=95 Exploring Operation: 91-39=52, Resulting Numbers: [4, 52] Generated Node #0,0,1: 85:[4, 52] Operation: 91-39=52 Exploring Operation: 91-4=87, Resulting Numbers: [39, 87] Generated Node #0,0,2: 85:[39, 87] Operation: 91-4=87 Exploring Operation: 39-4=35, Resulting Numbers: [91, 35] Generated Node #0,0,3: 85:[91, 35] Operation: 39-4=35 Exploring Operation: 39+4=43, Resulting Numbers: [91, 43] Generated Node #0,0,4: 85:[91, 43] Operation: 39+4=43 Moving to Node #0,3 Current State: 85:[84, 91, 60], Operations: ['21+39=60'] Exploring Operation: 84+60=144, Resulting Numbers: [91, 144] Generated Node #0,3,0: 85:[91, 144] Operation: 84+60=144 Exploring Operation: 91-60=31, Resulting Numbers: [84, 31] Generated Node #0,3,1: 85:[84, 31] Operation: 91-60=31 Exploring Operation: 91-84=7, Resulting Numbers: [60, 7] Generated Node #0,3,2: 85:[60, 7] Operation: 91-84=7 Exploring Operation: 84-60=24, Resulting Numbers: [91, 24] Generated Node #0,3,3: 85:[91, 24] Operation: 84-60=24 Exploring Operation: 91+60=151, Resulting Numbers: [84, 151] Generated Node #0,3,4: 85:[84, 151] Operation: 91+60=151 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[91, 24], Operations: ['21+39=60', '84-60=24'] Exploring Operation: 91+24=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 91*24=2184, Resulting Numbers: [2184] 2184,85 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[84, 31], Operations: ['21+39=60', '91-60=31'] Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,85 unequal: No Solution Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[60, 7], Operations: ['21+39=60', '91-84=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,85 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[91, 144], Operations: ['21+39=60', '84+60=144'] Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 91*144=13104, Resulting Numbers: [13104] 13104,85 unequal: No Solution Exploring Operation: 91+144=235, Resulting Numbers: [235] 235,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 85:[84, 151], Operations: ['21+39=60', '91+60=151'] Exploring Operation: 84*151=12684, Resulting Numbers: [12684] 12684,85 unequal: No Solution Exploring Operation: 84+151=235, Resulting Numbers: [235] 235,85 unequal: No Solution Exploring Operation: 151-84=67, Resulting Numbers: [67] 67,85 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: 85:[21, 91, 45], Operations: ['84-39=45'] Exploring Operation: 21+45=66, Resulting Numbers: [91, 66] Generated Node #0,2,0: 85:[91, 66] Operation: 21+45=66 Exploring Operation: 91-45=46, Resulting Numbers: [21, 46] Generated Node #0,2,1: 85:[21, 46] Operation: 91-45=46 Exploring Operation: 21+91=112, Resulting Numbers: [45, 112] Generated Node #0,2,2: 85:[45, 112] Operation: 21+91=112 Exploring Operation: 45-21=24, Resulting Numbers: [91, 24] Generated Node #0,2,3: 85:[91, 24] Operation: 45-21=24 Exploring Operation: 91-21=70, Resulting Numbers: [45, 70] Generated Node #0,2,4: 85:[45, 70] Operation: 91-21=70 Moving to Node #0,2,3 Current State: 85:[91, 24], Operations: ['84-39=45', '45-21=24'] Exploring Operation: 91+24=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 91*24=2184, Resulting Numbers: [2184] 2184,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[39, 87], Operations: ['84/21=4', '91-4=87'] Exploring Operation: 39*87=3393, Resulting Numbers: [3393] 3393,85 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 39+87=126, Resulting Numbers: [126] 126,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[91, 35], Operations: ['84/21=4', '39-4=35'] Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,85 unequal: No Solution Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[91, 66], Operations: ['84-39=45', '21+45=66'] Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 91+66=157, Resulting Numbers: [157] 157,85 unequal: No Solution Exploring Operation: 91*66=6006, Resulting Numbers: [6006] 6006,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[39, 95], Operations: ['84/21=4', '91+4=95'] Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 39+95=134, Resulting Numbers: [134] 134,85 unequal: No Solution Exploring Operation: 39*95=3705, Resulting Numbers: [3705] 3705,85 unequal: No Solution Moving to Node #0,0,4 Current State: 85:[91, 43], Operations: ['84/21=4', '39+4=43'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 91*43=3913, Resulting Numbers: [3913] 3913,85 unequal: No Solution Exploring Operation: 91+43=134, Resulting Numbers: [134] 134,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[21, 46], Operations: ['84-39=45', '91-45=46'] Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,85 unequal: No Solution Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[4, 52], Operations: ['84/21=4', '91-39=52'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,85 unequal: No Solution Moving to Node #0,2,4 Current State: 85:[45, 70], Operations: ['84-39=45', '91-21=70'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[45, 112], Operations: ['84-39=45', '21+91=112'] Exploring Operation: 45*112=5040, Resulting Numbers: [5040] 5040,85 unequal: No Solution Exploring Operation: 112-45=67, Resulting Numbers: [67] 67,85 unequal: No Solution Exploring Operation: 45+112=157, Resulting Numbers: [157] 157,85 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 32, 63, 54, 68 ]
45
[ "63-32=31", "68-54=14", "31+14=45" ]
Current State: 45:[32, 63, 54, 68], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [54, 68, 31] Generated Node #2: [54, 68, 31] from Operation: 63-32=31 Current State: 45:[54, 68, 31], Operations: ['63-32=31'] Exploring Operation: 68-54=14, Resulting Numbers: [31, 14] Generated Node #3: [31, 14] from Operation: 68-54=14 Current State: 45:[31, 14], Operations: ['63-32=31', '68-54=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[32, 63, 54, 68], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [32, 54, 5] Generated Node #0,0: 45:[32, 54, 5] Operation: 68-63=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[32, 54, 5], Operations: ['68-63=5'] Exploring Operation: 54-32=22, Resulting Numbers: [5, 22] Generated Node #0,0,0: 45:[5, 22] Operation: 54-32=22 Moving to Node #0,0,0 Current State: 45:[5, 22], Operations: ['68-63=5', '54-32=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,45 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
[ 30, 46, 2, 78 ]
40
[ "30+46=76", "76/2=38", "78-38=40" ]
Current State: 40:[30, 46, 2, 78], Operations: [] Exploring Operation: 30+46=76, Resulting Numbers: [2, 78, 76] Generated Node #2: [2, 78, 76] from Operation: 30+46=76 Current State: 40:[2, 78, 76], Operations: ['30+46=76'] Exploring Operation: 76/2=38, Resulting Numbers: [78, 38] Generated Node #3: [78, 38] from Operation: 76/2=38 Current State: 40:[78, 38], Operations: ['30+46=76', '76/2=38'] Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[30, 46, 2, 78], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [46, 2, 48] Generated Node #0,0: 40:[46, 2, 48] Operation: 78-30=48 Exploring Operation: 78/2=39, Resulting Numbers: [30, 46, 39] Generated Node #0,1: 40:[30, 46, 39] Operation: 78/2=39 Moving to Node #0,0 Current State: 40:[46, 2, 48], Operations: ['78-30=48'] Exploring Operation: 48-46=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 40:[2, 2] Operation: 48-46=2 Exploring Operation: 48/2=24, Resulting Numbers: [46, 24] Generated Node #0,0,1: 40:[46, 24] Operation: 48/2=24 Moving to Node #0,1 Current State: 40:[30, 46, 39], Operations: ['78/2=39'] Exploring Operation: 39-30=9, Resulting Numbers: [46, 9] Generated Node #0,1,0: 40:[46, 9] Operation: 39-30=9 Exploring Operation: 46-30=16, Resulting Numbers: [39, 16] Generated Node #0,1,1: 40:[39, 16] Operation: 46-30=16 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[39, 16], Operations: ['78/2=39', '46-30=16'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[46, 9], Operations: ['78/2=39', '39-30=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,40 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: 40:[2, 2], Operations: ['78-30=48', '48-46=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[46, 24], Operations: ['78-30=48', '48/2=24'] Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,40 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,40 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 74, 58, 50, 95 ]
87
[ "74+58=132", "95-50=45", "132-45=87" ]
Current State: 87:[74, 58, 50, 95], Operations: [] Exploring Operation: 74+58=132, Resulting Numbers: [50, 95, 132] Generated Node #2: [50, 95, 132] from Operation: 74+58=132 Current State: 87:[50, 95, 132], Operations: ['74+58=132'] Exploring Operation: 95-50=45, Resulting Numbers: [132, 45] Generated Node #3: [132, 45] from Operation: 95-50=45 Current State: 87:[132, 45], Operations: ['74+58=132', '95-50=45'] Exploring Operation: 132-45=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[74, 58, 50, 95], Operations: [] Exploring Operation: 74-58=16, Resulting Numbers: [50, 95, 16] Generated Node #0,0: 87:[50, 95, 16] Operation: 74-58=16 Exploring Operation: 58-50=8, Resulting Numbers: [74, 95, 8] Generated Node #0,1: 87:[74, 95, 8] Operation: 58-50=8 Moving to Node #0,1 Current State: 87:[74, 95, 8], Operations: ['58-50=8'] Exploring Operation: 74+8=82, Resulting Numbers: [95, 82] Generated Node #0,1,0: 87:[95, 82] Operation: 74+8=82 Exploring Operation: 95-74=21, Resulting Numbers: [8, 21] Generated Node #0,1,1: 87:[8, 21] Operation: 95-74=21 Moving to Node #0,0 Current State: 87:[50, 95, 16], Operations: ['74-58=16'] Exploring Operation: 95-50=45, Resulting Numbers: [16, 45] Generated Node #0,0,0: 87:[16, 45] Operation: 95-50=45 Exploring Operation: 50-16=34, Resulting Numbers: [95, 34] Generated Node #0,0,1: 87:[95, 34] Operation: 50-16=34 Moving to Node #0,1,0 Current State: 87:[95, 82], Operations: ['58-50=8', '74+8=82'] Exploring Operation: 95+82=177, Resulting Numbers: [177] 177,87 unequal: No Solution Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[95, 34], Operations: ['74-58=16', '50-16=34'] Exploring Operation: 95+34=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[8, 21], Operations: ['58-50=8', '95-74=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[16, 45], Operations: ['74-58=16', '95-50=45'] Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,87 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,87 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 4, 96, 46 ]
26
[ "62+96=158", "4*46=184", "184-158=26" ]
Current State: 26:[62, 4, 96, 46], Operations: [] Exploring Operation: 62+96=158, Resulting Numbers: [4, 46, 158] Generated Node #2: [4, 46, 158] from Operation: 62+96=158 Current State: 26:[4, 46, 158], Operations: ['62+96=158'] Exploring Operation: 4*46=184, Resulting Numbers: [158, 184] Generated Node #3: [158, 184] from Operation: 4*46=184 Current State: 26:[158, 184], Operations: ['62+96=158', '4*46=184'] Exploring Operation: 184-158=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[62, 4, 96, 46], Operations: [] Exploring Operation: 96-62=34, Resulting Numbers: [4, 46, 34] Generated Node #0,0: 26:[4, 46, 34] Operation: 96-62=34 Moving to Node #0,0 Current State: 26:[4, 46, 34], Operations: ['96-62=34'] Exploring Operation: 46-34=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 26:[4, 12] Operation: 46-34=12 Moving to Node #0,0,0 Current State: 26:[4, 12], Operations: ['96-62=34', '46-34=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,26 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 73, 2, 71, 31 ]
66
[ "73-71=2", "2+31=33", "2*33=66" ]
Current State: 66:[73, 2, 71, 31], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [2, 31, 2] Generated Node #2: [2, 31, 2] from Operation: 73-71=2 Current State: 66:[2, 31, 2], Operations: ['73-71=2'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,66 equal: Goal Reached Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[73, 2, 71, 31], Operations: [] Exploring Operation: 73-2=71, Resulting Numbers: [71, 31, 71] Generated Node #0,0: 66:[71, 31, 71] Operation: 73-2=71 Exploring Operation: 73-71=2, Resulting Numbers: [2, 31, 2] Generated Node #0,1: 66:[2, 31, 2] Operation: 73-71=2 Exploring Operation: 71-2=69, Resulting Numbers: [73, 31, 69] Generated Node #0,2: 66:[73, 31, 69] Operation: 71-2=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[2, 31, 2], Operations: ['73-71=2'] Exploring Operation: 31+2=33, Resulting Numbers: [2, 33] Generated Node #0,1,0: 66:[2, 33] Operation: 31+2=33 Exploring Operation: 2+31=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 66:[2, 33] Operation: 2+31=33 Exploring Operation: 2+2=4, Resulting Numbers: [31, 4] Generated Node #0,1,2: 66:[31, 4] Operation: 2+2=4 Moving to Node #0,1,0 Current State: 66:[2, 33], Operations: ['73-71=2', '31+2=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[73, 2, 71, 31], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [2, 31, 2] Generated Node #0,1: 66:[2, 31, 2] Operation: 73-71=2 Moving to Node #0,1 Current State: 66:[2, 31, 2], Operations: ['73-71=2'] Exploring Operation: 31+2=33, Resulting Numbers: [2, 33] Generated Node #0,1,0: 66:[2, 33] Operation: 31+2=33 Moving to Node #0,1,0 Current State: 66:[2, 33], Operations: ['73-71=2', '31+2=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 79, 29, 76, 56 ]
82
[ "79-29=50", "76+56=132", "132-50=82" ]
Current State: 82:[79, 29, 76, 56], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [76, 56, 50] Generated Node #2: [76, 56, 50] from Operation: 79-29=50 Current State: 82:[76, 56, 50], Operations: ['79-29=50'] Exploring Operation: 76+56=132, Resulting Numbers: [50, 132] Generated Node #3: [50, 132] from Operation: 76+56=132 Current State: 82:[50, 132], Operations: ['79-29=50', '76+56=132'] Exploring Operation: 132-50=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[79, 29, 76, 56], Operations: [] Exploring Operation: 29+56=85, Resulting Numbers: [79, 76, 85] Generated Node #0,0: 82:[79, 76, 85] Operation: 29+56=85 Exploring Operation: 56-29=27, Resulting Numbers: [79, 76, 27] Generated Node #0,1: 82:[79, 76, 27] Operation: 56-29=27 Moving to Node #0,0 Current State: 82:[79, 76, 85], Operations: ['29+56=85'] Exploring Operation: 79-76=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 79-76=3 Exploring Operation: 85-79=6, Resulting Numbers: [76, 6] Generated Node #0,0,1: 82:[76, 6] Operation: 85-79=6 Moving to Node #0,1 Current State: 82:[79, 76, 27], Operations: ['56-29=27'] Exploring Operation: 79-76=3, Resulting Numbers: [27, 3] Generated Node #0,1,0: 82:[27, 3] Operation: 79-76=3 Exploring Operation: 76-27=49, Resulting Numbers: [79, 49] Generated Node #0,1,1: 82:[79, 49] Operation: 76-27=49 Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['29+56=85', '79-76=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[79, 29, 76, 56], Operations: [] Exploring Operation: 29+56=85, Resulting Numbers: [79, 76, 85] Generated Node #0,0: 82:[79, 76, 85] Operation: 29+56=85 Moving to Node #0,0 Current State: 82:[79, 76, 85], Operations: ['29+56=85'] Exploring Operation: 79-76=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 79-76=3 Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['29+56=85', '79-76=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 4, 90, 35, 44 ]
94
[ "4*35=140", "90-44=46", "140-46=94" ]
Current State: 94:[4, 90, 35, 44], Operations: [] Exploring Operation: 4*35=140, Resulting Numbers: [90, 44, 140] Generated Node #2: [90, 44, 140] from Operation: 4*35=140 Current State: 94:[90, 44, 140], Operations: ['4*35=140'] Exploring Operation: 90-44=46, Resulting Numbers: [140, 46] Generated Node #3: [140, 46] from Operation: 90-44=46 Current State: 94:[140, 46], Operations: ['4*35=140', '90-44=46'] Exploring Operation: 140-46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[4, 90, 35, 44], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [4, 90, 9] Generated Node #0,0: 94:[4, 90, 9] Operation: 44-35=9 Exploring Operation: 4+90=94, Resulting Numbers: [35, 44, 94] Generated Node #0,1: 94:[35, 44, 94] Operation: 4+90=94 Exploring Operation: 90-35=55, Resulting Numbers: [4, 44, 55] Generated Node #0,2: 94:[4, 44, 55] Operation: 90-35=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[4, 90, 9], Operations: ['44-35=9'] Exploring Operation: 4+90=94, Resulting Numbers: [9, 94] Generated Node #0,0,0: 94:[9, 94] Operation: 4+90=94 Exploring Operation: 9-4=5, Resulting Numbers: [90, 5] Generated Node #0,0,1: 94:[90, 5] Operation: 9-4=5 Exploring Operation: 90+9=99, Resulting Numbers: [4, 99] Generated Node #0,0,2: 94:[4, 99] Operation: 90+9=99 Moving to Node #0,0,0 Current State: 94:[9, 94], Operations: ['44-35=9', '4+90=94'] Exploring Operation: 9+94=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 9*94=846, Resulting Numbers: [846] 846,94 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[90, 5], Operations: ['44-35=9', '9-4=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[4, 99], Operations: ['44-35=9', '90+9=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 4*99=396, Resulting Numbers: [396] 396,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:[4, 44, 55], Operations: ['90-35=55'] Exploring Operation: 44+55=99, Resulting Numbers: [4, 99] Generated Node #0,2,0: 94:[4, 99] Operation: 44+55=99 Exploring Operation: 55-4=51, Resulting Numbers: [44, 51] Generated Node #0,2,1: 94:[44, 51] Operation: 55-4=51 Exploring Operation: 4+44=48, Resulting Numbers: [55, 48] Generated Node #0,2,2: 94:[55, 48] Operation: 4+44=48 Moving to Node #0,2,0 Current State: 94:[4, 99], Operations: ['90-35=55', '44+55=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 4*99=396, Resulting Numbers: [396] 396,94 unequal: No Solution Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[44, 51], Operations: ['90-35=55', '55-4=51'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,94 unequal: No Solution Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[55, 48], Operations: ['90-35=55', '4+44=48'] Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,94 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[35, 44, 94], Operations: ['4+90=94'] Exploring Operation: 35+44=79, Resulting Numbers: [94, 79] Generated Node #0,1,0: 94:[94, 79] Operation: 35+44=79 Exploring Operation: 44-35=9, Resulting Numbers: [94, 9] Generated Node #0,1,1: 94:[94, 9] Operation: 44-35=9 Exploring Operation: 94-35=59, Resulting Numbers: [44, 59] Generated Node #0,1,2: 94:[44, 59] Operation: 94-35=59 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[94, 9], Operations: ['4+90=94', '44-35=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,94 unequal: No Solution Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[94, 79], Operations: ['4+90=94', '35+44=79'] Exploring Operation: 94*79=7426, Resulting Numbers: [7426] 7426,94 unequal: No Solution Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 94+79=173, Resulting Numbers: [173] 173,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[44, 59], Operations: ['4+90=94', '94-35=59'] Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 44*59=2596, Resulting Numbers: [2596] 2596,94 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 5, 26, 30, 37 ]
61
[ "37-30=7", "5*7=35", "26+35=61" ]
Current State: 61:[5, 26, 30, 37], Operations: [] Exploring Operation: 37-30=7, Resulting Numbers: [5, 26, 7] Generated Node #2: [5, 26, 7] from Operation: 37-30=7 Current State: 61:[5, 26, 7], Operations: ['37-30=7'] Exploring Operation: 5*7=35, Resulting Numbers: [26, 35] Generated Node #3: [26, 35] from Operation: 5*7=35 Current State: 61:[26, 35], Operations: ['37-30=7', '5*7=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[5, 26, 30, 37], Operations: [] Exploring Operation: 26+37=63, Resulting Numbers: [5, 30, 63] Generated Node #0,0: 61:[5, 30, 63] Operation: 26+37=63 Exploring Operation: 5+30=35, Resulting Numbers: [26, 37, 35] Generated Node #0,1: 61:[26, 37, 35] Operation: 5+30=35 Exploring Operation: 26+30=56, Resulting Numbers: [5, 37, 56] Generated Node #0,2: 61:[5, 37, 56] Operation: 26+30=56 Exploring Operation: 5+37=42, Resulting Numbers: [26, 30, 42] Generated Node #0,3: 61:[26, 30, 42] Operation: 5+37=42 Exploring Operation: 5+26=31, Resulting Numbers: [30, 37, 31] Generated Node #0,4: 61:[30, 37, 31] Operation: 5+26=31 Moving to Node #0,1 Current State: 61:[26, 37, 35], Operations: ['5+30=35'] Exploring Operation: 35-26=9, Resulting Numbers: [37, 9] Generated Node #0,1,0: 61:[37, 9] Operation: 35-26=9 Exploring Operation: 26+35=61, Resulting Numbers: [37, 61] Generated Node #0,1,1: 61:[37, 61] Operation: 26+35=61 Exploring Operation: 37-26=11, Resulting Numbers: [35, 11] Generated Node #0,1,2: 61:[35, 11] Operation: 37-26=11 Exploring Operation: 26+37=63, Resulting Numbers: [35, 63] Generated Node #0,1,3: 61:[35, 63] Operation: 26+37=63 Exploring Operation: 37+35=72, Resulting Numbers: [26, 72] Generated Node #0,1,4: 61:[26, 72] Operation: 37+35=72 Moving to Node #0,3 Current State: 61:[26, 30, 42], Operations: ['5+37=42'] Exploring Operation: 42-26=16, Resulting Numbers: [30, 16] Generated Node #0,3,0: 61:[30, 16] Operation: 42-26=16 Exploring Operation: 30+42=72, Resulting Numbers: [26, 72] Generated Node #0,3,1: 61:[26, 72] Operation: 30+42=72 Exploring Operation: 26+42=68, Resulting Numbers: [30, 68] Generated Node #0,3,2: 61:[30, 68] Operation: 26+42=68 Exploring Operation: 26+30=56, Resulting Numbers: [42, 56] Generated Node #0,3,3: 61:[42, 56] Operation: 26+30=56 Exploring Operation: 30-26=4, Resulting Numbers: [42, 4] Generated Node #0,3,4: 61:[42, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[42, 56], Operations: ['5+37=42', '26+30=56'] Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,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,3,2 Current State: 61:[30, 68], Operations: ['5+37=42', '26+42=68'] Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,61 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,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,3,1 Current State: 61:[26, 72], Operations: ['5+37=42', '30+42=72'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 26*72=1872, Resulting Numbers: [1872] 1872,61 unequal: No Solution Exploring Operation: 26+72=98, Resulting Numbers: [98] 98,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,3,0 Current State: 61:[30, 16], Operations: ['5+37=42', '42-26=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,61 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,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,3,4 Current State: 61:[42, 4], Operations: ['5+37=42', '30-26=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,61 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,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:[5, 37, 56], Operations: ['26+30=56'] Exploring Operation: 37-5=32, Resulting Numbers: [56, 32] Generated Node #0,2,0: 61:[56, 32] Operation: 37-5=32 Exploring Operation: 5+37=42, Resulting Numbers: [56, 42] Generated Node #0,2,1: 61:[56, 42] Operation: 5+37=42 Exploring Operation: 37+56=93, Resulting Numbers: [5, 93] Generated Node #0,2,2: 61:[5, 93] Operation: 37+56=93 Exploring Operation: 56-5=51, Resulting Numbers: [37, 51] Generated Node #0,2,3: 61:[37, 51] Operation: 56-5=51 Exploring Operation: 5+56=61, Resulting Numbers: [37, 61] Generated Node #0,2,4: 61:[37, 61] Operation: 5+56=61 Moving to Node #0,4 Current State: 61:[30, 37, 31], Operations: ['5+26=31'] Exploring Operation: 30+37=67, Resulting Numbers: [31, 67] Generated Node #0,4,0: 61:[31, 67] Operation: 30+37=67 Exploring Operation: 31-30=1, Resulting Numbers: [37, 1] Generated Node #0,4,1: 61:[37, 1] Operation: 31-30=1 Exploring Operation: 30+31=61, Resulting Numbers: [37, 61] Generated Node #0,4,2: 61:[37, 61] Operation: 30+31=61 Exploring Operation: 37+31=68, Resulting Numbers: [30, 68] Generated Node #0,4,3: 61:[30, 68] Operation: 37+31=68 Exploring Operation: 37-30=7, Resulting Numbers: [31, 7] Generated Node #0,4,4: 61:[31, 7] Operation: 37-30=7 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[37, 61], Operations: ['5+26=31', '30+31=61'] Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,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,4,0 Current State: 61:[31, 67], Operations: ['5+26=31', '30+37=67'] Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,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,4,3 Current State: 61:[30, 68], Operations: ['5+26=31', '37+31=68'] Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,61 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,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,4,1 Current State: 61:[37, 1], Operations: ['5+26=31', '31-30=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,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,4,4 Current State: 61:[31, 7], Operations: ['5+26=31', '37-30=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[5, 30, 63], Operations: ['26+37=63'] Exploring Operation: 30-5=25, Resulting Numbers: [63, 25] Generated Node #0,0,0: 61:[63, 25] Operation: 30-5=25 Exploring Operation: 5+30=35, Resulting Numbers: [63, 35] Generated Node #0,0,1: 61:[63, 35] Operation: 5+30=35 Exploring Operation: 5+63=68, Resulting Numbers: [30, 68] Generated Node #0,0,2: 61:[30, 68] Operation: 5+63=68 Exploring Operation: 30/5=6, Resulting Numbers: [63, 6] Generated Node #0,0,3: 61:[63, 6] Operation: 30/5=6 Exploring Operation: 63-5=58, Resulting Numbers: [30, 58] Generated Node #0,0,4: 61:[30, 58] Operation: 63-5=58 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[63, 35], Operations: ['26+37=63', '5+30=35'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 63*35=2205, Resulting Numbers: [2205] 2205,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[30, 58], Operations: ['26+37=63', '63-5=58'] Exploring Operation: 30*58=1740, Resulting Numbers: [1740] 1740,61 unequal: No Solution Exploring Operation: 30+58=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[63, 25], Operations: ['26+37=63', '30-5=25'] Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,61 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[30, 68], Operations: ['26+37=63', '5+63=68'] Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,61 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[63, 6], Operations: ['26+37=63', '30/5=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,61 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 61:[37, 61], Operations: ['5+30=35', '26+35=61'] Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,61 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[56, 42], Operations: ['26+30=56', '5+37=42'] Exploring Operation: 56+42=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 56*42=2352, Resulting Numbers: [2352] 2352,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[37, 61], Operations: ['26+30=56', '5+56=61'] Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[35, 63], Operations: ['5+30=35', '26+37=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,61 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[37, 51], Operations: ['26+30=56', '56-5=51'] Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,61 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[56, 32], Operations: ['26+30=56', '37-5=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[26, 72], Operations: ['5+30=35', '37+35=72'] Exploring Operation: 26*72=1872, Resulting Numbers: [1872] 1872,61 unequal: No Solution Exploring Operation: 26+72=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[35, 11], Operations: ['5+30=35', '37-26=11'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[37, 9], Operations: ['5+30=35', '35-26=9'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[5, 93], Operations: ['26+30=56', '37+56=93'] Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,61 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 45, 46, 10, 88 ]
98
[ "46-45=1", "10+88=98", "1*98=98" ]
Current State: 98:[45, 46, 10, 88], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [10, 88, 1] Generated Node #2: [10, 88, 1] from Operation: 46-45=1 Current State: 98:[10, 88, 1], Operations: ['46-45=1'] Exploring Operation: 10+88=98, Resulting Numbers: [1, 98] Generated Node #3: [1, 98] from Operation: 10+88=98 Current State: 98:[1, 98], Operations: ['46-45=1', '10+88=98'] Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[45, 46, 10, 88], Operations: [] Exploring Operation: 10+88=98, Resulting Numbers: [45, 46, 98] Generated Node #0,0: 98:[45, 46, 98] Operation: 10+88=98 Exploring Operation: 46-45=1, Resulting Numbers: [10, 88, 1] Generated Node #0,1: 98:[10, 88, 1] Operation: 46-45=1 Exploring Operation: 88-46=42, Resulting Numbers: [45, 10, 42] Generated Node #0,2: 98:[45, 10, 42] Operation: 88-46=42 Exploring Operation: 88-45=43, Resulting Numbers: [46, 10, 43] Generated Node #0,3: 98:[46, 10, 43] Operation: 88-45=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[45, 46, 98], Operations: ['10+88=98'] Exploring Operation: 98-45=53, Resulting Numbers: [46, 53] Generated Node #0,0,0: 98:[46, 53] Operation: 98-45=53 Exploring Operation: 46-45=1, Resulting Numbers: [98, 1] Generated Node #0,0,1: 98:[98, 1] Operation: 46-45=1 Exploring Operation: 45+46=91, Resulting Numbers: [98, 91] Generated Node #0,0,2: 98:[98, 91] Operation: 45+46=91 Exploring Operation: 98-46=52, Resulting Numbers: [45, 52] Generated Node #0,0,3: 98:[45, 52] Operation: 98-46=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[98, 1], Operations: ['10+88=98', '46-45=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[45, 46, 10, 88], Operations: [] Exploring Operation: 10+88=98, Resulting Numbers: [45, 46, 98] Generated Node #0,0: 98:[45, 46, 98] Operation: 10+88=98 Moving to Node #0,0 Current State: 98:[45, 46, 98], Operations: ['10+88=98'] Exploring Operation: 46-45=1, Resulting Numbers: [98, 1] Generated Node #0,0,1: 98:[98, 1] Operation: 46-45=1 Moving to Node #0,0,1 Current State: 98:[98, 1], Operations: ['10+88=98', '46-45=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 86, 53, 73, 9 ]
49
[ "86-53=33", "73+9=82", "82-33=49" ]
Current State: 49:[86, 53, 73, 9], Operations: [] Exploring Operation: 86-53=33, Resulting Numbers: [73, 9, 33] Generated Node #2: [73, 9, 33] from Operation: 86-53=33 Current State: 49:[73, 9, 33], Operations: ['86-53=33'] Exploring Operation: 73+9=82, Resulting Numbers: [33, 82] Generated Node #3: [33, 82] from Operation: 73+9=82 Current State: 49:[33, 82], Operations: ['86-53=33', '73+9=82'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[86, 53, 73, 9], Operations: [] Exploring Operation: 86-53=33, Resulting Numbers: [73, 9, 33] Generated Node #0,0: 49:[73, 9, 33] Operation: 86-53=33 Exploring Operation: 86-73=13, Resulting Numbers: [53, 9, 13] Generated Node #0,1: 49:[53, 9, 13] Operation: 86-73=13 Exploring Operation: 73-53=20, Resulting Numbers: [86, 9, 20] Generated Node #0,2: 49:[86, 9, 20] Operation: 73-53=20 Exploring Operation: 86-9=77, Resulting Numbers: [53, 73, 77] Generated Node #0,3: 49:[53, 73, 77] Operation: 86-9=77 Moving to Node #0,1 Current State: 49:[53, 9, 13], Operations: ['86-73=13'] Exploring Operation: 53-9=44, Resulting Numbers: [13, 44] Generated Node #0,1,0: 49:[13, 44] Operation: 53-9=44 Exploring Operation: 13-9=4, Resulting Numbers: [53, 4] Generated Node #0,1,1: 49:[53, 4] Operation: 13-9=4 Exploring Operation: 53-13=40, Resulting Numbers: [9, 40] Generated Node #0,1,2: 49:[9, 40] Operation: 53-13=40 Exploring Operation: 53+9=62, Resulting Numbers: [13, 62] Generated Node #0,1,3: 49:[13, 62] Operation: 53+9=62 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[53, 4], Operations: ['86-73=13', '13-9=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[86, 53, 73, 9], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [53, 9, 13] Generated Node #0,1: 49:[53, 9, 13] Operation: 86-73=13 Moving to Node #0,1 Current State: 49:[53, 9, 13], Operations: ['86-73=13'] Exploring Operation: 13-9=4, Resulting Numbers: [53, 4] Generated Node #0,1,1: 49:[53, 4] Operation: 13-9=4 Moving to Node #0,1,1 Current State: 49:[53, 4], Operations: ['86-73=13', '13-9=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 28, 24, 25, 86 ]
78
[ "28-25=3", "24/3=8", "86-8=78" ]
Current State: 78:[28, 24, 25, 86], Operations: [] Exploring Operation: 28-25=3, Resulting Numbers: [24, 86, 3] Generated Node #2: [24, 86, 3] from Operation: 28-25=3 Current State: 78:[24, 86, 3], Operations: ['28-25=3'] Exploring Operation: 24/3=8, Resulting Numbers: [86, 8] Generated Node #3: [86, 8] from Operation: 24/3=8 Current State: 78:[86, 8], Operations: ['28-25=3', '24/3=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[28, 24, 25, 86], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [25, 86, 4] Generated Node #0,0: 78:[25, 86, 4] Operation: 28-24=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[25, 86, 4], Operations: ['28-24=4'] Exploring Operation: 86-4=82, Resulting Numbers: [25, 82] Generated Node #0,0,0: 78:[25, 82] Operation: 86-4=82 Moving to Node #0,0,0 Current State: 78:[25, 82], Operations: ['28-24=4', '86-4=82'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 3, 17, 60 ]
21
[ "7*60=420", "3+17=20", "420/20=21" ]
Current State: 21:[7, 3, 17, 60], Operations: [] Exploring Operation: 7*60=420, Resulting Numbers: [3, 17, 420] Generated Node #2: [3, 17, 420] from Operation: 7*60=420 Current State: 21:[3, 17, 420], Operations: ['7*60=420'] Exploring Operation: 3+17=20, Resulting Numbers: [420, 20] Generated Node #3: [420, 20] from Operation: 3+17=20 Current State: 21:[420, 20], Operations: ['7*60=420', '3+17=20'] Exploring Operation: 420/20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[7, 3, 17, 60], Operations: [] Exploring Operation: 60-17=43, Resulting Numbers: [7, 3, 43] Generated Node #0,0: 21:[7, 3, 43] Operation: 60-17=43 Exploring Operation: 60-7=53, Resulting Numbers: [3, 17, 53] Generated Node #0,1: 21:[3, 17, 53] Operation: 60-7=53 Exploring Operation: 60/3=20, Resulting Numbers: [7, 17, 20] Generated Node #0,2: 21:[7, 17, 20] Operation: 60/3=20 Moving to Node #0,2 Current State: 21:[7, 17, 20], Operations: ['60/3=20'] Exploring Operation: 20-17=3, Resulting Numbers: [7, 3] Generated Node #0,2,0: 21:[7, 3] Operation: 20-17=3 Exploring Operation: 7+17=24, Resulting Numbers: [20, 24] Generated Node #0,2,1: 21:[20, 24] Operation: 7+17=24 Exploring Operation: 17-7=10, Resulting Numbers: [20, 10] Generated Node #0,2,2: 21:[20, 10] Operation: 17-7=10 Moving to Node #0,0 Current State: 21:[7, 3, 43], Operations: ['60-17=43'] Exploring Operation: 7*3=21, Resulting Numbers: [43, 21] Generated Node #0,0,0: 21:[43, 21] Operation: 7*3=21 Exploring Operation: 43-7=36, Resulting Numbers: [3, 36] Generated Node #0,0,1: 21:[3, 36] Operation: 43-7=36 Exploring Operation: 43-3=40, Resulting Numbers: [7, 40] Generated Node #0,0,2: 21:[7, 40] Operation: 43-3=40 Moving to Node #0,1 Current State: 21:[3, 17, 53], Operations: ['60-7=53'] Exploring Operation: 53-17=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 21:[3, 36] Operation: 53-17=36 Exploring Operation: 53-3=50, Resulting Numbers: [17, 50] Generated Node #0,1,1: 21:[17, 50] Operation: 53-3=50 Exploring Operation: 3+17=20, Resulting Numbers: [53, 20] Generated Node #0,1,2: 21:[53, 20] Operation: 3+17=20 Moving to Node #0,2,0 Current State: 21:[7, 3], Operations: ['60/3=20', '20-17=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[7, 3, 17, 60], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [7, 17, 20] Generated Node #0,2: 21:[7, 17, 20] Operation: 60/3=20 Moving to Node #0,2 Current State: 21:[7, 17, 20], Operations: ['60/3=20'] Exploring Operation: 20-17=3, Resulting Numbers: [7, 3] Generated Node #0,2,0: 21:[7, 3] Operation: 20-17=3 Moving to Node #0,2,0 Current State: 21:[7, 3], Operations: ['60/3=20', '20-17=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 82, 15, 74, 2 ]
19
[ "82-74=8", "8/2=4", "15+4=19" ]
Current State: 19:[82, 15, 74, 2], Operations: [] Exploring Operation: 82-74=8, Resulting Numbers: [15, 2, 8] Generated Node #2: [15, 2, 8] from Operation: 82-74=8 Current State: 19:[15, 2, 8], Operations: ['82-74=8'] Exploring Operation: 8/2=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 8/2=4 Current State: 19:[15, 4], Operations: ['82-74=8', '8/2=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[82, 15, 74, 2], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [15, 74, 41] Generated Node #0,0: 19:[15, 74, 41] Operation: 82/2=41 Exploring Operation: 82-15=67, Resulting Numbers: [74, 2, 67] Generated Node #0,1: 19:[74, 2, 67] Operation: 82-15=67 Exploring Operation: 82-2=80, Resulting Numbers: [15, 74, 80] Generated Node #0,2: 19:[15, 74, 80] Operation: 82-2=80 Exploring Operation: 82-74=8, Resulting Numbers: [15, 2, 8] Generated Node #0,3: 19:[15, 2, 8] Operation: 82-74=8 Exploring Operation: 74/2=37, Resulting Numbers: [82, 15, 37] Generated Node #0,4: 19:[82, 15, 37] Operation: 74/2=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[15, 2, 8], Operations: ['82-74=8'] Exploring Operation: 8-2=6, Resulting Numbers: [15, 6] Generated Node #0,3,0: 19:[15, 6] Operation: 8-2=6 Exploring Operation: 15-2=13, Resulting Numbers: [8, 13] Generated Node #0,3,1: 19:[8, 13] Operation: 15-2=13 Exploring Operation: 2+8=10, Resulting Numbers: [15, 10] Generated Node #0,3,2: 19:[15, 10] Operation: 2+8=10 Exploring Operation: 15+2=17, Resulting Numbers: [8, 17] Generated Node #0,3,3: 19:[8, 17] Operation: 15+2=17 Exploring Operation: 2*8=16, Resulting Numbers: [15, 16] Generated Node #0,3,4: 19:[15, 16] Operation: 2*8=16 Moving to Node #0,3,4 Current State: 19:[15, 16], Operations: ['82-74=8', '2*8=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[8, 17], Operations: ['82-74=8', '15+2=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,19 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[15, 10], Operations: ['82-74=8', '2+8=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,19 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[15, 6], Operations: ['82-74=8', '8-2=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[8, 13], Operations: ['82-74=8', '15-2=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,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:[15, 74, 41], Operations: ['82/2=41'] Exploring Operation: 41-15=26, Resulting Numbers: [74, 26] Generated Node #0,0,0: 19:[74, 26] Operation: 41-15=26 Exploring Operation: 15+74=89, Resulting Numbers: [41, 89] Generated Node #0,0,1: 19:[41, 89] Operation: 15+74=89 Exploring Operation: 74-15=59, Resulting Numbers: [41, 59] Generated Node #0,0,2: 19:[41, 59] Operation: 74-15=59 Exploring Operation: 74-41=33, Resulting Numbers: [15, 33] Generated Node #0,0,3: 19:[15, 33] Operation: 74-41=33 Exploring Operation: 15+41=56, Resulting Numbers: [74, 56] Generated Node #0,0,4: 19:[74, 56] Operation: 15+41=56 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[15, 33], Operations: ['82/2=41', '74-41=33'] Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,19 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,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:[74, 26], Operations: ['82/2=41', '41-15=26'] Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,19 unequal: No Solution Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,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:[41, 59], Operations: ['82/2=41', '74-15=59'] Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 41+59=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 41*59=2419, Resulting Numbers: [2419] 2419,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:[41, 89], Operations: ['82/2=41', '15+74=89'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,19 unequal: No Solution Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,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,4 Current State: 19:[74, 56], Operations: ['82/2=41', '15+41=56'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 74*56=4144, Resulting Numbers: [4144] 4144,19 unequal: No Solution Exploring Operation: 74+56=130, Resulting Numbers: [130] 130,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,4 Current State: 19:[82, 15, 37], Operations: ['74/2=37'] Exploring Operation: 82-37=45, Resulting Numbers: [15, 45] Generated Node #0,4,0: 19:[15, 45] Operation: 82-37=45 Exploring Operation: 37-15=22, Resulting Numbers: [82, 22] Generated Node #0,4,1: 19:[82, 22] Operation: 37-15=22 Exploring Operation: 82-15=67, Resulting Numbers: [37, 67] Generated Node #0,4,2: 19:[37, 67] Operation: 82-15=67 Exploring Operation: 82+15=97, Resulting Numbers: [37, 97] Generated Node #0,4,3: 19:[37, 97] Operation: 82+15=97 Exploring Operation: 15+37=52, Resulting Numbers: [82, 52] Generated Node #0,4,4: 19:[82, 52] Operation: 15+37=52 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 19:[15, 45], Operations: ['74/2=37', '82-37=45'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,19 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,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,4,1 Current State: 19:[82, 22], Operations: ['74/2=37', '37-15=22'] Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,19 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,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,4,2 Current State: 19:[37, 67], Operations: ['74/2=37', '82-15=67'] Exploring Operation: 37*67=2479, Resulting Numbers: [2479] 2479,19 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 37+67=104, Resulting Numbers: [104] 104,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,4,3 Current State: 19:[37, 97], Operations: ['74/2=37', '82+15=97'] Exploring Operation: 37+97=134, Resulting Numbers: [134] 134,19 unequal: No Solution Exploring Operation: 37*97=3589, Resulting Numbers: [3589] 3589,19 unequal: No Solution Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,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,4,4 Current State: 19:[82, 52], Operations: ['74/2=37', '15+37=52'] Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,19 unequal: No Solution Exploring Operation: 82*52=4264, Resulting Numbers: [4264] 4264,19 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,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,1 Current State: 19:[74, 2, 67], Operations: ['82-15=67'] Exploring Operation: 74-67=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 19:[2, 7] Operation: 74-67=7 Exploring Operation: 74/2=37, Resulting Numbers: [67, 37] Generated Node #0,1,1: 19:[67, 37] Operation: 74/2=37 Exploring Operation: 74+2=76, Resulting Numbers: [67, 76] Generated Node #0,1,2: 19:[67, 76] Operation: 74+2=76 Exploring Operation: 74-2=72, Resulting Numbers: [67, 72] Generated Node #0,1,3: 19:[67, 72] Operation: 74-2=72 Exploring Operation: 67-2=65, Resulting Numbers: [74, 65] Generated Node #0,1,4: 19:[74, 65] Operation: 67-2=65 Moving to Node #0,1,0 Current State: 19:[2, 7], Operations: ['82-15=67', '74-67=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[67, 37], Operations: ['82-15=67', '74/2=37'] Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,19 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[67, 72], Operations: ['82-15=67', '74-2=72'] Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 67*72=4824, Resulting Numbers: [4824] 4824,19 unequal: No Solution Exploring Operation: 67+72=139, Resulting Numbers: [139] 139,19 unequal: No Solution Moving to Node #0,1,4 Current State: 19:[74, 65], Operations: ['82-15=67', '67-2=65'] Exploring Operation: 74*65=4810, Resulting Numbers: [4810] 4810,19 unequal: No Solution Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 74+65=139, Resulting Numbers: [139] 139,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[67, 76], Operations: ['82-15=67', '74+2=76'] Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,19 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[15, 74, 80], Operations: ['82-2=80'] Exploring Operation: 15+80=95, Resulting Numbers: [74, 95] Generated Node #0,2,0: 19:[74, 95] Operation: 15+80=95 Exploring Operation: 15+74=89, Resulting Numbers: [80, 89] Generated Node #0,2,1: 19:[80, 89] Operation: 15+74=89 Exploring Operation: 80-15=65, Resulting Numbers: [74, 65] Generated Node #0,2,2: 19:[74, 65] Operation: 80-15=65 Exploring Operation: 80-74=6, Resulting Numbers: [15, 6] Generated Node #0,2,3: 19:[15, 6] Operation: 80-74=6 Exploring Operation: 74-15=59, Resulting Numbers: [80, 59] Generated Node #0,2,4: 19:[80, 59] Operation: 74-15=59 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[15, 6], Operations: ['82-2=80', '80-74=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,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,2,2 Current State: 19:[74, 65], Operations: ['82-2=80', '80-15=65'] Exploring Operation: 74+65=139, Resulting Numbers: [139] 139,19 unequal: No Solution Exploring Operation: 74*65=4810, Resulting Numbers: [4810] 4810,19 unequal: No Solution Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,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,2,4 Current State: 19:[80, 59], Operations: ['82-2=80', '74-15=59'] Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 80+59=139, Resulting Numbers: [139] 139,19 unequal: No Solution Exploring Operation: 80*59=4720, Resulting Numbers: [4720] 4720,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,2,0 Current State: 19:[74, 95], Operations: ['82-2=80', '15+80=95'] Exploring Operation: 74+95=169, Resulting Numbers: [169] 169,19 unequal: No Solution Exploring Operation: 74*95=7030, Resulting Numbers: [7030] 7030,19 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,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,2,1 Current State: 19:[80, 89], Operations: ['82-2=80', '15+74=89'] Exploring Operation: 80*89=7120, Resulting Numbers: [7120] 7120,19 unequal: No Solution Exploring Operation: 80+89=169, Resulting Numbers: [169] 169,19 unequal: No Solution Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,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_5
mult_heuristic
[ 85, 7, 57, 43 ]
39
[ "85-57=28", "28/7=4", "43-4=39" ]
Current State: 39:[85, 7, 57, 43], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [7, 43, 28] Generated Node #2: [7, 43, 28] from Operation: 85-57=28 Current State: 39:[7, 43, 28], Operations: ['85-57=28'] Exploring Operation: 28/7=4, Resulting Numbers: [43, 4] Generated Node #3: [43, 4] from Operation: 28/7=4 Current State: 39:[43, 4], Operations: ['85-57=28', '28/7=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[85, 7, 57, 43], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [7, 57, 42] Generated Node #0,0: 39:[7, 57, 42] Operation: 85-43=42 Exploring Operation: 85-57=28, Resulting Numbers: [7, 43, 28] Generated Node #0,1: 39:[7, 43, 28] Operation: 85-57=28 Exploring Operation: 57-43=14, Resulting Numbers: [85, 7, 14] Generated Node #0,2: 39:[85, 7, 14] Operation: 57-43=14 Exploring Operation: 85-7=78, Resulting Numbers: [57, 43, 78] Generated Node #0,3: 39:[57, 43, 78] Operation: 85-7=78 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[7, 43, 28], Operations: ['85-57=28'] Exploring Operation: 43-28=15, Resulting Numbers: [7, 15] Generated Node #0,1,0: 39:[7, 15] Operation: 43-28=15 Exploring Operation: 7+28=35, Resulting Numbers: [43, 35] Generated Node #0,1,1: 39:[43, 35] Operation: 7+28=35 Exploring Operation: 28-7=21, Resulting Numbers: [43, 21] Generated Node #0,1,2: 39:[43, 21] Operation: 28-7=21 Exploring Operation: 28/7=4, Resulting Numbers: [43, 4] Generated Node #0,1,3: 39:[43, 4] Operation: 28/7=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 39:[43, 4], Operations: ['85-57=28', '28/7=4'] Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,39 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[85, 7, 57, 43], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [7, 43, 28] Generated Node #0,1: 39:[7, 43, 28] Operation: 85-57=28 Moving to Node #0,1 Current State: 39:[7, 43, 28], Operations: ['85-57=28'] Exploring Operation: 28/7=4, Resulting Numbers: [43, 4] Generated Node #0,1,3: 39:[43, 4] Operation: 28/7=4 Moving to Node #0,1,3 Current State: 39:[43, 4], Operations: ['85-57=28', '28/7=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 64, 22, 30, 61 ]
69
[ "30-22=8", "64/8=8", "61+8=69" ]
Current State: 69:[64, 22, 30, 61], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [64, 61, 8] Generated Node #2: [64, 61, 8] from Operation: 30-22=8 Current State: 69:[64, 61, 8], Operations: ['30-22=8'] Exploring Operation: 64/8=8, Resulting Numbers: [61, 8] Generated Node #3: [61, 8] from Operation: 64/8=8 Current State: 69:[61, 8], Operations: ['30-22=8', '64/8=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[64, 22, 30, 61], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [64, 22, 31] Generated Node #0,0: 69:[64, 22, 31] Operation: 61-30=31 Exploring Operation: 64-61=3, Resulting Numbers: [22, 30, 3] Generated Node #0,1: 69:[22, 30, 3] Operation: 64-61=3 Moving to Node #0,1 Current State: 69:[22, 30, 3], Operations: ['64-61=3'] Exploring Operation: 30-3=27, Resulting Numbers: [22, 27] Generated Node #0,1,0: 69:[22, 27] Operation: 30-3=27 Exploring Operation: 30-22=8, Resulting Numbers: [3, 8] Generated Node #0,1,1: 69:[3, 8] Operation: 30-22=8 Moving to Node #0,0 Current State: 69:[64, 22, 31], Operations: ['61-30=31'] Exploring Operation: 31-22=9, Resulting Numbers: [64, 9] Generated Node #0,0,0: 69:[64, 9] Operation: 31-22=9 Exploring Operation: 64-31=33, Resulting Numbers: [22, 33] Generated Node #0,0,1: 69:[22, 33] Operation: 64-31=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[64, 9], Operations: ['61-30=31', '31-22=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,69 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[22, 33], Operations: ['61-30=31', '64-31=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 69:[22, 27], Operations: ['64-61=3', '30-3=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,69 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[3, 8], Operations: ['64-61=3', '30-22=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,69 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 33, 12, 40, 35 ]
24
[ "33-12=21", "40*21=840", "840/35=24" ]
Current State: 24:[33, 12, 40, 35], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [40, 35, 21] Generated Node #2: [40, 35, 21] from Operation: 33-12=21 Current State: 24:[40, 35, 21], Operations: ['33-12=21'] Exploring Operation: 40*21=840, Resulting Numbers: [35, 840] Generated Node #3: [35, 840] from Operation: 40*21=840 Current State: 24:[35, 840], Operations: ['33-12=21', '40*21=840'] Exploring Operation: 840/35=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[33, 12, 40, 35], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [33, 12, 5] Generated Node #0,0: 24:[33, 12, 5] Operation: 40-35=5 Moving to Node #0,0 Current State: 24:[33, 12, 5], Operations: ['40-35=5'] Exploring Operation: 33-12=21, Resulting Numbers: [5, 21] Generated Node #0,0,0: 24:[5, 21] Operation: 33-12=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[5, 21], Operations: ['40-35=5', '33-12=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,24 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
[ 96, 23, 77, 12 ]
92
[ "96/12=8", "23+77=100", "100-8=92" ]
Current State: 92:[96, 23, 77, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [23, 77, 8] Generated Node #2: [23, 77, 8] from Operation: 96/12=8 Current State: 92:[23, 77, 8], Operations: ['96/12=8'] Exploring Operation: 23+77=100, Resulting Numbers: [8, 100] Generated Node #3: [8, 100] from Operation: 23+77=100 Current State: 92:[8, 100], Operations: ['96/12=8', '23+77=100'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[96, 23, 77, 12], Operations: [] Exploring Operation: 77+12=89, Resulting Numbers: [96, 23, 89] Generated Node #0,0: 92:[96, 23, 89] Operation: 77+12=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[96, 23, 89], Operations: ['77+12=89'] Exploring Operation: 96-89=7, Resulting Numbers: [23, 7] Generated Node #0,0,0: 92:[23, 7] Operation: 96-89=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[23, 7], Operations: ['77+12=89', '96-89=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic