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
[ 29, 17, 48, 18 ]
72
[ "29-17=12", "48*18=864", "864/12=72" ]
Current State: 72:[29, 17, 48, 18], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [48, 18, 12] Generated Node #2: [48, 18, 12] from Operation: 29-17=12 Current State: 72:[48, 18, 12], Operations: ['29-17=12'] Exploring Operation: 48*18=864, Resulting Numbers: [12, 864] Generated Node #3: [12, 864] from Operation: 48*18=864 Current State: 72:[12, 864], Operations: ['29-17=12', '48*18=864'] Exploring Operation: 864/12=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[29, 17, 48, 18], Operations: [] Exploring Operation: 48-29=19, Resulting Numbers: [17, 18, 19] Generated Node #0,0: 72:[17, 18, 19] Operation: 48-29=19 Moving to Node #0,0 Current State: 72:[17, 18, 19], Operations: ['48-29=19'] Exploring Operation: 17+19=36, Resulting Numbers: [18, 36] Generated Node #0,0,0: 72:[18, 36] Operation: 17+19=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[18, 36], Operations: ['48-29=19', '17+19=36'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 62, 77, 76 ]
79
[ "12+62=74", "77+76=153", "153-74=79" ]
Current State: 79:[12, 62, 77, 76], Operations: [] Exploring Operation: 12+62=74, Resulting Numbers: [77, 76, 74] Generated Node #2: [77, 76, 74] from Operation: 12+62=74 Current State: 79:[77, 76, 74], Operations: ['12+62=74'] Exploring Operation: 77+76=153, Resulting Numbers: [74, 153] Generated Node #3: [74, 153] from Operation: 77+76=153 Current State: 79:[74, 153], Operations: ['12+62=74', '77+76=153'] Exploring Operation: 153-74=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[12, 62, 77, 76], Operations: [] Exploring Operation: 12+76=88, Resulting Numbers: [62, 77, 88] Generated Node #0,0: 79:[62, 77, 88] Operation: 12+76=88 Exploring Operation: 12+62=74, Resulting Numbers: [77, 76, 74] Generated Node #0,1: 79:[77, 76, 74] Operation: 12+62=74 Moving to Node #0,1 Current State: 79:[77, 76, 74], Operations: ['12+62=74'] Exploring Operation: 77+74=151, Resulting Numbers: [76, 151] Generated Node #0,1,0: 79:[76, 151] Operation: 77+74=151 Exploring Operation: 76+74=150, Resulting Numbers: [77, 150] Generated Node #0,1,1: 79:[77, 150] Operation: 76+74=150 Moving to Node #0,0 Current State: 79:[62, 77, 88], Operations: ['12+76=88'] Exploring Operation: 62+77=139, Resulting Numbers: [88, 139] Generated Node #0,0,0: 79:[88, 139] Operation: 62+77=139 Exploring Operation: 88-62=26, Resulting Numbers: [77, 26] Generated Node #0,0,1: 79:[77, 26] Operation: 88-62=26 Moving to Node #0,0,1 Current State: 79:[77, 26], Operations: ['12+76=88', '88-62=26'] Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[88, 139], Operations: ['12+76=88', '62+77=139'] Exploring Operation: 88+139=227, Resulting Numbers: [227] 227,79 unequal: No Solution Exploring Operation: 139-88=51, Resulting Numbers: [51] 51,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[77, 150], Operations: ['12+62=74', '76+74=150'] Exploring Operation: 150-77=73, Resulting Numbers: [73] 73,79 unequal: No Solution Exploring Operation: 77+150=227, Resulting Numbers: [227] 227,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[76, 151], Operations: ['12+62=74', '77+74=151'] Exploring Operation: 76+151=227, Resulting Numbers: [227] 227,79 unequal: No Solution Exploring Operation: 151-76=75, Resulting Numbers: [75] 75,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 60, 68, 25 ]
87
[ "68/34=2", "60+25=85", "2+85=87" ]
Current State: 87:[34, 60, 68, 25], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [60, 25, 2] Generated Node #2: [60, 25, 2] from Operation: 68/34=2 Current State: 87:[60, 25, 2], Operations: ['68/34=2'] Exploring Operation: 60+25=85, Resulting Numbers: [2, 85] Generated Node #3: [2, 85] from Operation: 60+25=85 Current State: 87:[2, 85], Operations: ['68/34=2', '60+25=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[34, 60, 68, 25], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [34, 25, 8] Generated Node #0,0: 87:[34, 25, 8] Operation: 68-60=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[34, 25, 8], Operations: ['68-60=8'] Exploring Operation: 34-8=26, Resulting Numbers: [25, 26] Generated Node #0,0,0: 87:[25, 26] Operation: 34-8=26 Moving to Node #0,0,0 Current State: 87:[25, 26], Operations: ['68-60=8', '34-8=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,87 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
[ 24, 14, 49, 92 ]
33
[ "24-14=10", "92-49=43", "43-10=33" ]
Current State: 33:[24, 14, 49, 92], Operations: [] Exploring Operation: 24-14=10, Resulting Numbers: [49, 92, 10] Generated Node #2: [49, 92, 10] from Operation: 24-14=10 Current State: 33:[49, 92, 10], Operations: ['24-14=10'] Exploring Operation: 92-49=43, Resulting Numbers: [10, 43] Generated Node #3: [10, 43] from Operation: 92-49=43 Current State: 33:[10, 43], Operations: ['24-14=10', '92-49=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[24, 14, 49, 92], Operations: [] Exploring Operation: 49-24=25, Resulting Numbers: [14, 92, 25] Generated Node #0,0: 33:[14, 92, 25] Operation: 49-24=25 Exploring Operation: 92-14=78, Resulting Numbers: [24, 49, 78] Generated Node #0,1: 33:[24, 49, 78] Operation: 92-14=78 Exploring Operation: 92-24=68, Resulting Numbers: [14, 49, 68] Generated Node #0,2: 33:[14, 49, 68] Operation: 92-24=68 Exploring Operation: 49-14=35, Resulting Numbers: [24, 92, 35] Generated Node #0,3: 33:[24, 92, 35] Operation: 49-14=35 Exploring Operation: 92-49=43, Resulting Numbers: [24, 14, 43] Generated Node #0,4: 33:[24, 14, 43] Operation: 92-49=43 Moving to Node #0,4 Current State: 33:[24, 14, 43], Operations: ['92-49=43'] Exploring Operation: 43-14=29, Resulting Numbers: [24, 29] Generated Node #0,4,0: 33:[24, 29] Operation: 43-14=29 Exploring Operation: 24-14=10, Resulting Numbers: [43, 10] Generated Node #0,4,1: 33:[43, 10] Operation: 24-14=10 Exploring Operation: 14+43=57, Resulting Numbers: [24, 57] Generated Node #0,4,2: 33:[24, 57] Operation: 14+43=57 Exploring Operation: 43-24=19, Resulting Numbers: [14, 19] Generated Node #0,4,3: 33:[14, 19] Operation: 43-24=19 Exploring Operation: 24+14=38, Resulting Numbers: [43, 38] Generated Node #0,4,4: 33:[43, 38] Operation: 24+14=38 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 33:[43, 10], Operations: ['92-49=43', '24-14=10'] Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,33 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[24, 14, 49, 92], Operations: [] Exploring Operation: 92-49=43, Resulting Numbers: [24, 14, 43] Generated Node #0,4: 33:[24, 14, 43] Operation: 92-49=43 Moving to Node #0,4 Current State: 33:[24, 14, 43], Operations: ['92-49=43'] Exploring Operation: 24-14=10, Resulting Numbers: [43, 10] Generated Node #0,4,1: 33:[43, 10] Operation: 24-14=10 Moving to Node #0,4,1 Current State: 33:[43, 10], Operations: ['92-49=43', '24-14=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 10, 27, 46, 22 ]
31
[ "10+27=37", "46+22=68", "68-37=31" ]
Current State: 31:[10, 27, 46, 22], Operations: [] Exploring Operation: 10+27=37, Resulting Numbers: [46, 22, 37] Generated Node #2: [46, 22, 37] from Operation: 10+27=37 Current State: 31:[46, 22, 37], Operations: ['10+27=37'] Exploring Operation: 46+22=68, Resulting Numbers: [37, 68] Generated Node #3: [37, 68] from Operation: 46+22=68 Current State: 31:[37, 68], Operations: ['10+27=37', '46+22=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[10, 27, 46, 22], Operations: [] Exploring Operation: 46-10=36, Resulting Numbers: [27, 22, 36] Generated Node #0,0: 31:[27, 22, 36] Operation: 46-10=36 Exploring Operation: 46-22=24, Resulting Numbers: [10, 27, 24] Generated Node #0,1: 31:[10, 27, 24] Operation: 46-22=24 Exploring Operation: 10+27=37, Resulting Numbers: [46, 22, 37] Generated Node #0,2: 31:[46, 22, 37] Operation: 10+27=37 Exploring Operation: 10+22=32, Resulting Numbers: [27, 46, 32] Generated Node #0,3: 31:[27, 46, 32] Operation: 10+22=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[27, 22, 36], Operations: ['46-10=36'] Exploring Operation: 36-22=14, Resulting Numbers: [27, 14] Generated Node #0,0,0: 31:[27, 14] Operation: 36-22=14 Exploring Operation: 36-27=9, Resulting Numbers: [22, 9] Generated Node #0,0,1: 31:[22, 9] Operation: 36-27=9 Exploring Operation: 27+22=49, Resulting Numbers: [36, 49] Generated Node #0,0,2: 31:[36, 49] Operation: 27+22=49 Exploring Operation: 27-22=5, Resulting Numbers: [36, 5] Generated Node #0,0,3: 31:[36, 5] Operation: 27-22=5 Moving to Node #0,0,0 Current State: 31:[27, 14], Operations: ['46-10=36', '36-22=14'] Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,31 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[36, 49], Operations: ['46-10=36', '27+22=49'] Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,31 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[36, 5], Operations: ['46-10=36', '27-22=5'] Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,31 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[10, 27, 46, 22], Operations: [] Exploring Operation: 46-10=36, Resulting Numbers: [27, 22, 36] Generated Node #0,0: 31:[27, 22, 36] Operation: 46-10=36 Moving to Node #0,0 Current State: 31:[27, 22, 36], Operations: ['46-10=36'] Exploring Operation: 27-22=5, Resulting Numbers: [36, 5] Generated Node #0,0,3: 31:[36, 5] Operation: 27-22=5 Moving to Node #0,0,3 Current State: 31:[36, 5], Operations: ['46-10=36', '27-22=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 12, 30, 18, 25 ]
54
[ "25-18=7", "12*7=84", "84-30=54" ]
Current State: 54:[12, 30, 18, 25], Operations: [] Exploring Operation: 25-18=7, Resulting Numbers: [12, 30, 7] Generated Node #2: [12, 30, 7] from Operation: 25-18=7 Current State: 54:[12, 30, 7], Operations: ['25-18=7'] Exploring Operation: 12*7=84, Resulting Numbers: [30, 84] Generated Node #3: [30, 84] from Operation: 12*7=84 Current State: 54:[30, 84], Operations: ['25-18=7', '12*7=84'] Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[12, 30, 18, 25], Operations: [] Exploring Operation: 30+25=55, Resulting Numbers: [12, 18, 55] Generated Node #0,0: 54:[12, 18, 55] Operation: 30+25=55 Exploring Operation: 30-12=18, Resulting Numbers: [18, 25, 18] Generated Node #0,1: 54:[18, 25, 18] Operation: 30-12=18 Exploring Operation: 30-25=5, Resulting Numbers: [12, 18, 5] Generated Node #0,2: 54:[12, 18, 5] Operation: 30-25=5 Exploring Operation: 18-12=6, Resulting Numbers: [30, 25, 6] Generated Node #0,3: 54:[30, 25, 6] Operation: 18-12=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[18, 25, 18], Operations: ['30-12=18'] Exploring Operation: 25-18=7, Resulting Numbers: [18, 7] Generated Node #0,1,0: 54:[18, 7] Operation: 25-18=7 Exploring Operation: 18/18=1, Resulting Numbers: [25, 1] Generated Node #0,1,1: 54:[25, 1] Operation: 18/18=1 Exploring Operation: 25-18=7, Resulting Numbers: [18, 7] Generated Node #0,1,2: 54:[18, 7] Operation: 25-18=7 Exploring Operation: 18-18=0, Resulting Numbers: [25, 0] Generated Node #0,1,3: 54:[25, 0] Operation: 18-18=0 Moving to Node #0,1,0 Current State: 54:[18, 7], Operations: ['30-12=18', '25-18=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,54 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[18, 7], Operations: ['30-12=18', '25-18=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[25, 1], Operations: ['30-12=18', '18/18=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[25, 0], Operations: ['30-12=18', '18-18=0'] Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 25*0=0, Resulting Numbers: [0] 0,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[12, 18, 55], Operations: ['30+25=55'] Exploring Operation: 55-12=43, Resulting Numbers: [18, 43] Generated Node #0,0,0: 54:[18, 43] Operation: 55-12=43 Exploring Operation: 12+55=67, Resulting Numbers: [18, 67] Generated Node #0,0,1: 54:[18, 67] Operation: 12+55=67 Exploring Operation: 18-12=6, Resulting Numbers: [55, 6] Generated Node #0,0,2: 54:[55, 6] Operation: 18-12=6 Exploring Operation: 12+18=30, Resulting Numbers: [55, 30] Generated Node #0,0,3: 54:[55, 30] Operation: 12+18=30 Moving to Node #0,0,2 Current State: 54:[55, 6], Operations: ['30+25=55', '18-12=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,54 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[55, 30], Operations: ['30+25=55', '12+18=30'] Exploring Operation: 55*30=1650, Resulting Numbers: [1650] 1650,54 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[18, 43], Operations: ['30+25=55', '55-12=43'] Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,54 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 18*43=774, Resulting Numbers: [774] 774,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[18, 67], Operations: ['30+25=55', '12+55=67'] Exploring Operation: 18*67=1206, Resulting Numbers: [1206] 1206,54 unequal: No Solution Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[12, 18, 5], Operations: ['30-25=5'] Exploring Operation: 18-12=6, Resulting Numbers: [5, 6] Generated Node #0,2,0: 54:[5, 6] Operation: 18-12=6 Exploring Operation: 12+5=17, Resulting Numbers: [18, 17] Generated Node #0,2,1: 54:[18, 17] Operation: 12+5=17 Exploring Operation: 12-5=7, Resulting Numbers: [18, 7] Generated Node #0,2,2: 54:[18, 7] Operation: 12-5=7 Exploring Operation: 12+18=30, Resulting Numbers: [5, 30] Generated Node #0,2,3: 54:[5, 30] Operation: 12+18=30 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[5, 6], Operations: ['30-25=5', '18-12=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[18, 17], Operations: ['30-25=5', '12+5=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 54:[18, 7], Operations: ['30-25=5', '12-5=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 54:[5, 30], Operations: ['30-25=5', '12+18=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,54 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[30, 25, 6], Operations: ['18-12=6'] Exploring Operation: 25-6=19, Resulting Numbers: [30, 19] Generated Node #0,3,0: 54:[30, 19] Operation: 25-6=19 Exploring Operation: 30/6=5, Resulting Numbers: [25, 5] Generated Node #0,3,1: 54:[25, 5] Operation: 30/6=5 Exploring Operation: 30-25=5, Resulting Numbers: [6, 5] Generated Node #0,3,2: 54:[6, 5] Operation: 30-25=5 Exploring Operation: 30+25=55, Resulting Numbers: [6, 55] Generated Node #0,3,3: 54:[6, 55] Operation: 30+25=55 Moving to Node #0,3,2 Current State: 54:[6, 5], Operations: ['18-12=6', '30-25=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[6, 55], Operations: ['18-12=6', '30+25=55'] Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,54 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[25, 5], Operations: ['18-12=6', '30/6=5'] Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,54 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[30, 19], Operations: ['18-12=6', '25-6=19'] Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 26, 59, 61, 42 ]
55
[ "61-59=2", "26/2=13", "42+13=55" ]
Current State: 55:[26, 59, 61, 42], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [26, 42, 2] Generated Node #2: [26, 42, 2] from Operation: 61-59=2 Current State: 55:[26, 42, 2], Operations: ['61-59=2'] Exploring Operation: 26/2=13, Resulting Numbers: [42, 13] Generated Node #3: [42, 13] from Operation: 26/2=13 Current State: 55:[42, 13], Operations: ['61-59=2', '26/2=13'] Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[26, 59, 61, 42], Operations: [] Exploring Operation: 42-26=16, Resulting Numbers: [59, 61, 16] Generated Node #0,0: 55:[59, 61, 16] Operation: 42-26=16 Moving to Node #0,0 Current State: 55:[59, 61, 16], Operations: ['42-26=16'] Exploring Operation: 61-59=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 55:[16, 2] Operation: 61-59=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[16, 2], Operations: ['42-26=16', '61-59=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,55 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
[ 6, 19, 71, 42 ]
67
[ "42-19=23", "6*23=138", "138-71=67" ]
Current State: 67:[6, 19, 71, 42], Operations: [] Exploring Operation: 42-19=23, Resulting Numbers: [6, 71, 23] Generated Node #2: [6, 71, 23] from Operation: 42-19=23 Current State: 67:[6, 71, 23], Operations: ['42-19=23'] Exploring Operation: 6*23=138, Resulting Numbers: [71, 138] Generated Node #3: [71, 138] from Operation: 6*23=138 Current State: 67:[71, 138], Operations: ['42-19=23', '6*23=138'] Exploring Operation: 138-71=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[6, 19, 71, 42], Operations: [] Exploring Operation: 6+19=25, Resulting Numbers: [71, 42, 25] Generated Node #0,0: 67:[71, 42, 25] Operation: 6+19=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[71, 42, 25], Operations: ['6+19=25'] Exploring Operation: 42+25=67, Resulting Numbers: [71, 67] Generated Node #0,0,0: 67:[71, 67] Operation: 42+25=67 Moving to Node #0,0,0 Current State: 67:[71, 67], Operations: ['6+19=25', '42+25=67'] Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 66, 2, 17, 36 ]
68
[ "66+36=102", "2*17=34", "102-34=68" ]
Current State: 68:[66, 2, 17, 36], Operations: [] Exploring Operation: 66+36=102, Resulting Numbers: [2, 17, 102] Generated Node #2: [2, 17, 102] from Operation: 66+36=102 Current State: 68:[2, 17, 102], Operations: ['66+36=102'] Exploring Operation: 2*17=34, Resulting Numbers: [102, 34] Generated Node #3: [102, 34] from Operation: 2*17=34 Current State: 68:[102, 34], Operations: ['66+36=102', '2*17=34'] Exploring Operation: 102-34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[66, 2, 17, 36], Operations: [] Exploring Operation: 66+2=68, Resulting Numbers: [17, 36, 68] Generated Node #0,0: 68:[17, 36, 68] Operation: 66+2=68 Moving to Node #0,0 Current State: 68:[17, 36, 68], Operations: ['66+2=68'] Exploring Operation: 36-17=19, Resulting Numbers: [68, 19] Generated Node #0,0,0: 68:[68, 19] Operation: 36-17=19 Moving to Node #0,0,0 Current State: 68:[68, 19], Operations: ['66+2=68', '36-17=19'] Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,68 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 1, 79, 63, 42 ]
100
[ "1*79=79", "63-42=21", "79+21=100" ]
Current State: 100:[1, 79, 63, 42], Operations: [] Exploring Operation: 1*79=79, Resulting Numbers: [63, 42, 79] Generated Node #2: [63, 42, 79] from Operation: 1*79=79 Current State: 100:[63, 42, 79], Operations: ['1*79=79'] Exploring Operation: 63-42=21, Resulting Numbers: [79, 21] Generated Node #3: [79, 21] from Operation: 63-42=21 Current State: 100:[79, 21], Operations: ['1*79=79', '63-42=21'] Exploring Operation: 79+21=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[1, 79, 63, 42], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [1, 79, 21] Generated Node #0,0: 100:[1, 79, 21] Operation: 63-42=21 Exploring Operation: 79-63=16, Resulting Numbers: [1, 42, 16] Generated Node #0,1: 100:[1, 42, 16] Operation: 79-63=16 Moving to Node #0,1 Current State: 100:[1, 42, 16], Operations: ['79-63=16'] Exploring Operation: 42-16=26, Resulting Numbers: [1, 26] Generated Node #0,1,0: 100:[1, 26] Operation: 42-16=26 Exploring Operation: 42+16=58, Resulting Numbers: [1, 58] Generated Node #0,1,1: 100:[1, 58] Operation: 42+16=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[1, 26], Operations: ['79-63=16', '42-16=26'] Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[1, 58], Operations: ['79-63=16', '42+16=58'] Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,100 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: 100:[1, 79, 21], Operations: ['63-42=21'] Exploring Operation: 79+21=100, Resulting Numbers: [1, 100] Generated Node #0,0,0: 100:[1, 100] Operation: 79+21=100 Exploring Operation: 79-21=58, Resulting Numbers: [1, 58] Generated Node #0,0,1: 100:[1, 58] Operation: 79-21=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[1, 100], Operations: ['63-42=21', '79+21=100'] Exploring Operation: 1*100=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[1, 79, 63, 42], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [1, 79, 21] Generated Node #0,0: 100:[1, 79, 21] Operation: 63-42=21 Moving to Node #0,0 Current State: 100:[1, 79, 21], Operations: ['63-42=21'] Exploring Operation: 79+21=100, Resulting Numbers: [1, 100] Generated Node #0,0,0: 100:[1, 100] Operation: 79+21=100 Moving to Node #0,0,0 Current State: 100:[1, 100], Operations: ['63-42=21', '79+21=100'] Exploring Operation: 1*100=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 50, 71, 6, 11 ]
61
[ "11-6=5", "50/5=10", "71-10=61" ]
Current State: 61:[50, 71, 6, 11], Operations: [] Exploring Operation: 11-6=5, Resulting Numbers: [50, 71, 5] Generated Node #2: [50, 71, 5] from Operation: 11-6=5 Current State: 61:[50, 71, 5], Operations: ['11-6=5'] Exploring Operation: 50/5=10, Resulting Numbers: [71, 10] Generated Node #3: [71, 10] from Operation: 50/5=10 Current State: 61:[71, 10], Operations: ['11-6=5', '50/5=10'] Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[50, 71, 6, 11], Operations: [] Exploring Operation: 50+6=56, Resulting Numbers: [71, 11, 56] Generated Node #0,0: 61:[71, 11, 56] Operation: 50+6=56 Exploring Operation: 50+11=61, Resulting Numbers: [71, 6, 61] Generated Node #0,1: 61:[71, 6, 61] Operation: 50+11=61 Exploring Operation: 6*11=66, Resulting Numbers: [50, 71, 66] Generated Node #0,2: 61:[50, 71, 66] Operation: 6*11=66 Moving to Node #0,2 Current State: 61:[50, 71, 66], Operations: ['6*11=66'] Exploring Operation: 71-50=21, Resulting Numbers: [66, 21] Generated Node #0,2,0: 61:[66, 21] Operation: 71-50=21 Exploring Operation: 50+71=121, Resulting Numbers: [66, 121] Generated Node #0,2,1: 61:[66, 121] Operation: 50+71=121 Exploring Operation: 66-50=16, Resulting Numbers: [71, 16] Generated Node #0,2,2: 61:[71, 16] Operation: 66-50=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[66, 21], Operations: ['6*11=66', '71-50=21'] Exploring Operation: 66+21=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 66*21=1386, Resulting Numbers: [1386] 1386,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[71, 16], Operations: ['6*11=66', '66-50=16'] Exploring Operation: 71*16=1136, Resulting Numbers: [1136] 1136,61 unequal: No Solution Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[66, 121], Operations: ['6*11=66', '50+71=121'] Exploring Operation: 66*121=7986, Resulting Numbers: [7986] 7986,61 unequal: No Solution Exploring Operation: 66+121=187, Resulting Numbers: [187] 187,61 unequal: No Solution Exploring Operation: 121-66=55, Resulting Numbers: [55] 55,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:[71, 11, 56], Operations: ['50+6=56'] Exploring Operation: 11+56=67, Resulting Numbers: [71, 67] Generated Node #0,0,0: 61:[71, 67] Operation: 11+56=67 Exploring Operation: 71-11=60, Resulting Numbers: [56, 60] Generated Node #0,0,1: 61:[56, 60] Operation: 71-11=60 Exploring Operation: 71+11=82, Resulting Numbers: [56, 82] Generated Node #0,0,2: 61:[56, 82] Operation: 71+11=82 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[56, 60], Operations: ['50+6=56', '71-11=60'] Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,61 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,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:[71, 67], Operations: ['50+6=56', '11+56=67'] Exploring Operation: 71*67=4757, Resulting Numbers: [4757] 4757,61 unequal: No Solution Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 71+67=138, Resulting Numbers: [138] 138,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:[56, 82], Operations: ['50+6=56', '71+11=82'] Exploring Operation: 56*82=4592, Resulting Numbers: [4592] 4592,61 unequal: No Solution Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 56+82=138, Resulting Numbers: [138] 138,61 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: 61:[71, 6, 61], Operations: ['50+11=61'] Exploring Operation: 71+6=77, Resulting Numbers: [61, 77] Generated Node #0,1,0: 61:[61, 77] Operation: 71+6=77 Exploring Operation: 6+61=67, Resulting Numbers: [71, 67] Generated Node #0,1,1: 61:[71, 67] Operation: 6+61=67 Exploring Operation: 71-6=65, Resulting Numbers: [61, 65] Generated Node #0,1,2: 61:[61, 65] Operation: 71-6=65 Moving to Node #0,1,2 Current State: 61:[61, 65], Operations: ['50+11=61', '71-6=65'] Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 61+65=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 61*65=3965, Resulting Numbers: [3965] 3965,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[61, 77], Operations: ['50+11=61', '71+6=77'] Exploring Operation: 61+77=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 61*77=4697, Resulting Numbers: [4697] 4697,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[71, 67], Operations: ['50+11=61', '6+61=67'] Exploring Operation: 71+67=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 71*67=4757, Resulting Numbers: [4757] 4757,61 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 93, 60, 4, 52 ]
91
[ "60-52=8", "8/4=2", "93-2=91" ]
Current State: 91:[93, 60, 4, 52], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [93, 4, 8] Generated Node #2: [93, 4, 8] from Operation: 60-52=8 Current State: 91:[93, 4, 8], Operations: ['60-52=8'] Exploring Operation: 8/4=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 8/4=2 Current State: 91:[93, 2], Operations: ['60-52=8', '8/4=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[93, 60, 4, 52], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [93, 4, 8] Generated Node #0,0: 91:[93, 4, 8] Operation: 60-52=8 Exploring Operation: 60+52=112, Resulting Numbers: [93, 4, 112] Generated Node #0,1: 91:[93, 4, 112] Operation: 60+52=112 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[93, 4, 8], Operations: ['60-52=8'] Exploring Operation: 4+8=12, Resulting Numbers: [93, 12] Generated Node #0,0,0: 91:[93, 12] Operation: 4+8=12 Exploring Operation: 93-4=89, Resulting Numbers: [8, 89] Generated Node #0,0,1: 91:[8, 89] Operation: 93-4=89 Moving to Node #0,0,0 Current State: 91:[93, 12], Operations: ['60-52=8', '4+8=12'] Exploring Operation: 93+12=105, Resulting Numbers: [105] 105,91 unequal: No Solution Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[8, 89], Operations: ['60-52=8', '93-4=89'] Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[93, 4, 112], Operations: ['60+52=112'] Exploring Operation: 112-93=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 91:[4, 19] Operation: 112-93=19 Exploring Operation: 112/4=28, Resulting Numbers: [93, 28] Generated Node #0,1,1: 91:[93, 28] Operation: 112/4=28 Moving to Node #0,1,0 Current State: 91:[4, 19], Operations: ['60+52=112', '112-93=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,91 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[93, 28], Operations: ['60+52=112', '112/4=28'] Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 93+28=121, Resulting Numbers: [121] 121,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 6, 84, 30, 37 ]
40
[ "6+84=90", "90/30=3", "37+3=40" ]
Current State: 40:[6, 84, 30, 37], Operations: [] Exploring Operation: 6+84=90, Resulting Numbers: [30, 37, 90] Generated Node #2: [30, 37, 90] from Operation: 6+84=90 Current State: 40:[30, 37, 90], Operations: ['6+84=90'] Exploring Operation: 90/30=3, Resulting Numbers: [37, 3] Generated Node #3: [37, 3] from Operation: 90/30=3 Current State: 40:[37, 3], Operations: ['6+84=90', '90/30=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[6, 84, 30, 37], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [30, 37, 14] Generated Node #0,0: 40:[30, 37, 14] Operation: 84/6=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[30, 37, 14], Operations: ['84/6=14'] Exploring Operation: 37-30=7, Resulting Numbers: [14, 7] Generated Node #0,0,0: 40:[14, 7] Operation: 37-30=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[14, 7], Operations: ['84/6=14', '37-30=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 13, 17, 94, 42 ]
13
[ "17-13=4", "94-42=52", "52/4=13" ]
Current State: 13:[13, 17, 94, 42], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [94, 42, 4] Generated Node #2: [94, 42, 4] from Operation: 17-13=4 Current State: 13:[94, 42, 4], Operations: ['17-13=4'] Exploring Operation: 94-42=52, Resulting Numbers: [4, 52] Generated Node #3: [4, 52] from Operation: 94-42=52 Current State: 13:[4, 52], Operations: ['17-13=4', '94-42=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[13, 17, 94, 42], Operations: [] Exploring Operation: 42-17=25, Resulting Numbers: [13, 94, 25] Generated Node #0,0: 13:[13, 94, 25] Operation: 42-17=25 Exploring Operation: 94-17=77, Resulting Numbers: [13, 42, 77] Generated Node #0,1: 13:[13, 42, 77] Operation: 94-17=77 Exploring Operation: 94-42=52, Resulting Numbers: [13, 17, 52] Generated Node #0,2: 13:[13, 17, 52] Operation: 94-42=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[13, 17, 52], Operations: ['94-42=52'] Exploring Operation: 52/13=4, Resulting Numbers: [17, 4] Generated Node #0,2,0: 13:[17, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [17, 39] Generated Node #0,2,1: 13:[17, 39] Operation: 52-13=39 Exploring Operation: 52-17=35, Resulting Numbers: [13, 35] Generated Node #0,2,2: 13:[13, 35] Operation: 52-17=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[17, 4], Operations: ['94-42=52', '52/13=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[13, 17, 94, 42], Operations: [] Exploring Operation: 94-42=52, Resulting Numbers: [13, 17, 52] Generated Node #0,2: 13:[13, 17, 52] Operation: 94-42=52 Moving to Node #0,2 Current State: 13:[13, 17, 52], Operations: ['94-42=52'] Exploring Operation: 52/13=4, Resulting Numbers: [17, 4] Generated Node #0,2,0: 13:[17, 4] Operation: 52/13=4 Moving to Node #0,2,0 Current State: 13:[17, 4], Operations: ['94-42=52', '52/13=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 61, 73, 75, 7 ]
34
[ "61+7=68", "75-73=2", "68/2=34" ]
Current State: 34:[61, 73, 75, 7], Operations: [] Exploring Operation: 61+7=68, Resulting Numbers: [73, 75, 68] Generated Node #2: [73, 75, 68] from Operation: 61+7=68 Current State: 34:[73, 75, 68], Operations: ['61+7=68'] Exploring Operation: 75-73=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 75-73=2 Current State: 34:[68, 2], Operations: ['61+7=68', '75-73=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[61, 73, 75, 7], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [73, 7, 14] Generated Node #0,0: 34:[73, 7, 14] Operation: 75-61=14 Exploring Operation: 75-73=2, Resulting Numbers: [61, 7, 2] Generated Node #0,1: 34:[61, 7, 2] Operation: 75-73=2 Moving to Node #0,1 Current State: 34:[61, 7, 2], Operations: ['75-73=2'] Exploring Operation: 61-7=54, Resulting Numbers: [2, 54] Generated Node #0,1,0: 34:[2, 54] Operation: 61-7=54 Exploring Operation: 61-2=59, Resulting Numbers: [7, 59] Generated Node #0,1,1: 34:[7, 59] Operation: 61-2=59 Moving to Node #0,0 Current State: 34:[73, 7, 14], Operations: ['75-61=14'] Exploring Operation: 73-7=66, Resulting Numbers: [14, 66] Generated Node #0,0,0: 34:[14, 66] Operation: 73-7=66 Exploring Operation: 73-14=59, Resulting Numbers: [7, 59] Generated Node #0,0,1: 34:[7, 59] Operation: 73-14=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[7, 59], Operations: ['75-61=14', '73-14=59'] Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[14, 66], Operations: ['75-61=14', '73-7=66'] Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,34 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: 34:[2, 54], Operations: ['75-73=2', '61-7=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[7, 59], Operations: ['75-73=2', '61-2=59'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,34 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 46, 9, 79, 3 ]
36
[ "79-46=33", "9/3=3", "33+3=36" ]
Current State: 36:[46, 9, 79, 3], Operations: [] Exploring Operation: 79-46=33, Resulting Numbers: [9, 3, 33] Generated Node #2: [9, 3, 33] from Operation: 79-46=33 Current State: 36:[9, 3, 33], Operations: ['79-46=33'] Exploring Operation: 9/3=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 9/3=3 Current State: 36:[33, 3], Operations: ['79-46=33', '9/3=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[46, 9, 79, 3], Operations: [] Exploring Operation: 46-9=37, Resulting Numbers: [79, 3, 37] Generated Node #0,0: 36:[79, 3, 37] Operation: 46-9=37 Exploring Operation: 79-46=33, Resulting Numbers: [9, 3, 33] Generated Node #0,1: 36:[9, 3, 33] Operation: 79-46=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[9, 3, 33], Operations: ['79-46=33'] Exploring Operation: 3+33=36, Resulting Numbers: [9, 36] Generated Node #0,1,0: 36:[9, 36] Operation: 3+33=36 Exploring Operation: 33/3=11, Resulting Numbers: [9, 11] Generated Node #0,1,1: 36:[9, 11] Operation: 33/3=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[9, 36], Operations: ['79-46=33', '3+33=36'] Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[9, 11], Operations: ['79-46=33', '33/3=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[79, 3, 37], Operations: ['46-9=37'] Exploring Operation: 79-3=76, Resulting Numbers: [37, 76] Generated Node #0,0,0: 36:[37, 76] Operation: 79-3=76 Exploring Operation: 79-37=42, Resulting Numbers: [3, 42] Generated Node #0,0,1: 36:[3, 42] Operation: 79-37=42 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[3, 42], Operations: ['46-9=37', '79-37=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[37, 76], Operations: ['46-9=37', '79-3=76'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 37+76=113, Resulting Numbers: [113] 113,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 21, 20, 48, 35 ]
63
[ "48*35=1680", "1680/20=84", "84-21=63" ]
Current State: 63:[21, 20, 48, 35], Operations: [] Exploring Operation: 48*35=1680, Resulting Numbers: [21, 20, 1680] Generated Node #2: [21, 20, 1680] from Operation: 48*35=1680 Current State: 63:[21, 20, 1680], Operations: ['48*35=1680'] Exploring Operation: 1680/20=84, Resulting Numbers: [21, 84] Generated Node #3: [21, 84] from Operation: 1680/20=84 Current State: 63:[21, 84], Operations: ['48*35=1680', '1680/20=84'] Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 20, 48, 35], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [21, 20, 13] Generated Node #0,0: 63:[21, 20, 13] Operation: 48-35=13 Exploring Operation: 20+48=68, Resulting Numbers: [21, 35, 68] Generated Node #0,1: 63:[21, 35, 68] Operation: 20+48=68 Moving to Node #0,0 Current State: 63:[21, 20, 13], Operations: ['48-35=13'] Exploring Operation: 21-13=8, Resulting Numbers: [20, 8] Generated Node #0,0,0: 63:[20, 8] Operation: 21-13=8 Exploring Operation: 20-13=7, Resulting Numbers: [21, 7] Generated Node #0,0,1: 63:[21, 7] Operation: 20-13=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[21, 7], Operations: ['48-35=13', '20-13=7'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[20, 8], Operations: ['48-35=13', '21-13=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,63 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: 63:[21, 35, 68], Operations: ['20+48=68'] Exploring Operation: 35-21=14, Resulting Numbers: [68, 14] Generated Node #0,1,0: 63:[68, 14] Operation: 35-21=14 Exploring Operation: 21+35=56, Resulting Numbers: [68, 56] Generated Node #0,1,1: 63:[68, 56] Operation: 21+35=56 Moving to Node #0,1,0 Current State: 63:[68, 14], Operations: ['20+48=68', '35-21=14'] Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[68, 56], Operations: ['20+48=68', '21+35=56'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 13, 55, 1, 89 ]
47
[ "55-13=42", "1*89=89", "89-42=47" ]
Current State: 47:[13, 55, 1, 89], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [1, 89, 42] Generated Node #2: [1, 89, 42] from Operation: 55-13=42 Current State: 47:[1, 89, 42], Operations: ['55-13=42'] Exploring Operation: 1*89=89, Resulting Numbers: [42, 89] Generated Node #3: [42, 89] from Operation: 1*89=89 Current State: 47:[42, 89], Operations: ['55-13=42', '1*89=89'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[13, 55, 1, 89], Operations: [] Exploring Operation: 13+1=14, Resulting Numbers: [55, 89, 14] Generated Node #0,0: 47:[55, 89, 14] Operation: 13+1=14 Exploring Operation: 89-13=76, Resulting Numbers: [55, 1, 76] Generated Node #0,1: 47:[55, 1, 76] Operation: 89-13=76 Moving to Node #0,0 Current State: 47:[55, 89, 14], Operations: ['13+1=14'] Exploring Operation: 89-55=34, Resulting Numbers: [14, 34] Generated Node #0,0,0: 47:[14, 34] Operation: 89-55=34 Exploring Operation: 89-14=75, Resulting Numbers: [55, 75] Generated Node #0,0,1: 47:[55, 75] Operation: 89-14=75 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[55, 75], Operations: ['13+1=14', '89-14=75'] Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 55+75=130, Resulting Numbers: [130] 130,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[14, 34], Operations: ['13+1=14', '89-55=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,47 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: 47:[55, 1, 76], Operations: ['89-13=76'] Exploring Operation: 76-1=75, Resulting Numbers: [55, 75] Generated Node #0,1,0: 47:[55, 75] Operation: 76-1=75 Exploring Operation: 55-1=54, Resulting Numbers: [76, 54] Generated Node #0,1,1: 47:[76, 54] Operation: 55-1=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[55, 75], Operations: ['89-13=76', '76-1=75'] Exploring Operation: 55+75=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,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:[76, 54], Operations: ['89-13=76', '55-1=54'] Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 30, 51, 50, 28 ]
52
[ "30-28=2", "51*2=102", "102-50=52" ]
Current State: 52:[30, 51, 50, 28], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [51, 50, 2] Generated Node #2: [51, 50, 2] from Operation: 30-28=2 Current State: 52:[51, 50, 2], Operations: ['30-28=2'] Exploring Operation: 51*2=102, Resulting Numbers: [50, 102] Generated Node #3: [50, 102] from Operation: 51*2=102 Current State: 52:[50, 102], Operations: ['30-28=2', '51*2=102'] Exploring Operation: 102-50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[30, 51, 50, 28], Operations: [] Exploring Operation: 50-30=20, Resulting Numbers: [51, 28, 20] Generated Node #0,0: 52:[51, 28, 20] Operation: 50-30=20 Exploring Operation: 51-30=21, Resulting Numbers: [50, 28, 21] Generated Node #0,1: 52:[50, 28, 21] Operation: 51-30=21 Exploring Operation: 30-28=2, Resulting Numbers: [51, 50, 2] Generated Node #0,2: 52:[51, 50, 2] Operation: 30-28=2 Exploring Operation: 51-50=1, Resulting Numbers: [30, 28, 1] Generated Node #0,3: 52:[30, 28, 1] Operation: 51-50=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[51, 50, 2], Operations: ['30-28=2'] Exploring Operation: 50+2=52, Resulting Numbers: [51, 52] Generated Node #0,2,0: 52:[51, 52] Operation: 50+2=52 Exploring Operation: 51+2=53, Resulting Numbers: [50, 53] Generated Node #0,2,1: 52:[50, 53] Operation: 51+2=53 Exploring Operation: 51-50=1, Resulting Numbers: [2, 1] Generated Node #0,2,2: 52:[2, 1] Operation: 51-50=1 Exploring Operation: 50/2=25, Resulting Numbers: [51, 25] Generated Node #0,2,3: 52:[51, 25] Operation: 50/2=25 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[51, 52], Operations: ['30-28=2', '50+2=52'] Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,52 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,52 unequal: No Solution No 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: 52:[2, 1], Operations: ['30-28=2', '51-50=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,52 unequal: No Solution No 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: 52:[51, 25], Operations: ['30-28=2', '50/2=25'] Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,52 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,52 unequal: No Solution No 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: 52:[50, 53], Operations: ['30-28=2', '51+2=53'] Exploring Operation: 50*53=2650, Resulting Numbers: [2650] 2650,52 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 50+53=103, Resulting Numbers: [103] 103,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[30, 28, 1], Operations: ['51-50=1'] Exploring Operation: 30-1=29, Resulting Numbers: [28, 29] Generated Node #0,3,0: 52:[28, 29] Operation: 30-1=29 Exploring Operation: 30-28=2, Resulting Numbers: [1, 2] Generated Node #0,3,1: 52:[1, 2] Operation: 30-28=2 Exploring Operation: 30*1=30, Resulting Numbers: [28, 30] Generated Node #0,3,2: 52:[28, 30] Operation: 30*1=30 Exploring Operation: 28-1=27, Resulting Numbers: [30, 27] Generated Node #0,3,3: 52:[30, 27] Operation: 28-1=27 Moving to Node #0,3,1 Current State: 52:[1, 2], Operations: ['51-50=1', '30-28=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[30, 27], Operations: ['51-50=1', '28-1=27'] Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,52 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[28, 29], Operations: ['51-50=1', '30-1=29'] Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,52 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[28, 30], Operations: ['51-50=1', '30*1=30'] Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,52 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,52 unequal: No Solution No 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: 52:[51, 28, 20], Operations: ['50-30=20'] Exploring Operation: 28-20=8, Resulting Numbers: [51, 8] Generated Node #0,0,0: 52:[51, 8] Operation: 28-20=8 Exploring Operation: 51-28=23, Resulting Numbers: [20, 23] Generated Node #0,0,1: 52:[20, 23] Operation: 51-28=23 Exploring Operation: 51-20=31, Resulting Numbers: [28, 31] Generated Node #0,0,2: 52:[28, 31] Operation: 51-20=31 Exploring Operation: 28+20=48, Resulting Numbers: [51, 48] Generated Node #0,0,3: 52:[51, 48] Operation: 28+20=48 Moving to Node #0,0,0 Current State: 52:[51, 8], Operations: ['50-30=20', '28-20=8'] Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,52 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[51, 48], Operations: ['50-30=20', '28+20=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,52 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,52 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[28, 31], Operations: ['50-30=20', '51-20=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[20, 23], Operations: ['50-30=20', '51-28=23'] Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,52 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,52 unequal: No Solution No 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: 52:[50, 28, 21], Operations: ['51-30=21'] Exploring Operation: 28+21=49, Resulting Numbers: [50, 49] Generated Node #0,1,0: 52:[50, 49] Operation: 28+21=49 Exploring Operation: 50-21=29, Resulting Numbers: [28, 29] Generated Node #0,1,1: 52:[28, 29] Operation: 50-21=29 Exploring Operation: 50-28=22, Resulting Numbers: [21, 22] Generated Node #0,1,2: 52:[21, 22] Operation: 50-28=22 Exploring Operation: 28-21=7, Resulting Numbers: [50, 7] Generated Node #0,1,3: 52:[50, 7] Operation: 28-21=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[50, 49], Operations: ['51-30=21', '28+21=49'] Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,52 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,52 unequal: No Solution No 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: 52:[28, 29], Operations: ['51-30=21', '50-21=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,52 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,52 unequal: No Solution No 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: 52:[50, 7], Operations: ['51-30=21', '28-21=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,52 unequal: No Solution No 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: 52:[21, 22], Operations: ['51-30=21', '50-28=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,52 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 86, 9, 72, 72 ]
22
[ "86-72=14", "72/9=8", "14+8=22" ]
Current State: 22:[86, 9, 72, 72], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [9, 14] Generated Node #2: [9, 14] from Operation: 86-72=14 Current State: 22:[9, 14], Operations: ['86-72=14'] Exploring Operation: 72/9=8, Resulting Numbers: [14, 8] Generated Node #3: [14, 8] from Operation: 72/9=8 Current State: 22:[14, 8], Operations: ['86-72=14', '72/9=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[86, 9, 72, 72], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [9, 72, 14] Generated Node #0,0: 22:[9, 72, 14] Operation: 86-72=14 Exploring Operation: 72/72=1, Resulting Numbers: [86, 9, 1] Generated Node #0,1: 22:[86, 9, 1] Operation: 72/72=1 Exploring Operation: 72-72=0, Resulting Numbers: [86, 9, 0] Generated Node #0,2: 22:[86, 9, 0] Operation: 72-72=0 Exploring Operation: 86-72=14, Resulting Numbers: [9, 72, 14] Generated Node #0,3: 22:[9, 72, 14] Operation: 86-72=14 Exploring Operation: 72/9=8, Resulting Numbers: [86, 72, 8] Generated Node #0,4: 22:[86, 72, 8] Operation: 72/9=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[9, 72, 14], Operations: ['86-72=14'] Exploring Operation: 72-14=58, Resulting Numbers: [9, 58] Generated Node #0,0,0: 22:[9, 58] Operation: 72-14=58 Exploring Operation: 14-9=5, Resulting Numbers: [72, 5] Generated Node #0,0,1: 22:[72, 5] Operation: 14-9=5 Exploring Operation: 72/9=8, Resulting Numbers: [14, 8] Generated Node #0,0,2: 22:[14, 8] Operation: 72/9=8 Exploring Operation: 9+14=23, Resulting Numbers: [72, 23] Generated Node #0,0,3: 22:[72, 23] Operation: 9+14=23 Exploring Operation: 72-9=63, Resulting Numbers: [14, 63] Generated Node #0,0,4: 22:[14, 63] Operation: 72-9=63 Moving to Node #0,0,2 Current State: 22:[14, 8], Operations: ['86-72=14', '72/9=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[86, 9, 72, 72], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [9, 72, 14] Generated Node #0,0: 22:[9, 72, 14] Operation: 86-72=14 Moving to Node #0,0 Current State: 22:[9, 72, 14], Operations: ['86-72=14'] Exploring Operation: 72/9=8, Resulting Numbers: [14, 8] Generated Node #0,0,2: 22:[14, 8] Operation: 72/9=8 Moving to Node #0,0,2 Current State: 22:[14, 8], Operations: ['86-72=14', '72/9=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 84, 32, 96, 3 ]
60
[ "84+32=116", "116-96=20", "3*20=60" ]
Current State: 60:[84, 32, 96, 3], Operations: [] Exploring Operation: 84+32=116, Resulting Numbers: [96, 3, 116] Generated Node #2: [96, 3, 116] from Operation: 84+32=116 Current State: 60:[96, 3, 116], Operations: ['84+32=116'] Exploring Operation: 116-96=20, Resulting Numbers: [3, 20] Generated Node #3: [3, 20] from Operation: 116-96=20 Current State: 60:[3, 20], Operations: ['84+32=116', '116-96=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[84, 32, 96, 3], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [84, 3, 3] Generated Node #0,0: 60:[84, 3, 3] Operation: 96/32=3 Exploring Operation: 96-84=12, Resulting Numbers: [32, 3, 12] Generated Node #0,1: 60:[32, 3, 12] Operation: 96-84=12 Exploring Operation: 96/3=32, Resulting Numbers: [84, 32, 32] Generated Node #0,2: 60:[84, 32, 32] Operation: 96/3=32 Exploring Operation: 96-32=64, Resulting Numbers: [84, 3, 64] Generated Node #0,3: 60:[84, 3, 64] Operation: 96-32=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[32, 3, 12], Operations: ['96-84=12'] Exploring Operation: 32-3=29, Resulting Numbers: [12, 29] Generated Node #0,1,0: 60:[12, 29] Operation: 32-3=29 Exploring Operation: 12/3=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 60:[32, 4] Operation: 12/3=4 Exploring Operation: 3+12=15, Resulting Numbers: [32, 15] Generated Node #0,1,2: 60:[32, 15] Operation: 3+12=15 Exploring Operation: 32-12=20, Resulting Numbers: [3, 20] Generated Node #0,1,3: 60:[3, 20] Operation: 32-12=20 Moving to Node #0,1,3 Current State: 60:[3, 20], Operations: ['96-84=12', '32-12=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[84, 32, 96, 3], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [32, 3, 12] Generated Node #0,1: 60:[32, 3, 12] Operation: 96-84=12 Moving to Node #0,1 Current State: 60:[32, 3, 12], Operations: ['96-84=12'] Exploring Operation: 32-12=20, Resulting Numbers: [3, 20] Generated Node #0,1,3: 60:[3, 20] Operation: 32-12=20 Moving to Node #0,1,3 Current State: 60:[3, 20], Operations: ['96-84=12', '32-12=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 13, 82, 9, 18 ]
96
[ "82-13=69", "9+18=27", "69+27=96" ]
Current State: 96:[13, 82, 9, 18], Operations: [] Exploring Operation: 82-13=69, Resulting Numbers: [9, 18, 69] Generated Node #2: [9, 18, 69] from Operation: 82-13=69 Current State: 96:[9, 18, 69], Operations: ['82-13=69'] Exploring Operation: 9+18=27, Resulting Numbers: [69, 27] Generated Node #3: [69, 27] from Operation: 9+18=27 Current State: 96:[69, 27], Operations: ['82-13=69', '9+18=27'] Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[13, 82, 9, 18], Operations: [] Exploring Operation: 13+82=95, Resulting Numbers: [9, 18, 95] Generated Node #0,0: 96:[9, 18, 95] Operation: 13+82=95 Moving to Node #0,0 Current State: 96:[9, 18, 95], Operations: ['13+82=95'] Exploring Operation: 18/9=2, Resulting Numbers: [95, 2] Generated Node #0,0,0: 96:[95, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[95, 2], Operations: ['13+82=95', '18/9=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 21, 35, 18, 55 ]
87
[ "35-21=14", "18+55=73", "14+73=87" ]
Current State: 87:[21, 35, 18, 55], Operations: [] Exploring Operation: 35-21=14, Resulting Numbers: [18, 55, 14] Generated Node #2: [18, 55, 14] from Operation: 35-21=14 Current State: 87:[18, 55, 14], Operations: ['35-21=14'] Exploring Operation: 18+55=73, Resulting Numbers: [14, 73] Generated Node #3: [14, 73] from Operation: 18+55=73 Current State: 87:[14, 73], Operations: ['35-21=14', '18+55=73'] Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[21, 35, 18, 55], Operations: [] Exploring Operation: 21+55=76, Resulting Numbers: [35, 18, 76] Generated Node #0,0: 87:[35, 18, 76] Operation: 21+55=76 Exploring Operation: 55-21=34, Resulting Numbers: [35, 18, 34] Generated Node #0,1: 87:[35, 18, 34] Operation: 55-21=34 Exploring Operation: 35+55=90, Resulting Numbers: [21, 18, 90] Generated Node #0,2: 87:[21, 18, 90] Operation: 35+55=90 Exploring Operation: 55-18=37, Resulting Numbers: [21, 35, 37] Generated Node #0,3: 87:[21, 35, 37] Operation: 55-18=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[35, 18, 34], Operations: ['55-21=34'] Exploring Operation: 35-34=1, Resulting Numbers: [18, 1] Generated Node #0,1,0: 87:[18, 1] Operation: 35-34=1 Exploring Operation: 35+18=53, Resulting Numbers: [34, 53] Generated Node #0,1,1: 87:[34, 53] Operation: 35+18=53 Exploring Operation: 35-18=17, Resulting Numbers: [34, 17] Generated Node #0,1,2: 87:[34, 17] Operation: 35-18=17 Exploring Operation: 34-18=16, Resulting Numbers: [35, 16] Generated Node #0,1,3: 87:[35, 16] Operation: 34-18=16 Moving to Node #0,1,0 Current State: 87:[18, 1], Operations: ['55-21=34', '35-34=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[34, 17], Operations: ['55-21=34', '35-18=17'] Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,87 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[35, 16], Operations: ['55-21=34', '34-18=16'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,87 unequal: No Solution Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[34, 53], Operations: ['55-21=34', '35+18=53'] Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[21, 35, 18, 55], Operations: [] Exploring Operation: 55-21=34, Resulting Numbers: [35, 18, 34] Generated Node #0,1: 87:[35, 18, 34] Operation: 55-21=34 Moving to Node #0,1 Current State: 87:[35, 18, 34], Operations: ['55-21=34'] Exploring Operation: 35+18=53, Resulting Numbers: [34, 53] Generated Node #0,1,1: 87:[34, 53] Operation: 35+18=53 Moving to Node #0,1,1 Current State: 87:[34, 53], Operations: ['55-21=34', '35+18=53'] Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 4, 40, 91, 93 ]
36
[ "91-40=51", "93+51=144", "144/4=36" ]
Current State: 36:[4, 40, 91, 93], Operations: [] Exploring Operation: 91-40=51, Resulting Numbers: [4, 93, 51] Generated Node #2: [4, 93, 51] from Operation: 91-40=51 Current State: 36:[4, 93, 51], Operations: ['91-40=51'] Exploring Operation: 93+51=144, Resulting Numbers: [4, 144] Generated Node #3: [4, 144] from Operation: 93+51=144 Current State: 36:[4, 144], Operations: ['91-40=51', '93+51=144'] Exploring Operation: 144/4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[4, 40, 91, 93], Operations: [] Exploring Operation: 91-40=51, Resulting Numbers: [4, 93, 51] Generated Node #0,0: 36:[4, 93, 51] Operation: 91-40=51 Exploring Operation: 93-91=2, Resulting Numbers: [4, 40, 2] Generated Node #0,1: 36:[4, 40, 2] Operation: 93-91=2 Exploring Operation: 93-40=53, Resulting Numbers: [4, 91, 53] Generated Node #0,2: 36:[4, 91, 53] Operation: 93-40=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[4, 40, 2], Operations: ['93-91=2'] Exploring Operation: 40/4=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 36:[2, 10] Operation: 40/4=10 Exploring Operation: 40-2=38, Resulting Numbers: [4, 38] Generated Node #0,1,1: 36:[4, 38] Operation: 40-2=38 Exploring Operation: 40-4=36, Resulting Numbers: [2, 36] Generated Node #0,1,2: 36:[2, 36] Operation: 40-4=36 Moving to Node #0,1,2 Current State: 36:[2, 36], Operations: ['93-91=2', '40-4=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[2, 10], Operations: ['93-91=2', '40/4=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[4, 38], Operations: ['93-91=2', '40-2=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,36 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[4, 93, 51], Operations: ['91-40=51'] Exploring Operation: 93-4=89, Resulting Numbers: [51, 89] Generated Node #0,0,0: 36:[51, 89] Operation: 93-4=89 Exploring Operation: 93-51=42, Resulting Numbers: [4, 42] Generated Node #0,0,1: 36:[4, 42] Operation: 93-51=42 Exploring Operation: 51-4=47, Resulting Numbers: [93, 47] Generated Node #0,0,2: 36:[93, 47] Operation: 51-4=47 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[4, 42], Operations: ['91-40=51', '93-51=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,36 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[51, 89], Operations: ['91-40=51', '93-4=89'] Exploring Operation: 51*89=4539, Resulting Numbers: [4539] 4539,36 unequal: No Solution Exploring Operation: 51+89=140, Resulting Numbers: [140] 140,36 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 36:[93, 47], Operations: ['91-40=51', '51-4=47'] Exploring Operation: 93+47=140, Resulting Numbers: [140] 140,36 unequal: No Solution Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 93*47=4371, Resulting Numbers: [4371] 4371,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[4, 91, 53], Operations: ['93-40=53'] Exploring Operation: 91-4=87, Resulting Numbers: [53, 87] Generated Node #0,2,0: 36:[53, 87] Operation: 91-4=87 Exploring Operation: 91-53=38, Resulting Numbers: [4, 38] Generated Node #0,2,1: 36:[4, 38] Operation: 91-53=38 Exploring Operation: 53-4=49, Resulting Numbers: [91, 49] Generated Node #0,2,2: 36:[91, 49] Operation: 53-4=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[4, 38], Operations: ['93-40=53', '91-53=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,36 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[53, 87], Operations: ['93-40=53', '91-4=87'] Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,36 unequal: No Solution Exploring Operation: 53*87=4611, Resulting Numbers: [4611] 4611,36 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[91, 49], Operations: ['93-40=53', '53-4=49'] Exploring Operation: 91*49=4459, Resulting Numbers: [4459] 4459,36 unequal: No Solution Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 91+49=140, Resulting Numbers: [140] 140,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 48, 29, 31, 90 ]
40
[ "48-29=19", "90-31=59", "59-19=40" ]
Current State: 40:[48, 29, 31, 90], Operations: [] Exploring Operation: 48-29=19, Resulting Numbers: [31, 90, 19] Generated Node #2: [31, 90, 19] from Operation: 48-29=19 Current State: 40:[31, 90, 19], Operations: ['48-29=19'] Exploring Operation: 90-31=59, Resulting Numbers: [19, 59] Generated Node #3: [19, 59] from Operation: 90-31=59 Current State: 40:[19, 59], Operations: ['48-29=19', '90-31=59'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[48, 29, 31, 90], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [29, 31, 42] Generated Node #0,0: 40:[29, 31, 42] Operation: 90-48=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[29, 31, 42], Operations: ['90-48=42'] Exploring Operation: 31-29=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 40:[42, 2] Operation: 31-29=2 Moving to Node #0,0,0 Current State: 40:[42, 2], Operations: ['90-48=42', '31-29=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[48, 29, 31, 90], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [29, 31, 42] Generated Node #0,0: 40:[29, 31, 42] Operation: 90-48=42 Moving to Node #0,0 Current State: 40:[29, 31, 42], Operations: ['90-48=42'] Exploring Operation: 31-29=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 40:[42, 2] Operation: 31-29=2 Moving to Node #0,0,0 Current State: 40:[42, 2], Operations: ['90-48=42', '31-29=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 25, 5, 98, 64 ]
91
[ "25*5=125", "98-64=34", "125-34=91" ]
Current State: 91:[25, 5, 98, 64], Operations: [] Exploring Operation: 25*5=125, Resulting Numbers: [98, 64, 125] Generated Node #2: [98, 64, 125] from Operation: 25*5=125 Current State: 91:[98, 64, 125], Operations: ['25*5=125'] Exploring Operation: 98-64=34, Resulting Numbers: [125, 34] Generated Node #3: [125, 34] from Operation: 98-64=34 Current State: 91:[125, 34], Operations: ['25*5=125', '98-64=34'] Exploring Operation: 125-34=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[25, 5, 98, 64], Operations: [] Exploring Operation: 25+64=89, Resulting Numbers: [5, 98, 89] Generated Node #0,0: 91:[5, 98, 89] Operation: 25+64=89 Exploring Operation: 98-64=34, Resulting Numbers: [25, 5, 34] Generated Node #0,1: 91:[25, 5, 34] Operation: 98-64=34 Exploring Operation: 64-25=39, Resulting Numbers: [5, 98, 39] Generated Node #0,2: 91:[5, 98, 39] Operation: 64-25=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 98, 89], Operations: ['25+64=89'] Exploring Operation: 5+89=94, Resulting Numbers: [98, 94] Generated Node #0,0,0: 91:[98, 94] Operation: 5+89=94 Exploring Operation: 98-5=93, Resulting Numbers: [89, 93] Generated Node #0,0,1: 91:[89, 93] Operation: 98-5=93 Exploring Operation: 98-89=9, Resulting Numbers: [5, 9] Generated Node #0,0,2: 91:[5, 9] Operation: 98-89=9 Moving to Node #0,0,1 Current State: 91:[89, 93], Operations: ['25+64=89', '98-5=93'] Exploring Operation: 93-89=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 89+93=182, Resulting Numbers: [182] 182,91 unequal: No Solution Exploring Operation: 89*93=8277, Resulting Numbers: [8277] 8277,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[5, 9], Operations: ['25+64=89', '98-89=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[98, 94], Operations: ['25+64=89', '5+89=94'] Exploring Operation: 98+94=192, Resulting Numbers: [192] 192,91 unequal: No Solution Exploring Operation: 98*94=9212, Resulting Numbers: [9212] 9212,91 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[25, 5, 34], Operations: ['98-64=34'] Exploring Operation: 25-5=20, Resulting Numbers: [34, 20] Generated Node #0,1,0: 91:[34, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [34, 5] Generated Node #0,1,1: 91:[34, 5] Operation: 25/5=5 Exploring Operation: 34-25=9, Resulting Numbers: [5, 9] Generated Node #0,1,2: 91:[5, 9] Operation: 34-25=9 Moving to Node #0,1,2 Current State: 91:[5, 9], Operations: ['98-64=34', '34-25=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[34, 5], Operations: ['98-64=34', '25/5=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,91 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[34, 20], Operations: ['98-64=34', '25-5=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,91 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[5, 98, 39], Operations: ['64-25=39'] Exploring Operation: 98-5=93, Resulting Numbers: [39, 93] Generated Node #0,2,0: 91:[39, 93] Operation: 98-5=93 Exploring Operation: 98-39=59, Resulting Numbers: [5, 59] Generated Node #0,2,1: 91:[5, 59] Operation: 98-39=59 Exploring Operation: 39-5=34, Resulting Numbers: [98, 34] Generated Node #0,2,2: 91:[98, 34] Operation: 39-5=34 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[39, 93], Operations: ['64-25=39', '98-5=93'] Exploring Operation: 39+93=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 39*93=3627, Resulting Numbers: [3627] 3627,91 unequal: No Solution Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[98, 34], Operations: ['64-25=39', '39-5=34'] Exploring Operation: 98*34=3332, Resulting Numbers: [3332] 3332,91 unequal: No Solution Exploring Operation: 98-34=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 98+34=132, Resulting Numbers: [132] 132,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[5, 59], Operations: ['64-25=39', '98-39=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,91 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 56, 54, 65, 90 ]
27
[ "56-54=2", "90-65=25", "2+25=27" ]
Current State: 27:[56, 54, 65, 90], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [65, 90, 2] Generated Node #2: [65, 90, 2] from Operation: 56-54=2 Current State: 27:[65, 90, 2], Operations: ['56-54=2'] Exploring Operation: 90-65=25, Resulting Numbers: [2, 25] Generated Node #3: [2, 25] from Operation: 90-65=25 Current State: 27:[2, 25], Operations: ['56-54=2', '90-65=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[56, 54, 65, 90], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [56, 54, 25] Generated Node #0,0: 27:[56, 54, 25] Operation: 90-65=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[56, 54, 25], Operations: ['90-65=25'] Exploring Operation: 56-54=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 27:[25, 2] Operation: 56-54=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[25, 2], Operations: ['90-65=25', '56-54=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[56, 54, 65, 90], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [56, 54, 25] Generated Node #0,0: 27:[56, 54, 25] Operation: 90-65=25 Moving to Node #0,0 Current State: 27:[56, 54, 25], Operations: ['90-65=25'] Exploring Operation: 56-54=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 27:[25, 2] Operation: 56-54=2 Moving to Node #0,0,0 Current State: 27:[25, 2], Operations: ['90-65=25', '56-54=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 45, 17, 45, 9 ]
27
[ "45+45=90", "90/9=10", "17+10=27" ]
Current State: 27:[45, 17, 45, 9], Operations: [] Exploring Operation: 45+45=90, Resulting Numbers: [17, 9, 90] Generated Node #2: [17, 9, 90] from Operation: 45+45=90 Current State: 27:[17, 9, 90], Operations: ['45+45=90'] Exploring Operation: 90/9=10, Resulting Numbers: [17, 10] Generated Node #3: [17, 10] from Operation: 90/9=10 Current State: 27:[17, 10], Operations: ['45+45=90', '90/9=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[45, 17, 45, 9], Operations: [] Exploring Operation: 45/45=1, Resulting Numbers: [17, 9, 1] Generated Node #0,0: 27:[17, 9, 1] Operation: 45/45=1 Exploring Operation: 45-17=28, Resulting Numbers: [45, 9, 28] Generated Node #0,1: 27:[45, 9, 28] Operation: 45-17=28 Exploring Operation: 45/9=5, Resulting Numbers: [17, 45, 5] Generated Node #0,2: 27:[17, 45, 5] Operation: 45/9=5 Exploring Operation: 45-17=28, Resulting Numbers: [45, 9, 28] Generated Node #0,3: 27:[45, 9, 28] Operation: 45-17=28 Exploring Operation: 45-45=0, Resulting Numbers: [17, 9, 0] Generated Node #0,4: 27:[17, 9, 0] Operation: 45-45=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[17, 9, 1], Operations: ['45/45=1'] Exploring Operation: 17-1=16, Resulting Numbers: [9, 16] Generated Node #0,0,0: 27:[9, 16] Operation: 17-1=16 Exploring Operation: 17/1=17, Resulting Numbers: [9, 17] Generated Node #0,0,1: 27:[9, 17] Operation: 17/1=17 Exploring Operation: 17+9=26, Resulting Numbers: [1, 26] Generated Node #0,0,2: 27:[1, 26] Operation: 17+9=26 Exploring Operation: 17-9=8, Resulting Numbers: [1, 8] Generated Node #0,0,3: 27:[1, 8] Operation: 17-9=8 Exploring Operation: 17*1=17, Resulting Numbers: [9, 17] Generated Node #0,0,4: 27:[9, 17] Operation: 17*1=17 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[1, 26], Operations: ['45/45=1', '17+9=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[45, 17, 45, 9], Operations: [] Exploring Operation: 45/45=1, Resulting Numbers: [17, 9, 1] Generated Node #0,0: 27:[17, 9, 1] Operation: 45/45=1 Moving to Node #0,0 Current State: 27:[17, 9, 1], Operations: ['45/45=1'] Exploring Operation: 17+9=26, Resulting Numbers: [1, 26] Generated Node #0,0,2: 27:[1, 26] Operation: 17+9=26 Moving to Node #0,0,2 Current State: 27:[1, 26], Operations: ['45/45=1', '17+9=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 48, 77, 79, 81 ]
53
[ "81-79=2", "48/2=24", "77-24=53" ]
Current State: 53:[48, 77, 79, 81], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [48, 77, 2] Generated Node #2: [48, 77, 2] from Operation: 81-79=2 Current State: 53:[48, 77, 2], Operations: ['81-79=2'] Exploring Operation: 48/2=24, Resulting Numbers: [77, 24] Generated Node #3: [77, 24] from Operation: 48/2=24 Current State: 53:[77, 24], Operations: ['81-79=2', '48/2=24'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[48, 77, 79, 81], Operations: [] Exploring Operation: 77-48=29, Resulting Numbers: [79, 81, 29] Generated Node #0,0: 53:[79, 81, 29] Operation: 77-48=29 Exploring Operation: 81-79=2, Resulting Numbers: [48, 77, 2] Generated Node #0,1: 53:[48, 77, 2] Operation: 81-79=2 Exploring Operation: 79-48=31, Resulting Numbers: [77, 81, 31] Generated Node #0,2: 53:[77, 81, 31] Operation: 79-48=31 Exploring Operation: 81-77=4, Resulting Numbers: [48, 79, 4] Generated Node #0,3: 53:[48, 79, 4] Operation: 81-77=4 Exploring Operation: 81-48=33, Resulting Numbers: [77, 79, 33] Generated Node #0,4: 53:[77, 79, 33] Operation: 81-48=33 Moving to Node #0,4 Current State: 53:[77, 79, 33], Operations: ['81-48=33'] Exploring Operation: 77-33=44, Resulting Numbers: [79, 44] Generated Node #0,4,0: 53:[79, 44] Operation: 77-33=44 Exploring Operation: 79+33=112, Resulting Numbers: [77, 112] Generated Node #0,4,1: 53:[77, 112] Operation: 79+33=112 Exploring Operation: 79-77=2, Resulting Numbers: [33, 2] Generated Node #0,4,2: 53:[33, 2] Operation: 79-77=2 Exploring Operation: 77+33=110, Resulting Numbers: [79, 110] Generated Node #0,4,3: 53:[79, 110] Operation: 77+33=110 Exploring Operation: 79-33=46, Resulting Numbers: [77, 46] Generated Node #0,4,4: 53:[77, 46] Operation: 79-33=46 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[77, 46], Operations: ['81-48=33', '79-33=46'] Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,53 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[79, 44], Operations: ['81-48=33', '77-33=44'] Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,53 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[33, 2], Operations: ['81-48=33', '79-77=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[77, 112], Operations: ['81-48=33', '79+33=112'] Exploring Operation: 77+112=189, Resulting Numbers: [189] 189,53 unequal: No Solution Exploring Operation: 77*112=8624, Resulting Numbers: [8624] 8624,53 unequal: No Solution Exploring Operation: 112-77=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[79, 110], Operations: ['81-48=33', '77+33=110'] Exploring Operation: 79*110=8690, Resulting Numbers: [8690] 8690,53 unequal: No Solution Exploring Operation: 79+110=189, Resulting Numbers: [189] 189,53 unequal: No Solution Exploring Operation: 110-79=31, Resulting Numbers: [31] 31,53 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: 53:[77, 81, 31], Operations: ['79-48=31'] Exploring Operation: 77+31=108, Resulting Numbers: [81, 108] Generated Node #0,2,0: 53:[81, 108] Operation: 77+31=108 Exploring Operation: 81+31=112, Resulting Numbers: [77, 112] Generated Node #0,2,1: 53:[77, 112] Operation: 81+31=112 Exploring Operation: 81-31=50, Resulting Numbers: [77, 50] Generated Node #0,2,2: 53:[77, 50] Operation: 81-31=50 Exploring Operation: 81-77=4, Resulting Numbers: [31, 4] Generated Node #0,2,3: 53:[31, 4] Operation: 81-77=4 Exploring Operation: 77-31=46, Resulting Numbers: [81, 46] Generated Node #0,2,4: 53:[81, 46] Operation: 77-31=46 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[77, 50], Operations: ['79-48=31', '81-31=50'] Exploring Operation: 77*50=3850, Resulting Numbers: [3850] 3850,53 unequal: No Solution Exploring Operation: 77+50=127, Resulting Numbers: [127] 127,53 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 53:[81, 46], Operations: ['79-48=31', '77-31=46'] Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,53 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[31, 4], Operations: ['79-48=31', '81-77=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[81, 108], Operations: ['79-48=31', '77+31=108'] Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 81*108=8748, Resulting Numbers: [8748] 8748,53 unequal: No Solution Exploring Operation: 81+108=189, Resulting Numbers: [189] 189,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[77, 112], Operations: ['79-48=31', '81+31=112'] Exploring Operation: 77*112=8624, Resulting Numbers: [8624] 8624,53 unequal: No Solution Exploring Operation: 77+112=189, Resulting Numbers: [189] 189,53 unequal: No Solution Exploring Operation: 112-77=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 53:[79, 81, 29], Operations: ['77-48=29'] Exploring Operation: 81+29=110, Resulting Numbers: [79, 110] Generated Node #0,0,0: 53:[79, 110] Operation: 81+29=110 Exploring Operation: 79+29=108, Resulting Numbers: [81, 108] Generated Node #0,0,1: 53:[81, 108] Operation: 79+29=108 Exploring Operation: 81-79=2, Resulting Numbers: [29, 2] Generated Node #0,0,2: 53:[29, 2] Operation: 81-79=2 Exploring Operation: 79-29=50, Resulting Numbers: [81, 50] Generated Node #0,0,3: 53:[81, 50] Operation: 79-29=50 Exploring Operation: 81-29=52, Resulting Numbers: [79, 52] Generated Node #0,0,4: 53:[79, 52] Operation: 81-29=52 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[79, 52], Operations: ['77-48=29', '81-29=52'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,53 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[81, 50], Operations: ['77-48=29', '79-29=50'] Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,53 unequal: No Solution Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,53 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[29, 2], Operations: ['77-48=29', '81-79=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[79, 110], Operations: ['77-48=29', '81+29=110'] Exploring Operation: 79*110=8690, Resulting Numbers: [8690] 8690,53 unequal: No Solution Exploring Operation: 110-79=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 79+110=189, Resulting Numbers: [189] 189,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[81, 108], Operations: ['77-48=29', '79+29=108'] Exploring Operation: 81*108=8748, Resulting Numbers: [8748] 8748,53 unequal: No Solution Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 81+108=189, Resulting Numbers: [189] 189,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[48, 77, 2], Operations: ['81-79=2'] Exploring Operation: 48/2=24, Resulting Numbers: [77, 24] Generated Node #0,1,0: 53:[77, 24] Operation: 48/2=24 Exploring Operation: 77-2=75, Resulting Numbers: [48, 75] Generated Node #0,1,1: 53:[48, 75] Operation: 77-2=75 Exploring Operation: 48+2=50, Resulting Numbers: [77, 50] Generated Node #0,1,2: 53:[77, 50] Operation: 48+2=50 Exploring Operation: 77+2=79, Resulting Numbers: [48, 79] Generated Node #0,1,3: 53:[48, 79] Operation: 77+2=79 Exploring Operation: 48-2=46, Resulting Numbers: [77, 46] Generated Node #0,1,4: 53:[77, 46] Operation: 48-2=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[48, 75], Operations: ['81-79=2', '77-2=75'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 48*75=3600, Resulting Numbers: [3600] 3600,53 unequal: No Solution Exploring Operation: 48+75=123, Resulting Numbers: [123] 123,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[77, 50], Operations: ['81-79=2', '48+2=50'] Exploring Operation: 77+50=127, Resulting Numbers: [127] 127,53 unequal: No Solution Exploring Operation: 77*50=3850, Resulting Numbers: [3850] 3850,53 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[48, 79], Operations: ['81-79=2', '77+2=79'] Exploring Operation: 48*79=3792, Resulting Numbers: [3792] 3792,53 unequal: No Solution Exploring Operation: 48+79=127, Resulting Numbers: [127] 127,53 unequal: No Solution Exploring Operation: 79-48=31, Resulting Numbers: [31] 31,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[77, 46], Operations: ['81-79=2', '48-2=46'] Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,53 unequal: No Solution Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[77, 24], Operations: ['81-79=2', '48/2=24'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[48, 77, 79, 81], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [48, 77, 2] Generated Node #0,1: 53:[48, 77, 2] Operation: 81-79=2 Moving to Node #0,1 Current State: 53:[48, 77, 2], Operations: ['81-79=2'] Exploring Operation: 48/2=24, Resulting Numbers: [77, 24] Generated Node #0,1,0: 53:[77, 24] Operation: 48/2=24 Moving to Node #0,1,0 Current State: 53:[77, 24], Operations: ['81-79=2', '48/2=24'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.924479
hs_5
sum_heuristic
[ 34, 93, 65, 24 ]
21
[ "65-34=31", "93/31=3", "24-3=21" ]
Current State: 21:[34, 93, 65, 24], Operations: [] Exploring Operation: 65-34=31, Resulting Numbers: [93, 24, 31] Generated Node #2: [93, 24, 31] from Operation: 65-34=31 Current State: 21:[93, 24, 31], Operations: ['65-34=31'] Exploring Operation: 93/31=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 93/31=3 Current State: 21:[24, 3], Operations: ['65-34=31', '93/31=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[34, 93, 65, 24], Operations: [] Exploring Operation: 93-65=28, Resulting Numbers: [34, 24, 28] Generated Node #0,0: 21:[34, 24, 28] Operation: 93-65=28 Moving to Node #0,0 Current State: 21:[34, 24, 28], Operations: ['93-65=28'] Exploring Operation: 34-28=6, Resulting Numbers: [24, 6] Generated Node #0,0,0: 21:[24, 6] Operation: 34-28=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[24, 6], Operations: ['93-65=28', '34-28=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 54, 66, 20, 57 ]
14
[ "66-57=9", "54/9=6", "20-6=14" ]
Current State: 14:[54, 66, 20, 57], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [54, 20, 9] Generated Node #2: [54, 20, 9] from Operation: 66-57=9 Current State: 14:[54, 20, 9], Operations: ['66-57=9'] Exploring Operation: 54/9=6, Resulting Numbers: [20, 6] Generated Node #3: [20, 6] from Operation: 54/9=6 Current State: 14:[20, 6], Operations: ['66-57=9', '54/9=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[54, 66, 20, 57], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [54, 20, 9] Generated Node #0,0: 14:[54, 20, 9] Operation: 66-57=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[54, 20, 9], Operations: ['66-57=9'] Exploring Operation: 54/9=6, Resulting Numbers: [20, 6] Generated Node #0,0,0: 14:[20, 6] Operation: 54/9=6 Moving to Node #0,0,0 Current State: 14:[20, 6], Operations: ['66-57=9', '54/9=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[54, 66, 20, 57], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [54, 20, 9] Generated Node #0,0: 14:[54, 20, 9] Operation: 66-57=9 Moving to Node #0,0 Current State: 14:[54, 20, 9], Operations: ['66-57=9'] Exploring Operation: 54/9=6, Resulting Numbers: [20, 6] Generated Node #0,0,0: 14:[20, 6] Operation: 54/9=6 Moving to Node #0,0,0 Current State: 14:[20, 6], Operations: ['66-57=9', '54/9=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 3, 69, 73, 95 ]
23
[ "95-3=92", "73-69=4", "92/4=23" ]
Current State: 23:[3, 69, 73, 95], Operations: [] Exploring Operation: 95-3=92, Resulting Numbers: [69, 73, 92] Generated Node #2: [69, 73, 92] from Operation: 95-3=92 Current State: 23:[69, 73, 92], Operations: ['95-3=92'] Exploring Operation: 73-69=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 73-69=4 Current State: 23:[92, 4], Operations: ['95-3=92', '73-69=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[3, 69, 73, 95], Operations: [] Exploring Operation: 95-73=22, Resulting Numbers: [3, 69, 22] Generated Node #0,0: 23:[3, 69, 22] Operation: 95-73=22 Exploring Operation: 95-69=26, Resulting Numbers: [3, 73, 26] Generated Node #0,1: 23:[3, 73, 26] Operation: 95-69=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[3, 69, 22], Operations: ['95-73=22'] Exploring Operation: 69-3=66, Resulting Numbers: [22, 66] Generated Node #0,0,0: 23:[22, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [22, 23] Generated Node #0,0,1: 23:[22, 23] Operation: 69/3=23 Moving to Node #0,0,1 Current State: 23:[22, 23], Operations: ['95-73=22', '69/3=23'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[22, 66], Operations: ['95-73=22', '69-3=66'] Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[3, 73, 26], Operations: ['95-69=26'] Exploring Operation: 73-26=47, Resulting Numbers: [3, 47] Generated Node #0,1,0: 23:[3, 47] Operation: 73-26=47 Exploring Operation: 73-3=70, Resulting Numbers: [26, 70] Generated Node #0,1,1: 23:[26, 70] Operation: 73-3=70 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[3, 47], Operations: ['95-69=26', '73-26=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,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,1 Current State: 23:[26, 70], Operations: ['95-69=26', '73-3=70'] Exploring Operation: 26+70=96, Resulting Numbers: [96] 96,23 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 71, 93, 5, 78 ]
81
[ "71+93=164", "5+78=83", "164-83=81" ]
Current State: 81:[71, 93, 5, 78], Operations: [] Exploring Operation: 71+93=164, Resulting Numbers: [5, 78, 164] Generated Node #2: [5, 78, 164] from Operation: 71+93=164 Current State: 81:[5, 78, 164], Operations: ['71+93=164'] Exploring Operation: 5+78=83, Resulting Numbers: [164, 83] Generated Node #3: [164, 83] from Operation: 5+78=83 Current State: 81:[164, 83], Operations: ['71+93=164', '5+78=83'] Exploring Operation: 164-83=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[71, 93, 5, 78], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [5, 78, 22] Generated Node #0,0: 81:[5, 78, 22] Operation: 93-71=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[5, 78, 22], Operations: ['93-71=22'] Exploring Operation: 5+22=27, Resulting Numbers: [78, 27] Generated Node #0,0,0: 81:[78, 27] Operation: 5+22=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[78, 27], Operations: ['93-71=22', '5+22=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 81, 40, 5, 8 ]
91
[ "81+5=86", "40/8=5", "86+5=91" ]
Current State: 91:[81, 40, 5, 8], Operations: [] Exploring Operation: 81+5=86, Resulting Numbers: [40, 8, 86] Generated Node #2: [40, 8, 86] from Operation: 81+5=86 Current State: 91:[40, 8, 86], Operations: ['81+5=86'] Exploring Operation: 40/8=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 40/8=5 Current State: 91:[86, 5], Operations: ['81+5=86', '40/8=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[81, 40, 5, 8], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [81, 8, 8] Generated Node #0,0: 91:[81, 8, 8] Operation: 40/5=8 Exploring Operation: 40/8=5, Resulting Numbers: [81, 5, 5] Generated Node #0,1: 91:[81, 5, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[81, 8, 8], Operations: ['40/5=8'] Exploring Operation: 81+8=89, Resulting Numbers: [8, 89] Generated Node #0,0,0: 91:[8, 89] Operation: 81+8=89 Exploring Operation: 81+8=89, Resulting Numbers: [8, 89] Generated Node #0,0,1: 91:[8, 89] Operation: 81+8=89 Moving to Node #0,0,0 Current State: 91:[8, 89], Operations: ['40/5=8', '81+8=89'] Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[8, 89], Operations: ['40/5=8', '81+8=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[81, 5, 5], Operations: ['40/8=5'] Exploring Operation: 81+5=86, Resulting Numbers: [5, 86] Generated Node #0,1,0: 91:[5, 86] Operation: 81+5=86 Exploring Operation: 81+5=86, Resulting Numbers: [5, 86] Generated Node #0,1,1: 91:[5, 86] Operation: 81+5=86 Moving to Node #0,1,0 Current State: 91:[5, 86], Operations: ['40/8=5', '81+5=86'] Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[81, 40, 5, 8], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [81, 5, 5] Generated Node #0,1: 91:[81, 5, 5] Operation: 40/8=5 Moving to Node #0,1 Current State: 91:[81, 5, 5], Operations: ['40/8=5'] Exploring Operation: 81+5=86, Resulting Numbers: [5, 86] Generated Node #0,1,0: 91:[5, 86] Operation: 81+5=86 Moving to Node #0,1,0 Current State: 91:[5, 86], Operations: ['40/8=5', '81+5=86'] Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 31, 71, 6, 25 ]
48
[ "31+71=102", "6*25=150", "150-102=48" ]
Current State: 48:[31, 71, 6, 25], Operations: [] Exploring Operation: 31+71=102, Resulting Numbers: [6, 25, 102] Generated Node #2: [6, 25, 102] from Operation: 31+71=102 Current State: 48:[6, 25, 102], Operations: ['31+71=102'] Exploring Operation: 6*25=150, Resulting Numbers: [102, 150] Generated Node #3: [102, 150] from Operation: 6*25=150 Current State: 48:[102, 150], Operations: ['31+71=102', '6*25=150'] Exploring Operation: 150-102=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[31, 71, 6, 25], Operations: [] Exploring Operation: 31-6=25, Resulting Numbers: [71, 25, 25] Generated Node #0,0: 48:[71, 25, 25] Operation: 31-6=25 Exploring Operation: 71-31=40, Resulting Numbers: [6, 25, 40] Generated Node #0,1: 48:[6, 25, 40] Operation: 71-31=40 Exploring Operation: 31-25=6, Resulting Numbers: [71, 6, 6] Generated Node #0,2: 48:[71, 6, 6] Operation: 31-25=6 Exploring Operation: 71-25=46, Resulting Numbers: [31, 6, 46] Generated Node #0,3: 48:[31, 6, 46] Operation: 71-25=46 Moving to Node #0,1 Current State: 48:[6, 25, 40], Operations: ['71-31=40'] Exploring Operation: 6+40=46, Resulting Numbers: [25, 46] Generated Node #0,1,0: 48:[25, 46] Operation: 6+40=46 Exploring Operation: 40-6=34, Resulting Numbers: [25, 34] Generated Node #0,1,1: 48:[25, 34] Operation: 40-6=34 Exploring Operation: 40-25=15, Resulting Numbers: [6, 15] Generated Node #0,1,2: 48:[6, 15] Operation: 40-25=15 Exploring Operation: 25-6=19, Resulting Numbers: [40, 19] Generated Node #0,1,3: 48:[40, 19] Operation: 25-6=19 Moving to Node #0,3 Current State: 48:[31, 6, 46], Operations: ['71-25=46'] Exploring Operation: 31+6=37, Resulting Numbers: [46, 37] Generated Node #0,3,0: 48:[46, 37] Operation: 31+6=37 Exploring Operation: 6+46=52, Resulting Numbers: [31, 52] Generated Node #0,3,1: 48:[31, 52] Operation: 6+46=52 Exploring Operation: 31-6=25, Resulting Numbers: [46, 25] Generated Node #0,3,2: 48:[46, 25] Operation: 31-6=25 Exploring Operation: 46-31=15, Resulting Numbers: [6, 15] Generated Node #0,3,3: 48:[6, 15] Operation: 46-31=15 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[6, 15], Operations: ['71-25=46', '46-31=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[46, 25], Operations: ['71-25=46', '31-6=25'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[31, 52], Operations: ['71-25=46', '6+46=52'] Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,48 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[46, 37], Operations: ['71-25=46', '31+6=37'] Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,48 unequal: No Solution Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 48:[71, 6, 6], Operations: ['31-25=6'] Exploring Operation: 6/6=1, Resulting Numbers: [71, 1] Generated Node #0,2,0: 48:[71, 1] Operation: 6/6=1 Exploring Operation: 71-6=65, Resulting Numbers: [6, 65] Generated Node #0,2,1: 48:[6, 65] Operation: 71-6=65 Exploring Operation: 6+6=12, Resulting Numbers: [71, 12] Generated Node #0,2,2: 48:[71, 12] Operation: 6+6=12 Exploring Operation: 71-6=65, Resulting Numbers: [6, 65] Generated Node #0,2,3: 48:[6, 65] Operation: 71-6=65 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[6, 65], Operations: ['31-25=6', '71-6=65'] Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[6, 65], Operations: ['31-25=6', '71-6=65'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[71, 12], Operations: ['31-25=6', '6+6=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,48 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[71, 1], Operations: ['31-25=6', '6/6=1'] Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,48 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: 48:[71, 25, 25], Operations: ['31-6=25'] Exploring Operation: 71-25=46, Resulting Numbers: [25, 46] Generated Node #0,0,0: 48:[25, 46] Operation: 71-25=46 Exploring Operation: 25+25=50, Resulting Numbers: [71, 50] Generated Node #0,0,1: 48:[71, 50] Operation: 25+25=50 Exploring Operation: 25/25=1, Resulting Numbers: [71, 1] Generated Node #0,0,2: 48:[71, 1] Operation: 25/25=1 Exploring Operation: 71-25=46, Resulting Numbers: [25, 46] Generated Node #0,0,3: 48:[25, 46] Operation: 71-25=46 Moving to Node #0,1,2 Current State: 48:[6, 15], Operations: ['71-31=40', '40-25=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[25, 46], Operations: ['31-6=25', '71-25=46'] Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,48 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[25, 46], Operations: ['71-31=40', '6+40=46'] Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,48 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[25, 46], Operations: ['31-6=25', '71-25=46'] Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,48 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[25, 34], Operations: ['71-31=40', '40-6=34'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[40, 19], Operations: ['71-31=40', '25-6=19'] Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,48 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[71, 1], Operations: ['31-6=25', '25/25=1'] Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[71, 50], Operations: ['31-6=25', '25+25=50'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 71+50=121, Resulting Numbers: [121] 121,48 unequal: No Solution Exploring Operation: 71*50=3550, Resulting Numbers: [3550] 3550,48 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 28, 21, 20, 92 ]
25
[ "20+92=112", "112/28=4", "21+4=25" ]
Current State: 25:[28, 21, 20, 92], Operations: [] Exploring Operation: 20+92=112, Resulting Numbers: [28, 21, 112] Generated Node #2: [28, 21, 112] from Operation: 20+92=112 Current State: 25:[28, 21, 112], Operations: ['20+92=112'] Exploring Operation: 112/28=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 112/28=4 Current State: 25:[21, 4], Operations: ['20+92=112', '112/28=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[28, 21, 20, 92], Operations: [] Exploring Operation: 92-28=64, Resulting Numbers: [21, 20, 64] Generated Node #0,0: 25:[21, 20, 64] Operation: 92-28=64 Exploring Operation: 92-21=71, Resulting Numbers: [28, 20, 71] Generated Node #0,1: 25:[28, 20, 71] Operation: 92-21=71 Exploring Operation: 92-20=72, Resulting Numbers: [28, 21, 72] Generated Node #0,2: 25:[28, 21, 72] Operation: 92-20=72 Moving to Node #0,0 Current State: 25:[21, 20, 64], Operations: ['92-28=64'] Exploring Operation: 21-20=1, Resulting Numbers: [64, 1] Generated Node #0,0,0: 25:[64, 1] Operation: 21-20=1 Exploring Operation: 64-21=43, Resulting Numbers: [20, 43] Generated Node #0,0,1: 25:[20, 43] Operation: 64-21=43 Exploring Operation: 64-20=44, Resulting Numbers: [21, 44] Generated Node #0,0,2: 25:[21, 44] Operation: 64-20=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[20, 43], Operations: ['92-28=64', '64-21=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,25 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[21, 44], Operations: ['92-28=64', '64-20=44'] Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[64, 1], Operations: ['92-28=64', '21-20=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,25 unequal: No Solution Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,25 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: 25:[28, 20, 71], Operations: ['92-21=71'] Exploring Operation: 71-20=51, Resulting Numbers: [28, 51] Generated Node #0,1,0: 25:[28, 51] Operation: 71-20=51 Exploring Operation: 71-28=43, Resulting Numbers: [20, 43] Generated Node #0,1,1: 25:[20, 43] Operation: 71-28=43 Exploring Operation: 28-20=8, Resulting Numbers: [71, 8] Generated Node #0,1,2: 25:[71, 8] Operation: 28-20=8 Moving to Node #0,2 Current State: 25:[28, 21, 72], Operations: ['92-20=72'] Exploring Operation: 72-28=44, Resulting Numbers: [21, 44] Generated Node #0,2,0: 25:[21, 44] Operation: 72-28=44 Exploring Operation: 72-21=51, Resulting Numbers: [28, 51] Generated Node #0,2,1: 25:[28, 51] Operation: 72-21=51 Exploring Operation: 28-21=7, Resulting Numbers: [72, 7] Generated Node #0,2,2: 25:[72, 7] Operation: 28-21=7 Moving to Node #0,1,1 Current State: 25:[20, 43], Operations: ['92-21=71', '71-28=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,25 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[21, 44], Operations: ['92-20=72', '72-28=44'] Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,25 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[28, 51], Operations: ['92-20=72', '72-21=51'] Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[28, 51], Operations: ['92-21=71', '71-20=51'] Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,25 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[72, 7], Operations: ['92-20=72', '28-21=7'] Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,25 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[71, 8], Operations: ['92-21=71', '28-20=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,25 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,25 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 24, 22, 32 ]
50
[ "24/6=4", "22+32=54", "54-4=50" ]
Current State: 50:[6, 24, 22, 32], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [22, 32, 4] Generated Node #2: [22, 32, 4] from Operation: 24/6=4 Current State: 50:[22, 32, 4], Operations: ['24/6=4'] Exploring Operation: 22+32=54, Resulting Numbers: [4, 54] Generated Node #3: [4, 54] from Operation: 22+32=54 Current State: 50:[4, 54], Operations: ['24/6=4', '22+32=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[6, 24, 22, 32], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [6, 22, 8] Generated Node #0,0: 50:[6, 22, 8] Operation: 32-24=8 Exploring Operation: 32-22=10, Resulting Numbers: [6, 24, 10] Generated Node #0,1: 50:[6, 24, 10] Operation: 32-22=10 Exploring Operation: 32-6=26, Resulting Numbers: [24, 22, 26] Generated Node #0,2: 50:[24, 22, 26] Operation: 32-6=26 Moving to Node #0,1 Current State: 50:[6, 24, 10], Operations: ['32-22=10'] Exploring Operation: 24/6=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 50:[10, 4] Operation: 24/6=4 Exploring Operation: 10-6=4, Resulting Numbers: [24, 4] Generated Node #0,1,1: 50:[24, 4] Operation: 10-6=4 Exploring Operation: 6+24=30, Resulting Numbers: [10, 30] Generated Node #0,1,2: 50:[10, 30] Operation: 6+24=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[10, 4], Operations: ['32-22=10', '24/6=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[24, 4], Operations: ['32-22=10', '10-6=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[10, 30], Operations: ['32-22=10', '6+24=30'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,50 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: 50:[24, 22, 26], Operations: ['32-6=26'] Exploring Operation: 24-22=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 50:[26, 2] Operation: 24-22=2 Exploring Operation: 26-22=4, Resulting Numbers: [24, 4] Generated Node #0,2,1: 50:[24, 4] Operation: 26-22=4 Exploring Operation: 24+26=50, Resulting Numbers: [22, 50] Generated Node #0,2,2: 50:[22, 50] Operation: 24+26=50 Moving to Node #0,0 Current State: 50:[6, 22, 8], Operations: ['32-24=8'] Exploring Operation: 8-6=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 50:[22, 2] Operation: 8-6=2 Exploring Operation: 6*8=48, Resulting Numbers: [22, 48] Generated Node #0,0,1: 50:[22, 48] Operation: 6*8=48 Exploring Operation: 6+22=28, Resulting Numbers: [8, 28] Generated Node #0,0,2: 50:[8, 28] Operation: 6+22=28 Moving to Node #0,2,0 Current State: 50:[26, 2], Operations: ['32-6=26', '24-22=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,50 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[24, 4], Operations: ['32-6=26', '26-22=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[22, 50], Operations: ['32-6=26', '24+26=50'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,50 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[22, 2], Operations: ['32-24=8', '8-6=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[8, 28], Operations: ['32-24=8', '6+22=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,50 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[22, 48], Operations: ['32-24=8', '6*8=48'] Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 22*48=1056, Resulting Numbers: [1056] 1056,50 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 80, 2, 88, 8 ]
18
[ "80-2=78", "88+8=96", "96-78=18" ]
Current State: 18:[80, 2, 88, 8], Operations: [] Exploring Operation: 80-2=78, Resulting Numbers: [88, 8, 78] Generated Node #2: [88, 8, 78] from Operation: 80-2=78 Current State: 18:[88, 8, 78], Operations: ['80-2=78'] Exploring Operation: 88+8=96, Resulting Numbers: [78, 96] Generated Node #3: [78, 96] from Operation: 88+8=96 Current State: 18:[78, 96], Operations: ['80-2=78', '88+8=96'] Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[80, 2, 88, 8], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [2, 8, 8] Generated Node #0,0: 18:[2, 8, 8] Operation: 88-80=8 Exploring Operation: 80/8=10, Resulting Numbers: [2, 88, 10] Generated Node #0,1: 18:[2, 88, 10] Operation: 80/8=10 Exploring Operation: 88/8=11, Resulting Numbers: [80, 2, 11] Generated Node #0,2: 18:[80, 2, 11] Operation: 88/8=11 Moving to Node #0,0 Current State: 18:[2, 8, 8], Operations: ['88-80=8'] Exploring Operation: 8/8=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 18:[2, 1] Operation: 8/8=1 Exploring Operation: 8-2=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 18:[8, 6] Operation: 8-2=6 Exploring Operation: 8-2=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 18:[8, 6] Operation: 8-2=6 Moving to Node #0,2 Current State: 18:[80, 2, 11], Operations: ['88/8=11'] Exploring Operation: 80/2=40, Resulting Numbers: [11, 40] Generated Node #0,2,0: 18:[11, 40] Operation: 80/2=40 Exploring Operation: 80-11=69, Resulting Numbers: [2, 69] Generated Node #0,2,1: 18:[2, 69] Operation: 80-11=69 Exploring Operation: 80-2=78, Resulting Numbers: [11, 78] Generated Node #0,2,2: 18:[11, 78] Operation: 80-2=78 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[11, 40], Operations: ['88/8=11', '80/2=40'] Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,18 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,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,1 Current State: 18:[2, 69], Operations: ['88/8=11', '80-11=69'] Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,18 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,18 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,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:[11, 78], Operations: ['88/8=11', '80-2=78'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,18 unequal: No Solution Exploring Operation: 11*78=858, Resulting Numbers: [858] 858,18 unequal: No Solution Exploring Operation: 11+78=89, Resulting Numbers: [89] 89,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:[2, 88, 10], Operations: ['80/8=10'] Exploring Operation: 88-2=86, Resulting Numbers: [10, 86] Generated Node #0,1,0: 18:[10, 86] Operation: 88-2=86 Exploring Operation: 88-10=78, Resulting Numbers: [2, 78] Generated Node #0,1,1: 18:[2, 78] Operation: 88-10=78 Exploring Operation: 88/2=44, Resulting Numbers: [10, 44] Generated Node #0,1,2: 18:[10, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[10, 44], Operations: ['80/8=10', '88/2=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,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,1,1 Current State: 18:[2, 78], Operations: ['80/8=10', '88-10=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,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,1,0 Current State: 18:[10, 86], Operations: ['80/8=10', '88-2=86'] Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 10*86=860, Resulting Numbers: [860] 860,18 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: 18:[2, 1], Operations: ['88-80=8', '8/8=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[8, 6], Operations: ['88-80=8', '8-2=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[8, 6], Operations: ['88-80=8', '8-2=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 16, 36, 51, 2 ]
14
[ "51-36=15", "2*15=30", "30-16=14" ]
Current State: 14:[16, 36, 51, 2], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [16, 2, 15] Generated Node #2: [16, 2, 15] from Operation: 51-36=15 Current State: 14:[16, 2, 15], Operations: ['51-36=15'] Exploring Operation: 2*15=30, Resulting Numbers: [16, 30] Generated Node #3: [16, 30] from Operation: 2*15=30 Current State: 14:[16, 30], Operations: ['51-36=15', '2*15=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[16, 36, 51, 2], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [16, 2, 15] Generated Node #0,0: 14:[16, 2, 15] Operation: 51-36=15 Exploring Operation: 36-16=20, Resulting Numbers: [51, 2, 20] Generated Node #0,1: 14:[51, 2, 20] Operation: 36-16=20 Exploring Operation: 51-16=35, Resulting Numbers: [36, 2, 35] Generated Node #0,2: 14:[36, 2, 35] Operation: 51-16=35 Exploring Operation: 16-2=14, Resulting Numbers: [36, 51, 14] Generated Node #0,3: 14:[36, 51, 14] Operation: 16-2=14 Exploring Operation: 36/2=18, Resulting Numbers: [16, 51, 18] Generated Node #0,4: 14:[16, 51, 18] Operation: 36/2=18 Moving to Node #0,0 Current State: 14:[16, 2, 15], Operations: ['51-36=15'] Exploring Operation: 16-2=14, Resulting Numbers: [15, 14] Generated Node #0,0,0: 14:[15, 14] Operation: 16-2=14 Exploring Operation: 15-2=13, Resulting Numbers: [16, 13] Generated Node #0,0,1: 14:[16, 13] Operation: 15-2=13 Exploring Operation: 16+2=18, Resulting Numbers: [15, 18] Generated Node #0,0,2: 14:[15, 18] Operation: 16+2=18 Exploring Operation: 16-15=1, Resulting Numbers: [2, 1] Generated Node #0,0,3: 14:[2, 1] Operation: 16-15=1 Exploring Operation: 16/2=8, Resulting Numbers: [15, 8] Generated Node #0,0,4: 14:[15, 8] Operation: 16/2=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[15, 14], Operations: ['51-36=15', '16-2=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 14:[2, 1], Operations: ['51-36=15', '16-15=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 2*1=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,0,4 Current State: 14:[15, 8], Operations: ['51-36=15', '16/2=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[16, 13], Operations: ['51-36=15', '15-2=13'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[15, 18], Operations: ['51-36=15', '16+2=18'] Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,14 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,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:[36, 2, 35], Operations: ['51-16=35'] Exploring Operation: 35-2=33, Resulting Numbers: [36, 33] Generated Node #0,2,0: 14:[36, 33] Operation: 35-2=33 Exploring Operation: 36-2=34, Resulting Numbers: [35, 34] Generated Node #0,2,1: 14:[35, 34] Operation: 36-2=34 Exploring Operation: 36/2=18, Resulting Numbers: [35, 18] Generated Node #0,2,2: 14:[35, 18] Operation: 36/2=18 Exploring Operation: 36+2=38, Resulting Numbers: [35, 38] Generated Node #0,2,3: 14:[35, 38] Operation: 36+2=38 Exploring Operation: 36-35=1, Resulting Numbers: [2, 1] Generated Node #0,2,4: 14:[2, 1] Operation: 36-35=1 Moving to Node #0,1 Current State: 14:[51, 2, 20], Operations: ['36-16=20'] Exploring Operation: 20-2=18, Resulting Numbers: [51, 18] Generated Node #0,1,0: 14:[51, 18] Operation: 20-2=18 Exploring Operation: 51-20=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 14:[2, 31] Operation: 51-20=31 Exploring Operation: 51+2=53, Resulting Numbers: [20, 53] Generated Node #0,1,2: 14:[20, 53] Operation: 51+2=53 Exploring Operation: 51-2=49, Resulting Numbers: [20, 49] Generated Node #0,1,3: 14:[20, 49] Operation: 51-2=49 Exploring Operation: 20/2=10, Resulting Numbers: [51, 10] Generated Node #0,1,4: 14:[51, 10] Operation: 20/2=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[2, 31], Operations: ['36-16=20', '51-20=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,14 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 14:[51, 10], Operations: ['36-16=20', '20/2=10'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 51*10=510, Resulting Numbers: [510] 510,14 unequal: No Solution Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[51, 18], Operations: ['36-16=20', '20-2=18'] Exploring Operation: 51*18=918, Resulting Numbers: [918] 918,14 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 51+18=69, Resulting Numbers: [69] 69,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 14:[20, 49], Operations: ['36-16=20', '51-2=49'] Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[20, 53], Operations: ['36-16=20', '51+2=53'] Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,14 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,14 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: 14:[16, 51, 18], Operations: ['36/2=18'] Exploring Operation: 51-18=33, Resulting Numbers: [16, 33] Generated Node #0,4,0: 14:[16, 33] Operation: 51-18=33 Exploring Operation: 16+18=34, Resulting Numbers: [51, 34] Generated Node #0,4,1: 14:[51, 34] Operation: 16+18=34 Exploring Operation: 51-16=35, Resulting Numbers: [18, 35] Generated Node #0,4,2: 14:[18, 35] Operation: 51-16=35 Exploring Operation: 18-16=2, Resulting Numbers: [51, 2] Generated Node #0,4,3: 14:[51, 2] Operation: 18-16=2 Exploring Operation: 16+51=67, Resulting Numbers: [18, 67] Generated Node #0,4,4: 14:[18, 67] Operation: 16+51=67 Moving to Node #0,3 Current State: 14:[36, 51, 14], Operations: ['16-2=14'] Exploring Operation: 36-14=22, Resulting Numbers: [51, 22] Generated Node #0,3,0: 14:[51, 22] Operation: 36-14=22 Exploring Operation: 36+51=87, Resulting Numbers: [14, 87] Generated Node #0,3,1: 14:[14, 87] Operation: 36+51=87 Exploring Operation: 36+14=50, Resulting Numbers: [51, 50] Generated Node #0,3,2: 14:[51, 50] Operation: 36+14=50 Exploring Operation: 51-36=15, Resulting Numbers: [14, 15] Generated Node #0,3,3: 14:[14, 15] Operation: 51-36=15 Exploring Operation: 51-14=37, Resulting Numbers: [36, 37] Generated Node #0,3,4: 14:[36, 37] Operation: 51-14=37 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[14, 15], Operations: ['16-2=14', '51-36=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,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:[51, 22], Operations: ['16-2=14', '36-14=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,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,4 Current State: 14:[36, 37], Operations: ['16-2=14', '51-14=37'] Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,14 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,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:[14, 87], Operations: ['16-2=14', '36+51=87'] Exploring Operation: 14*87=1218, Resulting Numbers: [1218] 1218,14 unequal: No Solution Exploring Operation: 14+87=101, Resulting Numbers: [101] 101,14 unequal: No Solution Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,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:[51, 50], Operations: ['16-2=14', '36+14=50'] Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,14 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,14 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 14:[2, 1], Operations: ['51-16=35', '36-35=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,14 unequal: No Solution Moving to Node #0,4,0 Current State: 14:[16, 33], Operations: ['36/2=18', '51-18=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,14 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,14 unequal: No Solution Moving to Node #0,4,2 Current State: 14:[18, 35], Operations: ['36/2=18', '51-16=35'] Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,14 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[35, 18], Operations: ['51-16=35', '36/2=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,14 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,14 unequal: No Solution Moving to Node #0,4,3 Current State: 14:[51, 2], Operations: ['36/2=18', '18-16=2'] Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,14 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[36, 33], Operations: ['51-16=35', '35-2=33'] Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,14 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[35, 34], Operations: ['51-16=35', '36-2=34'] Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,14 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,14 unequal: No Solution Moving to Node #0,2,3 Current State: 14:[35, 38], Operations: ['51-16=35', '36+2=38'] Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,14 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,14 unequal: No Solution Moving to Node #0,4,4 Current State: 14:[18, 67], Operations: ['36/2=18', '16+51=67'] Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 18*67=1206, Resulting Numbers: [1206] 1206,14 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,14 unequal: No Solution Moving to Node #0,4,1 Current State: 14:[51, 34], Operations: ['36/2=18', '16+18=34'] Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,14 unequal: No Solution Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,14 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 93, 83, 55, 25 ]
22
[ "93-83=10", "55*10=550", "550/25=22" ]
Current State: 22:[93, 83, 55, 25], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [55, 25, 10] Generated Node #2: [55, 25, 10] from Operation: 93-83=10 Current State: 22:[55, 25, 10], Operations: ['93-83=10'] Exploring Operation: 55*10=550, Resulting Numbers: [25, 550] Generated Node #3: [25, 550] from Operation: 55*10=550 Current State: 22:[25, 550], Operations: ['93-83=10', '55*10=550'] Exploring Operation: 550/25=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[93, 83, 55, 25], Operations: [] Exploring Operation: 93-55=38, Resulting Numbers: [83, 25, 38] Generated Node #0,0: 22:[83, 25, 38] Operation: 93-55=38 Exploring Operation: 93-83=10, Resulting Numbers: [55, 25, 10] Generated Node #0,1: 22:[55, 25, 10] Operation: 93-83=10 Exploring Operation: 83-55=28, Resulting Numbers: [93, 25, 28] Generated Node #0,2: 22:[93, 25, 28] Operation: 83-55=28 Moving to Node #0,1 Current State: 22:[55, 25, 10], Operations: ['93-83=10'] Exploring Operation: 25-10=15, Resulting Numbers: [55, 15] Generated Node #0,1,0: 22:[55, 15] Operation: 25-10=15 Exploring Operation: 55-10=45, Resulting Numbers: [25, 45] Generated Node #0,1,1: 22:[25, 45] Operation: 55-10=45 Exploring Operation: 55-25=30, Resulting Numbers: [10, 30] Generated Node #0,1,2: 22:[10, 30] Operation: 55-25=30 Moving to Node #0,0 Current State: 22:[83, 25, 38], Operations: ['93-55=38'] Exploring Operation: 83-25=58, Resulting Numbers: [38, 58] Generated Node #0,0,0: 22:[38, 58] Operation: 83-25=58 Exploring Operation: 83-38=45, Resulting Numbers: [25, 45] Generated Node #0,0,1: 22:[25, 45] Operation: 83-38=45 Exploring Operation: 38-25=13, Resulting Numbers: [83, 13] Generated Node #0,0,2: 22:[83, 13] Operation: 38-25=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[25, 45], Operations: ['93-55=38', '83-38=45'] Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,22 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,22 unequal: No Solution No 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: 22:[38, 58], Operations: ['93-55=38', '83-25=58'] Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,22 unequal: No Solution Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,22 unequal: No Solution No 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: 22:[83, 13], Operations: ['93-55=38', '38-25=13'] Exploring Operation: 83*13=1079, Resulting Numbers: [1079] 1079,22 unequal: No Solution Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,22 unequal: No Solution Exploring Operation: 83+13=96, Resulting Numbers: [96] 96,22 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: 22:[93, 25, 28], Operations: ['83-55=28'] Exploring Operation: 93-25=68, Resulting Numbers: [28, 68] Generated Node #0,2,0: 22:[28, 68] Operation: 93-25=68 Exploring Operation: 28-25=3, Resulting Numbers: [93, 3] Generated Node #0,2,1: 22:[93, 3] Operation: 28-25=3 Exploring Operation: 93-28=65, Resulting Numbers: [25, 65] Generated Node #0,2,2: 22:[25, 65] Operation: 93-28=65 Moving to Node #0,1,2 Current State: 22:[10, 30], Operations: ['93-83=10', '55-25=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[25, 45], Operations: ['93-83=10', '55-10=45'] Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,22 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[55, 15], Operations: ['93-83=10', '25-10=15'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,22 unequal: No Solution Exploring Operation: 55*15=825, Resulting Numbers: [825] 825,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[25, 65], Operations: ['83-55=28', '93-28=65'] Exploring Operation: 25+65=90, Resulting Numbers: [90] 90,22 unequal: No Solution Exploring Operation: 25*65=1625, Resulting Numbers: [1625] 1625,22 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[28, 68], Operations: ['83-55=28', '93-25=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[93, 3], Operations: ['83-55=28', '28-25=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,22 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 39, 18, 72, 79 ]
10
[ "79-39=40", "72/18=4", "40/4=10" ]
Current State: 10:[39, 18, 72, 79], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [18, 72, 40] Generated Node #2: [18, 72, 40] from Operation: 79-39=40 Current State: 10:[18, 72, 40], Operations: ['79-39=40'] Exploring Operation: 72/18=4, Resulting Numbers: [40, 4] Generated Node #3: [40, 4] from Operation: 72/18=4 Current State: 10:[40, 4], Operations: ['79-39=40', '72/18=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[39, 18, 72, 79], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [39, 79, 4] Generated Node #0,0: 10:[39, 79, 4] Operation: 72/18=4 Exploring Operation: 79-72=7, Resulting Numbers: [39, 18, 7] Generated Node #0,1: 10:[39, 18, 7] Operation: 79-72=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[39, 18, 7], Operations: ['79-72=7'] Exploring Operation: 39-7=32, Resulting Numbers: [18, 32] Generated Node #0,1,0: 10:[18, 32] Operation: 39-7=32 Exploring Operation: 39-18=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 10:[7, 21] Operation: 39-18=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[7, 21], Operations: ['79-72=7', '39-18=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[18, 32], Operations: ['79-72=7', '39-7=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[39, 79, 4], Operations: ['72/18=4'] Exploring Operation: 39-4=35, Resulting Numbers: [79, 35] Generated Node #0,0,0: 10:[79, 35] Operation: 39-4=35 Exploring Operation: 79-39=40, Resulting Numbers: [4, 40] Generated Node #0,0,1: 10:[4, 40] Operation: 79-39=40 Moving to Node #0,0,1 Current State: 10:[4, 40], Operations: ['72/18=4', '79-39=40'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[39, 18, 72, 79], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [39, 79, 4] Generated Node #0,0: 10:[39, 79, 4] Operation: 72/18=4 Moving to Node #0,0 Current State: 10:[39, 79, 4], Operations: ['72/18=4'] Exploring Operation: 79-39=40, Resulting Numbers: [4, 40] Generated Node #0,0,1: 10:[4, 40] Operation: 79-39=40 Moving to Node #0,0,1 Current State: 10:[4, 40], Operations: ['72/18=4', '79-39=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 12, 22, 4, 58 ]
77
[ "12/4=3", "22+58=80", "80-3=77" ]
Current State: 77:[12, 22, 4, 58], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [22, 58, 3] Generated Node #2: [22, 58, 3] from Operation: 12/4=3 Current State: 77:[22, 58, 3], Operations: ['12/4=3'] Exploring Operation: 22+58=80, Resulting Numbers: [3, 80] Generated Node #3: [3, 80] from Operation: 22+58=80 Current State: 77:[3, 80], Operations: ['12/4=3', '22+58=80'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[12, 22, 4, 58], Operations: [] Exploring Operation: 22+58=80, Resulting Numbers: [12, 4, 80] Generated Node #0,0: 77:[12, 4, 80] Operation: 22+58=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[12, 4, 80], Operations: ['22+58=80'] Exploring Operation: 80-4=76, Resulting Numbers: [12, 76] Generated Node #0,0,0: 77:[12, 76] Operation: 80-4=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[12, 76], Operations: ['22+58=80', '80-4=76'] Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,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 No solution found.
0
hs_1
mult_heuristic
[ 1, 79, 84, 29 ]
34
[ "1*79=79", "84+29=113", "113-79=34" ]
Current State: 34:[1, 79, 84, 29], Operations: [] Exploring Operation: 1*79=79, Resulting Numbers: [84, 29, 79] Generated Node #2: [84, 29, 79] from Operation: 1*79=79 Current State: 34:[84, 29, 79], Operations: ['1*79=79'] Exploring Operation: 84+29=113, Resulting Numbers: [79, 113] Generated Node #3: [79, 113] from Operation: 84+29=113 Current State: 34:[79, 113], Operations: ['1*79=79', '84+29=113'] Exploring Operation: 113-79=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[1, 79, 84, 29], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [1, 84, 50] Generated Node #0,0: 34:[1, 84, 50] Operation: 79-29=50 Exploring Operation: 84-29=55, Resulting Numbers: [1, 79, 55] Generated Node #0,1: 34:[1, 79, 55] Operation: 84-29=55 Exploring Operation: 84-79=5, Resulting Numbers: [1, 29, 5] Generated Node #0,2: 34:[1, 29, 5] Operation: 84-79=5 Exploring Operation: 79-1=78, Resulting Numbers: [84, 29, 78] Generated Node #0,3: 34:[84, 29, 78] Operation: 79-1=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[1, 29, 5], Operations: ['84-79=5'] Exploring Operation: 5-1=4, Resulting Numbers: [29, 4] Generated Node #0,2,0: 34:[29, 4] Operation: 5-1=4 Exploring Operation: 1+29=30, Resulting Numbers: [5, 30] Generated Node #0,2,1: 34:[5, 30] Operation: 1+29=30 Exploring Operation: 1*29=29, Resulting Numbers: [5, 29] Generated Node #0,2,2: 34:[5, 29] Operation: 1*29=29 Exploring Operation: 29+5=34, Resulting Numbers: [1, 34] Generated Node #0,2,3: 34:[1, 34] Operation: 29+5=34 Moving to Node #0,2,3 Current State: 34:[1, 34], Operations: ['84-79=5', '29+5=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[1, 79, 84, 29], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [1, 29, 5] Generated Node #0,2: 34:[1, 29, 5] Operation: 84-79=5 Moving to Node #0,2 Current State: 34:[1, 29, 5], Operations: ['84-79=5'] Exploring Operation: 29+5=34, Resulting Numbers: [1, 34] Generated Node #0,2,3: 34:[1, 34] Operation: 29+5=34 Moving to Node #0,2,3 Current State: 34:[1, 34], Operations: ['84-79=5', '29+5=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 34, 26, 8, 52 ]
84
[ "34+8=42", "52/26=2", "42*2=84" ]
Current State: 84:[34, 26, 8, 52], Operations: [] Exploring Operation: 34+8=42, Resulting Numbers: [26, 52, 42] Generated Node #2: [26, 52, 42] from Operation: 34+8=42 Current State: 84:[26, 52, 42], Operations: ['34+8=42'] Exploring Operation: 52/26=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 52/26=2 Current State: 84:[42, 2], Operations: ['34+8=42', '52/26=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[34, 26, 8, 52], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [34, 8, 2] Generated Node #0,0: 84:[34, 8, 2] Operation: 52/26=2 Exploring Operation: 52-34=18, Resulting Numbers: [26, 8, 18] Generated Node #0,1: 84:[26, 8, 18] Operation: 52-34=18 Exploring Operation: 34+52=86, Resulting Numbers: [26, 8, 86] Generated Node #0,2: 84:[26, 8, 86] Operation: 34+52=86 Exploring Operation: 52-26=26, Resulting Numbers: [34, 8, 26] Generated Node #0,3: 84:[34, 8, 26] Operation: 52-26=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[26, 8, 86], Operations: ['34+52=86'] Exploring Operation: 26+8=34, Resulting Numbers: [86, 34] Generated Node #0,2,0: 84:[86, 34] Operation: 26+8=34 Exploring Operation: 8+86=94, Resulting Numbers: [26, 94] Generated Node #0,2,1: 84:[26, 94] Operation: 8+86=94 Exploring Operation: 86-8=78, Resulting Numbers: [26, 78] Generated Node #0,2,2: 84:[26, 78] Operation: 86-8=78 Exploring Operation: 26-8=18, Resulting Numbers: [86, 18] Generated Node #0,2,3: 84:[86, 18] Operation: 26-8=18 Moving to Node #0,2,3 Current State: 84:[86, 18], Operations: ['34+52=86', '26-8=18'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,84 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[26, 78], Operations: ['34+52=86', '86-8=78'] Exploring Operation: 26*78=2028, Resulting Numbers: [2028] 2028,84 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 26+78=104, Resulting Numbers: [104] 104,84 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[86, 34], Operations: ['34+52=86', '26+8=34'] Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,84 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[26, 94], Operations: ['34+52=86', '8+86=94'] Exploring Operation: 26+94=120, Resulting Numbers: [120] 120,84 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 26*94=2444, Resulting Numbers: [2444] 2444,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[26, 8, 18], Operations: ['52-34=18'] Exploring Operation: 18-8=10, Resulting Numbers: [26, 10] Generated Node #0,1,0: 84:[26, 10] Operation: 18-8=10 Exploring Operation: 26-18=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 84:[8, 8] Operation: 26-18=8 Exploring Operation: 8+18=26, Resulting Numbers: [26, 26] Generated Node #0,1,2: 84:[26, 26] Operation: 8+18=26 Exploring Operation: 26+18=44, Resulting Numbers: [8, 44] Generated Node #0,1,3: 84:[8, 44] Operation: 26+18=44 Moving to Node #0,1,1 Current State: 84:[8, 8], Operations: ['52-34=18', '26-18=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[8, 44], Operations: ['52-34=18', '26+18=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,84 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[26, 26], Operations: ['52-34=18', '8+18=26'] Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,84 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[26, 10], Operations: ['52-34=18', '18-8=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[34, 8, 2], Operations: ['52/26=2'] Exploring Operation: 34/2=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 84:[8, 17] Operation: 34/2=17 Exploring Operation: 34+8=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 84:[2, 42] Operation: 34+8=42 Exploring Operation: 34-8=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 84:[2, 26] Operation: 34-8=26 Exploring Operation: 34-2=32, Resulting Numbers: [8, 32] Generated Node #0,0,3: 84:[8, 32] Operation: 34-2=32 Moving to Node #0,0,1 Current State: 84:[2, 42], Operations: ['52/26=2', '34+8=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[34, 26, 8, 52], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [34, 8, 2] Generated Node #0,0: 84:[34, 8, 2] Operation: 52/26=2 Moving to Node #0,0 Current State: 84:[34, 8, 2], Operations: ['52/26=2'] Exploring Operation: 34+8=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 84:[2, 42] Operation: 34+8=42 Moving to Node #0,0,1 Current State: 84:[2, 42], Operations: ['52/26=2', '34+8=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_4
mult_heuristic
[ 76, 96, 84, 64 ]
24
[ "76+96=172", "84+64=148", "172-148=24" ]
Current State: 24:[76, 96, 84, 64], Operations: [] Exploring Operation: 76+96=172, Resulting Numbers: [84, 64, 172] Generated Node #2: [84, 64, 172] from Operation: 76+96=172 Current State: 24:[84, 64, 172], Operations: ['76+96=172'] Exploring Operation: 84+64=148, Resulting Numbers: [172, 148] Generated Node #3: [172, 148] from Operation: 84+64=148 Current State: 24:[172, 148], Operations: ['76+96=172', '84+64=148'] Exploring Operation: 172-148=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[76, 96, 84, 64], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [84, 64, 20] Generated Node #0,0: 24:[84, 64, 20] Operation: 96-76=20 Exploring Operation: 84-76=8, Resulting Numbers: [96, 64, 8] Generated Node #0,1: 24:[96, 64, 8] Operation: 84-76=8 Exploring Operation: 96-84=12, Resulting Numbers: [76, 64, 12] Generated Node #0,2: 24:[76, 64, 12] Operation: 96-84=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[76, 64, 12], Operations: ['96-84=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64, 64] Generated Node #0,2,0: 24:[64, 64] Operation: 76-12=64 Exploring Operation: 76-64=12, Resulting Numbers: [12, 12] Generated Node #0,2,1: 24:[12, 12] Operation: 76-64=12 Exploring Operation: 64-12=52, Resulting Numbers: [76, 52] Generated Node #0,2,2: 24:[76, 52] Operation: 64-12=52 Moving to Node #0,2,1 Current State: 24:[12, 12], Operations: ['96-84=12', '76-64=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[76, 96, 84, 64], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [76, 64, 12] Generated Node #0,2: 24:[76, 64, 12] Operation: 96-84=12 Moving to Node #0,2 Current State: 24:[76, 64, 12], Operations: ['96-84=12'] Exploring Operation: 76-64=12, Resulting Numbers: [12, 12] Generated Node #0,2,1: 24:[12, 12] Operation: 76-64=12 Moving to Node #0,2,1 Current State: 24:[12, 12], Operations: ['96-84=12', '76-64=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 47, 77, 56, 82 ]
14
[ "47+77=124", "56+82=138", "138-124=14" ]
Current State: 14:[47, 77, 56, 82], Operations: [] Exploring Operation: 47+77=124, Resulting Numbers: [56, 82, 124] Generated Node #2: [56, 82, 124] from Operation: 47+77=124 Current State: 14:[56, 82, 124], Operations: ['47+77=124'] Exploring Operation: 56+82=138, Resulting Numbers: [124, 138] Generated Node #3: [124, 138] from Operation: 56+82=138 Current State: 14:[124, 138], Operations: ['47+77=124', '56+82=138'] Exploring Operation: 138-124=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[47, 77, 56, 82], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [47, 82, 21] Generated Node #0,0: 14:[47, 82, 21] Operation: 77-56=21 Exploring Operation: 82-77=5, Resulting Numbers: [47, 56, 5] Generated Node #0,1: 14:[47, 56, 5] Operation: 82-77=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[47, 56, 5], Operations: ['82-77=5'] Exploring Operation: 56-47=9, Resulting Numbers: [5, 9] Generated Node #0,1,0: 14:[5, 9] Operation: 56-47=9 Exploring Operation: 47-5=42, Resulting Numbers: [56, 42] Generated Node #0,1,1: 14:[56, 42] Operation: 47-5=42 Moving to Node #0,1,0 Current State: 14:[5, 9], Operations: ['82-77=5', '56-47=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[47, 77, 56, 82], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [47, 56, 5] Generated Node #0,1: 14:[47, 56, 5] Operation: 82-77=5 Moving to Node #0,1 Current State: 14:[47, 56, 5], Operations: ['82-77=5'] Exploring Operation: 56-47=9, Resulting Numbers: [5, 9] Generated Node #0,1,0: 14:[5, 9] Operation: 56-47=9 Moving to Node #0,1,0 Current State: 14:[5, 9], Operations: ['82-77=5', '56-47=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 9, 22, 75, 33 ]
36
[ "75-9=66", "66/22=3", "33+3=36" ]
Current State: 36:[9, 22, 75, 33], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [22, 33, 66] Generated Node #2: [22, 33, 66] from Operation: 75-9=66 Current State: 36:[22, 33, 66], Operations: ['75-9=66'] Exploring Operation: 66/22=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 66/22=3 Current State: 36:[33, 3], Operations: ['75-9=66', '66/22=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[9, 22, 75, 33], Operations: [] Exploring Operation: 75-33=42, Resulting Numbers: [9, 22, 42] Generated Node #0,0: 36:[9, 22, 42] Operation: 75-33=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[9, 22, 42], Operations: ['75-33=42'] Exploring Operation: 42-22=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 36:[9, 20] Operation: 42-22=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[9, 20], Operations: ['75-33=42', '42-22=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 55, 60, 40, 25 ]
21
[ "55-40=15", "60/15=4", "25-4=21" ]
Current State: 21:[55, 60, 40, 25], Operations: [] Exploring Operation: 55-40=15, Resulting Numbers: [60, 25, 15] Generated Node #2: [60, 25, 15] from Operation: 55-40=15 Current State: 21:[60, 25, 15], Operations: ['55-40=15'] Exploring Operation: 60/15=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 60/15=4 Current State: 21:[25, 4], Operations: ['55-40=15', '60/15=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[55, 60, 40, 25], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [40, 25, 5] Generated Node #0,0: 21:[40, 25, 5] Operation: 60-55=5 Moving to Node #0,0 Current State: 21:[40, 25, 5], Operations: ['60-55=5'] Exploring Operation: 40/5=8, Resulting Numbers: [25, 8] Generated Node #0,0,0: 21:[25, 8] Operation: 40/5=8 Moving to Node #0,0,0 Current State: 21:[25, 8], Operations: ['60-55=5', '40/5=8'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,21 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 77, 63, 56, 37 ]
79
[ "77-63=14", "56+37=93", "93-14=79" ]
Current State: 79:[77, 63, 56, 37], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [56, 37, 14] Generated Node #2: [56, 37, 14] from Operation: 77-63=14 Current State: 79:[56, 37, 14], Operations: ['77-63=14'] Exploring Operation: 56+37=93, Resulting Numbers: [14, 93] Generated Node #3: [14, 93] from Operation: 56+37=93 Current State: 79:[14, 93], Operations: ['77-63=14', '56+37=93'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[77, 63, 56, 37], Operations: [] Exploring Operation: 77+37=114, Resulting Numbers: [63, 56, 114] Generated Node #0,0: 79:[63, 56, 114] Operation: 77+37=114 Exploring Operation: 56+37=93, Resulting Numbers: [77, 63, 93] Generated Node #0,1: 79:[77, 63, 93] Operation: 56+37=93 Exploring Operation: 63+37=100, Resulting Numbers: [77, 56, 100] Generated Node #0,2: 79:[77, 56, 100] Operation: 63+37=100 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[77, 63, 93], Operations: ['56+37=93'] Exploring Operation: 77-63=14, Resulting Numbers: [93, 14] Generated Node #0,1,0: 79:[93, 14] Operation: 77-63=14 Exploring Operation: 77+63=140, Resulting Numbers: [93, 140] Generated Node #0,1,1: 79:[93, 140] Operation: 77+63=140 Exploring Operation: 93-63=30, Resulting Numbers: [77, 30] Generated Node #0,1,2: 79:[77, 30] Operation: 93-63=30 Moving to Node #0,1,2 Current State: 79:[77, 30], Operations: ['56+37=93', '93-63=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,79 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[93, 140], Operations: ['56+37=93', '77+63=140'] Exploring Operation: 93*140=13020, Resulting Numbers: [13020] 13020,79 unequal: No Solution Exploring Operation: 93+140=233, Resulting Numbers: [233] 233,79 unequal: No Solution Exploring Operation: 140-93=47, Resulting Numbers: [47] 47,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[93, 14], Operations: ['56+37=93', '77-63=14'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[77, 63, 56, 37], Operations: [] Exploring Operation: 56+37=93, Resulting Numbers: [77, 63, 93] Generated Node #0,1: 79:[77, 63, 93] Operation: 56+37=93 Moving to Node #0,1 Current State: 79:[77, 63, 93], Operations: ['56+37=93'] Exploring Operation: 77-63=14, Resulting Numbers: [93, 14] Generated Node #0,1,0: 79:[93, 14] Operation: 77-63=14 Moving to Node #0,1,0 Current State: 79:[93, 14], Operations: ['56+37=93', '77-63=14'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 86, 75, 20, 56 ]
86
[ "75-20=55", "56-55=1", "86*1=86" ]
Current State: 86:[86, 75, 20, 56], Operations: [] Exploring Operation: 75-20=55, Resulting Numbers: [86, 56, 55] Generated Node #2: [86, 56, 55] from Operation: 75-20=55 Current State: 86:[86, 56, 55], Operations: ['75-20=55'] Exploring Operation: 56-55=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 56-55=1 Current State: 86:[86, 1], Operations: ['75-20=55', '56-55=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[86, 75, 20, 56], Operations: [] Exploring Operation: 20+56=76, Resulting Numbers: [86, 75, 76] Generated Node #0,0: 86:[86, 75, 76] Operation: 20+56=76 Exploring Operation: 56-20=36, Resulting Numbers: [86, 75, 36] Generated Node #0,1: 86:[86, 75, 36] Operation: 56-20=36 Exploring Operation: 75+20=95, Resulting Numbers: [86, 56, 95] Generated Node #0,2: 86:[86, 56, 95] Operation: 75+20=95 Exploring Operation: 75-20=55, Resulting Numbers: [86, 56, 55] Generated Node #0,3: 86:[86, 56, 55] Operation: 75-20=55 Moving to Node #0,1 Current State: 86:[86, 75, 36], Operations: ['56-20=36'] Exploring Operation: 86-75=11, Resulting Numbers: [36, 11] Generated Node #0,1,0: 86:[36, 11] Operation: 86-75=11 Exploring Operation: 75-36=39, Resulting Numbers: [86, 39] Generated Node #0,1,1: 86:[86, 39] Operation: 75-36=39 Exploring Operation: 86-36=50, Resulting Numbers: [75, 50] Generated Node #0,1,2: 86:[75, 50] Operation: 86-36=50 Exploring Operation: 75+36=111, Resulting Numbers: [86, 111] Generated Node #0,1,3: 86:[86, 111] Operation: 75+36=111 Moving to Node #0,0 Current State: 86:[86, 75, 76], Operations: ['20+56=76'] Exploring Operation: 75+76=151, Resulting Numbers: [86, 151] Generated Node #0,0,0: 86:[86, 151] Operation: 75+76=151 Exploring Operation: 76-75=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 86:[86, 1] Operation: 76-75=1 Exploring Operation: 86-75=11, Resulting Numbers: [76, 11] Generated Node #0,0,2: 86:[76, 11] Operation: 86-75=11 Exploring Operation: 86-76=10, Resulting Numbers: [75, 10] Generated Node #0,0,3: 86:[75, 10] Operation: 86-76=10 Moving to Node #0,2 Current State: 86:[86, 56, 95], Operations: ['75+20=95'] Exploring Operation: 95-86=9, Resulting Numbers: [56, 9] Generated Node #0,2,0: 86:[56, 9] Operation: 95-86=9 Exploring Operation: 86+56=142, Resulting Numbers: [95, 142] Generated Node #0,2,1: 86:[95, 142] Operation: 86+56=142 Exploring Operation: 86-56=30, Resulting Numbers: [95, 30] Generated Node #0,2,2: 86:[95, 30] Operation: 86-56=30 Exploring Operation: 95-56=39, Resulting Numbers: [86, 39] Generated Node #0,2,3: 86:[86, 39] Operation: 95-56=39 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[86, 39], Operations: ['75+20=95', '95-56=39'] Exploring Operation: 86*39=3354, Resulting Numbers: [3354] 3354,86 unequal: No Solution Exploring Operation: 86+39=125, Resulting Numbers: [125] 125,86 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[56, 9], Operations: ['75+20=95', '95-86=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,86 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[95, 30], Operations: ['75+20=95', '86-56=30'] Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,86 unequal: No Solution Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,86 unequal: No Solution Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[95, 142], Operations: ['75+20=95', '86+56=142'] Exploring Operation: 95*142=13490, Resulting Numbers: [13490] 13490,86 unequal: No Solution Exploring Operation: 142-95=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 95+142=237, Resulting Numbers: [237] 237,86 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: 86:[86, 56, 55], Operations: ['75-20=55'] Exploring Operation: 86-56=30, Resulting Numbers: [55, 30] Generated Node #0,3,0: 86:[55, 30] Operation: 86-56=30 Exploring Operation: 56+55=111, Resulting Numbers: [86, 111] Generated Node #0,3,1: 86:[86, 111] Operation: 56+55=111 Exploring Operation: 56-55=1, Resulting Numbers: [86, 1] Generated Node #0,3,2: 86:[86, 1] Operation: 56-55=1 Exploring Operation: 86-55=31, Resulting Numbers: [56, 31] Generated Node #0,3,3: 86:[56, 31] Operation: 86-55=31 Moving to Node #0,0,1 Current State: 86:[86, 1], Operations: ['20+56=76', '76-75=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[86, 75, 20, 56], Operations: [] Exploring Operation: 20+56=76, Resulting Numbers: [86, 75, 76] Generated Node #0,0: 86:[86, 75, 76] Operation: 20+56=76 Moving to Node #0,0 Current State: 86:[86, 75, 76], Operations: ['20+56=76'] Exploring Operation: 76-75=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 86:[86, 1] Operation: 76-75=1 Moving to Node #0,0,1 Current State: 86:[86, 1], Operations: ['20+56=76', '76-75=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 90, 53, 13, 5 ]
19
[ "90-53=37", "13+5=18", "37-18=19" ]
Current State: 19:[90, 53, 13, 5], Operations: [] Exploring Operation: 90-53=37, Resulting Numbers: [13, 5, 37] Generated Node #2: [13, 5, 37] from Operation: 90-53=37 Current State: 19:[13, 5, 37], Operations: ['90-53=37'] Exploring Operation: 13+5=18, Resulting Numbers: [37, 18] Generated Node #3: [37, 18] from Operation: 13+5=18 Current State: 19:[37, 18], Operations: ['90-53=37', '13+5=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[90, 53, 13, 5], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [53, 5, 77] Generated Node #0,0: 19:[53, 5, 77] Operation: 90-13=77 Exploring Operation: 90/5=18, Resulting Numbers: [53, 13, 18] Generated Node #0,1: 19:[53, 13, 18] Operation: 90/5=18 Exploring Operation: 90-53=37, Resulting Numbers: [13, 5, 37] Generated Node #0,2: 19:[13, 5, 37] Operation: 90-53=37 Exploring Operation: 53-13=40, Resulting Numbers: [90, 5, 40] Generated Node #0,3: 19:[90, 5, 40] Operation: 53-13=40 Exploring Operation: 90-5=85, Resulting Numbers: [53, 13, 85] Generated Node #0,4: 19:[53, 13, 85] Operation: 90-5=85 Moving to Node #0,2 Current State: 19:[13, 5, 37], Operations: ['90-53=37'] Exploring Operation: 5+37=42, Resulting Numbers: [13, 42] Generated Node #0,2,0: 19:[13, 42] Operation: 5+37=42 Exploring Operation: 13-5=8, Resulting Numbers: [37, 8] Generated Node #0,2,1: 19:[37, 8] Operation: 13-5=8 Exploring Operation: 37-13=24, Resulting Numbers: [5, 24] Generated Node #0,2,2: 19:[5, 24] Operation: 37-13=24 Exploring Operation: 37-5=32, Resulting Numbers: [13, 32] Generated Node #0,2,3: 19:[13, 32] Operation: 37-5=32 Exploring Operation: 13+5=18, Resulting Numbers: [37, 18] Generated Node #0,2,4: 19:[37, 18] Operation: 13+5=18 Moving to Node #0,1 Current State: 19:[53, 13, 18], Operations: ['90/5=18'] Exploring Operation: 18-13=5, Resulting Numbers: [53, 5] Generated Node #0,1,0: 19:[53, 5] Operation: 18-13=5 Exploring Operation: 53+13=66, Resulting Numbers: [18, 66] Generated Node #0,1,1: 19:[18, 66] Operation: 53+13=66 Exploring Operation: 13+18=31, Resulting Numbers: [53, 31] Generated Node #0,1,2: 19:[53, 31] Operation: 13+18=31 Exploring Operation: 53-13=40, Resulting Numbers: [18, 40] Generated Node #0,1,3: 19:[18, 40] Operation: 53-13=40 Exploring Operation: 53-18=35, Resulting Numbers: [13, 35] Generated Node #0,1,4: 19:[13, 35] Operation: 53-18=35 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[18, 40], Operations: ['90/5=18', '53-13=40'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,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,4 Current State: 19:[13, 35], Operations: ['90/5=18', '53-18=35'] Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 13*35=455, Resulting Numbers: [455] 455,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,2 Current State: 19:[53, 31], Operations: ['90/5=18', '13+18=31'] Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,19 unequal: No Solution Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,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,0 Current State: 19:[53, 5], Operations: ['90/5=18', '18-13=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,19 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,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,1 Current State: 19:[18, 66], Operations: ['90/5=18', '53+13=66'] Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,19 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,19 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: 19:[53, 5, 77], Operations: ['90-13=77'] Exploring Operation: 53+5=58, Resulting Numbers: [77, 58] Generated Node #0,0,0: 19:[77, 58] Operation: 53+5=58 Exploring Operation: 53-5=48, Resulting Numbers: [77, 48] Generated Node #0,0,1: 19:[77, 48] Operation: 53-5=48 Exploring Operation: 77-53=24, Resulting Numbers: [5, 24] Generated Node #0,0,2: 19:[5, 24] Operation: 77-53=24 Exploring Operation: 77-5=72, Resulting Numbers: [53, 72] Generated Node #0,0,3: 19:[53, 72] Operation: 77-5=72 Exploring Operation: 5+77=82, Resulting Numbers: [53, 82] Generated Node #0,0,4: 19:[53, 82] Operation: 5+77=82 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[5, 24], Operations: ['90-13=77', '77-53=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[90, 53, 13, 5], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [53, 5, 77] Generated Node #0,0: 19:[53, 5, 77] Operation: 90-13=77 Moving to Node #0,0 Current State: 19:[53, 5, 77], Operations: ['90-13=77'] Exploring Operation: 77-53=24, Resulting Numbers: [5, 24] Generated Node #0,0,2: 19:[5, 24] Operation: 77-53=24 Moving to Node #0,0,2 Current State: 19:[5, 24], Operations: ['90-13=77', '77-53=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 76, 25, 41, 35 ]
49
[ "76-41=35", "35*35=1225", "1225/25=49" ]
Current State: 49:[76, 25, 41, 35], Operations: [] Exploring Operation: 76-41=35, Resulting Numbers: [25, 35, 35] Generated Node #2: [25, 35, 35] from Operation: 76-41=35 Current State: 49:[25, 35, 35], Operations: ['76-41=35'] Exploring Operation: 35*35=1225, Resulting Numbers: [25, 1225] Generated Node #3: [25, 1225] from Operation: 35*35=1225 Current State: 49:[25, 1225], Operations: ['76-41=35', '35*35=1225'] Exploring Operation: 1225/25=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[76, 25, 41, 35], Operations: [] Exploring Operation: 76-35=41, Resulting Numbers: [25, 41, 41] Generated Node #0,0: 49:[25, 41, 41] Operation: 76-35=41 Exploring Operation: 76-25=51, Resulting Numbers: [41, 35, 51] Generated Node #0,1: 49:[41, 35, 51] Operation: 76-25=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[41, 35, 51], Operations: ['76-25=51'] Exploring Operation: 51-41=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 49:[35, 10] Operation: 51-41=10 Exploring Operation: 41-35=6, Resulting Numbers: [51, 6] Generated Node #0,1,1: 49:[51, 6] Operation: 41-35=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[51, 6], Operations: ['76-25=51', '41-35=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,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,1,0 Current State: 49:[35, 10], Operations: ['76-25=51', '51-41=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[25, 41, 41], Operations: ['76-35=41'] Exploring Operation: 41-25=16, Resulting Numbers: [41, 16] Generated Node #0,0,0: 49:[41, 16] Operation: 41-25=16 Exploring Operation: 41-25=16, Resulting Numbers: [41, 16] Generated Node #0,0,1: 49:[41, 16] Operation: 41-25=16 Moving to Node #0,0,0 Current State: 49:[41, 16], Operations: ['76-35=41', '41-25=16'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[41, 16], Operations: ['76-35=41', '41-25=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 97, 70, 41, 95 ]
58
[ "97-95=2", "70-41=29", "2*29=58" ]
Current State: 58:[97, 70, 41, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [70, 41, 2] Generated Node #2: [70, 41, 2] from Operation: 97-95=2 Current State: 58:[70, 41, 2], Operations: ['97-95=2'] Exploring Operation: 70-41=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 70-41=29 Current State: 58:[2, 29], Operations: ['97-95=2', '70-41=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[97, 70, 41, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [70, 41, 2] Generated Node #0,0: 58:[70, 41, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 58:[70, 41, 2], Operations: ['97-95=2'] Exploring Operation: 70-41=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 58:[2, 29] Operation: 70-41=29 Moving to Node #0,0,0 Current State: 58:[2, 29], Operations: ['97-95=2', '70-41=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[97, 70, 41, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [70, 41, 2] Generated Node #0,0: 58:[70, 41, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 58:[70, 41, 2], Operations: ['97-95=2'] Exploring Operation: 70-41=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 58:[2, 29] Operation: 70-41=29 Moving to Node #0,0,0 Current State: 58:[2, 29], Operations: ['97-95=2', '70-41=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 89, 61, 58, 97 ]
62
[ "89+97=186", "61-58=3", "186/3=62" ]
Current State: 62:[89, 61, 58, 97], Operations: [] Exploring Operation: 89+97=186, Resulting Numbers: [61, 58, 186] Generated Node #2: [61, 58, 186] from Operation: 89+97=186 Current State: 62:[61, 58, 186], Operations: ['89+97=186'] Exploring Operation: 61-58=3, Resulting Numbers: [186, 3] Generated Node #3: [186, 3] from Operation: 61-58=3 Current State: 62:[186, 3], Operations: ['89+97=186', '61-58=3'] Exploring Operation: 186/3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[89, 61, 58, 97], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [61, 58, 8] Generated Node #0,0: 62:[61, 58, 8] Operation: 97-89=8 Exploring Operation: 97-58=39, Resulting Numbers: [89, 61, 39] Generated Node #0,1: 62:[89, 61, 39] Operation: 97-58=39 Exploring Operation: 89-58=31, Resulting Numbers: [61, 97, 31] Generated Node #0,2: 62:[61, 97, 31] Operation: 89-58=31 Exploring Operation: 97-61=36, Resulting Numbers: [89, 58, 36] Generated Node #0,3: 62:[89, 58, 36] Operation: 97-61=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[61, 58, 8], Operations: ['97-89=8'] Exploring Operation: 61+8=69, Resulting Numbers: [58, 69] Generated Node #0,0,0: 62:[58, 69] Operation: 61+8=69 Exploring Operation: 61-8=53, Resulting Numbers: [58, 53] Generated Node #0,0,1: 62:[58, 53] Operation: 61-8=53 Exploring Operation: 61-58=3, Resulting Numbers: [8, 3] Generated Node #0,0,2: 62:[8, 3] Operation: 61-58=3 Exploring Operation: 58+8=66, Resulting Numbers: [61, 66] Generated Node #0,0,3: 62:[61, 66] Operation: 58+8=66 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[61, 66], Operations: ['97-89=8', '58+8=66'] Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,62 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 61*66=4026, Resulting Numbers: [4026] 4026,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[8, 3], Operations: ['97-89=8', '61-58=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[58, 69], Operations: ['97-89=8', '61+8=69'] Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 58*69=4002, Resulting Numbers: [4002] 4002,62 unequal: No Solution Exploring Operation: 58+69=127, Resulting Numbers: [127] 127,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[58, 53], Operations: ['97-89=8', '61-8=53'] Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[89, 61, 39], Operations: ['97-58=39'] Exploring Operation: 61-39=22, Resulting Numbers: [89, 22] Generated Node #0,1,0: 62:[89, 22] Operation: 61-39=22 Exploring Operation: 89-61=28, Resulting Numbers: [39, 28] Generated Node #0,1,1: 62:[39, 28] Operation: 89-61=28 Exploring Operation: 89-39=50, Resulting Numbers: [61, 50] Generated Node #0,1,2: 62:[61, 50] Operation: 89-39=50 Exploring Operation: 61+39=100, Resulting Numbers: [89, 100] Generated Node #0,1,3: 62:[89, 100] Operation: 61+39=100 Moving to Node #0,1,1 Current State: 62:[39, 28], Operations: ['97-58=39', '89-61=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,62 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[61, 50], Operations: ['97-58=39', '89-39=50'] Exploring Operation: 61*50=3050, Resulting Numbers: [3050] 3050,62 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 61+50=111, Resulting Numbers: [111] 111,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[89, 22], Operations: ['97-58=39', '61-39=22'] Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,62 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[89, 100], Operations: ['97-58=39', '61+39=100'] Exploring Operation: 89+100=189, Resulting Numbers: [189] 189,62 unequal: No Solution Exploring Operation: 89*100=8900, Resulting Numbers: [8900] 8900,62 unequal: No Solution Exploring Operation: 100-89=11, Resulting Numbers: [11] 11,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[61, 97, 31], Operations: ['89-58=31'] Exploring Operation: 97-31=66, Resulting Numbers: [61, 66] Generated Node #0,2,0: 62:[61, 66] Operation: 97-31=66 Exploring Operation: 61+31=92, Resulting Numbers: [97, 92] Generated Node #0,2,1: 62:[97, 92] Operation: 61+31=92 Exploring Operation: 97-61=36, Resulting Numbers: [31, 36] Generated Node #0,2,2: 62:[31, 36] Operation: 97-61=36 Exploring Operation: 61-31=30, Resulting Numbers: [97, 30] Generated Node #0,2,3: 62:[97, 30] Operation: 61-31=30 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[61, 66], Operations: ['89-58=31', '97-31=66'] Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 61*66=4026, Resulting Numbers: [4026] 4026,62 unequal: No Solution Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[31, 36], Operations: ['89-58=31', '97-61=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[97, 30], Operations: ['89-58=31', '61-31=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,62 unequal: No Solution Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,62 unequal: No Solution No 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: 62:[97, 92], Operations: ['89-58=31', '61+31=92'] Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,62 unequal: No Solution Exploring Operation: 97*92=8924, Resulting Numbers: [8924] 8924,62 unequal: No Solution Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[89, 58, 36], Operations: ['97-61=36'] Exploring Operation: 89-36=53, Resulting Numbers: [58, 53] Generated Node #0,3,0: 62:[58, 53] Operation: 89-36=53 Exploring Operation: 89-58=31, Resulting Numbers: [36, 31] Generated Node #0,3,1: 62:[36, 31] Operation: 89-58=31 Exploring Operation: 58+36=94, Resulting Numbers: [89, 94] Generated Node #0,3,2: 62:[89, 94] Operation: 58+36=94 Exploring Operation: 58-36=22, Resulting Numbers: [89, 22] Generated Node #0,3,3: 62:[89, 22] Operation: 58-36=22 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[36, 31], Operations: ['97-61=36', '89-58=31'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,62 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[58, 53], Operations: ['97-61=36', '89-36=53'] Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[89, 22], Operations: ['97-61=36', '58-36=22'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,62 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[89, 94], Operations: ['97-61=36', '58+36=94'] Exploring Operation: 89*94=8366, Resulting Numbers: [8366] 8366,62 unequal: No Solution Exploring Operation: 89+94=183, Resulting Numbers: [183] 183,62 unequal: No Solution Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 71, 80, 51, 76 ]
67
[ "76-71=5", "80/5=16", "51+16=67" ]
Current State: 67:[71, 80, 51, 76], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [80, 51, 5] Generated Node #2: [80, 51, 5] from Operation: 76-71=5 Current State: 67:[80, 51, 5], Operations: ['76-71=5'] Exploring Operation: 80/5=16, Resulting Numbers: [51, 16] Generated Node #3: [51, 16] from Operation: 80/5=16 Current State: 67:[51, 16], Operations: ['76-71=5', '80/5=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[71, 80, 51, 76], Operations: [] Exploring Operation: 76-51=25, Resulting Numbers: [71, 80, 25] Generated Node #0,0: 67:[71, 80, 25] Operation: 76-51=25 Exploring Operation: 71-51=20, Resulting Numbers: [80, 76, 20] Generated Node #0,1: 67:[80, 76, 20] Operation: 71-51=20 Exploring Operation: 80-51=29, Resulting Numbers: [71, 76, 29] Generated Node #0,2: 67:[71, 76, 29] Operation: 80-51=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[71, 76, 29], Operations: ['80-51=29'] Exploring Operation: 71+29=100, Resulting Numbers: [76, 100] Generated Node #0,2,0: 67:[76, 100] Operation: 71+29=100 Exploring Operation: 71-29=42, Resulting Numbers: [76, 42] Generated Node #0,2,1: 67:[76, 42] Operation: 71-29=42 Exploring Operation: 76-29=47, Resulting Numbers: [71, 47] Generated Node #0,2,2: 67:[71, 47] Operation: 76-29=47 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[71, 47], Operations: ['80-51=29', '76-29=47'] Exploring Operation: 71+47=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 71*47=3337, Resulting Numbers: [3337] 3337,67 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,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,2,1 Current State: 67:[76, 42], Operations: ['80-51=29', '71-29=42'] Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,67 unequal: No Solution Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,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,2,0 Current State: 67:[76, 100], Operations: ['80-51=29', '71+29=100'] Exploring Operation: 100-76=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 76+100=176, Resulting Numbers: [176] 176,67 unequal: No Solution Exploring Operation: 76*100=7600, Resulting Numbers: [7600] 7600,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[71, 80, 25], Operations: ['76-51=25'] Exploring Operation: 71+25=96, Resulting Numbers: [80, 96] Generated Node #0,0,0: 67:[80, 96] Operation: 71+25=96 Exploring Operation: 80-25=55, Resulting Numbers: [71, 55] Generated Node #0,0,1: 67:[71, 55] Operation: 80-25=55 Exploring Operation: 71-25=46, Resulting Numbers: [80, 46] Generated Node #0,0,2: 67:[80, 46] Operation: 71-25=46 Moving to Node #0,0,1 Current State: 67:[71, 55], Operations: ['76-51=25', '80-25=55'] Exploring Operation: 71*55=3905, Resulting Numbers: [3905] 3905,67 unequal: No Solution Exploring Operation: 71+55=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 71-55=16, Resulting Numbers: [16] 16,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[80, 46], Operations: ['76-51=25', '71-25=46'] Exploring Operation: 80+46=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 80*46=3680, Resulting Numbers: [3680] 3680,67 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[80, 96], Operations: ['76-51=25', '71+25=96'] Exploring Operation: 80*96=7680, Resulting Numbers: [7680] 7680,67 unequal: No Solution Exploring Operation: 80+96=176, Resulting Numbers: [176] 176,67 unequal: No Solution Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[80, 76, 20], Operations: ['71-51=20'] Exploring Operation: 76-20=56, Resulting Numbers: [80, 56] Generated Node #0,1,0: 67:[80, 56] Operation: 76-20=56 Exploring Operation: 80+20=100, Resulting Numbers: [76, 100] Generated Node #0,1,1: 67:[76, 100] Operation: 80+20=100 Exploring Operation: 80-20=60, Resulting Numbers: [76, 60] Generated Node #0,1,2: 67:[76, 60] Operation: 80-20=60 Moving to Node #0,1,2 Current State: 67:[76, 60], Operations: ['71-51=20', '80-20=60'] Exploring Operation: 76+60=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 76*60=4560, Resulting Numbers: [4560] 4560,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[80, 56], Operations: ['71-51=20', '76-20=56'] Exploring Operation: 80+56=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 80*56=4480, Resulting Numbers: [4480] 4480,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[76, 100], Operations: ['71-51=20', '80+20=100'] Exploring Operation: 76+100=176, Resulting Numbers: [176] 176,67 unequal: No Solution Exploring Operation: 100-76=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 76*100=7600, Resulting Numbers: [7600] 7600,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 28, 84, 36, 97 ]
77
[ "84-28=56", "36+97=133", "133-56=77" ]
Current State: 77:[28, 84, 36, 97], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [36, 97, 56] Generated Node #2: [36, 97, 56] from Operation: 84-28=56 Current State: 77:[36, 97, 56], Operations: ['84-28=56'] Exploring Operation: 36+97=133, Resulting Numbers: [56, 133] Generated Node #3: [56, 133] from Operation: 36+97=133 Current State: 77:[56, 133], Operations: ['84-28=56', '36+97=133'] Exploring Operation: 133-56=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[28, 84, 36, 97], Operations: [] Exploring Operation: 36-28=8, Resulting Numbers: [84, 97, 8] Generated Node #0,0: 77:[84, 97, 8] Operation: 36-28=8 Exploring Operation: 97-28=69, Resulting Numbers: [84, 36, 69] Generated Node #0,1: 77:[84, 36, 69] Operation: 97-28=69 Exploring Operation: 28+36=64, Resulting Numbers: [84, 97, 64] Generated Node #0,2: 77:[84, 97, 64] Operation: 28+36=64 Moving to Node #0,0 Current State: 77:[84, 97, 8], Operations: ['36-28=8'] Exploring Operation: 84-8=76, Resulting Numbers: [97, 76] Generated Node #0,0,0: 77:[97, 76] Operation: 84-8=76 Exploring Operation: 97-84=13, Resulting Numbers: [8, 13] Generated Node #0,0,1: 77:[8, 13] Operation: 97-84=13 Exploring Operation: 97-8=89, Resulting Numbers: [84, 89] Generated Node #0,0,2: 77:[84, 89] Operation: 97-8=89 Moving to Node #0,1 Current State: 77:[84, 36, 69], Operations: ['97-28=69'] Exploring Operation: 36+69=105, Resulting Numbers: [84, 105] Generated Node #0,1,0: 77:[84, 105] Operation: 36+69=105 Exploring Operation: 69-36=33, Resulting Numbers: [84, 33] Generated Node #0,1,1: 77:[84, 33] Operation: 69-36=33 Exploring Operation: 84-69=15, Resulting Numbers: [36, 15] Generated Node #0,1,2: 77:[36, 15] Operation: 84-69=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[84, 33], Operations: ['97-28=69', '69-36=33'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 84*33=2772, Resulting Numbers: [2772] 2772,77 unequal: No Solution Exploring Operation: 84+33=117, Resulting Numbers: [117] 117,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[36, 15], Operations: ['97-28=69', '84-69=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,77 unequal: No Solution Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[84, 105], Operations: ['97-28=69', '36+69=105'] Exploring Operation: 84*105=8820, Resulting Numbers: [8820] 8820,77 unequal: No Solution Exploring Operation: 84+105=189, Resulting Numbers: [189] 189,77 unequal: No Solution Exploring Operation: 105-84=21, Resulting Numbers: [21] 21,77 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: 77:[84, 97, 64], Operations: ['28+36=64'] Exploring Operation: 97-84=13, Resulting Numbers: [64, 13] Generated Node #0,2,0: 77:[64, 13] Operation: 97-84=13 Exploring Operation: 84-64=20, Resulting Numbers: [97, 20] Generated Node #0,2,1: 77:[97, 20] Operation: 84-64=20 Exploring Operation: 97-64=33, Resulting Numbers: [84, 33] Generated Node #0,2,2: 77:[84, 33] Operation: 97-64=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[64, 13], Operations: ['28+36=64', '97-84=13'] Exploring Operation: 64*13=832, Resulting Numbers: [832] 832,77 unequal: No Solution Exploring Operation: 64+13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[28, 84, 36, 97], Operations: [] Exploring Operation: 28+36=64, Resulting Numbers: [84, 97, 64] Generated Node #0,2: 77:[84, 97, 64] Operation: 28+36=64 Moving to Node #0,2 Current State: 77:[84, 97, 64], Operations: ['28+36=64'] Exploring Operation: 97-84=13, Resulting Numbers: [64, 13] Generated Node #0,2,0: 77:[64, 13] Operation: 97-84=13 Moving to Node #0,2,0 Current State: 77:[64, 13], Operations: ['28+36=64', '97-84=13'] Exploring Operation: 64+13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 83, 80, 72, 88 ]
78
[ "88-72=16", "80/16=5", "83-5=78" ]
Current State: 78:[83, 80, 72, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [83, 80, 16] Generated Node #2: [83, 80, 16] from Operation: 88-72=16 Current State: 78:[83, 80, 16], Operations: ['88-72=16'] Exploring Operation: 80/16=5, Resulting Numbers: [83, 5] Generated Node #3: [83, 5] from Operation: 80/16=5 Current State: 78:[83, 5], Operations: ['88-72=16', '80/16=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[83, 80, 72, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [83, 80, 16] Generated Node #0,0: 78:[83, 80, 16] Operation: 88-72=16 Exploring Operation: 88-83=5, Resulting Numbers: [80, 72, 5] Generated Node #0,1: 78:[80, 72, 5] Operation: 88-83=5 Exploring Operation: 88-80=8, Resulting Numbers: [83, 72, 8] Generated Node #0,2: 78:[83, 72, 8] Operation: 88-80=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[80, 72, 5], Operations: ['88-83=5'] Exploring Operation: 80-5=75, Resulting Numbers: [72, 75] Generated Node #0,1,0: 78:[72, 75] Operation: 80-5=75 Exploring Operation: 72+5=77, Resulting Numbers: [80, 77] Generated Node #0,1,1: 78:[80, 77] Operation: 72+5=77 Exploring Operation: 80-72=8, Resulting Numbers: [5, 8] Generated Node #0,1,2: 78:[5, 8] Operation: 80-72=8 Moving to Node #0,1,1 Current State: 78:[80, 77], Operations: ['88-83=5', '72+5=77'] Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,78 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[5, 8], Operations: ['88-83=5', '80-72=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[72, 75], Operations: ['88-83=5', '80-5=75'] Exploring Operation: 72+75=147, Resulting Numbers: [147] 147,78 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 72*75=5400, Resulting Numbers: [5400] 5400,78 unequal: No Solution No 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: 78:[83, 80, 16], Operations: ['88-72=16'] Exploring Operation: 80/16=5, Resulting Numbers: [83, 5] Generated Node #0,0,0: 78:[83, 5] Operation: 80/16=5 Exploring Operation: 83-80=3, Resulting Numbers: [16, 3] Generated Node #0,0,1: 78:[16, 3] Operation: 83-80=3 Exploring Operation: 83-16=67, Resulting Numbers: [80, 67] Generated Node #0,0,2: 78:[80, 67] Operation: 83-16=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[16, 3], Operations: ['88-72=16', '83-80=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[83, 5], Operations: ['88-72=16', '80/16=5'] Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,78 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,78 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[83, 80, 72, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [83, 80, 16] Generated Node #0,0: 78:[83, 80, 16] Operation: 88-72=16 Moving to Node #0,0 Current State: 78:[83, 80, 16], Operations: ['88-72=16'] Exploring Operation: 80/16=5, Resulting Numbers: [83, 5] Generated Node #0,0,0: 78:[83, 5] Operation: 80/16=5 Moving to Node #0,0,0 Current State: 78:[83, 5], Operations: ['88-72=16', '80/16=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 77, 28, 20, 11 ]
96
[ "77+28=105", "20-11=9", "105-9=96" ]
Current State: 96:[77, 28, 20, 11], Operations: [] Exploring Operation: 77+28=105, Resulting Numbers: [20, 11, 105] Generated Node #2: [20, 11, 105] from Operation: 77+28=105 Current State: 96:[20, 11, 105], Operations: ['77+28=105'] Exploring Operation: 20-11=9, Resulting Numbers: [105, 9] Generated Node #3: [105, 9] from Operation: 20-11=9 Current State: 96:[105, 9], Operations: ['77+28=105', '20-11=9'] Exploring Operation: 105-9=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[77, 28, 20, 11], Operations: [] Exploring Operation: 77+20=97, Resulting Numbers: [28, 11, 97] Generated Node #0,0: 96:[28, 11, 97] Operation: 77+20=97 Exploring Operation: 77/11=7, Resulting Numbers: [28, 20, 7] Generated Node #0,1: 96:[28, 20, 7] Operation: 77/11=7 Exploring Operation: 77-28=49, Resulting Numbers: [20, 11, 49] Generated Node #0,2: 96:[20, 11, 49] Operation: 77-28=49 Moving to Node #0,0 Current State: 96:[28, 11, 97], Operations: ['77+20=97'] Exploring Operation: 97-11=86, Resulting Numbers: [28, 86] Generated Node #0,0,0: 96:[28, 86] Operation: 97-11=86 Exploring Operation: 28+11=39, Resulting Numbers: [97, 39] Generated Node #0,0,1: 96:[97, 39] Operation: 28+11=39 Exploring Operation: 28-11=17, Resulting Numbers: [97, 17] Generated Node #0,0,2: 96:[97, 17] Operation: 28-11=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[97, 17], Operations: ['77+20=97', '28-11=17'] Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,96 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,96 unequal: No Solution Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[97, 39], Operations: ['77+20=97', '28+11=39'] Exploring Operation: 97*39=3783, Resulting Numbers: [3783] 3783,96 unequal: No Solution Exploring Operation: 97-39=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 97+39=136, Resulting Numbers: [136] 136,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[28, 86], Operations: ['77+20=97', '97-11=86'] Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 28*86=2408, Resulting Numbers: [2408] 2408,96 unequal: No Solution Exploring Operation: 28+86=114, Resulting Numbers: [114] 114,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 96:[20, 11, 49], Operations: ['77-28=49'] Exploring Operation: 20+11=31, Resulting Numbers: [49, 31] Generated Node #0,2,0: 96:[49, 31] Operation: 20+11=31 Exploring Operation: 49-20=29, Resulting Numbers: [11, 29] Generated Node #0,2,1: 96:[11, 29] Operation: 49-20=29 Exploring Operation: 20-11=9, Resulting Numbers: [49, 9] Generated Node #0,2,2: 96:[49, 9] Operation: 20-11=9 Moving to Node #0,1 Current State: 96:[28, 20, 7], Operations: ['77/11=7'] Exploring Operation: 28-20=8, Resulting Numbers: [7, 8] Generated Node #0,1,0: 96:[7, 8] Operation: 28-20=8 Exploring Operation: 28/7=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 96:[20, 4] Operation: 28/7=4 Exploring Operation: 28+20=48, Resulting Numbers: [7, 48] Generated Node #0,1,2: 96:[7, 48] Operation: 28+20=48 Moving to Node #0,1,0 Current State: 96:[7, 8], Operations: ['77/11=7', '28-20=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[7, 48], Operations: ['77/11=7', '28+20=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,96 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[49, 31], Operations: ['77-28=49', '20+11=31'] Exploring Operation: 49+31=80, Resulting Numbers: [80] 80,96 unequal: No Solution Exploring Operation: 49*31=1519, Resulting Numbers: [1519] 1519,96 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[49, 9], Operations: ['77-28=49', '20-11=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[20, 4], Operations: ['77/11=7', '28/7=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[11, 29], Operations: ['77-28=49', '49-20=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,96 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 60, 3, 24 ]
54
[ "15+60=75", "24-3=21", "75-21=54" ]
Current State: 54:[15, 60, 3, 24], Operations: [] Exploring Operation: 15+60=75, Resulting Numbers: [3, 24, 75] Generated Node #2: [3, 24, 75] from Operation: 15+60=75 Current State: 54:[3, 24, 75], Operations: ['15+60=75'] Exploring Operation: 24-3=21, Resulting Numbers: [75, 21] Generated Node #3: [75, 21] from Operation: 24-3=21 Current State: 54:[75, 21], Operations: ['15+60=75', '24-3=21'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[15, 60, 3, 24], Operations: [] Exploring Operation: 24-15=9, Resulting Numbers: [60, 3, 9] Generated Node #0,0: 54:[60, 3, 9] Operation: 24-15=9 Exploring Operation: 60/3=20, Resulting Numbers: [15, 24, 20] Generated Node #0,1: 54:[15, 24, 20] Operation: 60/3=20 Exploring Operation: 15+3=18, Resulting Numbers: [60, 24, 18] Generated Node #0,2: 54:[60, 24, 18] Operation: 15+3=18 Exploring Operation: 60/15=4, Resulting Numbers: [3, 24, 4] Generated Node #0,3: 54:[3, 24, 4] Operation: 60/15=4 Moving to Node #0,3 Current State: 54:[3, 24, 4], Operations: ['60/15=4'] Exploring Operation: 24/3=8, Resulting Numbers: [4, 8] Generated Node #0,3,0: 54:[4, 8] Operation: 24/3=8 Exploring Operation: 24/4=6, Resulting Numbers: [3, 6] Generated Node #0,3,1: 54:[3, 6] Operation: 24/4=6 Exploring Operation: 3+24=27, Resulting Numbers: [4, 27] Generated Node #0,3,2: 54:[4, 27] Operation: 3+24=27 Exploring Operation: 24+4=28, Resulting Numbers: [3, 28] Generated Node #0,3,3: 54:[3, 28] Operation: 24+4=28 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[3, 6], Operations: ['60/15=4', '24/4=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[4, 27], Operations: ['60/15=4', '3+24=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,54 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[3, 28], Operations: ['60/15=4', '24+4=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[4, 8], Operations: ['60/15=4', '24/3=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,54 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,54 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: 54:[60, 3, 9], Operations: ['24-15=9'] Exploring Operation: 60/3=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 54:[9, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [9, 57] Generated Node #0,0,1: 54:[9, 57] Operation: 60-3=57 Exploring Operation: 60-9=51, Resulting Numbers: [3, 51] Generated Node #0,0,2: 54:[3, 51] Operation: 60-9=51 Exploring Operation: 3*9=27, Resulting Numbers: [60, 27] Generated Node #0,0,3: 54:[60, 27] Operation: 3*9=27 Moving to Node #0,1 Current State: 54:[15, 24, 20], Operations: ['60/3=20'] Exploring Operation: 15+20=35, Resulting Numbers: [24, 35] Generated Node #0,1,0: 54:[24, 35] Operation: 15+20=35 Exploring Operation: 24-15=9, Resulting Numbers: [20, 9] Generated Node #0,1,1: 54:[20, 9] Operation: 24-15=9 Exploring Operation: 20-15=5, Resulting Numbers: [24, 5] Generated Node #0,1,2: 54:[24, 5] Operation: 20-15=5 Exploring Operation: 24-20=4, Resulting Numbers: [15, 4] Generated Node #0,1,3: 54:[15, 4] Operation: 24-20=4 Moving to Node #0,2 Current State: 54:[60, 24, 18], Operations: ['15+3=18'] Exploring Operation: 60-24=36, Resulting Numbers: [18, 36] Generated Node #0,2,0: 54:[18, 36] Operation: 60-24=36 Exploring Operation: 24-18=6, Resulting Numbers: [60, 6] Generated Node #0,2,1: 54:[60, 6] Operation: 24-18=6 Exploring Operation: 24+18=42, Resulting Numbers: [60, 42] Generated Node #0,2,2: 54:[60, 42] Operation: 24+18=42 Exploring Operation: 60-18=42, Resulting Numbers: [24, 42] Generated Node #0,2,3: 54:[24, 42] Operation: 60-18=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[60, 6], Operations: ['15+3=18', '24-18=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[15, 60, 3, 24], Operations: [] Exploring Operation: 15+3=18, Resulting Numbers: [60, 24, 18] Generated Node #0,2: 54:[60, 24, 18] Operation: 15+3=18 Moving to Node #0,2 Current State: 54:[60, 24, 18], Operations: ['15+3=18'] Exploring Operation: 24-18=6, Resulting Numbers: [60, 6] Generated Node #0,2,1: 54:[60, 6] Operation: 24-18=6 Moving to Node #0,2,1 Current State: 54:[60, 6], Operations: ['15+3=18', '24-18=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 35, 15, 20, 36 ]
62
[ "15*36=540", "540/20=27", "35+27=62" ]
Current State: 62:[35, 15, 20, 36], Operations: [] Exploring Operation: 15*36=540, Resulting Numbers: [35, 20, 540] Generated Node #2: [35, 20, 540] from Operation: 15*36=540 Current State: 62:[35, 20, 540], Operations: ['15*36=540'] Exploring Operation: 540/20=27, Resulting Numbers: [35, 27] Generated Node #3: [35, 27] from Operation: 540/20=27 Current State: 62:[35, 27], Operations: ['15*36=540', '540/20=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[35, 15, 20, 36], Operations: [] Exploring Operation: 20+36=56, Resulting Numbers: [35, 15, 56] Generated Node #0,0: 62:[35, 15, 56] Operation: 20+36=56 Exploring Operation: 15+20=35, Resulting Numbers: [35, 36, 35] Generated Node #0,1: 62:[35, 36, 35] Operation: 15+20=35 Exploring Operation: 36-35=1, Resulting Numbers: [15, 20, 1] Generated Node #0,2: 62:[15, 20, 1] Operation: 36-35=1 Exploring Operation: 20-15=5, Resulting Numbers: [35, 36, 5] Generated Node #0,3: 62:[35, 36, 5] Operation: 20-15=5 Exploring Operation: 35+20=55, Resulting Numbers: [15, 36, 55] Generated Node #0,4: 62:[15, 36, 55] Operation: 35+20=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[35, 36, 5], Operations: ['20-15=5'] Exploring Operation: 35+36=71, Resulting Numbers: [5, 71] Generated Node #0,3,0: 62:[5, 71] Operation: 35+36=71 Exploring Operation: 36-5=31, Resulting Numbers: [35, 31] Generated Node #0,3,1: 62:[35, 31] Operation: 36-5=31 Exploring Operation: 35/5=7, Resulting Numbers: [36, 7] Generated Node #0,3,2: 62:[36, 7] Operation: 35/5=7 Exploring Operation: 36-35=1, Resulting Numbers: [5, 1] Generated Node #0,3,3: 62:[5, 1] Operation: 36-35=1 Exploring Operation: 35-5=30, Resulting Numbers: [36, 30] Generated Node #0,3,4: 62:[36, 30] Operation: 35-5=30 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[35, 31], Operations: ['20-15=5', '36-5=31'] Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,62 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[5, 1], Operations: ['20-15=5', '36-35=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 62:[36, 30], Operations: ['20-15=5', '35-5=30'] Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,62 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[36, 7], Operations: ['20-15=5', '35/5=7'] Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,62 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[5, 71], Operations: ['20-15=5', '35+36=71'] Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,62 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[35, 36, 35], Operations: ['15+20=35'] Exploring Operation: 36-35=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 62:[35, 1] Operation: 36-35=1 Exploring Operation: 35/35=1, Resulting Numbers: [36, 1] Generated Node #0,1,1: 62:[36, 1] Operation: 35/35=1 Exploring Operation: 35+36=71, Resulting Numbers: [35, 71] Generated Node #0,1,2: 62:[35, 71] Operation: 35+36=71 Exploring Operation: 36-35=1, Resulting Numbers: [35, 1] Generated Node #0,1,3: 62:[35, 1] Operation: 36-35=1 Exploring Operation: 35-35=0, Resulting Numbers: [36, 0] Generated Node #0,1,4: 62:[36, 0] Operation: 35-35=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[35, 1], Operations: ['15+20=35', '36-35=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[35, 1], Operations: ['15+20=35', '36-35=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[36, 1], Operations: ['15+20=35', '35/35=1'] Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 62:[36, 0], Operations: ['15+20=35', '35-35=0'] Exploring Operation: 36+0=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 36*0=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 36-0=36, Resulting Numbers: [36] 36,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[35, 71], Operations: ['15+20=35', '35+36=71'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 35*71=2485, Resulting Numbers: [2485] 2485,62 unequal: No Solution Exploring Operation: 35+71=106, Resulting Numbers: [106] 106,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[35, 15, 56], Operations: ['20+36=56'] Exploring Operation: 56-15=41, Resulting Numbers: [35, 41] Generated Node #0,0,0: 62:[35, 41] Operation: 56-15=41 Exploring Operation: 35-15=20, Resulting Numbers: [56, 20] Generated Node #0,0,1: 62:[56, 20] Operation: 35-15=20 Exploring Operation: 15+56=71, Resulting Numbers: [35, 71] Generated Node #0,0,2: 62:[35, 71] Operation: 15+56=71 Exploring Operation: 56-35=21, Resulting Numbers: [15, 21] Generated Node #0,0,3: 62:[15, 21] Operation: 56-35=21 Exploring Operation: 35+15=50, Resulting Numbers: [56, 50] Generated Node #0,0,4: 62:[56, 50] Operation: 35+15=50 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[35, 71], Operations: ['20+36=56', '15+56=71'] Exploring Operation: 35+71=106, Resulting Numbers: [106] 106,62 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 35*71=2485, Resulting Numbers: [2485] 2485,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[35, 41], Operations: ['20+36=56', '56-15=41'] Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,62 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[56, 20], Operations: ['20+36=56', '35-15=20'] Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 62:[56, 50], Operations: ['20+36=56', '35+15=50'] Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,62 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[15, 21], Operations: ['20+36=56', '56-35=21'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,62 unequal: No Solution Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[15, 20, 1], Operations: ['36-35=1'] Exploring Operation: 15+20=35, Resulting Numbers: [1, 35] Generated Node #0,2,0: 62:[1, 35] Operation: 15+20=35 Exploring Operation: 15-1=14, Resulting Numbers: [20, 14] Generated Node #0,2,1: 62:[20, 14] Operation: 15-1=14 Exploring Operation: 15*1=15, Resulting Numbers: [20, 15] Generated Node #0,2,2: 62:[20, 15] Operation: 15*1=15 Exploring Operation: 20-15=5, Resulting Numbers: [1, 5] Generated Node #0,2,3: 62:[1, 5] Operation: 20-15=5 Exploring Operation: 20+1=21, Resulting Numbers: [15, 21] Generated Node #0,2,4: 62:[15, 21] Operation: 20+1=21 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[1, 5], Operations: ['36-35=1', '20-15=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[1, 35], Operations: ['36-35=1', '15+20=35'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[20, 14], Operations: ['36-35=1', '15-1=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 62:[15, 21], Operations: ['36-35=1', '20+1=21'] Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,62 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[20, 15], Operations: ['36-35=1', '15*1=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,62 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[15, 36, 55], Operations: ['35+20=55'] Exploring Operation: 55-15=40, Resulting Numbers: [36, 40] Generated Node #0,4,0: 62:[36, 40] Operation: 55-15=40 Exploring Operation: 36-15=21, Resulting Numbers: [55, 21] Generated Node #0,4,1: 62:[55, 21] Operation: 36-15=21 Exploring Operation: 15+55=70, Resulting Numbers: [36, 70] Generated Node #0,4,2: 62:[36, 70] Operation: 15+55=70 Exploring Operation: 55-36=19, Resulting Numbers: [15, 19] Generated Node #0,4,3: 62:[15, 19] Operation: 55-36=19 Exploring Operation: 15+36=51, Resulting Numbers: [55, 51] Generated Node #0,4,4: 62:[55, 51] Operation: 15+36=51 Moving to Node #0,4,2 Current State: 62:[36, 70], Operations: ['35+20=55', '15+55=70'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,62 unequal: No Solution Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,62 unequal: No Solution Moving to Node #0,4,0 Current State: 62:[36, 40], Operations: ['35+20=55', '55-15=40'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,62 unequal: No Solution Moving to Node #0,4,1 Current State: 62:[55, 21], Operations: ['35+20=55', '36-15=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,62 unequal: No Solution Moving to Node #0,4,4 Current State: 62:[55, 51], Operations: ['35+20=55', '15+36=51'] Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 55*51=2805, Resulting Numbers: [2805] 2805,62 unequal: No Solution Exploring Operation: 55+51=106, Resulting Numbers: [106] 106,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[15, 19], Operations: ['35+20=55', '55-36=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,62 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,62 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
[ 30, 50, 42, 49 ]
21
[ "50*42=2100", "2100/30=70", "70-49=21" ]
Current State: 21:[30, 50, 42, 49], Operations: [] Exploring Operation: 50*42=2100, Resulting Numbers: [30, 49, 2100] Generated Node #2: [30, 49, 2100] from Operation: 50*42=2100 Current State: 21:[30, 49, 2100], Operations: ['50*42=2100'] Exploring Operation: 2100/30=70, Resulting Numbers: [49, 70] Generated Node #3: [49, 70] from Operation: 2100/30=70 Current State: 21:[49, 70], Operations: ['50*42=2100', '2100/30=70'] Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[30, 50, 42, 49], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [30, 49, 8] Generated Node #0,0: 21:[30, 49, 8] Operation: 50-42=8 Exploring Operation: 50-49=1, Resulting Numbers: [30, 42, 1] Generated Node #0,1: 21:[30, 42, 1] Operation: 50-49=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[30, 42, 1], Operations: ['50-49=1'] Exploring Operation: 30-1=29, Resulting Numbers: [42, 29] Generated Node #0,1,0: 21:[42, 29] Operation: 30-1=29 Exploring Operation: 42-30=12, Resulting Numbers: [1, 12] Generated Node #0,1,1: 21:[1, 12] Operation: 42-30=12 Moving to Node #0,1,1 Current State: 21:[1, 12], Operations: ['50-49=1', '42-30=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[42, 29], Operations: ['50-49=1', '30-1=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,21 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,21 unequal: No Solution No 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: 21:[30, 49, 8], Operations: ['50-42=8'] Exploring Operation: 30-8=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 21:[49, 22] Operation: 30-8=22 Exploring Operation: 49-30=19, Resulting Numbers: [8, 19] Generated Node #0,0,1: 21:[8, 19] Operation: 49-30=19 Moving to Node #0,0,1 Current State: 21:[8, 19], Operations: ['50-42=8', '49-30=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[49, 22], Operations: ['50-42=8', '30-8=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,21 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,21 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
[ 21, 23, 85, 83 ]
74
[ "21*85=1785", "1785-83=1702", "1702/23=74" ]
Current State: 74:[21, 23, 85, 83], Operations: [] Exploring Operation: 21*85=1785, Resulting Numbers: [23, 83, 1785] Generated Node #2: [23, 83, 1785] from Operation: 21*85=1785 Current State: 74:[23, 83, 1785], Operations: ['21*85=1785'] Exploring Operation: 1785-83=1702, Resulting Numbers: [23, 1702] Generated Node #3: [23, 1702] from Operation: 1785-83=1702 Current State: 74:[23, 1702], Operations: ['21*85=1785', '1785-83=1702'] Exploring Operation: 1702/23=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[21, 23, 85, 83], Operations: [] Exploring Operation: 21+23=44, Resulting Numbers: [85, 83, 44] Generated Node #0,0: 74:[85, 83, 44] Operation: 21+23=44 Exploring Operation: 85-21=64, Resulting Numbers: [23, 83, 64] Generated Node #0,1: 74:[23, 83, 64] Operation: 85-21=64 Exploring Operation: 23-21=2, Resulting Numbers: [85, 83, 2] Generated Node #0,2: 74:[85, 83, 2] Operation: 23-21=2 Exploring Operation: 83-21=62, Resulting Numbers: [23, 85, 62] Generated Node #0,3: 74:[23, 85, 62] Operation: 83-21=62 Exploring Operation: 85-83=2, Resulting Numbers: [21, 23, 2] Generated Node #0,4: 74:[21, 23, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[85, 83, 2], Operations: ['23-21=2'] Exploring Operation: 83-2=81, Resulting Numbers: [85, 81] Generated Node #0,2,0: 74:[85, 81] Operation: 83-2=81 Exploring Operation: 85-2=83, Resulting Numbers: [83, 83] Generated Node #0,2,1: 74:[83, 83] Operation: 85-2=83 Exploring Operation: 83+2=85, Resulting Numbers: [85, 85] Generated Node #0,2,2: 74:[85, 85] Operation: 83+2=85 Exploring Operation: 85+2=87, Resulting Numbers: [83, 87] Generated Node #0,2,3: 74:[83, 87] Operation: 85+2=87 Exploring Operation: 85-83=2, Resulting Numbers: [2, 2] Generated Node #0,2,4: 74:[2, 2] Operation: 85-83=2 Moving to Node #0,2,4 Current State: 74:[2, 2], Operations: ['23-21=2', '85-83=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[83, 83], Operations: ['23-21=2', '85-2=83'] Exploring Operation: 83-83=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 83/83=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 83+83=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 83*83=6889, Resulting Numbers: [6889] 6889,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[85, 81], Operations: ['23-21=2', '83-2=81'] Exploring Operation: 85+81=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 85*81=6885, Resulting Numbers: [6885] 6885,74 unequal: No Solution Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[85, 85], Operations: ['23-21=2', '83+2=85'] Exploring Operation: 85/85=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 85*85=7225, Resulting Numbers: [7225] 7225,74 unequal: No Solution Exploring Operation: 85+85=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 85-85=0, Resulting Numbers: [0] 0,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[83, 87], Operations: ['23-21=2', '85+2=87'] Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,74 unequal: No Solution Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[85, 83, 44], Operations: ['21+23=44'] Exploring Operation: 85+44=129, Resulting Numbers: [83, 129] Generated Node #0,0,0: 74:[83, 129] Operation: 85+44=129 Exploring Operation: 85-83=2, Resulting Numbers: [44, 2] Generated Node #0,0,1: 74:[44, 2] Operation: 85-83=2 Exploring Operation: 83-44=39, Resulting Numbers: [85, 39] Generated Node #0,0,2: 74:[85, 39] Operation: 83-44=39 Exploring Operation: 85-44=41, Resulting Numbers: [83, 41] Generated Node #0,0,3: 74:[83, 41] Operation: 85-44=41 Exploring Operation: 83+44=127, Resulting Numbers: [85, 127] Generated Node #0,0,4: 74:[85, 127] Operation: 83+44=127 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[44, 2], Operations: ['21+23=44', '85-83=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[85, 39], Operations: ['21+23=44', '83-44=39'] Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,74 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[83, 41], Operations: ['21+23=44', '85-44=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[83, 129], Operations: ['21+23=44', '85+44=129'] Exploring Operation: 129-83=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 83+129=212, Resulting Numbers: [212] 212,74 unequal: No Solution Exploring Operation: 83*129=10707, Resulting Numbers: [10707] 10707,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 74:[85, 127], Operations: ['21+23=44', '83+44=127'] Exploring Operation: 85*127=10795, Resulting Numbers: [10795] 10795,74 unequal: No Solution Exploring Operation: 85+127=212, Resulting Numbers: [212] 212,74 unequal: No Solution Exploring Operation: 127-85=42, Resulting Numbers: [42] 42,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[21, 23, 2], Operations: ['85-83=2'] Exploring Operation: 21+23=44, Resulting Numbers: [2, 44] Generated Node #0,4,0: 74:[2, 44] Operation: 21+23=44 Exploring Operation: 23*2=46, Resulting Numbers: [21, 46] Generated Node #0,4,1: 74:[21, 46] Operation: 23*2=46 Exploring Operation: 21*2=42, Resulting Numbers: [23, 42] Generated Node #0,4,2: 74:[23, 42] Operation: 21*2=42 Exploring Operation: 23-21=2, Resulting Numbers: [2, 2] Generated Node #0,4,3: 74:[2, 2] Operation: 23-21=2 Exploring Operation: 21+2=23, Resulting Numbers: [23, 23] Generated Node #0,4,4: 74:[23, 23] Operation: 21+2=23 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 74:[2, 2], Operations: ['85-83=2', '23-21=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 74:[2, 44], Operations: ['85-83=2', '21+23=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 74:[23, 42], Operations: ['85-83=2', '21*2=42'] Exploring Operation: 23*42=966, Resulting Numbers: [966] 966,74 unequal: No Solution Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 74:[21, 46], Operations: ['85-83=2', '23*2=46'] Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,74 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 74:[23, 23], Operations: ['85-83=2', '21+2=23'] Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,74 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[23, 83, 64], Operations: ['85-21=64'] Exploring Operation: 83-64=19, Resulting Numbers: [23, 19] Generated Node #0,1,0: 74:[23, 19] Operation: 83-64=19 Exploring Operation: 83-23=60, Resulting Numbers: [64, 60] Generated Node #0,1,1: 74:[64, 60] Operation: 83-23=60 Exploring Operation: 64-23=41, Resulting Numbers: [83, 41] Generated Node #0,1,2: 74:[83, 41] Operation: 64-23=41 Exploring Operation: 23+83=106, Resulting Numbers: [64, 106] Generated Node #0,1,3: 74:[64, 106] Operation: 23+83=106 Exploring Operation: 23+64=87, Resulting Numbers: [83, 87] Generated Node #0,1,4: 74:[83, 87] Operation: 23+64=87 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[83, 41], Operations: ['85-21=64', '64-23=41'] Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,74 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 74:[83, 87], Operations: ['85-21=64', '23+64=87'] Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[64, 60], Operations: ['85-21=64', '83-23=60'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,74 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[23, 19], Operations: ['85-21=64', '83-64=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,74 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[64, 106], Operations: ['85-21=64', '23+83=106'] Exploring Operation: 64*106=6784, Resulting Numbers: [6784] 6784,74 unequal: No Solution Exploring Operation: 106-64=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 64+106=170, Resulting Numbers: [170] 170,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[23, 85, 62], Operations: ['83-21=62'] Exploring Operation: 85-62=23, Resulting Numbers: [23, 23] Generated Node #0,3,0: 74:[23, 23] Operation: 85-62=23 Exploring Operation: 23+62=85, Resulting Numbers: [85, 85] Generated Node #0,3,1: 74:[85, 85] Operation: 23+62=85 Exploring Operation: 85-23=62, Resulting Numbers: [62, 62] Generated Node #0,3,2: 74:[62, 62] Operation: 85-23=62 Exploring Operation: 23+85=108, Resulting Numbers: [62, 108] Generated Node #0,3,3: 74:[62, 108] Operation: 23+85=108 Exploring Operation: 62-23=39, Resulting Numbers: [85, 39] Generated Node #0,3,4: 74:[85, 39] Operation: 62-23=39 Moving to Node #0,3,4 Current State: 74:[85, 39], Operations: ['83-21=62', '62-23=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,74 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[85, 85], Operations: ['83-21=62', '23+62=85'] Exploring Operation: 85+85=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 85-85=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 85*85=7225, Resulting Numbers: [7225] 7225,74 unequal: No Solution Exploring Operation: 85/85=1, Resulting Numbers: [1] 1,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[62, 62], Operations: ['83-21=62', '85-23=62'] Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[23, 23], Operations: ['83-21=62', '85-62=23'] Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 23*23=529, Resulting Numbers: [529] 529,74 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[62, 108], Operations: ['83-21=62', '23+85=108'] Exploring Operation: 62+108=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 108-62=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 62*108=6696, Resulting Numbers: [6696] 6696,74 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
[ 64, 62, 48, 62 ]
17
[ "64-62=2", "62/2=31", "48-31=17" ]
Current State: 17:[64, 62, 48, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [48, 2] Generated Node #2: [48, 2] from Operation: 64-62=2 Current State: 17:[48, 2], Operations: ['64-62=2'] Exploring Operation: 62/2=31, Resulting Numbers: [48, 31] Generated Node #3: [48, 31] from Operation: 62/2=31 Current State: 17:[48, 31], Operations: ['64-62=2', '62/2=31'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[64, 62, 48, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [48, 62, 2] Generated Node #0,0: 17:[48, 62, 2] Operation: 64-62=2 Moving to Node #0,0 Current State: 17:[48, 62, 2], Operations: ['64-62=2'] Exploring Operation: 62-48=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 17:[2, 14] Operation: 62-48=14 Moving to Node #0,0,0 Current State: 17:[2, 14], Operations: ['64-62=2', '62-48=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 22, 30, 15, 28 ]
65
[ "22+30=52", "28-15=13", "52+13=65" ]
Current State: 65:[22, 30, 15, 28], Operations: [] Exploring Operation: 22+30=52, Resulting Numbers: [15, 28, 52] Generated Node #2: [15, 28, 52] from Operation: 22+30=52 Current State: 65:[15, 28, 52], Operations: ['22+30=52'] Exploring Operation: 28-15=13, Resulting Numbers: [52, 13] Generated Node #3: [52, 13] from Operation: 28-15=13 Current State: 65:[52, 13], Operations: ['22+30=52', '28-15=13'] Exploring Operation: 52+13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[22, 30, 15, 28], Operations: [] Exploring Operation: 30-15=15, Resulting Numbers: [22, 28, 15] Generated Node #0,0: 65:[22, 28, 15] Operation: 30-15=15 Exploring Operation: 30+28=58, Resulting Numbers: [22, 15, 58] Generated Node #0,1: 65:[22, 15, 58] Operation: 30+28=58 Exploring Operation: 30-28=2, Resulting Numbers: [22, 15, 2] Generated Node #0,2: 65:[22, 15, 2] Operation: 30-28=2 Exploring Operation: 30-22=8, Resulting Numbers: [15, 28, 8] Generated Node #0,3: 65:[15, 28, 8] Operation: 30-22=8 Exploring Operation: 28-22=6, Resulting Numbers: [30, 15, 6] Generated Node #0,4: 65:[30, 15, 6] Operation: 28-22=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[22, 15, 2], Operations: ['30-28=2'] Exploring Operation: 22/2=11, Resulting Numbers: [15, 11] Generated Node #0,2,0: 65:[15, 11] Operation: 22/2=11 Exploring Operation: 22-15=7, Resulting Numbers: [2, 7] Generated Node #0,2,1: 65:[2, 7] Operation: 22-15=7 Exploring Operation: 22+2=24, Resulting Numbers: [15, 24] Generated Node #0,2,2: 65:[15, 24] Operation: 22+2=24 Exploring Operation: 15-2=13, Resulting Numbers: [22, 13] Generated Node #0,2,3: 65:[22, 13] Operation: 15-2=13 Exploring Operation: 22-2=20, Resulting Numbers: [15, 20] Generated Node #0,2,4: 65:[15, 20] Operation: 22-2=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[15, 11], Operations: ['30-28=2', '22/2=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 65:[2, 7], Operations: ['30-28=2', '22-15=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 65:[22, 13], Operations: ['30-28=2', '15-2=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 65:[15, 20], Operations: ['30-28=2', '22-2=20'] Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,65 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 65:[15, 24], Operations: ['30-28=2', '22+2=24'] Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,65 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[22, 15, 58], Operations: ['30+28=58'] Exploring Operation: 15+58=73, Resulting Numbers: [22, 73] Generated Node #0,1,0: 65:[22, 73] Operation: 15+58=73 Exploring Operation: 22-15=7, Resulting Numbers: [58, 7] Generated Node #0,1,1: 65:[58, 7] Operation: 22-15=7 Exploring Operation: 22+15=37, Resulting Numbers: [58, 37] Generated Node #0,1,2: 65:[58, 37] Operation: 22+15=37 Exploring Operation: 58-22=36, Resulting Numbers: [15, 36] Generated Node #0,1,3: 65:[15, 36] Operation: 58-22=36 Exploring Operation: 22+58=80, Resulting Numbers: [15, 80] Generated Node #0,1,4: 65:[15, 80] Operation: 22+58=80 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[58, 7], Operations: ['30+28=58', '22-15=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[22, 30, 15, 28], Operations: [] Exploring Operation: 30+28=58, Resulting Numbers: [22, 15, 58] Generated Node #0,1: 65:[22, 15, 58] Operation: 30+28=58 Moving to Node #0,1 Current State: 65:[22, 15, 58], Operations: ['30+28=58'] Exploring Operation: 22-15=7, Resulting Numbers: [58, 7] Generated Node #0,1,1: 65:[58, 7] Operation: 22-15=7 Moving to Node #0,1,1 Current State: 65:[58, 7], Operations: ['30+28=58', '22-15=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 2, 71, 42, 47 ]
81
[ "47-42=5", "2*5=10", "71+10=81" ]
Current State: 81:[2, 71, 42, 47], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [2, 71, 5] Generated Node #2: [2, 71, 5] from Operation: 47-42=5 Current State: 81:[2, 71, 5], Operations: ['47-42=5'] Exploring Operation: 2*5=10, Resulting Numbers: [71, 10] Generated Node #3: [71, 10] from Operation: 2*5=10 Current State: 81:[71, 10], Operations: ['47-42=5', '2*5=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 71, 42, 47], Operations: [] Exploring Operation: 71-47=24, Resulting Numbers: [2, 42, 24] Generated Node #0,0: 81:[2, 42, 24] Operation: 71-47=24 Exploring Operation: 42+47=89, Resulting Numbers: [2, 71, 89] Generated Node #0,1: 81:[2, 71, 89] Operation: 42+47=89 Exploring Operation: 47-42=5, Resulting Numbers: [2, 71, 5] Generated Node #0,2: 81:[2, 71, 5] Operation: 47-42=5 Moving to Node #0,2 Current State: 81:[2, 71, 5], Operations: ['47-42=5'] Exploring Operation: 2+71=73, Resulting Numbers: [5, 73] Generated Node #0,2,0: 81:[5, 73] Operation: 2+71=73 Exploring Operation: 71+5=76, Resulting Numbers: [2, 76] Generated Node #0,2,1: 81:[2, 76] Operation: 71+5=76 Exploring Operation: 5-2=3, Resulting Numbers: [71, 3] Generated Node #0,2,2: 81:[71, 3] Operation: 5-2=3 Moving to Node #0,0 Current State: 81:[2, 42, 24], Operations: ['71-47=24'] Exploring Operation: 2*42=84, Resulting Numbers: [24, 84] Generated Node #0,0,0: 81:[24, 84] Operation: 2*42=84 Exploring Operation: 42/2=21, Resulting Numbers: [24, 21] Generated Node #0,0,1: 81:[24, 21] Operation: 42/2=21 Exploring Operation: 42-24=18, Resulting Numbers: [2, 18] Generated Node #0,0,2: 81:[2, 18] Operation: 42-24=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[24, 84], Operations: ['71-47=24', '2*42=84'] Exploring Operation: 24*84=2016, Resulting Numbers: [2016] 2016,81 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 24+84=108, Resulting Numbers: [108] 108,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[24, 21], Operations: ['71-47=24', '42/2=21'] Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,81 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[2, 18], Operations: ['71-47=24', '42-24=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 81:[2, 71, 89], Operations: ['42+47=89'] Exploring Operation: 89-2=87, Resulting Numbers: [71, 87] Generated Node #0,1,0: 81:[71, 87] Operation: 89-2=87 Exploring Operation: 89-71=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 81:[2, 18] Operation: 89-71=18 Exploring Operation: 2+71=73, Resulting Numbers: [89, 73] Generated Node #0,1,2: 81:[89, 73] Operation: 2+71=73 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[2, 18], Operations: ['42+47=89', '89-71=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[71, 87], Operations: ['42+47=89', '89-2=87'] Exploring Operation: 87-71=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 71*87=6177, Resulting Numbers: [6177] 6177,81 unequal: No Solution Exploring Operation: 71+87=158, Resulting Numbers: [158] 158,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[89, 73], Operations: ['42+47=89', '2+71=73'] Exploring Operation: 89+73=162, Resulting Numbers: [162] 162,81 unequal: No Solution Exploring Operation: 89-73=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 89*73=6497, Resulting Numbers: [6497] 6497,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 81:[2, 76], Operations: ['47-42=5', '71+5=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[5, 73], Operations: ['47-42=5', '2+71=73'] Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,81 unequal: No Solution Exploring Operation: 5*73=365, Resulting Numbers: [365] 365,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[71, 3], Operations: ['47-42=5', '5-2=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,81 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 85, 63, 39 ]
60
[ "63+39=102", "50*102=5100", "5100/85=60" ]
Current State: 60:[50, 85, 63, 39], Operations: [] Exploring Operation: 63+39=102, Resulting Numbers: [50, 85, 102] Generated Node #2: [50, 85, 102] from Operation: 63+39=102 Current State: 60:[50, 85, 102], Operations: ['63+39=102'] Exploring Operation: 50*102=5100, Resulting Numbers: [85, 5100] Generated Node #3: [85, 5100] from Operation: 50*102=5100 Current State: 60:[85, 5100], Operations: ['63+39=102', '50*102=5100'] Exploring Operation: 5100/85=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[50, 85, 63, 39], Operations: [] Exploring Operation: 85-50=35, Resulting Numbers: [63, 39, 35] Generated Node #0,0: 60:[63, 39, 35] Operation: 85-50=35 Exploring Operation: 85-63=22, Resulting Numbers: [50, 39, 22] Generated Node #0,1: 60:[50, 39, 22] Operation: 85-63=22 Moving to Node #0,0 Current State: 60:[63, 39, 35], Operations: ['85-50=35'] Exploring Operation: 39-35=4, Resulting Numbers: [63, 4] Generated Node #0,0,0: 60:[63, 4] Operation: 39-35=4 Exploring Operation: 63-39=24, Resulting Numbers: [35, 24] Generated Node #0,0,1: 60:[35, 24] Operation: 63-39=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[63, 4], Operations: ['85-50=35', '39-35=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[35, 24], Operations: ['85-50=35', '63-39=24'] Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,60 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: 60:[50, 39, 22], Operations: ['85-63=22'] Exploring Operation: 50-39=11, Resulting Numbers: [22, 11] Generated Node #0,1,0: 60:[22, 11] Operation: 50-39=11 Exploring Operation: 50-22=28, Resulting Numbers: [39, 28] Generated Node #0,1,1: 60:[39, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[22, 11], Operations: ['85-63=22', '50-39=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[39, 28], Operations: ['85-63=22', '50-22=28'] Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 81, 8, 89 ]
98
[ "81-80=1", "8+89=97", "1+97=98" ]
Current State: 98:[80, 81, 8, 89], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [8, 89, 1] Generated Node #2: [8, 89, 1] from Operation: 81-80=1 Current State: 98:[8, 89, 1], Operations: ['81-80=1'] Exploring Operation: 8+89=97, Resulting Numbers: [1, 97] Generated Node #3: [1, 97] from Operation: 8+89=97 Current State: 98:[1, 97], Operations: ['81-80=1', '8+89=97'] Exploring Operation: 1+97=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[80, 81, 8, 89], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [8, 89, 1] Generated Node #0,0: 98:[8, 89, 1] Operation: 81-80=1 Moving to Node #0,0 Current State: 98:[8, 89, 1], Operations: ['81-80=1'] Exploring Operation: 8+89=97, Resulting Numbers: [1, 97] Generated Node #0,0,0: 98:[1, 97] Operation: 8+89=97 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[1, 97], Operations: ['81-80=1', '8+89=97'] Exploring Operation: 1+97=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[80, 81, 8, 89], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [8, 89, 1] Generated Node #0,0: 98:[8, 89, 1] Operation: 81-80=1 Moving to Node #0,0 Current State: 98:[8, 89, 1], Operations: ['81-80=1'] Exploring Operation: 8+89=97, Resulting Numbers: [1, 97] Generated Node #0,0,0: 98:[1, 97] Operation: 8+89=97 Moving to Node #0,0,0 Current State: 98:[1, 97], Operations: ['81-80=1', '8+89=97'] Exploring Operation: 1+97=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 54, 49, 33, 27 ]
30
[ "54-49=5", "33-27=6", "5*6=30" ]
Current State: 30:[54, 49, 33, 27], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [33, 27, 5] Generated Node #2: [33, 27, 5] from Operation: 54-49=5 Current State: 30:[33, 27, 5], Operations: ['54-49=5'] Exploring Operation: 33-27=6, Resulting Numbers: [5, 6] Generated Node #3: [5, 6] from Operation: 33-27=6 Current State: 30:[5, 6], Operations: ['54-49=5', '33-27=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[54, 49, 33, 27], Operations: [] Exploring Operation: 49-33=16, Resulting Numbers: [54, 27, 16] Generated Node #0,0: 30:[54, 27, 16] Operation: 49-33=16 Exploring Operation: 54/27=2, Resulting Numbers: [49, 33, 2] Generated Node #0,1: 30:[49, 33, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [49, 33, 27] Generated Node #0,2: 30:[49, 33, 27] Operation: 54-27=27 Exploring Operation: 54-33=21, Resulting Numbers: [49, 27, 21] Generated Node #0,3: 30:[49, 27, 21] Operation: 54-33=21 Exploring Operation: 54-49=5, Resulting Numbers: [33, 27, 5] Generated Node #0,4: 30:[33, 27, 5] Operation: 54-49=5 Moving to Node #0,4 Current State: 30:[33, 27, 5], Operations: ['54-49=5'] Exploring Operation: 33+5=38, Resulting Numbers: [27, 38] Generated Node #0,4,0: 30:[27, 38] Operation: 33+5=38 Exploring Operation: 27-5=22, Resulting Numbers: [33, 22] Generated Node #0,4,1: 30:[33, 22] Operation: 27-5=22 Exploring Operation: 27+5=32, Resulting Numbers: [33, 32] Generated Node #0,4,2: 30:[33, 32] Operation: 27+5=32 Exploring Operation: 33-27=6, Resulting Numbers: [5, 6] Generated Node #0,4,3: 30:[5, 6] Operation: 33-27=6 Exploring Operation: 33-5=28, Resulting Numbers: [27, 28] Generated Node #0,4,4: 30:[27, 28] Operation: 33-5=28 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 30:[5, 6], Operations: ['54-49=5', '33-27=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[54, 49, 33, 27], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [33, 27, 5] Generated Node #0,4: 30:[33, 27, 5] Operation: 54-49=5 Moving to Node #0,4 Current State: 30:[33, 27, 5], Operations: ['54-49=5'] Exploring Operation: 33-27=6, Resulting Numbers: [5, 6] Generated Node #0,4,3: 30:[5, 6] Operation: 33-27=6 Moving to Node #0,4,3 Current State: 30:[5, 6], Operations: ['54-49=5', '33-27=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 25, 3, 85, 32 ]
64
[ "32-25=7", "3*7=21", "85-21=64" ]
Current State: 64:[25, 3, 85, 32], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [3, 85, 7] Generated Node #2: [3, 85, 7] from Operation: 32-25=7 Current State: 64:[3, 85, 7], Operations: ['32-25=7'] Exploring Operation: 3*7=21, Resulting Numbers: [85, 21] Generated Node #3: [85, 21] from Operation: 3*7=21 Current State: 64:[85, 21], Operations: ['32-25=7', '3*7=21'] Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[25, 3, 85, 32], Operations: [] Exploring Operation: 85-25=60, Resulting Numbers: [3, 32, 60] Generated Node #0,0: 64:[3, 32, 60] Operation: 85-25=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[3, 32, 60], Operations: ['85-25=60'] Exploring Operation: 3+60=63, Resulting Numbers: [32, 63] Generated Node #0,0,0: 64:[32, 63] Operation: 3+60=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[32, 63], Operations: ['85-25=60', '3+60=63'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,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_1
mult_heuristic
[ 73, 58, 84, 26 ]
95
[ "73-58=15", "84+26=110", "110-15=95" ]
Current State: 95:[73, 58, 84, 26], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [84, 26, 15] Generated Node #2: [84, 26, 15] from Operation: 73-58=15 Current State: 95:[84, 26, 15], Operations: ['73-58=15'] Exploring Operation: 84+26=110, Resulting Numbers: [15, 110] Generated Node #3: [15, 110] from Operation: 84+26=110 Current State: 95:[15, 110], Operations: ['73-58=15', '84+26=110'] Exploring Operation: 110-15=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[73, 58, 84, 26], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [84, 26, 15] Generated Node #0,0: 95:[84, 26, 15] Operation: 73-58=15 Exploring Operation: 84-58=26, Resulting Numbers: [73, 26, 26] Generated Node #0,1: 95:[73, 26, 26] Operation: 84-58=26 Moving to Node #0,0 Current State: 95:[84, 26, 15], Operations: ['73-58=15'] Exploring Operation: 84+15=99, Resulting Numbers: [26, 99] Generated Node #0,0,0: 95:[26, 99] Operation: 84+15=99 Exploring Operation: 26-15=11, Resulting Numbers: [84, 11] Generated Node #0,0,1: 95:[84, 11] Operation: 26-15=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[26, 99], Operations: ['73-58=15', '84+15=99'] Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 26+99=125, Resulting Numbers: [125] 125,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,1 Current State: 95:[84, 11], Operations: ['73-58=15', '26-15=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[73, 58, 84, 26], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [84, 26, 15] Generated Node #0,0: 95:[84, 26, 15] Operation: 73-58=15 Moving to Node #0,0 Current State: 95:[84, 26, 15], Operations: ['73-58=15'] Exploring Operation: 26-15=11, Resulting Numbers: [84, 11] Generated Node #0,0,1: 95:[84, 11] Operation: 26-15=11 Moving to Node #0,0,1 Current State: 95:[84, 11], Operations: ['73-58=15', '26-15=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 12, 30, 90, 57 ]
47
[ "30+90=120", "120/12=10", "57-10=47" ]
Current State: 47:[12, 30, 90, 57], Operations: [] Exploring Operation: 30+90=120, Resulting Numbers: [12, 57, 120] Generated Node #2: [12, 57, 120] from Operation: 30+90=120 Current State: 47:[12, 57, 120], Operations: ['30+90=120'] Exploring Operation: 120/12=10, Resulting Numbers: [57, 10] Generated Node #3: [57, 10] from Operation: 120/12=10 Current State: 47:[57, 10], Operations: ['30+90=120', '120/12=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[12, 30, 90, 57], Operations: [] Exploring Operation: 57-12=45, Resulting Numbers: [30, 90, 45] Generated Node #0,0: 47:[30, 90, 45] Operation: 57-12=45 Exploring Operation: 90-30=60, Resulting Numbers: [12, 57, 60] Generated Node #0,1: 47:[12, 57, 60] Operation: 90-30=60 Exploring Operation: 12+30=42, Resulting Numbers: [90, 57, 42] Generated Node #0,2: 47:[90, 57, 42] Operation: 12+30=42 Exploring Operation: 90-12=78, Resulting Numbers: [30, 57, 78] Generated Node #0,3: 47:[30, 57, 78] Operation: 90-12=78 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[12, 57, 60], Operations: ['90-30=60'] Exploring Operation: 60-12=48, Resulting Numbers: [57, 48] Generated Node #0,1,0: 47:[57, 48] Operation: 60-12=48 Exploring Operation: 12+57=69, Resulting Numbers: [60, 69] Generated Node #0,1,1: 47:[60, 69] Operation: 12+57=69 Exploring Operation: 12+60=72, Resulting Numbers: [57, 72] Generated Node #0,1,2: 47:[57, 72] Operation: 12+60=72 Exploring Operation: 57-12=45, Resulting Numbers: [60, 45] Generated Node #0,1,3: 47:[60, 45] Operation: 57-12=45 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[57, 48], Operations: ['90-30=60', '60-12=48'] Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,47 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[60, 45], Operations: ['90-30=60', '57-12=45'] Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[60, 69], Operations: ['90-30=60', '12+57=69'] Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 60+69=129, Resulting Numbers: [129] 129,47 unequal: No Solution Exploring Operation: 60*69=4140, Resulting Numbers: [4140] 4140,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[57, 72], Operations: ['90-30=60', '12+60=72'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,47 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[90, 57, 42], Operations: ['12+30=42'] Exploring Operation: 57-42=15, Resulting Numbers: [90, 15] Generated Node #0,2,0: 47:[90, 15] Operation: 57-42=15 Exploring Operation: 90-42=48, Resulting Numbers: [57, 48] Generated Node #0,2,1: 47:[57, 48] Operation: 90-42=48 Exploring Operation: 90-57=33, Resulting Numbers: [42, 33] Generated Node #0,2,2: 47:[42, 33] Operation: 90-57=33 Exploring Operation: 90+42=132, Resulting Numbers: [57, 132] Generated Node #0,2,3: 47:[57, 132] Operation: 90+42=132 Moving to Node #0,2,1 Current State: 47:[57, 48], Operations: ['12+30=42', '90-42=48'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[42, 33], Operations: ['12+30=42', '90-57=33'] Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[90, 15], Operations: ['12+30=42', '57-42=15'] Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[57, 132], Operations: ['12+30=42', '90+42=132'] Exploring Operation: 132-57=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 57*132=7524, Resulting Numbers: [7524] 7524,47 unequal: No Solution Exploring Operation: 57+132=189, Resulting Numbers: [189] 189,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[30, 57, 78], Operations: ['90-12=78'] Exploring Operation: 78-30=48, Resulting Numbers: [57, 48] Generated Node #0,3,0: 47:[57, 48] Operation: 78-30=48 Exploring Operation: 57-30=27, Resulting Numbers: [78, 27] Generated Node #0,3,1: 47:[78, 27] Operation: 57-30=27 Exploring Operation: 30+57=87, Resulting Numbers: [78, 87] Generated Node #0,3,2: 47:[78, 87] Operation: 30+57=87 Exploring Operation: 78-57=21, Resulting Numbers: [30, 21] Generated Node #0,3,3: 47:[30, 21] Operation: 78-57=21 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[57, 48], Operations: ['90-12=78', '78-30=48'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[30, 21], Operations: ['90-12=78', '78-57=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[78, 27], Operations: ['90-12=78', '57-30=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[78, 87], Operations: ['90-12=78', '30+57=87'] Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 78+87=165, Resulting Numbers: [165] 165,47 unequal: No Solution Exploring Operation: 78*87=6786, Resulting Numbers: [6786] 6786,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[30, 90, 45], Operations: ['57-12=45'] Exploring Operation: 90/45=2, Resulting Numbers: [30, 2] Generated Node #0,0,0: 47:[30, 2] Operation: 90/45=2 Exploring Operation: 90/30=3, Resulting Numbers: [45, 3] Generated Node #0,0,1: 47:[45, 3] Operation: 90/30=3 Exploring Operation: 90-45=45, Resulting Numbers: [30, 45] Generated Node #0,0,2: 47:[30, 45] Operation: 90-45=45 Exploring Operation: 90-30=60, Resulting Numbers: [45, 60] Generated Node #0,0,3: 47:[45, 60] Operation: 90-30=60 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[45, 60], Operations: ['57-12=45', '90-30=60'] Exploring Operation: 45*60=2700, Resulting Numbers: [2700] 2700,47 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[30, 45], Operations: ['57-12=45', '90-45=45'] Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,47 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[45, 3], Operations: ['57-12=45', '90/30=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,47 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[30, 2], Operations: ['57-12=45', '90/45=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 35, 14, 67, 28 ]
31
[ "35-28=7", "14*7=98", "98-67=31" ]
Current State: 31:[35, 14, 67, 28], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [14, 67, 7] Generated Node #2: [14, 67, 7] from Operation: 35-28=7 Current State: 31:[14, 67, 7], Operations: ['35-28=7'] Exploring Operation: 14*7=98, Resulting Numbers: [67, 98] Generated Node #3: [67, 98] from Operation: 14*7=98 Current State: 31:[67, 98], Operations: ['35-28=7', '14*7=98'] Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[35, 14, 67, 28], Operations: [] Exploring Operation: 67-35=32, Resulting Numbers: [14, 28, 32] Generated Node #0,0: 31:[14, 28, 32] Operation: 67-35=32 Moving to Node #0,0 Current State: 31:[14, 28, 32], Operations: ['67-35=32'] Exploring Operation: 14+28=42, Resulting Numbers: [32, 42] Generated Node #0,0,0: 31:[32, 42] Operation: 14+28=42 Moving to Node #0,0,0 Current State: 31:[32, 42], Operations: ['67-35=32', '14+28=42'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 78, 73, 73, 55 ]
13
[ "78-73=5", "73-55=18", "18-5=13" ]
Current State: 13:[78, 73, 73, 55], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [55, 5] Generated Node #2: [55, 5] from Operation: 78-73=5 Current State: 13:[55, 5], Operations: ['78-73=5'] Exploring Operation: 73-55=18, Resulting Numbers: [5, 18] Generated Node #3: [5, 18] from Operation: 73-55=18 Current State: 13:[5, 18], Operations: ['78-73=5', '73-55=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[78, 73, 73, 55], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [73, 55, 5] Generated Node #0,0: 13:[73, 55, 5] Operation: 78-73=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[73, 55, 5], Operations: ['78-73=5'] Exploring Operation: 73-55=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 13:[5, 18] Operation: 73-55=18 Moving to Node #0,0,0 Current State: 13:[5, 18], Operations: ['78-73=5', '73-55=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[78, 73, 73, 55], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [73, 55, 5] Generated Node #0,0: 13:[73, 55, 5] Operation: 78-73=5 Moving to Node #0,0 Current State: 13:[73, 55, 5], Operations: ['78-73=5'] Exploring Operation: 73-55=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 13:[5, 18] Operation: 73-55=18 Moving to Node #0,0,0 Current State: 13:[5, 18], Operations: ['78-73=5', '73-55=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 68, 29, 83, 65 ]
79
[ "68+29=97", "83-65=18", "97-18=79" ]
Current State: 79:[68, 29, 83, 65], Operations: [] Exploring Operation: 68+29=97, Resulting Numbers: [83, 65, 97] Generated Node #2: [83, 65, 97] from Operation: 68+29=97 Current State: 79:[83, 65, 97], Operations: ['68+29=97'] Exploring Operation: 83-65=18, Resulting Numbers: [97, 18] Generated Node #3: [97, 18] from Operation: 83-65=18 Current State: 79:[97, 18], Operations: ['68+29=97', '83-65=18'] Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[68, 29, 83, 65], Operations: [] Exploring Operation: 29+65=94, Resulting Numbers: [68, 83, 94] Generated Node #0,0: 79:[68, 83, 94] Operation: 29+65=94 Exploring Operation: 68+29=97, Resulting Numbers: [83, 65, 97] Generated Node #0,1: 79:[83, 65, 97] Operation: 68+29=97 Moving to Node #0,0 Current State: 79:[68, 83, 94], Operations: ['29+65=94'] Exploring Operation: 83-68=15, Resulting Numbers: [94, 15] Generated Node #0,0,0: 79:[94, 15] Operation: 83-68=15 Exploring Operation: 94-68=26, Resulting Numbers: [83, 26] Generated Node #0,0,1: 79:[83, 26] Operation: 94-68=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[83, 26], Operations: ['29+65=94', '94-68=26'] Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[94, 15], Operations: ['29+65=94', '83-68=15'] Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[68, 29, 83, 65], Operations: [] Exploring Operation: 29+65=94, Resulting Numbers: [68, 83, 94] Generated Node #0,0: 79:[68, 83, 94] Operation: 29+65=94 Moving to Node #0,0 Current State: 79:[68, 83, 94], Operations: ['29+65=94'] Exploring Operation: 83-68=15, Resulting Numbers: [94, 15] Generated Node #0,0,0: 79:[94, 15] Operation: 83-68=15 Moving to Node #0,0,0 Current State: 79:[94, 15], Operations: ['29+65=94', '83-68=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 37, 59, 74, 53 ]
47
[ "74/37=2", "53*2=106", "106-59=47" ]
Current State: 47:[37, 59, 74, 53], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [59, 53, 2] Generated Node #2: [59, 53, 2] from Operation: 74/37=2 Current State: 47:[59, 53, 2], Operations: ['74/37=2'] Exploring Operation: 53*2=106, Resulting Numbers: [59, 106] Generated Node #3: [59, 106] from Operation: 53*2=106 Current State: 47:[59, 106], Operations: ['74/37=2', '53*2=106'] Exploring Operation: 106-59=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[37, 59, 74, 53], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [37, 53, 15] Generated Node #0,0: 47:[37, 53, 15] Operation: 74-59=15 Exploring Operation: 74-37=37, Resulting Numbers: [59, 53, 37] Generated Node #0,1: 47:[59, 53, 37] Operation: 74-37=37 Moving to Node #0,1 Current State: 47:[59, 53, 37], Operations: ['74-37=37'] Exploring Operation: 59-37=22, Resulting Numbers: [53, 22] Generated Node #0,1,0: 47:[53, 22] Operation: 59-37=22 Exploring Operation: 53-37=16, Resulting Numbers: [59, 16] Generated Node #0,1,1: 47:[59, 16] Operation: 53-37=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[53, 22], Operations: ['74-37=37', '59-37=22'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,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:[59, 16], Operations: ['74-37=37', '53-37=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,47 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: 47:[37, 53, 15], Operations: ['74-59=15'] Exploring Operation: 53-15=38, Resulting Numbers: [37, 38] Generated Node #0,0,0: 47:[37, 38] Operation: 53-15=38 Exploring Operation: 37+15=52, Resulting Numbers: [53, 52] Generated Node #0,0,1: 47:[53, 52] Operation: 37+15=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[53, 52], Operations: ['74-59=15', '37+15=52'] Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[37, 38], Operations: ['74-59=15', '53-15=38'] Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,47 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
[ 42, 34, 44, 96 ]
60
[ "42-34=8", "96-44=52", "8+52=60" ]
Current State: 60:[42, 34, 44, 96], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [44, 96, 8] Generated Node #2: [44, 96, 8] from Operation: 42-34=8 Current State: 60:[44, 96, 8], Operations: ['42-34=8'] Exploring Operation: 96-44=52, Resulting Numbers: [8, 52] Generated Node #3: [8, 52] from Operation: 96-44=52 Current State: 60:[8, 52], Operations: ['42-34=8', '96-44=52'] Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[42, 34, 44, 96], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [42, 34, 52] Generated Node #0,0: 60:[42, 34, 52] Operation: 96-44=52 Exploring Operation: 96-34=62, Resulting Numbers: [42, 44, 62] Generated Node #0,1: 60:[42, 44, 62] Operation: 96-34=62 Exploring Operation: 96-42=54, Resulting Numbers: [34, 44, 54] Generated Node #0,2: 60:[34, 44, 54] Operation: 96-42=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[42, 34, 52], Operations: ['96-44=52'] Exploring Operation: 52-34=18, Resulting Numbers: [42, 18] Generated Node #0,0,0: 60:[42, 18] Operation: 52-34=18 Exploring Operation: 42-34=8, Resulting Numbers: [52, 8] Generated Node #0,0,1: 60:[52, 8] Operation: 42-34=8 Exploring Operation: 52-42=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 60:[34, 10] Operation: 52-42=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[34, 10], Operations: ['96-44=52', '52-42=10'] Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,60 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,60 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[52, 8], Operations: ['96-44=52', '42-34=8'] Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[42, 34, 44, 96], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [42, 34, 52] Generated Node #0,0: 60:[42, 34, 52] Operation: 96-44=52 Moving to Node #0,0 Current State: 60:[42, 34, 52], Operations: ['96-44=52'] Exploring Operation: 42-34=8, Resulting Numbers: [52, 8] Generated Node #0,0,1: 60:[52, 8] Operation: 42-34=8 Moving to Node #0,0,1 Current State: 60:[52, 8], Operations: ['96-44=52', '42-34=8'] Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 48, 26, 78, 77 ]
93
[ "48*26=1248", "1248/78=16", "77+16=93" ]
Current State: 93:[48, 26, 78, 77], Operations: [] Exploring Operation: 48*26=1248, Resulting Numbers: [78, 77, 1248] Generated Node #2: [78, 77, 1248] from Operation: 48*26=1248 Current State: 93:[78, 77, 1248], Operations: ['48*26=1248'] Exploring Operation: 1248/78=16, Resulting Numbers: [77, 16] Generated Node #3: [77, 16] from Operation: 1248/78=16 Current State: 93:[77, 16], Operations: ['48*26=1248', '1248/78=16'] Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[48, 26, 78, 77], Operations: [] Exploring Operation: 77-48=29, Resulting Numbers: [26, 78, 29] Generated Node #0,0: 93:[26, 78, 29] Operation: 77-48=29 Exploring Operation: 78-48=30, Resulting Numbers: [26, 77, 30] Generated Node #0,1: 93:[26, 77, 30] Operation: 78-48=30 Moving to Node #0,0 Current State: 93:[26, 78, 29], Operations: ['77-48=29'] Exploring Operation: 26+78=104, Resulting Numbers: [29, 104] Generated Node #0,0,0: 93:[29, 104] Operation: 26+78=104 Exploring Operation: 78/26=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 93:[29, 3] Operation: 78/26=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[29, 3], Operations: ['77-48=29', '78/26=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[29, 104], Operations: ['77-48=29', '26+78=104'] Exploring Operation: 104-29=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 29+104=133, Resulting Numbers: [133] 133,93 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: 93:[26, 77, 30], Operations: ['78-48=30'] Exploring Operation: 30-26=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 93:[77, 4] Operation: 30-26=4 Exploring Operation: 26+77=103, Resulting Numbers: [30, 103] Generated Node #0,1,1: 93:[30, 103] Operation: 26+77=103 Moving to Node #0,1,1 Current State: 93:[30, 103], Operations: ['78-48=30', '26+77=103'] Exploring Operation: 30+103=133, Resulting Numbers: [133] 133,93 unequal: No Solution Exploring Operation: 103-30=73, Resulting Numbers: [73] 73,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[77, 4], Operations: ['78-48=30', '30-26=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 10, 3, 2, 89 ]
13
[ "10-3=7", "2+89=91", "91/7=13" ]
Current State: 13:[10, 3, 2, 89], Operations: [] Exploring Operation: 10-3=7, Resulting Numbers: [2, 89, 7] Generated Node #2: [2, 89, 7] from Operation: 10-3=7 Current State: 13:[2, 89, 7], Operations: ['10-3=7'] Exploring Operation: 2+89=91, Resulting Numbers: [7, 91] Generated Node #3: [7, 91] from Operation: 2+89=91 Current State: 13:[7, 91], Operations: ['10-3=7', '2+89=91'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[10, 3, 2, 89], Operations: [] Exploring Operation: 3*2=6, Resulting Numbers: [10, 89, 6] Generated Node #0,0: 13:[10, 89, 6] Operation: 3*2=6 Exploring Operation: 10+2=12, Resulting Numbers: [3, 89, 12] Generated Node #0,1: 13:[3, 89, 12] Operation: 10+2=12 Exploring Operation: 10+3=13, Resulting Numbers: [2, 89, 13] Generated Node #0,2: 13:[2, 89, 13] Operation: 10+3=13 Moving to Node #0,0 Current State: 13:[10, 89, 6], Operations: ['3*2=6'] Exploring Operation: 89-6=83, Resulting Numbers: [10, 83] Generated Node #0,0,0: 13:[10, 83] Operation: 89-6=83 Exploring Operation: 10+6=16, Resulting Numbers: [89, 16] Generated Node #0,0,1: 13:[89, 16] Operation: 10+6=16 Exploring Operation: 89-10=79, Resulting Numbers: [6, 79] Generated Node #0,0,2: 13:[6, 79] Operation: 89-10=79 Moving to Node #0,1 Current State: 13:[3, 89, 12], Operations: ['10+2=12'] Exploring Operation: 3+12=15, Resulting Numbers: [89, 15] Generated Node #0,1,0: 13:[89, 15] Operation: 3+12=15 Exploring Operation: 89-12=77, Resulting Numbers: [3, 77] Generated Node #0,1,1: 13:[3, 77] Operation: 89-12=77 Exploring Operation: 89-3=86, Resulting Numbers: [12, 86] Generated Node #0,1,2: 13:[12, 86] Operation: 89-3=86 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[3, 77], Operations: ['10+2=12', '89-12=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,13 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[12, 86], Operations: ['10+2=12', '89-3=86'] Exploring Operation: 12+86=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 12*86=1032, Resulting Numbers: [1032] 1032,13 unequal: No Solution Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[89, 15], Operations: ['10+2=12', '3+12=15'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,13 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: 13:[2, 89, 13], Operations: ['10+3=13'] Exploring Operation: 89-2=87, Resulting Numbers: [13, 87] Generated Node #0,2,0: 13:[13, 87] Operation: 89-2=87 Exploring Operation: 89-13=76, Resulting Numbers: [2, 76] Generated Node #0,2,1: 13:[2, 76] Operation: 89-13=76 Exploring Operation: 2+89=91, Resulting Numbers: [13, 91] Generated Node #0,2,2: 13:[13, 91] Operation: 2+89=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[13, 87], Operations: ['10+3=13', '89-2=87'] Exploring Operation: 13*87=1131, Resulting Numbers: [1131] 1131,13 unequal: No Solution Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 13+87=100, Resulting Numbers: [100] 100,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[2, 76], Operations: ['10+3=13', '89-13=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[13, 91], Operations: ['10+3=13', '2+89=91'] Exploring Operation: 13+91=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,13 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: 13:[10, 83], Operations: ['3*2=6', '89-6=83'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,13 unequal: No Solution Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[6, 79], Operations: ['3*2=6', '89-10=79'] Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,13 unequal: No Solution Exploring Operation: 6*79=474, Resulting Numbers: [474] 474,13 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[89, 16], Operations: ['3*2=6', '10+6=16'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 89*16=1424, Resulting Numbers: [1424] 1424,13 unequal: No Solution Exploring Operation: 89+16=105, Resulting Numbers: [105] 105,13 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 48, 83, 35, 39 ]
71
[ "39-35=4", "48/4=12", "83-12=71" ]
Current State: 71:[48, 83, 35, 39], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [48, 83, 4] Generated Node #2: [48, 83, 4] from Operation: 39-35=4 Current State: 71:[48, 83, 4], Operations: ['39-35=4'] Exploring Operation: 48/4=12, Resulting Numbers: [83, 12] Generated Node #3: [83, 12] from Operation: 48/4=12 Current State: 71:[83, 12], Operations: ['39-35=4', '48/4=12'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[48, 83, 35, 39], Operations: [] Exploring Operation: 48+39=87, Resulting Numbers: [83, 35, 87] Generated Node #0,0: 71:[83, 35, 87] Operation: 48+39=87 Exploring Operation: 35+39=74, Resulting Numbers: [48, 83, 74] Generated Node #0,1: 71:[48, 83, 74] Operation: 35+39=74 Exploring Operation: 48+35=83, Resulting Numbers: [83, 39, 83] Generated Node #0,2: 71:[83, 39, 83] Operation: 48+35=83 Moving to Node #0,1 Current State: 71:[48, 83, 74], Operations: ['35+39=74'] Exploring Operation: 48+83=131, Resulting Numbers: [74, 131] Generated Node #0,1,0: 71:[74, 131] Operation: 48+83=131 Exploring Operation: 83-48=35, Resulting Numbers: [74, 35] Generated Node #0,1,1: 71:[74, 35] Operation: 83-48=35 Exploring Operation: 74-48=26, Resulting Numbers: [83, 26] Generated Node #0,1,2: 71:[83, 26] Operation: 74-48=26 Moving to Node #0,2 Current State: 71:[83, 39, 83], Operations: ['48+35=83'] Exploring Operation: 83-39=44, Resulting Numbers: [83, 44] Generated Node #0,2,0: 71:[83, 44] Operation: 83-39=44 Exploring Operation: 83+39=122, Resulting Numbers: [83, 122] Generated Node #0,2,1: 71:[83, 122] Operation: 83+39=122 Exploring Operation: 83-39=44, Resulting Numbers: [83, 44] Generated Node #0,2,2: 71:[83, 44] Operation: 83-39=44 Moving to Node #0,0 Current State: 71:[83, 35, 87], Operations: ['48+39=87'] Exploring Operation: 83+35=118, Resulting Numbers: [87, 118] Generated Node #0,0,0: 71:[87, 118] Operation: 83+35=118 Exploring Operation: 83-35=48, Resulting Numbers: [87, 48] Generated Node #0,0,1: 71:[87, 48] Operation: 83-35=48 Exploring Operation: 87-35=52, Resulting Numbers: [83, 52] Generated Node #0,0,2: 71:[83, 52] Operation: 87-35=52 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[83, 52], Operations: ['48+39=87', '87-35=52'] Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 83+52=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 83*52=4316, Resulting Numbers: [4316] 4316,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[87, 48], Operations: ['48+39=87', '83-35=48'] Exploring Operation: 87*48=4176, Resulting Numbers: [4176] 4176,71 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[87, 118], Operations: ['48+39=87', '83+35=118'] Exploring Operation: 87*118=10266, Resulting Numbers: [10266] 10266,71 unequal: No Solution Exploring Operation: 87+118=205, Resulting Numbers: [205] 205,71 unequal: No Solution Exploring Operation: 118-87=31, Resulting Numbers: [31] 31,71 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: 71:[74, 35], Operations: ['35+39=74', '83-48=35'] Exploring Operation: 74+35=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 74*35=2590, Resulting Numbers: [2590] 2590,71 unequal: No Solution Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[83, 44], Operations: ['48+35=83', '83-39=44'] Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,71 unequal: No Solution Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[83, 44], Operations: ['48+35=83', '83-39=44'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[83, 26], Operations: ['35+39=74', '74-48=26'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,71 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[83, 122], Operations: ['48+35=83', '83+39=122'] Exploring Operation: 83+122=205, Resulting Numbers: [205] 205,71 unequal: No Solution Exploring Operation: 83*122=10126, Resulting Numbers: [10126] 10126,71 unequal: No Solution Exploring Operation: 122-83=39, Resulting Numbers: [39] 39,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[74, 131], Operations: ['35+39=74', '48+83=131'] Exploring Operation: 74+131=205, Resulting Numbers: [205] 205,71 unequal: No Solution Exploring Operation: 74*131=9694, Resulting Numbers: [9694] 9694,71 unequal: No Solution Exploring Operation: 131-74=57, Resulting Numbers: [57] 57,71 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 31, 40, 5, 37 ]
78
[ "31*5=155", "40+37=77", "155-77=78" ]
Current State: 78:[31, 40, 5, 37], Operations: [] Exploring Operation: 31*5=155, Resulting Numbers: [40, 37, 155] Generated Node #2: [40, 37, 155] from Operation: 31*5=155 Current State: 78:[40, 37, 155], Operations: ['31*5=155'] Exploring Operation: 40+37=77, Resulting Numbers: [155, 77] Generated Node #3: [155, 77] from Operation: 40+37=77 Current State: 78:[155, 77], Operations: ['31*5=155', '40+37=77'] Exploring Operation: 155-77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[31, 40, 5, 37], Operations: [] Exploring Operation: 37-31=6, Resulting Numbers: [40, 5, 6] Generated Node #0,0: 78:[40, 5, 6] Operation: 37-31=6 Exploring Operation: 31-5=26, Resulting Numbers: [40, 37, 26] Generated Node #0,1: 78:[40, 37, 26] Operation: 31-5=26 Moving to Node #0,0 Current State: 78:[40, 5, 6], Operations: ['37-31=6'] Exploring Operation: 40/5=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 78:[6, 8] Operation: 40/5=8 Exploring Operation: 6-5=1, Resulting Numbers: [40, 1] Generated Node #0,0,1: 78:[40, 1] Operation: 6-5=1 Moving to Node #0,1 Current State: 78:[40, 37, 26], Operations: ['31-5=26'] Exploring Operation: 40-37=3, Resulting Numbers: [26, 3] Generated Node #0,1,0: 78:[26, 3] Operation: 40-37=3 Exploring Operation: 40+37=77, Resulting Numbers: [26, 77] Generated Node #0,1,1: 78:[26, 77] Operation: 40+37=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[26, 3], Operations: ['31-5=26', '40-37=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[31, 40, 5, 37], Operations: [] Exploring Operation: 31-5=26, Resulting Numbers: [40, 37, 26] Generated Node #0,1: 78:[40, 37, 26] Operation: 31-5=26 Moving to Node #0,1 Current State: 78:[40, 37, 26], Operations: ['31-5=26'] Exploring Operation: 40-37=3, Resulting Numbers: [26, 3] Generated Node #0,1,0: 78:[26, 3] Operation: 40-37=3 Moving to Node #0,1,0 Current State: 78:[26, 3], Operations: ['31-5=26', '40-37=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 76, 93, 91, 18 ]
85
[ "93-91=2", "18/2=9", "76+9=85" ]
Current State: 85:[76, 93, 91, 18], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [76, 18, 2] Generated Node #2: [76, 18, 2] from Operation: 93-91=2 Current State: 85:[76, 18, 2], Operations: ['93-91=2'] Exploring Operation: 18/2=9, Resulting Numbers: [76, 9] Generated Node #3: [76, 9] from Operation: 18/2=9 Current State: 85:[76, 9], Operations: ['93-91=2', '18/2=9'] Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[76, 93, 91, 18], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [91, 18, 17] Generated Node #0,0: 85:[91, 18, 17] Operation: 93-76=17 Exploring Operation: 93-91=2, Resulting Numbers: [76, 18, 2] Generated Node #0,1: 85:[76, 18, 2] Operation: 93-91=2 Exploring Operation: 91-76=15, Resulting Numbers: [93, 18, 15] Generated Node #0,2: 85:[93, 18, 15] Operation: 91-76=15 Moving to Node #0,0 Current State: 85:[91, 18, 17], Operations: ['93-76=17'] Exploring Operation: 18-17=1, Resulting Numbers: [91, 1] Generated Node #0,0,0: 85:[91, 1] Operation: 18-17=1 Exploring Operation: 91-17=74, Resulting Numbers: [18, 74] Generated Node #0,0,1: 85:[18, 74] Operation: 91-17=74 Exploring Operation: 91-18=73, Resulting Numbers: [17, 73] Generated Node #0,0,2: 85:[17, 73] Operation: 91-18=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[91, 1], Operations: ['93-76=17', '18-17=1'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,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,0,1 Current State: 85:[18, 74], Operations: ['93-76=17', '91-17=74'] Exploring Operation: 18+74=92, Resulting Numbers: [92] 92,85 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 18*74=1332, Resulting Numbers: [1332] 1332,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,0,2 Current State: 85:[17, 73], Operations: ['93-76=17', '91-18=73'] Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,85 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,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:[93, 18, 15], Operations: ['91-76=15'] Exploring Operation: 93-18=75, Resulting Numbers: [15, 75] Generated Node #0,2,0: 85:[15, 75] Operation: 93-18=75 Exploring Operation: 18-15=3, Resulting Numbers: [93, 3] Generated Node #0,2,1: 85:[93, 3] Operation: 18-15=3 Exploring Operation: 93-15=78, Resulting Numbers: [18, 78] Generated Node #0,2,2: 85:[18, 78] Operation: 93-15=78 Moving to Node #0,1 Current State: 85:[76, 18, 2], Operations: ['93-91=2'] Exploring Operation: 18-2=16, Resulting Numbers: [76, 16] Generated Node #0,1,0: 85:[76, 16] Operation: 18-2=16 Exploring Operation: 76+2=78, Resulting Numbers: [18, 78] Generated Node #0,1,1: 85:[18, 78] Operation: 76+2=78 Exploring Operation: 76+18=94, Resulting Numbers: [2, 94] Generated Node #0,1,2: 85:[2, 94] Operation: 76+18=94 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[18, 78], Operations: ['93-91=2', '76+2=78'] Exploring Operation: 18*78=1404, Resulting Numbers: [1404] 1404,85 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,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:[76, 16], Operations: ['93-91=2', '18-2=16'] Exploring Operation: 76+16=92, Resulting Numbers: [92] 92,85 unequal: No Solution Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 76*16=1216, Resulting Numbers: [1216] 1216,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:[2, 94], Operations: ['93-91=2', '76+18=94'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,85 unequal: No Solution Exploring Operation: 2+94=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 85:[18, 78], Operations: ['91-76=15', '93-15=78'] Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 18*78=1404, Resulting Numbers: [1404] 1404,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[93, 3], Operations: ['91-76=15', '18-15=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[15, 75], Operations: ['91-76=15', '93-18=75'] Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,85 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 34, 51, 14, 2 ]
75
[ "34+14=48", "48/2=24", "51+24=75" ]
Current State: 75:[34, 51, 14, 2], Operations: [] Exploring Operation: 34+14=48, Resulting Numbers: [51, 2, 48] Generated Node #2: [51, 2, 48] from Operation: 34+14=48 Current State: 75:[51, 2, 48], Operations: ['34+14=48'] Exploring Operation: 48/2=24, Resulting Numbers: [51, 24] Generated Node #3: [51, 24] from Operation: 48/2=24 Current State: 75:[51, 24], Operations: ['34+14=48', '48/2=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[34, 51, 14, 2], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [14, 2, 17] Generated Node #0,0: 75:[14, 2, 17] Operation: 51-34=17 Exploring Operation: 34+51=85, Resulting Numbers: [14, 2, 85] Generated Node #0,1: 75:[14, 2, 85] Operation: 34+51=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[14, 2, 17], Operations: ['51-34=17'] Exploring Operation: 17-14=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 75:[2, 3] Operation: 17-14=3 Exploring Operation: 17-2=15, Resulting Numbers: [14, 15] Generated Node #0,0,1: 75:[14, 15] Operation: 17-2=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[2, 3], Operations: ['51-34=17', '17-14=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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:[14, 15], Operations: ['51-34=17', '17-2=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[14, 2, 85], Operations: ['34+51=85'] Exploring Operation: 85-2=83, Resulting Numbers: [14, 83] Generated Node #0,1,0: 75:[14, 83] Operation: 85-2=83 Exploring Operation: 85-14=71, Resulting Numbers: [2, 71] Generated Node #0,1,1: 75:[2, 71] Operation: 85-14=71 Moving to Node #0,1,1 Current State: 75:[2, 71], Operations: ['34+51=85', '85-14=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[14, 83], Operations: ['34+51=85', '85-2=83'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 14+83=97, Resulting Numbers: [97] 97,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 18, 84, 26, 75 ]
53
[ "18+84=102", "75-26=49", "102-49=53" ]
Current State: 53:[18, 84, 26, 75], Operations: [] Exploring Operation: 18+84=102, Resulting Numbers: [26, 75, 102] Generated Node #2: [26, 75, 102] from Operation: 18+84=102 Current State: 53:[26, 75, 102], Operations: ['18+84=102'] Exploring Operation: 75-26=49, Resulting Numbers: [102, 49] Generated Node #3: [102, 49] from Operation: 75-26=49 Current State: 53:[102, 49], Operations: ['18+84=102', '75-26=49'] Exploring Operation: 102-49=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[18, 84, 26, 75], Operations: [] Exploring Operation: 18+26=44, Resulting Numbers: [84, 75, 44] Generated Node #0,0: 53:[84, 75, 44] Operation: 18+26=44 Exploring Operation: 75-18=57, Resulting Numbers: [84, 26, 57] Generated Node #0,1: 53:[84, 26, 57] Operation: 75-18=57 Exploring Operation: 84-18=66, Resulting Numbers: [26, 75, 66] Generated Node #0,2: 53:[26, 75, 66] Operation: 84-18=66 Exploring Operation: 84-26=58, Resulting Numbers: [18, 75, 58] Generated Node #0,3: 53:[18, 75, 58] Operation: 84-26=58 Moving to Node #0,0 Current State: 53:[84, 75, 44], Operations: ['18+26=44'] Exploring Operation: 84-75=9, Resulting Numbers: [44, 9] Generated Node #0,0,0: 53:[44, 9] Operation: 84-75=9 Exploring Operation: 84-44=40, Resulting Numbers: [75, 40] Generated Node #0,0,1: 53:[75, 40] Operation: 84-44=40 Exploring Operation: 75-44=31, Resulting Numbers: [84, 31] Generated Node #0,0,2: 53:[84, 31] Operation: 75-44=31 Exploring Operation: 84+44=128, Resulting Numbers: [75, 128] Generated Node #0,0,3: 53:[75, 128] Operation: 84+44=128 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[75, 40], Operations: ['18+26=44', '84-44=40'] Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,53 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[44, 9], Operations: ['18+26=44', '84-75=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[18, 84, 26, 75], Operations: [] Exploring Operation: 18+26=44, Resulting Numbers: [84, 75, 44] Generated Node #0,0: 53:[84, 75, 44] Operation: 18+26=44 Moving to Node #0,0 Current State: 53:[84, 75, 44], Operations: ['18+26=44'] Exploring Operation: 84-75=9, Resulting Numbers: [44, 9] Generated Node #0,0,0: 53:[44, 9] Operation: 84-75=9 Moving to Node #0,0,0 Current State: 53:[44, 9], Operations: ['18+26=44', '84-75=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 57, 95, 81, 68 ]
60
[ "95-68=27", "81/27=3", "57+3=60" ]
Current State: 60:[57, 95, 81, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [57, 81, 27] Generated Node #2: [57, 81, 27] from Operation: 95-68=27 Current State: 60:[57, 81, 27], Operations: ['95-68=27'] Exploring Operation: 81/27=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 81/27=3 Current State: 60:[57, 3], Operations: ['95-68=27', '81/27=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[57, 95, 81, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [57, 81, 27] Generated Node #0,0: 60:[57, 81, 27] Operation: 95-68=27 Exploring Operation: 95-81=14, Resulting Numbers: [57, 68, 14] Generated Node #0,1: 60:[57, 68, 14] Operation: 95-81=14 Moving to Node #0,1 Current State: 60:[57, 68, 14], Operations: ['95-81=14'] Exploring Operation: 68-57=11, Resulting Numbers: [14, 11] Generated Node #0,1,0: 60:[14, 11] Operation: 68-57=11 Exploring Operation: 68-14=54, Resulting Numbers: [57, 54] Generated Node #0,1,1: 60:[57, 54] Operation: 68-14=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[14, 11], Operations: ['95-81=14', '68-57=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[57, 54], Operations: ['95-81=14', '68-14=54'] Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,60 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: 60:[57, 81, 27], Operations: ['95-68=27'] Exploring Operation: 81-57=24, Resulting Numbers: [27, 24] Generated Node #0,0,0: 60:[27, 24] Operation: 81-57=24 Exploring Operation: 81/27=3, Resulting Numbers: [57, 3] Generated Node #0,0,1: 60:[57, 3] Operation: 81/27=3 Moving to Node #0,0,1 Current State: 60:[57, 3], Operations: ['95-68=27', '81/27=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[57, 95, 81, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [57, 81, 27] Generated Node #0,0: 60:[57, 81, 27] Operation: 95-68=27 Moving to Node #0,0 Current State: 60:[57, 81, 27], Operations: ['95-68=27'] Exploring Operation: 81/27=3, Resulting Numbers: [57, 3] Generated Node #0,0,1: 60:[57, 3] Operation: 81/27=3 Moving to Node #0,0,1 Current State: 60:[57, 3], Operations: ['95-68=27', '81/27=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 3, 1, 1, 12 ]
52
[ "3+1=4", "1+12=13", "4*13=52" ]
Current State: 52:[3, 1, 1, 12], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [12, 4] Generated Node #2: [12, 4] from Operation: 3+1=4 Current State: 52:[12, 4], Operations: ['3+1=4'] Exploring Operation: 1+12=13, Resulting Numbers: [4, 13] Generated Node #3: [4, 13] from Operation: 1+12=13 Current State: 52:[4, 13], Operations: ['3+1=4', '1+12=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[3, 1, 1, 12], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [1, 12, 4] Generated Node #0,0: 52:[1, 12, 4] Operation: 3+1=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[1, 12, 4], Operations: ['3+1=4'] Exploring Operation: 1+12=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 52:[4, 13] Operation: 1+12=13 Moving to Node #0,0,0 Current State: 52:[4, 13], Operations: ['3+1=4', '1+12=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[3, 1, 1, 12], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [1, 12, 4] Generated Node #0,0: 52:[1, 12, 4] Operation: 3+1=4 Moving to Node #0,0 Current State: 52:[1, 12, 4], Operations: ['3+1=4'] Exploring Operation: 1+12=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 52:[4, 13] Operation: 1+12=13 Moving to Node #0,0,0 Current State: 52:[4, 13], Operations: ['3+1=4', '1+12=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 83, 26, 91, 17 ]
51
[ "83-26=57", "91+17=108", "108-57=51" ]
Current State: 51:[83, 26, 91, 17], Operations: [] Exploring Operation: 83-26=57, Resulting Numbers: [91, 17, 57] Generated Node #2: [91, 17, 57] from Operation: 83-26=57 Current State: 51:[91, 17, 57], Operations: ['83-26=57'] Exploring Operation: 91+17=108, Resulting Numbers: [57, 108] Generated Node #3: [57, 108] from Operation: 91+17=108 Current State: 51:[57, 108], Operations: ['83-26=57', '91+17=108'] Exploring Operation: 108-57=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[83, 26, 91, 17], Operations: [] Exploring Operation: 83-26=57, Resulting Numbers: [91, 17, 57] Generated Node #0,0: 51:[91, 17, 57] Operation: 83-26=57 Exploring Operation: 91-26=65, Resulting Numbers: [83, 17, 65] Generated Node #0,1: 51:[83, 17, 65] Operation: 91-26=65 Exploring Operation: 91-83=8, Resulting Numbers: [26, 17, 8] Generated Node #0,2: 51:[26, 17, 8] Operation: 91-83=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[26, 17, 8], Operations: ['91-83=8'] Exploring Operation: 26-17=9, Resulting Numbers: [8, 9] Generated Node #0,2,0: 51:[8, 9] Operation: 26-17=9 Exploring Operation: 26+17=43, Resulting Numbers: [8, 43] Generated Node #0,2,1: 51:[8, 43] Operation: 26+17=43 Exploring Operation: 26-8=18, Resulting Numbers: [17, 18] Generated Node #0,2,2: 51:[17, 18] Operation: 26-8=18 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[17, 18], Operations: ['91-83=8', '26-8=18'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[8, 9], Operations: ['91-83=8', '26-17=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[8, 43], Operations: ['91-83=8', '26+17=43'] Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[83, 26, 91, 17], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [26, 17, 8] Generated Node #0,2: 51:[26, 17, 8] Operation: 91-83=8 Moving to Node #0,2 Current State: 51:[26, 17, 8], Operations: ['91-83=8'] Exploring Operation: 26+17=43, Resulting Numbers: [8, 43] Generated Node #0,2,1: 51:[8, 43] Operation: 26+17=43 Moving to Node #0,2,1 Current State: 51:[8, 43], Operations: ['91-83=8', '26+17=43'] Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 10, 70, 6, 1 ]
48
[ "70/10=7", "1+7=8", "6*8=48" ]
Current State: 48:[10, 70, 6, 1], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [6, 1, 7] Generated Node #2: [6, 1, 7] from Operation: 70/10=7 Current State: 48:[6, 1, 7], Operations: ['70/10=7'] Exploring Operation: 1+7=8, Resulting Numbers: [6, 8] Generated Node #3: [6, 8] from Operation: 1+7=8 Current State: 48:[6, 8], Operations: ['70/10=7', '1+7=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 70, 6, 1], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [6, 1, 7] Generated Node #0,0: 48:[6, 1, 7] Operation: 70/10=7 Moving to Node #0,0 Current State: 48:[6, 1, 7], Operations: ['70/10=7'] Exploring Operation: 1+7=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 48:[6, 8] Operation: 1+7=8 Moving to Node #0,0,0 Current State: 48:[6, 8], Operations: ['70/10=7', '1+7=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[10, 70, 6, 1], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [6, 1, 7] Generated Node #0,0: 48:[6, 1, 7] Operation: 70/10=7 Moving to Node #0,0 Current State: 48:[6, 1, 7], Operations: ['70/10=7'] Exploring Operation: 1+7=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 48:[6, 8] Operation: 1+7=8 Moving to Node #0,0,0 Current State: 48:[6, 8], Operations: ['70/10=7', '1+7=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 89, 76, 3, 70 ]
98
[ "89+76=165", "70-3=67", "165-67=98" ]
Current State: 98:[89, 76, 3, 70], Operations: [] Exploring Operation: 89+76=165, Resulting Numbers: [3, 70, 165] Generated Node #2: [3, 70, 165] from Operation: 89+76=165 Current State: 98:[3, 70, 165], Operations: ['89+76=165'] Exploring Operation: 70-3=67, Resulting Numbers: [165, 67] Generated Node #3: [165, 67] from Operation: 70-3=67 Current State: 98:[165, 67], Operations: ['89+76=165', '70-3=67'] Exploring Operation: 165-67=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[89, 76, 3, 70], Operations: [] Exploring Operation: 89+3=92, Resulting Numbers: [76, 70, 92] Generated Node #0,0: 98:[76, 70, 92] Operation: 89+3=92 Exploring Operation: 89-70=19, Resulting Numbers: [76, 3, 19] Generated Node #0,1: 98:[76, 3, 19] Operation: 89-70=19 Exploring Operation: 89-76=13, Resulting Numbers: [3, 70, 13] Generated Node #0,2: 98:[3, 70, 13] Operation: 89-76=13 Exploring Operation: 76-70=6, Resulting Numbers: [89, 3, 6] Generated Node #0,3: 98:[89, 3, 6] Operation: 76-70=6 Moving to Node #0,3 Current State: 98:[89, 3, 6], Operations: ['76-70=6'] Exploring Operation: 6-3=3, Resulting Numbers: [89, 3] Generated Node #0,3,0: 98:[89, 3] Operation: 6-3=3 Exploring Operation: 89+3=92, Resulting Numbers: [6, 92] Generated Node #0,3,1: 98:[6, 92] Operation: 89+3=92 Exploring Operation: 89+6=95, Resulting Numbers: [3, 95] Generated Node #0,3,2: 98:[3, 95] Operation: 89+6=95 Exploring Operation: 6/3=2, Resulting Numbers: [89, 2] Generated Node #0,3,3: 98:[89, 2] Operation: 6/3=2 Moving to Node #0,2 Current State: 98:[3, 70, 13], Operations: ['89-76=13'] Exploring Operation: 3+13=16, Resulting Numbers: [70, 16] Generated Node #0,2,0: 98:[70, 16] Operation: 3+13=16 Exploring Operation: 70-13=57, Resulting Numbers: [3, 57] Generated Node #0,2,1: 98:[3, 57] Operation: 70-13=57 Exploring Operation: 70+13=83, Resulting Numbers: [3, 83] Generated Node #0,2,2: 98:[3, 83] Operation: 70+13=83 Exploring Operation: 70-3=67, Resulting Numbers: [13, 67] Generated Node #0,2,3: 98:[13, 67] Operation: 70-3=67 Moving to Node #0,1 Current State: 98:[76, 3, 19], Operations: ['89-70=19'] Exploring Operation: 76-19=57, Resulting Numbers: [3, 57] Generated Node #0,1,0: 98:[3, 57] Operation: 76-19=57 Exploring Operation: 76+3=79, Resulting Numbers: [19, 79] Generated Node #0,1,1: 98:[19, 79] Operation: 76+3=79 Exploring Operation: 76+19=95, Resulting Numbers: [3, 95] Generated Node #0,1,2: 98:[3, 95] Operation: 76+19=95 Exploring Operation: 76/19=4, Resulting Numbers: [3, 4] Generated Node #0,1,3: 98:[3, 4] Operation: 76/19=4 Moving to Node #0,0 Current State: 98:[76, 70, 92], Operations: ['89+3=92'] Exploring Operation: 76+70=146, Resulting Numbers: [92, 146] Generated Node #0,0,0: 98:[92, 146] Operation: 76+70=146 Exploring Operation: 76-70=6, Resulting Numbers: [92, 6] Generated Node #0,0,1: 98:[92, 6] Operation: 76-70=6 Exploring Operation: 92-70=22, Resulting Numbers: [76, 22] Generated Node #0,0,2: 98:[76, 22] Operation: 92-70=22 Exploring Operation: 92-76=16, Resulting Numbers: [70, 16] Generated Node #0,0,3: 98:[70, 16] Operation: 92-76=16 Moving to Node #0,1,3 Current State: 98:[3, 4], Operations: ['89-70=19', '76/19=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[3, 95], Operations: ['76-70=6', '89+6=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[89, 76, 3, 70], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [89, 3, 6] Generated Node #0,3: 98:[89, 3, 6] Operation: 76-70=6 Moving to Node #0,3 Current State: 98:[89, 3, 6], Operations: ['76-70=6'] Exploring Operation: 89+6=95, Resulting Numbers: [3, 95] Generated Node #0,3,2: 98:[3, 95] Operation: 89+6=95 Moving to Node #0,3,2 Current State: 98:[3, 95], Operations: ['76-70=6', '89+6=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.975694
hs_4
mult_heuristic
[ 96, 88, 46, 42 ]
38
[ "96+88=184", "184/46=4", "42-4=38" ]
Current State: 38:[96, 88, 46, 42], Operations: [] Exploring Operation: 96+88=184, Resulting Numbers: [46, 42, 184] Generated Node #2: [46, 42, 184] from Operation: 96+88=184 Current State: 38:[46, 42, 184], Operations: ['96+88=184'] Exploring Operation: 184/46=4, Resulting Numbers: [42, 4] Generated Node #3: [42, 4] from Operation: 184/46=4 Current State: 38:[42, 4], Operations: ['96+88=184', '184/46=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[96, 88, 46, 42], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [46, 42, 8] Generated Node #0,0: 38:[46, 42, 8] Operation: 96-88=8 Exploring Operation: 96-46=50, Resulting Numbers: [88, 42, 50] Generated Node #0,1: 38:[88, 42, 50] Operation: 96-46=50 Exploring Operation: 88-46=42, Resulting Numbers: [96, 42, 42] Generated Node #0,2: 38:[96, 42, 42] Operation: 88-46=42 Exploring Operation: 96-42=54, Resulting Numbers: [88, 46, 54] Generated Node #0,3: 38:[88, 46, 54] Operation: 96-42=54 Moving to Node #0,0 Current State: 38:[46, 42, 8], Operations: ['96-88=8'] Exploring Operation: 46+8=54, Resulting Numbers: [42, 54] Generated Node #0,0,0: 38:[42, 54] Operation: 46+8=54 Exploring Operation: 42-8=34, Resulting Numbers: [46, 34] Generated Node #0,0,1: 38:[46, 34] Operation: 42-8=34 Exploring Operation: 46-8=38, Resulting Numbers: [42, 38] Generated Node #0,0,2: 38:[42, 38] Operation: 46-8=38 Exploring Operation: 46-42=4, Resulting Numbers: [8, 4] Generated Node #0,0,3: 38:[8, 4] Operation: 46-42=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[42, 38], Operations: ['96-88=8', '46-8=38'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,38 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 38:[8, 4], Operations: ['96-88=8', '46-42=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[46, 34], Operations: ['96-88=8', '42-8=34'] Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,38 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[42, 54], Operations: ['96-88=8', '46+8=54'] Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,38 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,38 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: 38:[96, 42, 42], Operations: ['88-46=42'] Exploring Operation: 42/42=1, Resulting Numbers: [96, 1] Generated Node #0,2,0: 38:[96, 1] Operation: 42/42=1 Exploring Operation: 42-42=0, Resulting Numbers: [96, 0] Generated Node #0,2,1: 38:[96, 0] Operation: 42-42=0 Exploring Operation: 96-42=54, Resulting Numbers: [42, 54] Generated Node #0,2,2: 38:[42, 54] Operation: 96-42=54 Exploring Operation: 96-42=54, Resulting Numbers: [42, 54] Generated Node #0,2,3: 38:[42, 54] Operation: 96-42=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[42, 54], Operations: ['88-46=42', '96-42=54'] Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,38 unequal: No Solution Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[42, 54], Operations: ['88-46=42', '96-42=54'] Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,38 unequal: No Solution Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[96, 1], Operations: ['88-46=42', '42/42=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[96, 0], Operations: ['88-46=42', '42-42=0'] Exploring Operation: 96+0=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 96-0=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 96*0=0, Resulting Numbers: [0] 0,38 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: 38:[88, 42, 50], Operations: ['96-46=50'] Exploring Operation: 88+42=130, Resulting Numbers: [50, 130] Generated Node #0,1,0: 38:[50, 130] Operation: 88+42=130 Exploring Operation: 50-42=8, Resulting Numbers: [88, 8] Generated Node #0,1,1: 38:[88, 8] Operation: 50-42=8 Exploring Operation: 88-50=38, Resulting Numbers: [42, 38] Generated Node #0,1,2: 38:[42, 38] Operation: 88-50=38 Exploring Operation: 88-42=46, Resulting Numbers: [50, 46] Generated Node #0,1,3: 38:[50, 46] Operation: 88-42=46 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[42, 38], Operations: ['96-46=50', '88-50=38'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,38 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[50, 46], Operations: ['96-46=50', '88-42=46'] Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[88, 8], Operations: ['96-46=50', '50-42=8'] Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 88*8=704, Resulting Numbers: [704] 704,38 unequal: No Solution Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 88+8=96, Resulting Numbers: [96] 96,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[50, 130], Operations: ['96-46=50', '88+42=130'] Exploring Operation: 130-50=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 50*130=6500, Resulting Numbers: [6500] 6500,38 unequal: No Solution Exploring Operation: 50+130=180, Resulting Numbers: [180] 180,38 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: 38:[88, 46, 54], Operations: ['96-42=54'] Exploring Operation: 88-46=42, Resulting Numbers: [54, 42] Generated Node #0,3,0: 38:[54, 42] Operation: 88-46=42 Exploring Operation: 88-54=34, Resulting Numbers: [46, 34] Generated Node #0,3,1: 38:[46, 34] Operation: 88-54=34 Exploring Operation: 54-46=8, Resulting Numbers: [88, 8] Generated Node #0,3,2: 38:[88, 8] Operation: 54-46=8 Exploring Operation: 88+46=134, Resulting Numbers: [54, 134] Generated Node #0,3,3: 38:[54, 134] Operation: 88+46=134 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 38:[46, 34], Operations: ['96-42=54', '88-54=34'] Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,38 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[54, 42], Operations: ['96-42=54', '88-46=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 38:[88, 8], Operations: ['96-42=54', '54-46=8'] Exploring Operation: 88+8=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 88*8=704, Resulting Numbers: [704] 704,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 38:[54, 134], Operations: ['96-42=54', '88+46=134'] Exploring Operation: 134-54=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 54+134=188, Resulting Numbers: [188] 188,38 unequal: No Solution Exploring Operation: 54*134=7236, Resulting Numbers: [7236] 7236,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 18, 2, 51, 39 ]
36
[ "51-18=33", "39+33=72", "72/2=36" ]
Current State: 36:[18, 2, 51, 39], Operations: [] Exploring Operation: 51-18=33, Resulting Numbers: [2, 39, 33] Generated Node #2: [2, 39, 33] from Operation: 51-18=33 Current State: 36:[2, 39, 33], Operations: ['51-18=33'] Exploring Operation: 39+33=72, Resulting Numbers: [2, 72] Generated Node #3: [2, 72] from Operation: 39+33=72 Current State: 36:[2, 72], Operations: ['51-18=33', '39+33=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[18, 2, 51, 39], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [18, 2, 12] Generated Node #0,0: 36:[18, 2, 12] Operation: 51-39=12 Exploring Operation: 51-18=33, Resulting Numbers: [2, 39, 33] Generated Node #0,1: 36:[2, 39, 33] Operation: 51-18=33 Moving to Node #0,0 Current State: 36:[18, 2, 12], Operations: ['51-39=12'] Exploring Operation: 18*2=36, Resulting Numbers: [12, 36] Generated Node #0,0,0: 36:[12, 36] Operation: 18*2=36 Exploring Operation: 18/2=9, Resulting Numbers: [12, 9] Generated Node #0,0,1: 36:[12, 9] Operation: 18/2=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[12, 36], Operations: ['51-39=12', '18*2=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[12, 9], Operations: ['51-39=12', '18/2=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 36:[2, 39, 33], Operations: ['51-18=33'] Exploring Operation: 39-2=37, Resulting Numbers: [33, 37] Generated Node #0,1,0: 36:[33, 37] Operation: 39-2=37 Exploring Operation: 39-33=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 36:[2, 6] Operation: 39-33=6 Moving to Node #0,1,1 Current State: 36:[2, 6], Operations: ['51-18=33', '39-33=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[33, 37], Operations: ['51-18=33', '39-2=37'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,36 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 20, 79, 48, 55 ]
92
[ "20+79=99", "55-48=7", "99-7=92" ]
Current State: 92:[20, 79, 48, 55], Operations: [] Exploring Operation: 20+79=99, Resulting Numbers: [48, 55, 99] Generated Node #2: [48, 55, 99] from Operation: 20+79=99 Current State: 92:[48, 55, 99], Operations: ['20+79=99'] Exploring Operation: 55-48=7, Resulting Numbers: [99, 7] Generated Node #3: [99, 7] from Operation: 55-48=7 Current State: 92:[99, 7], Operations: ['20+79=99', '55-48=7'] Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[20, 79, 48, 55], Operations: [] Exploring Operation: 79-20=59, Resulting Numbers: [48, 55, 59] Generated Node #0,0: 92:[48, 55, 59] Operation: 79-20=59 Exploring Operation: 79-48=31, Resulting Numbers: [20, 55, 31] Generated Node #0,1: 92:[20, 55, 31] Operation: 79-48=31 Exploring Operation: 55-48=7, Resulting Numbers: [20, 79, 7] Generated Node #0,2: 92:[20, 79, 7] Operation: 55-48=7 Exploring Operation: 79-55=24, Resulting Numbers: [20, 48, 24] Generated Node #0,3: 92:[20, 48, 24] Operation: 79-55=24 Exploring Operation: 20+79=99, Resulting Numbers: [48, 55, 99] Generated Node #0,4: 92:[48, 55, 99] Operation: 20+79=99 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[20, 48, 24], Operations: ['79-55=24'] Exploring Operation: 24-20=4, Resulting Numbers: [48, 4] Generated Node #0,3,0: 92:[48, 4] Operation: 24-20=4 Exploring Operation: 48-24=24, Resulting Numbers: [20, 24] Generated Node #0,3,1: 92:[20, 24] Operation: 48-24=24 Exploring Operation: 48-20=28, Resulting Numbers: [24, 28] Generated Node #0,3,2: 92:[24, 28] Operation: 48-20=28 Exploring Operation: 20+24=44, Resulting Numbers: [48, 44] Generated Node #0,3,3: 92:[48, 44] Operation: 20+24=44 Exploring Operation: 48/24=2, Resulting Numbers: [20, 2] Generated Node #0,3,4: 92:[20, 2] Operation: 48/24=2 Moving to Node #0,3,0 Current State: 92:[48, 4], Operations: ['79-55=24', '24-20=4'] Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,92 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[20, 2], Operations: ['79-55=24', '48/24=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[20, 24], Operations: ['79-55=24', '48-24=24'] Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[48, 44], Operations: ['79-55=24', '20+24=44'] Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,92 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[20, 79, 48, 55], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [20, 48, 24] Generated Node #0,3: 92:[20, 48, 24] Operation: 79-55=24 Moving to Node #0,3 Current State: 92:[20, 48, 24], Operations: ['79-55=24'] Exploring Operation: 20+24=44, Resulting Numbers: [48, 44] Generated Node #0,3,3: 92:[48, 44] Operation: 20+24=44 Moving to Node #0,3,3 Current State: 92:[48, 44], Operations: ['79-55=24', '20+24=44'] Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
sum_heuristic
[ 61, 10, 20, 74 ]
98
[ "20/10=2", "74/2=37", "61+37=98" ]
Current State: 98:[61, 10, 20, 74], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [61, 74, 2] Generated Node #2: [61, 74, 2] from Operation: 20/10=2 Current State: 98:[61, 74, 2], Operations: ['20/10=2'] Exploring Operation: 74/2=37, Resulting Numbers: [61, 37] Generated Node #3: [61, 37] from Operation: 74/2=37 Current State: 98:[61, 37], Operations: ['20/10=2', '74/2=37'] Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[61, 10, 20, 74], Operations: [] Exploring Operation: 74-20=54, Resulting Numbers: [61, 10, 54] Generated Node #0,0: 98:[61, 10, 54] Operation: 74-20=54 Exploring Operation: 20+74=94, Resulting Numbers: [61, 10, 94] Generated Node #0,1: 98:[61, 10, 94] Operation: 20+74=94 Exploring Operation: 74-61=13, Resulting Numbers: [10, 20, 13] Generated Node #0,2: 98:[10, 20, 13] Operation: 74-61=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[10, 20, 13], Operations: ['74-61=13'] Exploring Operation: 20/10=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 98:[13, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [13, 10] Generated Node #0,2,1: 98:[13, 10] Operation: 20-10=10 Exploring Operation: 20-13=7, Resulting Numbers: [10, 7] Generated Node #0,2,2: 98:[10, 7] Operation: 20-13=7 Moving to Node #0,2,0 Current State: 98:[13, 2], Operations: ['74-61=13', '20/10=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,98 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[10, 7], Operations: ['74-61=13', '20-13=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[13, 10], Operations: ['74-61=13', '20-10=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,98 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,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,1 Current State: 98:[61, 10, 94], Operations: ['20+74=94'] Exploring Operation: 94-61=33, Resulting Numbers: [10, 33] Generated Node #0,1,0: 98:[10, 33] Operation: 94-61=33 Exploring Operation: 61-10=51, Resulting Numbers: [94, 51] Generated Node #0,1,1: 98:[94, 51] Operation: 61-10=51 Exploring Operation: 10+94=104, Resulting Numbers: [61, 104] Generated Node #0,1,2: 98:[61, 104] Operation: 10+94=104 Moving to Node #0,1,1 Current State: 98:[94, 51], Operations: ['20+74=94', '61-10=51'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 94+51=145, Resulting Numbers: [145] 145,98 unequal: No Solution Exploring Operation: 94*51=4794, Resulting Numbers: [4794] 4794,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[61, 104], Operations: ['20+74=94', '10+94=104'] Exploring Operation: 104-61=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 61*104=6344, Resulting Numbers: [6344] 6344,98 unequal: No Solution Exploring Operation: 61+104=165, Resulting Numbers: [165] 165,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[10, 33], Operations: ['20+74=94', '94-61=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,98 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[61, 10, 54], Operations: ['74-20=54'] Exploring Operation: 54-10=44, Resulting Numbers: [61, 44] Generated Node #0,0,0: 98:[61, 44] Operation: 54-10=44 Exploring Operation: 61-54=7, Resulting Numbers: [10, 7] Generated Node #0,0,1: 98:[10, 7] Operation: 61-54=7 Exploring Operation: 61-10=51, Resulting Numbers: [54, 51] Generated Node #0,0,2: 98:[54, 51] Operation: 61-10=51 Moving to Node #0,0,1 Current State: 98:[10, 7], Operations: ['74-20=54', '61-54=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,98 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[54, 51], Operations: ['74-20=54', '61-10=51'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,98 unequal: No Solution Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[61, 44], Operations: ['74-20=54', '54-10=44'] Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,98 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,98 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 2, 44, 84, 77 ]
96
[ "2*44=88", "84*88=7392", "7392/77=96" ]
Current State: 96:[2, 44, 84, 77], Operations: [] Exploring Operation: 2*44=88, Resulting Numbers: [84, 77, 88] Generated Node #2: [84, 77, 88] from Operation: 2*44=88 Current State: 96:[84, 77, 88], Operations: ['2*44=88'] Exploring Operation: 84*88=7392, Resulting Numbers: [77, 7392] Generated Node #3: [77, 7392] from Operation: 84*88=7392 Current State: 96:[77, 7392], Operations: ['2*44=88', '84*88=7392'] Exploring Operation: 7392/77=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[2, 44, 84, 77], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [2, 44, 7] Generated Node #0,0: 96:[2, 44, 7] Operation: 84-77=7 Moving to Node #0,0 Current State: 96:[2, 44, 7], Operations: ['84-77=7'] Exploring Operation: 2+44=46, Resulting Numbers: [7, 46] Generated Node #0,0,0: 96:[7, 46] Operation: 2+44=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[7, 46], Operations: ['84-77=7', '2+44=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,96 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, 17, 19, 68 ]
44
[ "30-19=11", "68/17=4", "11*4=44" ]
Current State: 44:[30, 17, 19, 68], Operations: [] Exploring Operation: 30-19=11, Resulting Numbers: [17, 68, 11] Generated Node #2: [17, 68, 11] from Operation: 30-19=11 Current State: 44:[17, 68, 11], Operations: ['30-19=11'] Exploring Operation: 68/17=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 68/17=4 Current State: 44:[11, 4], Operations: ['30-19=11', '68/17=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[30, 17, 19, 68], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [30, 19, 4] Generated Node #0,0: 44:[30, 19, 4] Operation: 68/17=4 Exploring Operation: 68-30=38, Resulting Numbers: [17, 19, 38] Generated Node #0,1: 44:[17, 19, 38] Operation: 68-30=38 Exploring Operation: 68-17=51, Resulting Numbers: [30, 19, 51] Generated Node #0,2: 44:[30, 19, 51] Operation: 68-17=51 Moving to Node #0,0 Current State: 44:[30, 19, 4], Operations: ['68/17=4'] Exploring Operation: 30-4=26, Resulting Numbers: [19, 26] Generated Node #0,0,0: 44:[19, 26] Operation: 30-4=26 Exploring Operation: 30+19=49, Resulting Numbers: [4, 49] Generated Node #0,0,1: 44:[4, 49] Operation: 30+19=49 Exploring Operation: 30-19=11, Resulting Numbers: [4, 11] Generated Node #0,0,2: 44:[4, 11] Operation: 30-19=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[4, 11], Operations: ['68/17=4', '30-19=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[30, 17, 19, 68], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [30, 19, 4] Generated Node #0,0: 44:[30, 19, 4] Operation: 68/17=4 Moving to Node #0,0 Current State: 44:[30, 19, 4], Operations: ['68/17=4'] Exploring Operation: 30-19=11, Resulting Numbers: [4, 11] Generated Node #0,0,2: 44:[4, 11] Operation: 30-19=11 Moving to Node #0,0,2 Current State: 44:[4, 11], Operations: ['68/17=4', '30-19=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 7, 20, 81, 40 ]
59
[ "40-20=20", "7*20=140", "140-81=59" ]
Current State: 59:[7, 20, 81, 40], Operations: [] Exploring Operation: 40-20=20, Resulting Numbers: [7, 81, 20] Generated Node #2: [7, 81, 20] from Operation: 40-20=20 Current State: 59:[7, 81, 20], Operations: ['40-20=20'] Exploring Operation: 7*20=140, Resulting Numbers: [81, 140] Generated Node #3: [81, 140] from Operation: 7*20=140 Current State: 59:[81, 140], Operations: ['40-20=20', '7*20=140'] Exploring Operation: 140-81=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[7, 20, 81, 40], Operations: [] Exploring Operation: 7+20=27, Resulting Numbers: [81, 40, 27] Generated Node #0,0: 59:[81, 40, 27] Operation: 7+20=27 Exploring Operation: 81-20=61, Resulting Numbers: [7, 40, 61] Generated Node #0,1: 59:[7, 40, 61] Operation: 81-20=61 Exploring Operation: 7+40=47, Resulting Numbers: [20, 81, 47] Generated Node #0,2: 59:[20, 81, 47] Operation: 7+40=47 Exploring Operation: 81-7=74, Resulting Numbers: [20, 40, 74] Generated Node #0,3: 59:[20, 40, 74] Operation: 81-7=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[81, 40, 27], Operations: ['7+20=27'] Exploring Operation: 81-27=54, Resulting Numbers: [40, 54] Generated Node #0,0,0: 59:[40, 54] Operation: 81-27=54 Exploring Operation: 81+27=108, Resulting Numbers: [40, 108] Generated Node #0,0,1: 59:[40, 108] Operation: 81+27=108 Exploring Operation: 81-40=41, Resulting Numbers: [27, 41] Generated Node #0,0,2: 59:[27, 41] Operation: 81-40=41 Exploring Operation: 40+27=67, Resulting Numbers: [81, 67] Generated Node #0,0,3: 59:[81, 67] Operation: 40+27=67 Moving to Node #0,0,0 Current State: 59:[40, 54], Operations: ['7+20=27', '81-27=54'] Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,59 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[81, 67], Operations: ['7+20=27', '40+27=67'] Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 81*67=5427, Resulting Numbers: [5427] 5427,59 unequal: No Solution Exploring Operation: 81+67=148, Resulting Numbers: [148] 148,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[27, 41], Operations: ['7+20=27', '81-40=41'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[40, 108], Operations: ['7+20=27', '81+27=108'] Exploring Operation: 40*108=4320, Resulting Numbers: [4320] 4320,59 unequal: No Solution Exploring Operation: 40+108=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 108-40=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[7, 40, 61], Operations: ['81-20=61'] Exploring Operation: 7+61=68, Resulting Numbers: [40, 68] Generated Node #0,1,0: 59:[40, 68] Operation: 7+61=68 Exploring Operation: 40-7=33, Resulting Numbers: [61, 33] Generated Node #0,1,1: 59:[61, 33] Operation: 40-7=33 Exploring Operation: 7+40=47, Resulting Numbers: [61, 47] Generated Node #0,1,2: 59:[61, 47] Operation: 7+40=47 Exploring Operation: 61-7=54, Resulting Numbers: [40, 54] Generated Node #0,1,3: 59:[40, 54] Operation: 61-7=54 Moving to Node #0,1,2 Current State: 59:[61, 47], Operations: ['81-20=61', '7+40=47'] Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,59 unequal: No Solution Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[40, 54], Operations: ['81-20=61', '61-7=54'] Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,59 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[61, 33], Operations: ['81-20=61', '40-7=33'] Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 61*33=2013, Resulting Numbers: [2013] 2013,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[40, 68], Operations: ['81-20=61', '7+61=68'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 40*68=2720, Resulting Numbers: [2720] 2720,59 unequal: No Solution Exploring Operation: 40+68=108, Resulting Numbers: [108] 108,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[20, 81, 47], Operations: ['7+40=47'] Exploring Operation: 47-20=27, Resulting Numbers: [81, 27] Generated Node #0,2,0: 59:[81, 27] Operation: 47-20=27 Exploring Operation: 20+47=67, Resulting Numbers: [81, 67] Generated Node #0,2,1: 59:[81, 67] Operation: 20+47=67 Exploring Operation: 20+81=101, Resulting Numbers: [47, 101] Generated Node #0,2,2: 59:[47, 101] Operation: 20+81=101 Exploring Operation: 81-20=61, Resulting Numbers: [47, 61] Generated Node #0,2,3: 59:[47, 61] Operation: 81-20=61 Moving to Node #0,2,3 Current State: 59:[47, 61], Operations: ['7+40=47', '81-20=61'] Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[81, 67], Operations: ['7+40=47', '20+47=67'] Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 81*67=5427, Resulting Numbers: [5427] 5427,59 unequal: No Solution Exploring Operation: 81+67=148, Resulting Numbers: [148] 148,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[47, 101], Operations: ['7+40=47', '20+81=101'] Exploring Operation: 47+101=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 47*101=4747, Resulting Numbers: [4747] 4747,59 unequal: No Solution Exploring Operation: 101-47=54, Resulting Numbers: [54] 54,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[81, 27], Operations: ['7+40=47', '47-20=27'] Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,59 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[20, 40, 74], Operations: ['81-7=74'] Exploring Operation: 74-20=54, Resulting Numbers: [40, 54] Generated Node #0,3,0: 59:[40, 54] Operation: 74-20=54 Exploring Operation: 40-20=20, Resulting Numbers: [74, 20] Generated Node #0,3,1: 59:[74, 20] Operation: 40-20=20 Exploring Operation: 20+40=60, Resulting Numbers: [74, 60] Generated Node #0,3,2: 59:[74, 60] Operation: 20+40=60 Exploring Operation: 20+74=94, Resulting Numbers: [40, 94] Generated Node #0,3,3: 59:[40, 94] Operation: 20+74=94 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[74, 60], Operations: ['81-7=74', '20+40=60'] Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,59 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,59 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[40, 54], Operations: ['81-7=74', '74-20=54'] Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,59 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[74, 20], Operations: ['81-7=74', '40-20=20'] Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,59 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[40, 94], Operations: ['81-7=74', '20+74=94'] Exploring Operation: 40*94=3760, Resulting Numbers: [3760] 3760,59 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 40+94=134, Resulting Numbers: [134] 134,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 9, 28, 71, 9 ]
38
[ "9*9=81", "71-28=43", "81-43=38" ]
Current State: 38:[9, 28, 71, 9], Operations: [] Exploring Operation: 9*9=81, Resulting Numbers: [28, 71, 81] Generated Node #2: [28, 71, 81] from Operation: 9*9=81 Current State: 38:[28, 71, 81], Operations: ['9*9=81'] Exploring Operation: 71-28=43, Resulting Numbers: [81, 43] Generated Node #3: [81, 43] from Operation: 71-28=43 Current State: 38:[81, 43], Operations: ['9*9=81', '71-28=43'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[9, 28, 71, 9], Operations: [] Exploring Operation: 28-9=19, Resulting Numbers: [71, 9, 19] Generated Node #0,0: 38:[71, 9, 19] Operation: 28-9=19 Exploring Operation: 71-28=43, Resulting Numbers: [9, 9, 43] Generated Node #0,1: 38:[9, 9, 43] Operation: 71-28=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[9, 9, 43], Operations: ['71-28=43'] Exploring Operation: 9/9=1, Resulting Numbers: [43, 1] Generated Node #0,1,0: 38:[43, 1] Operation: 9/9=1 Exploring Operation: 9+9=18, Resulting Numbers: [43, 18] Generated Node #0,1,1: 38:[43, 18] Operation: 9+9=18 Moving to Node #0,1,0 Current State: 38:[43, 1], Operations: ['71-28=43', '9/9=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[43, 18], Operations: ['71-28=43', '9+9=18'] Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[71, 9, 19], Operations: ['28-9=19'] Exploring Operation: 71-9=62, Resulting Numbers: [19, 62] Generated Node #0,0,0: 38:[19, 62] Operation: 71-9=62 Exploring Operation: 71-19=52, Resulting Numbers: [9, 52] Generated Node #0,0,1: 38:[9, 52] Operation: 71-19=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[9, 52], Operations: ['28-9=19', '71-19=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[19, 62], Operations: ['28-9=19', '71-9=62'] Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,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 No solution found.
0
hs_2
sum_heuristic
[ 27, 3, 3, 24 ]
63
[ "27/3=9", "3*24=72", "72-9=63" ]
Current State: 63:[27, 3, 3, 24], Operations: [] Exploring Operation: 27/3=9, Resulting Numbers: [24, 9] Generated Node #2: [24, 9] from Operation: 27/3=9 Current State: 63:[24, 9], Operations: ['27/3=9'] Exploring Operation: 3*24=72, Resulting Numbers: [9, 72] Generated Node #3: [9, 72] from Operation: 3*24=72 Current State: 63:[9, 72], Operations: ['27/3=9', '3*24=72'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[27, 3, 3, 24], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [3, 3, 3] Generated Node #0,0: 63:[3, 3, 3] Operation: 27-24=3 Exploring Operation: 27/3=9, Resulting Numbers: [3, 24, 9] Generated Node #0,1: 63:[3, 24, 9] Operation: 27/3=9 Exploring Operation: 27-3=24, Resulting Numbers: [3, 24, 24] Generated Node #0,2: 63:[3, 24, 24] Operation: 27-3=24 Exploring Operation: 27/3=9, Resulting Numbers: [3, 24, 9] Generated Node #0,3: 63:[3, 24, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[3, 3, 3], Operations: ['27-24=3'] Exploring Operation: 3*3=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 63:[3, 9] Operation: 3*3=9 Exploring Operation: 3+3=6, Resulting Numbers: [3, 6] Generated Node #0,0,1: 63:[3, 6] Operation: 3+3=6 Exploring Operation: 3*3=9, Resulting Numbers: [3, 9] Generated Node #0,0,2: 63:[3, 9] Operation: 3*3=9 Exploring Operation: 3*3=9, Resulting Numbers: [3, 9] Generated Node #0,0,3: 63:[3, 9] Operation: 3*3=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[3, 9], Operations: ['27-24=3', '3*3=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[3, 9], Operations: ['27-24=3', '3*3=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 63:[3, 9], Operations: ['27-24=3', '3*3=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[3, 6], Operations: ['27-24=3', '3+3=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[3, 24, 9], Operations: ['27/3=9'] Exploring Operation: 24-3=21, Resulting Numbers: [9, 21] Generated Node #0,1,0: 63:[9, 21] Operation: 24-3=21 Exploring Operation: 9-3=6, Resulting Numbers: [24, 6] Generated Node #0,1,1: 63:[24, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [24, 3] Generated Node #0,1,2: 63:[24, 3] Operation: 9/3=3 Exploring Operation: 24/3=8, Resulting Numbers: [9, 8] Generated Node #0,1,3: 63:[9, 8] Operation: 24/3=8 Moving to Node #0,1,0 Current State: 63:[9, 21], Operations: ['27/3=9', '24-3=21'] Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,63 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[9, 8], Operations: ['27/3=9', '24/3=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[24, 3], Operations: ['27/3=9', '9/3=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[24, 6], Operations: ['27/3=9', '9-3=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,63 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,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,3 Current State: 63:[3, 24, 9], Operations: ['27/3=9'] Exploring Operation: 24/3=8, Resulting Numbers: [9, 8] Generated Node #0,3,0: 63:[9, 8] Operation: 24/3=8 Exploring Operation: 9/3=3, Resulting Numbers: [24, 3] Generated Node #0,3,1: 63:[24, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [24, 6] Generated Node #0,3,2: 63:[24, 6] Operation: 9-3=6 Exploring Operation: 24-3=21, Resulting Numbers: [9, 21] Generated Node #0,3,3: 63:[9, 21] Operation: 24-3=21 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 63:[9, 21], Operations: ['27/3=9', '24-3=21'] Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,63 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 63:[9, 8], Operations: ['27/3=9', '24/3=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 63:[24, 3], Operations: ['27/3=9', '9/3=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 63:[24, 6], Operations: ['27/3=9', '9-3=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,63 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[3, 24, 24], Operations: ['27-3=24'] Exploring Operation: 24-3=21, Resulting Numbers: [24, 21] Generated Node #0,2,0: 63:[24, 21] Operation: 24-3=21 Exploring Operation: 24-3=21, Resulting Numbers: [24, 21] Generated Node #0,2,1: 63:[24, 21] Operation: 24-3=21 Exploring Operation: 24-24=0, Resulting Numbers: [3, 0] Generated Node #0,2,2: 63:[3, 0] Operation: 24-24=0 Exploring Operation: 24/24=1, Resulting Numbers: [3, 1] Generated Node #0,2,3: 63:[3, 1] Operation: 24/24=1 Moving to Node #0,2,3 Current State: 63:[3, 1], Operations: ['27-3=24', '24/24=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[24, 21], Operations: ['27-3=24', '24-3=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[24, 21], Operations: ['27-3=24', '24-3=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,63 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[3, 0], Operations: ['27-3=24', '24-24=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,63 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
[ 67, 14, 68, 33 ]
28
[ "67-33=34", "14*68=952", "952/34=28" ]
Current State: 28:[67, 14, 68, 33], Operations: [] Exploring Operation: 67-33=34, Resulting Numbers: [14, 68, 34] Generated Node #2: [14, 68, 34] from Operation: 67-33=34 Current State: 28:[14, 68, 34], Operations: ['67-33=34'] Exploring Operation: 14*68=952, Resulting Numbers: [34, 952] Generated Node #3: [34, 952] from Operation: 14*68=952 Current State: 28:[34, 952], Operations: ['67-33=34', '14*68=952'] Exploring Operation: 952/34=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[67, 14, 68, 33], Operations: [] Exploring Operation: 68-67=1, Resulting Numbers: [14, 33, 1] Generated Node #0,0: 28:[14, 33, 1] Operation: 68-67=1 Moving to Node #0,0 Current State: 28:[14, 33, 1], Operations: ['68-67=1'] Exploring Operation: 33-1=32, Resulting Numbers: [14, 32] Generated Node #0,0,0: 28:[14, 32] Operation: 33-1=32 Moving to Node #0,0,0 Current State: 28:[14, 32], Operations: ['68-67=1', '33-1=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 38, 66, 71, 33 ]
66
[ "38+66=104", "71-33=38", "104-38=66" ]
Current State: 66:[38, 66, 71, 33], Operations: [] Exploring Operation: 38+66=104, Resulting Numbers: [71, 33, 104] Generated Node #2: [71, 33, 104] from Operation: 38+66=104 Current State: 66:[71, 33, 104], Operations: ['38+66=104'] Exploring Operation: 71-33=38, Resulting Numbers: [104, 38] Generated Node #3: [104, 38] from Operation: 71-33=38 Current State: 66:[104, 38], Operations: ['38+66=104', '71-33=38'] Exploring Operation: 104-38=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[38, 66, 71, 33], Operations: [] Exploring Operation: 71-38=33, Resulting Numbers: [66, 33, 33] Generated Node #0,0: 66:[66, 33, 33] Operation: 71-38=33 Exploring Operation: 38-33=5, Resulting Numbers: [66, 71, 5] Generated Node #0,1: 66:[66, 71, 5] Operation: 38-33=5 Moving to Node #0,0 Current State: 66:[66, 33, 33], Operations: ['71-38=33'] Exploring Operation: 66/33=2, Resulting Numbers: [33, 2] Generated Node #0,0,0: 66:[33, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [33, 33] Generated Node #0,0,1: 66:[33, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[33, 2], Operations: ['71-38=33', '66/33=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[38, 66, 71, 33], Operations: [] Exploring Operation: 71-38=33, Resulting Numbers: [66, 33, 33] Generated Node #0,0: 66:[66, 33, 33] Operation: 71-38=33 Moving to Node #0,0 Current State: 66:[66, 33, 33], Operations: ['71-38=33'] Exploring Operation: 66/33=2, Resulting Numbers: [33, 2] Generated Node #0,0,0: 66:[33, 2] Operation: 66/33=2 Moving to Node #0,0,0 Current State: 66:[33, 2], Operations: ['71-38=33', '66/33=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 93, 92, 87, 63 ]
24
[ "93-92=1", "87-63=24", "1*24=24" ]
Current State: 24:[93, 92, 87, 63], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [87, 63, 1] Generated Node #2: [87, 63, 1] from Operation: 93-92=1 Current State: 24:[87, 63, 1], Operations: ['93-92=1'] Exploring Operation: 87-63=24, Resulting Numbers: [1, 24] Generated Node #3: [1, 24] from Operation: 87-63=24 Current State: 24:[1, 24], Operations: ['93-92=1', '87-63=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[93, 92, 87, 63], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [92, 63, 6] Generated Node #0,0: 24:[92, 63, 6] Operation: 93-87=6 Exploring Operation: 93-92=1, Resulting Numbers: [87, 63, 1] Generated Node #0,1: 24:[87, 63, 1] Operation: 93-92=1 Moving to Node #0,1 Current State: 24:[87, 63, 1], Operations: ['93-92=1'] Exploring Operation: 87-1=86, Resulting Numbers: [63, 86] Generated Node #0,1,0: 24:[63, 86] Operation: 87-1=86 Exploring Operation: 87-63=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 24:[1, 24] Operation: 87-63=24 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[1, 24], Operations: ['93-92=1', '87-63=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[93, 92, 87, 63], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [87, 63, 1] Generated Node #0,1: 24:[87, 63, 1] Operation: 93-92=1 Moving to Node #0,1 Current State: 24:[87, 63, 1], Operations: ['93-92=1'] Exploring Operation: 87-63=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 24:[1, 24] Operation: 87-63=24 Moving to Node #0,1,1 Current State: 24:[1, 24], Operations: ['93-92=1', '87-63=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic