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
[ 25, 34, 35, 46 ]
22
[ "25+34=59", "35+46=81", "81-59=22" ]
Current State: 22:[25, 34, 35, 46], Operations: [] Exploring Operation: 25+34=59, Resulting Numbers: [35, 46, 59] Generated Node #2: [35, 46, 59] from Operation: 25+34=59 Current State: 22:[35, 46, 59], Operations: ['25+34=59'] Exploring Operation: 35+46=81, Resulting Numbers: [59, 81] Generated Node #3: [59, 81] from Operation: 35+46=81 Current State: 22:[59, 81], Operations: ['25+34=59', '35+46=81'] Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[25, 34, 35, 46], Operations: [] Exploring Operation: 46-35=11, Resulting Numbers: [25, 34, 11] Generated Node #0,0: 22:[25, 34, 11] Operation: 46-35=11 Exploring Operation: 46-25=21, Resulting Numbers: [34, 35, 21] Generated Node #0,1: 22:[34, 35, 21] Operation: 46-25=21 Exploring Operation: 46-34=12, Resulting Numbers: [25, 35, 12] Generated Node #0,2: 22:[25, 35, 12] Operation: 46-34=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[25, 34, 11], Operations: ['46-35=11'] Exploring Operation: 34-25=9, Resulting Numbers: [11, 9] Generated Node #0,0,0: 22:[11, 9] Operation: 34-25=9 Exploring Operation: 34-11=23, Resulting Numbers: [25, 23] Generated Node #0,0,1: 22:[25, 23] Operation: 34-11=23 Exploring Operation: 25-11=14, Resulting Numbers: [34, 14] Generated Node #0,0,2: 22:[34, 14] Operation: 25-11=14 Moving to Node #0,0,0 Current State: 22:[11, 9], Operations: ['46-35=11', '34-25=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[25, 23], Operations: ['46-35=11', '34-11=23'] Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,22 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[34, 14], Operations: ['46-35=11', '25-11=14'] Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,22 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,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,2 Current State: 22:[25, 35, 12], Operations: ['46-34=12'] Exploring Operation: 35-25=10, Resulting Numbers: [12, 10] Generated Node #0,2,0: 22:[12, 10] Operation: 35-25=10 Exploring Operation: 25-12=13, Resulting Numbers: [35, 13] Generated Node #0,2,1: 22:[35, 13] Operation: 25-12=13 Exploring Operation: 35-12=23, Resulting Numbers: [25, 23] Generated Node #0,2,2: 22:[25, 23] Operation: 35-12=23 Moving to Node #0,2,0 Current State: 22:[12, 10], Operations: ['46-34=12', '35-25=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[25, 34, 35, 46], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [25, 35, 12] Generated Node #0,2: 22:[25, 35, 12] Operation: 46-34=12 Moving to Node #0,2 Current State: 22:[25, 35, 12], Operations: ['46-34=12'] Exploring Operation: 35-25=10, Resulting Numbers: [12, 10] Generated Node #0,2,0: 22:[12, 10] Operation: 35-25=10 Moving to Node #0,2,0 Current State: 22:[12, 10], Operations: ['46-34=12', '35-25=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 54, 60, 88, 22 ]
99
[ "88+22=110", "54*110=5940", "5940/60=99" ]
Current State: 99:[54, 60, 88, 22], Operations: [] Exploring Operation: 88+22=110, Resulting Numbers: [54, 60, 110] Generated Node #2: [54, 60, 110] from Operation: 88+22=110 Current State: 99:[54, 60, 110], Operations: ['88+22=110'] Exploring Operation: 54*110=5940, Resulting Numbers: [60, 5940] Generated Node #3: [60, 5940] from Operation: 54*110=5940 Current State: 99:[60, 5940], Operations: ['88+22=110', '54*110=5940'] Exploring Operation: 5940/60=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[54, 60, 88, 22], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [88, 22, 6] Generated Node #0,0: 99:[88, 22, 6] Operation: 60-54=6 Exploring Operation: 88-60=28, Resulting Numbers: [54, 22, 28] Generated Node #0,1: 99:[54, 22, 28] Operation: 88-60=28 Exploring Operation: 60-22=38, Resulting Numbers: [54, 88, 38] Generated Node #0,2: 99:[54, 88, 38] Operation: 60-22=38 Exploring Operation: 54+60=114, Resulting Numbers: [88, 22, 114] Generated Node #0,3: 99:[88, 22, 114] Operation: 54+60=114 Exploring Operation: 88-54=34, Resulting Numbers: [60, 22, 34] Generated Node #0,4: 99:[60, 22, 34] Operation: 88-54=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[88, 22, 6], Operations: ['60-54=6'] Exploring Operation: 22-6=16, Resulting Numbers: [88, 16] Generated Node #0,0,0: 99:[88, 16] Operation: 22-6=16 Exploring Operation: 88+6=94, Resulting Numbers: [22, 94] Generated Node #0,0,1: 99:[22, 94] Operation: 88+6=94 Exploring Operation: 22+6=28, Resulting Numbers: [88, 28] Generated Node #0,0,2: 99:[88, 28] Operation: 22+6=28 Exploring Operation: 88/22=4, Resulting Numbers: [6, 4] Generated Node #0,0,3: 99:[6, 4] Operation: 88/22=4 Exploring Operation: 88+22=110, Resulting Numbers: [6, 110] Generated Node #0,0,4: 99:[6, 110] Operation: 88+22=110 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 99:[6, 4], Operations: ['60-54=6', '88/22=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 99:[6, 110], Operations: ['60-54=6', '88+22=110'] Exploring Operation: 110-6=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 6*110=660, Resulting Numbers: [660] 660,99 unequal: No Solution Exploring Operation: 6+110=116, Resulting Numbers: [116] 116,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[88, 16], Operations: ['60-54=6', '22-6=16'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 88*16=1408, Resulting Numbers: [1408] 1408,99 unequal: No Solution Exploring Operation: 88+16=104, Resulting Numbers: [104] 104,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[22, 94], Operations: ['60-54=6', '88+6=94'] Exploring Operation: 22+94=116, Resulting Numbers: [116] 116,99 unequal: No Solution Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 22*94=2068, Resulting Numbers: [2068] 2068,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 99:[88, 28], Operations: ['60-54=6', '22+6=28'] Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,99 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[54, 22, 28], Operations: ['88-60=28'] Exploring Operation: 54-22=32, Resulting Numbers: [28, 32] Generated Node #0,1,0: 99:[28, 32] Operation: 54-22=32 Exploring Operation: 54+22=76, Resulting Numbers: [28, 76] Generated Node #0,1,1: 99:[28, 76] Operation: 54+22=76 Exploring Operation: 54+28=82, Resulting Numbers: [22, 82] Generated Node #0,1,2: 99:[22, 82] Operation: 54+28=82 Exploring Operation: 28-22=6, Resulting Numbers: [54, 6] Generated Node #0,1,3: 99:[54, 6] Operation: 28-22=6 Exploring Operation: 54-28=26, Resulting Numbers: [22, 26] Generated Node #0,1,4: 99:[22, 26] Operation: 54-28=26 Moving to Node #0,1,0 Current State: 99:[28, 32], Operations: ['88-60=28', '54-22=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,99 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[22, 26], Operations: ['88-60=28', '54-28=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,99 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[54, 6], Operations: ['88-60=28', '28-22=6'] Exploring Operation: 54*6=324, Resulting Numbers: [324] 324,99 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[28, 76], Operations: ['88-60=28', '54+22=76'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,99 unequal: No Solution Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[22, 82], Operations: ['88-60=28', '54+28=82'] Exploring Operation: 22+82=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 22*82=1804, Resulting Numbers: [1804] 1804,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[54, 88, 38], Operations: ['60-22=38'] Exploring Operation: 54-38=16, Resulting Numbers: [88, 16] Generated Node #0,2,0: 99:[88, 16] Operation: 54-38=16 Exploring Operation: 54+38=92, Resulting Numbers: [88, 92] Generated Node #0,2,1: 99:[88, 92] Operation: 54+38=92 Exploring Operation: 88-54=34, Resulting Numbers: [38, 34] Generated Node #0,2,2: 99:[38, 34] Operation: 88-54=34 Exploring Operation: 88-38=50, Resulting Numbers: [54, 50] Generated Node #0,2,3: 99:[54, 50] Operation: 88-38=50 Exploring Operation: 54+88=142, Resulting Numbers: [38, 142] Generated Node #0,2,4: 99:[38, 142] Operation: 54+88=142 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[38, 34], Operations: ['60-22=38', '88-54=34'] Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,99 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[88, 16], Operations: ['60-22=38', '54-38=16'] Exploring Operation: 88*16=1408, Resulting Numbers: [1408] 1408,99 unequal: No Solution Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 88+16=104, Resulting Numbers: [104] 104,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[88, 92], Operations: ['60-22=38', '54+38=92'] Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 88+92=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 88*92=8096, Resulting Numbers: [8096] 8096,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[54, 50], Operations: ['60-22=38', '88-38=50'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,99 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 99:[38, 142], Operations: ['60-22=38', '54+88=142'] Exploring Operation: 38+142=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 38*142=5396, Resulting Numbers: [5396] 5396,99 unequal: No Solution Exploring Operation: 142-38=104, Resulting Numbers: [104] 104,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[88, 22, 114], Operations: ['54+60=114'] Exploring Operation: 88/22=4, Resulting Numbers: [114, 4] Generated Node #0,3,0: 99:[114, 4] Operation: 88/22=4 Exploring Operation: 114-88=26, Resulting Numbers: [22, 26] Generated Node #0,3,1: 99:[22, 26] Operation: 114-88=26 Exploring Operation: 114-22=92, Resulting Numbers: [88, 92] Generated Node #0,3,2: 99:[88, 92] Operation: 114-22=92 Exploring Operation: 88-22=66, Resulting Numbers: [114, 66] Generated Node #0,3,3: 99:[114, 66] Operation: 88-22=66 Exploring Operation: 88+22=110, Resulting Numbers: [114, 110] Generated Node #0,3,4: 99:[114, 110] Operation: 88+22=110 Moving to Node #0,3,0 Current State: 99:[114, 4], Operations: ['54+60=114', '88/22=4'] Exploring Operation: 114*4=456, Resulting Numbers: [456] 456,99 unequal: No Solution Exploring Operation: 114-4=110, Resulting Numbers: [110] 110,99 unequal: No Solution Exploring Operation: 114+4=118, Resulting Numbers: [118] 118,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[88, 92], Operations: ['54+60=114', '114-22=92'] Exploring Operation: 88*92=8096, Resulting Numbers: [8096] 8096,99 unequal: No Solution Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 88+92=180, Resulting Numbers: [180] 180,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[22, 26], Operations: ['54+60=114', '114-88=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,99 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[114, 110], Operations: ['54+60=114', '88+22=110'] Exploring Operation: 114+110=224, Resulting Numbers: [224] 224,99 unequal: No Solution Exploring Operation: 114*110=12540, Resulting Numbers: [12540] 12540,99 unequal: No Solution Exploring Operation: 114-110=4, Resulting Numbers: [4] 4,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[114, 66], Operations: ['54+60=114', '88-22=66'] Exploring Operation: 114+66=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 114-66=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 114*66=7524, Resulting Numbers: [7524] 7524,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 99:[60, 22, 34], Operations: ['88-54=34'] Exploring Operation: 60-34=26, Resulting Numbers: [22, 26] Generated Node #0,4,0: 99:[22, 26] Operation: 60-34=26 Exploring Operation: 34-22=12, Resulting Numbers: [60, 12] Generated Node #0,4,1: 99:[60, 12] Operation: 34-22=12 Exploring Operation: 60+34=94, Resulting Numbers: [22, 94] Generated Node #0,4,2: 99:[22, 94] Operation: 60+34=94 Exploring Operation: 60+22=82, Resulting Numbers: [34, 82] Generated Node #0,4,3: 99:[34, 82] Operation: 60+22=82 Exploring Operation: 60-22=38, Resulting Numbers: [34, 38] Generated Node #0,4,4: 99:[34, 38] Operation: 60-22=38 Moving to Node #0,4,4 Current State: 99:[34, 38], Operations: ['88-54=34', '60-22=38'] Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,99 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[22, 94], Operations: ['88-54=34', '60+34=94'] Exploring Operation: 22*94=2068, Resulting Numbers: [2068] 2068,99 unequal: No Solution Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 22+94=116, Resulting Numbers: [116] 116,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[22, 26], Operations: ['88-54=34', '60-34=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,99 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,99 unequal: No Solution Moving to Node #0,4,3 Current State: 99:[34, 82], Operations: ['88-54=34', '60+22=82'] Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,99 unequal: No Solution Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,99 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,99 unequal: No Solution Moving to Node #0,4,1 Current State: 99:[60, 12], Operations: ['88-54=34', '34-22=12'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,99 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
[ 66, 63, 2, 54 ]
73
[ "66+63=129", "2+54=56", "129-56=73" ]
Current State: 73:[66, 63, 2, 54], Operations: [] Exploring Operation: 66+63=129, Resulting Numbers: [2, 54, 129] Generated Node #2: [2, 54, 129] from Operation: 66+63=129 Current State: 73:[2, 54, 129], Operations: ['66+63=129'] Exploring Operation: 2+54=56, Resulting Numbers: [129, 56] Generated Node #3: [129, 56] from Operation: 2+54=56 Current State: 73:[129, 56], Operations: ['66+63=129', '2+54=56'] Exploring Operation: 129-56=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[66, 63, 2, 54], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [66, 63, 56] Generated Node #0,0: 73:[66, 63, 56] Operation: 2+54=56 Exploring Operation: 63+2=65, Resulting Numbers: [66, 54, 65] Generated Node #0,1: 73:[66, 54, 65] Operation: 63+2=65 Exploring Operation: 66+2=68, Resulting Numbers: [63, 54, 68] Generated Node #0,2: 73:[63, 54, 68] Operation: 66+2=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[66, 63, 56], Operations: ['2+54=56'] Exploring Operation: 66+63=129, Resulting Numbers: [56, 129] Generated Node #0,0,0: 73:[56, 129] Operation: 66+63=129 Exploring Operation: 63+56=119, Resulting Numbers: [66, 119] Generated Node #0,0,1: 73:[66, 119] Operation: 63+56=119 Exploring Operation: 66+56=122, Resulting Numbers: [63, 122] Generated Node #0,0,2: 73:[63, 122] Operation: 66+56=122 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[66, 119], Operations: ['2+54=56', '63+56=119'] Exploring Operation: 66+119=185, Resulting Numbers: [185] 185,73 unequal: No Solution Exploring Operation: 66*119=7854, Resulting Numbers: [7854] 7854,73 unequal: No Solution Exploring Operation: 119-66=53, Resulting Numbers: [53] 53,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[63, 122], Operations: ['2+54=56', '66+56=122'] Exploring Operation: 63+122=185, Resulting Numbers: [185] 185,73 unequal: No Solution Exploring Operation: 122-63=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 63*122=7686, Resulting Numbers: [7686] 7686,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[56, 129], Operations: ['2+54=56', '66+63=129'] Exploring Operation: 56*129=7224, Resulting Numbers: [7224] 7224,73 unequal: No Solution Exploring Operation: 56+129=185, Resulting Numbers: [185] 185,73 unequal: No Solution Exploring Operation: 129-56=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[66, 63, 2, 54], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [66, 63, 56] Generated Node #0,0: 73:[66, 63, 56] Operation: 2+54=56 Moving to Node #0,0 Current State: 73:[66, 63, 56], Operations: ['2+54=56'] Exploring Operation: 66+63=129, Resulting Numbers: [56, 129] Generated Node #0,0,0: 73:[56, 129] Operation: 66+63=129 Moving to Node #0,0,0 Current State: 73:[56, 129], Operations: ['2+54=56', '66+63=129'] Exploring Operation: 129-56=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 84, 61, 43, 85 ]
65
[ "84-61=23", "85-43=42", "23+42=65" ]
Current State: 65:[84, 61, 43, 85], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [43, 85, 23] Generated Node #2: [43, 85, 23] from Operation: 84-61=23 Current State: 65:[43, 85, 23], Operations: ['84-61=23'] Exploring Operation: 85-43=42, Resulting Numbers: [23, 42] Generated Node #3: [23, 42] from Operation: 85-43=42 Current State: 65:[23, 42], Operations: ['84-61=23', '85-43=42'] Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[84, 61, 43, 85], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [61, 43, 1] Generated Node #0,0: 65:[61, 43, 1] Operation: 85-84=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[61, 43, 1], Operations: ['85-84=1'] Exploring Operation: 61-43=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 65:[1, 18] Operation: 61-43=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[1, 18], Operations: ['85-84=1', '61-43=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,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 No solution found.
0
hs_1
sum_heuristic
[ 52, 13, 3, 8 ]
34
[ "52-13=39", "8-3=5", "39-5=34" ]
Current State: 34:[52, 13, 3, 8], Operations: [] Exploring Operation: 52-13=39, Resulting Numbers: [3, 8, 39] Generated Node #2: [3, 8, 39] from Operation: 52-13=39 Current State: 34:[3, 8, 39], Operations: ['52-13=39'] Exploring Operation: 8-3=5, Resulting Numbers: [39, 5] Generated Node #3: [39, 5] from Operation: 8-3=5 Current State: 34:[39, 5], Operations: ['52-13=39', '8-3=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[52, 13, 3, 8], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [13, 3, 44] Generated Node #0,0: 34:[13, 3, 44] Operation: 52-8=44 Exploring Operation: 52-13=39, Resulting Numbers: [3, 8, 39] Generated Node #0,1: 34:[3, 8, 39] Operation: 52-13=39 Exploring Operation: 52/13=4, Resulting Numbers: [3, 8, 4] Generated Node #0,2: 34:[3, 8, 4] Operation: 52/13=4 Exploring Operation: 13-8=5, Resulting Numbers: [52, 3, 5] Generated Node #0,3: 34:[52, 3, 5] Operation: 13-8=5 Moving to Node #0,2 Current State: 34:[3, 8, 4], Operations: ['52/13=4'] Exploring Operation: 8/4=2, Resulting Numbers: [3, 2] Generated Node #0,2,0: 34:[3, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [3, 4] Generated Node #0,2,1: 34:[3, 4] Operation: 8-4=4 Exploring Operation: 8*4=32, Resulting Numbers: [3, 32] Generated Node #0,2,2: 34:[3, 32] Operation: 8*4=32 Exploring Operation: 8-3=5, Resulting Numbers: [4, 5] Generated Node #0,2,3: 34:[4, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[3, 2], Operations: ['52/13=4', '8/4=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,2,1 Current State: 34:[3, 4], Operations: ['52/13=4', '8-4=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,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,2,2 Current State: 34:[3, 32], Operations: ['52/13=4', '8*4=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,34 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,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,2,3 Current State: 34:[4, 5], Operations: ['52/13=4', '8-3=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,34 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: 34:[3, 8, 39], Operations: ['52-13=39'] Exploring Operation: 39/3=13, Resulting Numbers: [8, 13] Generated Node #0,1,0: 34:[8, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [8, 36] Generated Node #0,1,1: 34:[8, 36] Operation: 39-3=36 Exploring Operation: 8-3=5, Resulting Numbers: [39, 5] Generated Node #0,1,2: 34:[39, 5] Operation: 8-3=5 Exploring Operation: 39-8=31, Resulting Numbers: [3, 31] Generated Node #0,1,3: 34:[3, 31] Operation: 39-8=31 Moving to Node #0,0 Current State: 34:[13, 3, 44], Operations: ['52-8=44'] Exploring Operation: 13+3=16, Resulting Numbers: [44, 16] Generated Node #0,0,0: 34:[44, 16] Operation: 13+3=16 Exploring Operation: 13*3=39, Resulting Numbers: [44, 39] Generated Node #0,0,1: 34:[44, 39] Operation: 13*3=39 Exploring Operation: 44-3=41, Resulting Numbers: [13, 41] Generated Node #0,0,2: 34:[13, 41] Operation: 44-3=41 Exploring Operation: 44-13=31, Resulting Numbers: [3, 31] Generated Node #0,0,3: 34:[3, 31] Operation: 44-13=31 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[3, 31], Operations: ['52-8=44', '44-13=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,34 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[52, 13, 3, 8], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [13, 3, 44] Generated Node #0,0: 34:[13, 3, 44] Operation: 52-8=44 Moving to Node #0,0 Current State: 34:[13, 3, 44], Operations: ['52-8=44'] Exploring Operation: 44-13=31, Resulting Numbers: [3, 31] Generated Node #0,0,3: 34:[3, 31] Operation: 44-13=31 Moving to Node #0,0,3 Current State: 34:[3, 31], Operations: ['52-8=44', '44-13=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 39, 48, 7, 85 ]
14
[ "39+48=87", "87-85=2", "7*2=14" ]
Current State: 14:[39, 48, 7, 85], Operations: [] Exploring Operation: 39+48=87, Resulting Numbers: [7, 85, 87] Generated Node #2: [7, 85, 87] from Operation: 39+48=87 Current State: 14:[7, 85, 87], Operations: ['39+48=87'] Exploring Operation: 87-85=2, Resulting Numbers: [7, 2] Generated Node #3: [7, 2] from Operation: 87-85=2 Current State: 14:[7, 2], Operations: ['39+48=87', '87-85=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[39, 48, 7, 85], Operations: [] Exploring Operation: 48-7=41, Resulting Numbers: [39, 85, 41] Generated Node #0,0: 14:[39, 85, 41] Operation: 48-7=41 Exploring Operation: 48-39=9, Resulting Numbers: [7, 85, 9] Generated Node #0,1: 14:[7, 85, 9] Operation: 48-39=9 Exploring Operation: 85-48=37, Resulting Numbers: [39, 7, 37] Generated Node #0,2: 14:[39, 7, 37] Operation: 85-48=37 Exploring Operation: 85-39=46, Resulting Numbers: [48, 7, 46] Generated Node #0,3: 14:[48, 7, 46] Operation: 85-39=46 Exploring Operation: 39-7=32, Resulting Numbers: [48, 85, 32] Generated Node #0,4: 14:[48, 85, 32] Operation: 39-7=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[39, 7, 37], Operations: ['85-48=37'] Exploring Operation: 39+7=46, Resulting Numbers: [37, 46] Generated Node #0,2,0: 14:[37, 46] Operation: 39+7=46 Exploring Operation: 7+37=44, Resulting Numbers: [39, 44] Generated Node #0,2,1: 14:[39, 44] Operation: 7+37=44 Exploring Operation: 39-37=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 14:[7, 2] Operation: 39-37=2 Exploring Operation: 37-7=30, Resulting Numbers: [39, 30] Generated Node #0,2,3: 14:[39, 30] Operation: 37-7=30 Exploring Operation: 39-7=32, Resulting Numbers: [37, 32] Generated Node #0,2,4: 14:[37, 32] Operation: 39-7=32 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[7, 2], Operations: ['85-48=37', '39-37=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[39, 48, 7, 85], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [39, 7, 37] Generated Node #0,2: 14:[39, 7, 37] Operation: 85-48=37 Moving to Node #0,2 Current State: 14:[39, 7, 37], Operations: ['85-48=37'] Exploring Operation: 39-37=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 14:[7, 2] Operation: 39-37=2 Moving to Node #0,2,2 Current State: 14:[7, 2], Operations: ['85-48=37', '39-37=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 22, 77, 15, 24 ]
35
[ "22-15=7", "77/7=11", "24+11=35" ]
Current State: 35:[22, 77, 15, 24], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [77, 24, 7] Generated Node #2: [77, 24, 7] from Operation: 22-15=7 Current State: 35:[77, 24, 7], Operations: ['22-15=7'] Exploring Operation: 77/7=11, Resulting Numbers: [24, 11] Generated Node #3: [24, 11] from Operation: 77/7=11 Current State: 35:[24, 11], Operations: ['22-15=7', '77/7=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[22, 77, 15, 24], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [15, 24, 55] Generated Node #0,0: 35:[15, 24, 55] Operation: 77-22=55 Exploring Operation: 22-15=7, Resulting Numbers: [77, 24, 7] Generated Node #0,1: 35:[77, 24, 7] Operation: 22-15=7 Exploring Operation: 77-15=62, Resulting Numbers: [22, 24, 62] Generated Node #0,2: 35:[22, 24, 62] Operation: 77-15=62 Exploring Operation: 77-24=53, Resulting Numbers: [22, 15, 53] Generated Node #0,3: 35:[22, 15, 53] Operation: 77-24=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[15, 24, 55], Operations: ['77-22=55'] Exploring Operation: 55-24=31, Resulting Numbers: [15, 31] Generated Node #0,0,0: 35:[15, 31] Operation: 55-24=31 Exploring Operation: 55-15=40, Resulting Numbers: [24, 40] Generated Node #0,0,1: 35:[24, 40] Operation: 55-15=40 Exploring Operation: 15+24=39, Resulting Numbers: [55, 39] Generated Node #0,0,2: 35:[55, 39] Operation: 15+24=39 Exploring Operation: 24-15=9, Resulting Numbers: [55, 9] Generated Node #0,0,3: 35:[55, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[15, 31], Operations: ['77-22=55', '55-24=31'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,35 unequal: No Solution No 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: 35:[24, 40], Operations: ['77-22=55', '55-15=40'] Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,35 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,35 unequal: No Solution No 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: 35:[55, 9], Operations: ['77-22=55', '24-15=9'] Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,35 unequal: No Solution No 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: 35:[55, 39], Operations: ['77-22=55', '15+24=39'] Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,35 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,35 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: 35:[22, 15, 53], Operations: ['77-24=53'] Exploring Operation: 53-15=38, Resulting Numbers: [22, 38] Generated Node #0,3,0: 35:[22, 38] Operation: 53-15=38 Exploring Operation: 53-22=31, Resulting Numbers: [15, 31] Generated Node #0,3,1: 35:[15, 31] Operation: 53-22=31 Exploring Operation: 22+15=37, Resulting Numbers: [53, 37] Generated Node #0,3,2: 35:[53, 37] Operation: 22+15=37 Exploring Operation: 22-15=7, Resulting Numbers: [53, 7] Generated Node #0,3,3: 35:[53, 7] Operation: 22-15=7 Moving to Node #0,3,1 Current State: 35:[15, 31], Operations: ['77-24=53', '53-22=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,35 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[22, 38], Operations: ['77-24=53', '53-15=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,35 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,35 unequal: No Solution Moving to Node #0,3,3 Current State: 35:[53, 7], Operations: ['77-24=53', '22-15=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 53*7=371, Resulting Numbers: [371] 371,35 unequal: No Solution Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[53, 37], Operations: ['77-24=53', '22+15=37'] Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,35 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[22, 24, 62], Operations: ['77-15=62'] Exploring Operation: 24-22=2, Resulting Numbers: [62, 2] Generated Node #0,2,0: 35:[62, 2] Operation: 24-22=2 Exploring Operation: 62-24=38, Resulting Numbers: [22, 38] Generated Node #0,2,1: 35:[22, 38] Operation: 62-24=38 Exploring Operation: 22+24=46, Resulting Numbers: [62, 46] Generated Node #0,2,2: 35:[62, 46] Operation: 22+24=46 Exploring Operation: 62-22=40, Resulting Numbers: [24, 40] Generated Node #0,2,3: 35:[24, 40] Operation: 62-22=40 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[22, 38], Operations: ['77-15=62', '62-24=38'] Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,35 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,35 unequal: No Solution No 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: 35:[24, 40], Operations: ['77-15=62', '62-22=40'] Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,35 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,35 unequal: No Solution No 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: 35:[62, 2], Operations: ['77-15=62', '24-22=2'] Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,35 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,35 unequal: No Solution No 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: 35:[62, 46], Operations: ['77-15=62', '22+24=46'] Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,35 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,35 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: 35:[77, 24, 7], Operations: ['22-15=7'] Exploring Operation: 77-7=70, Resulting Numbers: [24, 70] Generated Node #0,1,0: 35:[24, 70] Operation: 77-7=70 Exploring Operation: 77-24=53, Resulting Numbers: [7, 53] Generated Node #0,1,1: 35:[7, 53] Operation: 77-24=53 Exploring Operation: 77/7=11, Resulting Numbers: [24, 11] Generated Node #0,1,2: 35:[24, 11] Operation: 77/7=11 Exploring Operation: 24+7=31, Resulting Numbers: [77, 31] Generated Node #0,1,3: 35:[77, 31] Operation: 24+7=31 Moving to Node #0,1,2 Current State: 35:[24, 11], Operations: ['22-15=7', '77/7=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,35 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[22, 77, 15, 24], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [77, 24, 7] Generated Node #0,1: 35:[77, 24, 7] Operation: 22-15=7 Moving to Node #0,1 Current State: 35:[77, 24, 7], Operations: ['22-15=7'] Exploring Operation: 77/7=11, Resulting Numbers: [24, 11] Generated Node #0,1,2: 35:[24, 11] Operation: 77/7=11 Moving to Node #0,1,2 Current State: 35:[24, 11], Operations: ['22-15=7', '77/7=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.944444
hs_4
sum_heuristic
[ 67, 1, 14, 26 ]
78
[ "67-1=66", "26-14=12", "66+12=78" ]
Current State: 78:[67, 1, 14, 26], Operations: [] Exploring Operation: 67-1=66, Resulting Numbers: [14, 26, 66] Generated Node #2: [14, 26, 66] from Operation: 67-1=66 Current State: 78:[14, 26, 66], Operations: ['67-1=66'] Exploring Operation: 26-14=12, Resulting Numbers: [66, 12] Generated Node #3: [66, 12] from Operation: 26-14=12 Current State: 78:[66, 12], Operations: ['67-1=66', '26-14=12'] Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[67, 1, 14, 26], Operations: [] Exploring Operation: 67+14=81, Resulting Numbers: [1, 26, 81] Generated Node #0,0: 78:[1, 26, 81] Operation: 67+14=81 Exploring Operation: 67-26=41, Resulting Numbers: [1, 14, 41] Generated Node #0,1: 78:[1, 14, 41] Operation: 67-26=41 Exploring Operation: 67+1=68, Resulting Numbers: [14, 26, 68] Generated Node #0,2: 78:[14, 26, 68] Operation: 67+1=68 Exploring Operation: 67*1=67, Resulting Numbers: [14, 26, 67] Generated Node #0,3: 78:[14, 26, 67] Operation: 67*1=67 Exploring Operation: 14-1=13, Resulting Numbers: [67, 26, 13] Generated Node #0,4: 78:[67, 26, 13] Operation: 14-1=13 Moving to Node #0,0 Current State: 78:[1, 26, 81], Operations: ['67+14=81'] Exploring Operation: 81-1=80, Resulting Numbers: [26, 80] Generated Node #0,0,0: 78:[26, 80] Operation: 81-1=80 Exploring Operation: 26/1=26, Resulting Numbers: [81, 26] Generated Node #0,0,1: 78:[81, 26] Operation: 26/1=26 Exploring Operation: 81/1=81, Resulting Numbers: [26, 81] Generated Node #0,0,2: 78:[26, 81] Operation: 81/1=81 Exploring Operation: 1*26=26, Resulting Numbers: [81, 26] Generated Node #0,0,3: 78:[81, 26] Operation: 1*26=26 Exploring Operation: 1*81=81, Resulting Numbers: [26, 81] Generated Node #0,0,4: 78:[26, 81] Operation: 1*81=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[26, 80], Operations: ['67+14=81', '81-1=80'] Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,78 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,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,1 Current State: 78:[81, 26], Operations: ['67+14=81', '26/1=26'] Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,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,2 Current State: 78:[26, 81], Operations: ['67+14=81', '81/1=81'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 26*81=2106, Resulting Numbers: [2106] 2106,78 unequal: No Solution Exploring Operation: 26+81=107, Resulting Numbers: [107] 107,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,3 Current State: 78:[81, 26], Operations: ['67+14=81', '1*26=26'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,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,4 Current State: 78:[26, 81], Operations: ['67+14=81', '1*81=81'] Exploring Operation: 26+81=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 26*81=2106, Resulting Numbers: [2106] 2106,78 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,78 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: 78:[1, 14, 41], Operations: ['67-26=41'] Exploring Operation: 41-1=40, Resulting Numbers: [14, 40] Generated Node #0,1,0: 78:[14, 40] Operation: 41-1=40 Exploring Operation: 41-14=27, Resulting Numbers: [1, 27] Generated Node #0,1,1: 78:[1, 27] Operation: 41-14=27 Exploring Operation: 14-1=13, Resulting Numbers: [41, 13] Generated Node #0,1,2: 78:[41, 13] Operation: 14-1=13 Exploring Operation: 14/1=14, Resulting Numbers: [41, 14] Generated Node #0,1,3: 78:[41, 14] Operation: 14/1=14 Exploring Operation: 1*14=14, Resulting Numbers: [41, 14] Generated Node #0,1,4: 78:[41, 14] Operation: 1*14=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[14, 40], Operations: ['67-26=41', '41-1=40'] Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,78 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,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,1,1 Current State: 78:[1, 27], Operations: ['67-26=41', '41-14=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,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,1,2 Current State: 78:[41, 13], Operations: ['67-26=41', '14-1=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,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,1,3 Current State: 78:[41, 14], Operations: ['67-26=41', '14/1=14'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,78 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,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,1,4 Current State: 78:[41, 14], Operations: ['67-26=41', '1*14=14'] Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,78 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,78 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: 78:[14, 26, 68], Operations: ['67+1=68'] Exploring Operation: 14+26=40, Resulting Numbers: [68, 40] Generated Node #0,2,0: 78:[68, 40] Operation: 14+26=40 Exploring Operation: 68-14=54, Resulting Numbers: [26, 54] Generated Node #0,2,1: 78:[26, 54] Operation: 68-14=54 Exploring Operation: 14+68=82, Resulting Numbers: [26, 82] Generated Node #0,2,2: 78:[26, 82] Operation: 14+68=82 Exploring Operation: 68-26=42, Resulting Numbers: [14, 42] Generated Node #0,2,3: 78:[14, 42] Operation: 68-26=42 Exploring Operation: 26-14=12, Resulting Numbers: [68, 12] Generated Node #0,2,4: 78:[68, 12] Operation: 26-14=12 Moving to Node #0,4 Current State: 78:[67, 26, 13], Operations: ['14-1=13'] Exploring Operation: 67-26=41, Resulting Numbers: [13, 41] Generated Node #0,4,0: 78:[13, 41] Operation: 67-26=41 Exploring Operation: 26/13=2, Resulting Numbers: [67, 2] Generated Node #0,4,1: 78:[67, 2] Operation: 26/13=2 Exploring Operation: 26+13=39, Resulting Numbers: [67, 39] Generated Node #0,4,2: 78:[67, 39] Operation: 26+13=39 Exploring Operation: 26-13=13, Resulting Numbers: [67, 13] Generated Node #0,4,3: 78:[67, 13] Operation: 26-13=13 Exploring Operation: 67+13=80, Resulting Numbers: [26, 80] Generated Node #0,4,4: 78:[26, 80] Operation: 67+13=80 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 78:[13, 41], Operations: ['14-1=13', '67-26=41'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,78 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,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,4,4 Current State: 78:[26, 80], Operations: ['14-1=13', '67+13=80'] Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,78 unequal: No Solution Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,78 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,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,4,1 Current State: 78:[67, 2], Operations: ['14-1=13', '26/13=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,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,4,2 Current State: 78:[67, 39], Operations: ['14-1=13', '26+13=39'] Exploring Operation: 67*39=2613, Resulting Numbers: [2613] 2613,78 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 67+39=106, Resulting Numbers: [106] 106,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,4,3 Current State: 78:[67, 13], Operations: ['14-1=13', '26-13=13'] Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 67*13=871, Resulting Numbers: [871] 871,78 unequal: No Solution Exploring Operation: 67+13=80, Resulting Numbers: [80] 80,78 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: 78:[14, 26, 67], Operations: ['67*1=67'] Exploring Operation: 14+26=40, Resulting Numbers: [67, 40] Generated Node #0,3,0: 78:[67, 40] Operation: 14+26=40 Exploring Operation: 67-14=53, Resulting Numbers: [26, 53] Generated Node #0,3,1: 78:[26, 53] Operation: 67-14=53 Exploring Operation: 67-26=41, Resulting Numbers: [14, 41] Generated Node #0,3,2: 78:[14, 41] Operation: 67-26=41 Exploring Operation: 26-14=12, Resulting Numbers: [67, 12] Generated Node #0,3,3: 78:[67, 12] Operation: 26-14=12 Exploring Operation: 14+67=81, Resulting Numbers: [26, 81] Generated Node #0,3,4: 78:[26, 81] Operation: 14+67=81 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[14, 41], Operations: ['67*1=67', '67-26=41'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,78 unequal: No Solution Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,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,3,4 Current State: 78:[26, 81], Operations: ['67*1=67', '14+67=81'] Exploring Operation: 26+81=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 26*81=2106, Resulting Numbers: [2106] 2106,78 unequal: No Solution Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,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,3,0 Current State: 78:[67, 40], Operations: ['67*1=67', '14+26=40'] Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,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,3,3 Current State: 78:[67, 12], Operations: ['67*1=67', '26-14=12'] Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,78 unequal: No Solution Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,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,3,1 Current State: 78:[26, 53], Operations: ['67*1=67', '67-14=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,78 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: 78:[26, 82], Operations: ['67+1=68', '14+68=82'] Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,78 unequal: No Solution Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[14, 42], Operations: ['67+1=68', '68-26=42'] Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,78 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[68, 40], Operations: ['67+1=68', '14+26=40'] Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,78 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[68, 12], Operations: ['67+1=68', '26-14=12'] Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[26, 54], Operations: ['67+1=68', '68-14=54'] Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,78 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,78 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 55, 57, 26, 61 ]
33
[ "57-55=2", "61-26=35", "35-2=33" ]
Current State: 33:[55, 57, 26, 61], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [26, 61, 2] Generated Node #2: [26, 61, 2] from Operation: 57-55=2 Current State: 33:[26, 61, 2], Operations: ['57-55=2'] Exploring Operation: 61-26=35, Resulting Numbers: [2, 35] Generated Node #3: [2, 35] from Operation: 61-26=35 Current State: 33:[2, 35], Operations: ['57-55=2', '61-26=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[55, 57, 26, 61], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [57, 26, 6] Generated Node #0,0: 33:[57, 26, 6] Operation: 61-55=6 Exploring Operation: 61-57=4, Resulting Numbers: [55, 26, 4] Generated Node #0,1: 33:[55, 26, 4] Operation: 61-57=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[55, 26, 4], Operations: ['61-57=4'] Exploring Operation: 55-26=29, Resulting Numbers: [4, 29] Generated Node #0,1,0: 33:[4, 29] Operation: 55-26=29 Exploring Operation: 55-4=51, Resulting Numbers: [26, 51] Generated Node #0,1,1: 33:[26, 51] Operation: 55-4=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[4, 29], Operations: ['61-57=4', '55-26=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[55, 57, 26, 61], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [55, 26, 4] Generated Node #0,1: 33:[55, 26, 4] Operation: 61-57=4 Moving to Node #0,1 Current State: 33:[55, 26, 4], Operations: ['61-57=4'] Exploring Operation: 55-26=29, Resulting Numbers: [4, 29] Generated Node #0,1,0: 33:[4, 29] Operation: 55-26=29 Moving to Node #0,1,0 Current State: 33:[4, 29], Operations: ['61-57=4', '55-26=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 95, 80, 40, 32 ]
65
[ "95-32=63", "80/40=2", "63+2=65" ]
Current State: 65:[95, 80, 40, 32], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [80, 40, 63] Generated Node #2: [80, 40, 63] from Operation: 95-32=63 Current State: 65:[80, 40, 63], Operations: ['95-32=63'] Exploring Operation: 80/40=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 80/40=2 Current State: 65:[63, 2], Operations: ['95-32=63', '80/40=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[95, 80, 40, 32], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [95, 32, 2] Generated Node #0,0: 65:[95, 32, 2] Operation: 80/40=2 Exploring Operation: 40-32=8, Resulting Numbers: [95, 80, 8] Generated Node #0,1: 65:[95, 80, 8] Operation: 40-32=8 Exploring Operation: 95-32=63, Resulting Numbers: [80, 40, 63] Generated Node #0,2: 65:[80, 40, 63] Operation: 95-32=63 Exploring Operation: 95-80=15, Resulting Numbers: [40, 32, 15] Generated Node #0,3: 65:[40, 32, 15] Operation: 95-80=15 Exploring Operation: 95-40=55, Resulting Numbers: [80, 32, 55] Generated Node #0,4: 65:[80, 32, 55] Operation: 95-40=55 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[80, 40, 63], Operations: ['95-32=63'] Exploring Operation: 63-40=23, Resulting Numbers: [80, 23] Generated Node #0,2,0: 65:[80, 23] Operation: 63-40=23 Exploring Operation: 80-63=17, Resulting Numbers: [40, 17] Generated Node #0,2,1: 65:[40, 17] Operation: 80-63=17 Exploring Operation: 80/40=2, Resulting Numbers: [63, 2] Generated Node #0,2,2: 65:[63, 2] Operation: 80/40=2 Exploring Operation: 80-40=40, Resulting Numbers: [63, 40] Generated Node #0,2,3: 65:[63, 40] Operation: 80-40=40 Exploring Operation: 40+63=103, Resulting Numbers: [80, 103] Generated Node #0,2,4: 65:[80, 103] Operation: 40+63=103 Moving to Node #0,2,2 Current State: 65:[63, 2], Operations: ['95-32=63', '80/40=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[95, 80, 40, 32], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [80, 40, 63] Generated Node #0,2: 65:[80, 40, 63] Operation: 95-32=63 Moving to Node #0,2 Current State: 65:[80, 40, 63], Operations: ['95-32=63'] Exploring Operation: 80/40=2, Resulting Numbers: [63, 2] Generated Node #0,2,2: 65:[63, 2] Operation: 80/40=2 Moving to Node #0,2,2 Current State: 65:[63, 2], Operations: ['95-32=63', '80/40=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 35, 95, 7, 58 ]
65
[ "35+95=130", "7+58=65", "130-65=65" ]
Current State: 65:[35, 95, 7, 58], Operations: [] Exploring Operation: 35+95=130, Resulting Numbers: [7, 58, 130] Generated Node #2: [7, 58, 130] from Operation: 35+95=130 Current State: 65:[7, 58, 130], Operations: ['35+95=130'] Exploring Operation: 7+58=65, Resulting Numbers: [130, 65] Generated Node #3: [130, 65] from Operation: 7+58=65 Current State: 65:[130, 65], Operations: ['35+95=130', '7+58=65'] Exploring Operation: 130-65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[35, 95, 7, 58], Operations: [] Exploring Operation: 35/7=5, Resulting Numbers: [95, 58, 5] Generated Node #0,0: 65:[95, 58, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [95, 58, 28] Generated Node #0,1: 65:[95, 58, 28] Operation: 35-7=28 Exploring Operation: 58-35=23, Resulting Numbers: [95, 7, 23] Generated Node #0,2: 65:[95, 7, 23] Operation: 58-35=23 Exploring Operation: 95-58=37, Resulting Numbers: [35, 7, 37] Generated Node #0,3: 65:[35, 7, 37] Operation: 95-58=37 Exploring Operation: 95-35=60, Resulting Numbers: [7, 58, 60] Generated Node #0,4: 65:[7, 58, 60] Operation: 95-35=60 Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[7, 58, 60], Operations: ['95-35=60'] Exploring Operation: 60-58=2, Resulting Numbers: [7, 2] Generated Node #0,4,0: 65:[7, 2] Operation: 60-58=2 Exploring Operation: 7+60=67, Resulting Numbers: [58, 67] Generated Node #0,4,1: 65:[58, 67] Operation: 7+60=67 Exploring Operation: 58-7=51, Resulting Numbers: [60, 51] Generated Node #0,4,2: 65:[60, 51] Operation: 58-7=51 Exploring Operation: 7+58=65, Resulting Numbers: [60, 65] Generated Node #0,4,3: 65:[60, 65] Operation: 7+58=65 Exploring Operation: 60-7=53, Resulting Numbers: [58, 53] Generated Node #0,4,4: 65:[58, 53] Operation: 60-7=53 Moving to Node #0,4,0 Current State: 65:[7, 2], Operations: ['95-35=60', '60-58=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,4,3 Current State: 65:[60, 65], Operations: ['95-35=60', '7+58=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,65 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,65 unequal: No Solution Moving to Node #0,4,1 Current State: 65:[58, 67], Operations: ['95-35=60', '7+60=67'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,65 unequal: No Solution Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,65 unequal: No Solution Moving to Node #0,4,2 Current State: 65:[60, 51], Operations: ['95-35=60', '58-7=51'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,65 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,65 unequal: No Solution Moving to Node #0,4,4 Current State: 65:[58, 53], Operations: ['95-35=60', '60-7=53'] Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,65 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,65 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[95, 58, 5], Operations: ['35/7=5'] Exploring Operation: 58+5=63, Resulting Numbers: [95, 63] Generated Node #0,0,0: 65:[95, 63] Operation: 58+5=63 Exploring Operation: 95-5=90, Resulting Numbers: [58, 90] Generated Node #0,0,1: 65:[58, 90] Operation: 95-5=90 Exploring Operation: 95+5=100, Resulting Numbers: [58, 100] Generated Node #0,0,2: 65:[58, 100] Operation: 95+5=100 Exploring Operation: 95-58=37, Resulting Numbers: [5, 37] Generated Node #0,0,3: 65:[5, 37] Operation: 95-58=37 Exploring Operation: 95/5=19, Resulting Numbers: [58, 19] Generated Node #0,0,4: 65:[58, 19] Operation: 95/5=19 Moving to Node #0,0,4 Current State: 65:[58, 19], Operations: ['35/7=5', '95/5=19'] Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,65 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[5, 37], Operations: ['35/7=5', '95-58=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,65 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[95, 63], Operations: ['35/7=5', '58+5=63'] Exploring Operation: 95+63=158, Resulting Numbers: [158] 158,65 unequal: No Solution Exploring Operation: 95*63=5985, Resulting Numbers: [5985] 5985,65 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[58, 90], Operations: ['35/7=5', '95-5=90'] Exploring Operation: 58+90=148, Resulting Numbers: [148] 148,65 unequal: No Solution Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 58*90=5220, Resulting Numbers: [5220] 5220,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[58, 100], Operations: ['35/7=5', '95+5=100'] Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,65 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[95, 7, 23], Operations: ['58-35=23'] Exploring Operation: 95-7=88, Resulting Numbers: [23, 88] Generated Node #0,2,0: 65:[23, 88] Operation: 95-7=88 Exploring Operation: 95+7=102, Resulting Numbers: [23, 102] Generated Node #0,2,1: 65:[23, 102] Operation: 95+7=102 Exploring Operation: 23-7=16, Resulting Numbers: [95, 16] Generated Node #0,2,2: 65:[95, 16] Operation: 23-7=16 Exploring Operation: 7+23=30, Resulting Numbers: [95, 30] Generated Node #0,2,3: 65:[95, 30] Operation: 7+23=30 Exploring Operation: 95-23=72, Resulting Numbers: [7, 72] Generated Node #0,2,4: 65:[7, 72] Operation: 95-23=72 Moving to Node #0,2,4 Current State: 65:[7, 72], Operations: ['58-35=23', '95-23=72'] Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[35, 95, 7, 58], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [95, 7, 23] Generated Node #0,2: 65:[95, 7, 23] Operation: 58-35=23 Moving to Node #0,2 Current State: 65:[95, 7, 23], Operations: ['58-35=23'] Exploring Operation: 95-23=72, Resulting Numbers: [7, 72] Generated Node #0,2,4: 65:[7, 72] Operation: 95-23=72 Moving to Node #0,2,4 Current State: 65:[7, 72], Operations: ['58-35=23', '95-23=72'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 40, 55, 4, 17 ]
82
[ "40+55=95", "17-4=13", "95-13=82" ]
Current State: 82:[40, 55, 4, 17], Operations: [] Exploring Operation: 40+55=95, Resulting Numbers: [4, 17, 95] Generated Node #2: [4, 17, 95] from Operation: 40+55=95 Current State: 82:[4, 17, 95], Operations: ['40+55=95'] Exploring Operation: 17-4=13, Resulting Numbers: [95, 13] Generated Node #3: [95, 13] from Operation: 17-4=13 Current State: 82:[95, 13], Operations: ['40+55=95', '17-4=13'] Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[40, 55, 4, 17], Operations: [] Exploring Operation: 55-17=38, Resulting Numbers: [40, 4, 38] Generated Node #0,0: 82:[40, 4, 38] Operation: 55-17=38 Moving to Node #0,0 Current State: 82:[40, 4, 38], Operations: ['55-17=38'] Exploring Operation: 40-38=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 82:[4, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[4, 2], Operations: ['55-17=38', '40-38=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,82 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
[ 45, 32, 14, 66 ]
52
[ "32+66=98", "98/14=7", "45+7=52" ]
Current State: 52:[45, 32, 14, 66], Operations: [] Exploring Operation: 32+66=98, Resulting Numbers: [45, 14, 98] Generated Node #2: [45, 14, 98] from Operation: 32+66=98 Current State: 52:[45, 14, 98], Operations: ['32+66=98'] Exploring Operation: 98/14=7, Resulting Numbers: [45, 7] Generated Node #3: [45, 7] from Operation: 98/14=7 Current State: 52:[45, 7], Operations: ['32+66=98', '98/14=7'] Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[45, 32, 14, 66], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [32, 14, 21] Generated Node #0,0: 52:[32, 14, 21] Operation: 66-45=21 Moving to Node #0,0 Current State: 52:[32, 14, 21], Operations: ['66-45=21'] Exploring Operation: 32+21=53, Resulting Numbers: [14, 53] Generated Node #0,0,0: 52:[14, 53] Operation: 32+21=53 Moving to Node #0,0,0 Current State: 52:[14, 53], Operations: ['66-45=21', '32+21=53'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 15, 26, 46, 26 ]
61
[ "15+26=41", "46-26=20", "41+20=61" ]
Current State: 61:[15, 26, 46, 26], Operations: [] Exploring Operation: 15+26=41, Resulting Numbers: [46, 41] Generated Node #2: [46, 41] from Operation: 15+26=41 Current State: 61:[46, 41], Operations: ['15+26=41'] Exploring Operation: 46-26=20, Resulting Numbers: [41, 20] Generated Node #3: [41, 20] from Operation: 46-26=20 Current State: 61:[41, 20], Operations: ['15+26=41', '46-26=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[15, 26, 46, 26], Operations: [] Exploring Operation: 15+26=41, Resulting Numbers: [46, 26, 41] Generated Node #0,0: 61:[46, 26, 41] Operation: 15+26=41 Moving to Node #0,0 Current State: 61:[46, 26, 41], Operations: ['15+26=41'] Exploring Operation: 26+41=67, Resulting Numbers: [46, 67] Generated Node #0,0,0: 61:[46, 67] Operation: 26+41=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[46, 67], Operations: ['15+26=41', '26+41=67'] Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 23, 9, 42, 28 ]
18
[ "23+9=32", "42-28=14", "32-14=18" ]
Current State: 18:[23, 9, 42, 28], Operations: [] Exploring Operation: 23+9=32, Resulting Numbers: [42, 28, 32] Generated Node #2: [42, 28, 32] from Operation: 23+9=32 Current State: 18:[42, 28, 32], Operations: ['23+9=32'] Exploring Operation: 42-28=14, Resulting Numbers: [32, 14] Generated Node #3: [32, 14] from Operation: 42-28=14 Current State: 18:[32, 14], Operations: ['23+9=32', '42-28=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[23, 9, 42, 28], Operations: [] Exploring Operation: 42-23=19, Resulting Numbers: [9, 28, 19] Generated Node #0,0: 18:[9, 28, 19] Operation: 42-23=19 Exploring Operation: 42-28=14, Resulting Numbers: [23, 9, 14] Generated Node #0,1: 18:[23, 9, 14] Operation: 42-28=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[23, 9, 14], Operations: ['42-28=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 18:[9, 9] Operation: 23-14=9 Exploring Operation: 14-9=5, Resulting Numbers: [23, 5] Generated Node #0,1,1: 18:[23, 5] Operation: 14-9=5 Moving to Node #0,1,0 Current State: 18:[9, 9], Operations: ['42-28=14', '23-14=9'] Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[23, 9, 42, 28], Operations: [] Exploring Operation: 42-28=14, Resulting Numbers: [23, 9, 14] Generated Node #0,1: 18:[23, 9, 14] Operation: 42-28=14 Moving to Node #0,1 Current State: 18:[23, 9, 14], Operations: ['42-28=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 18:[9, 9] Operation: 23-14=9 Moving to Node #0,1,0 Current State: 18:[9, 9], Operations: ['42-28=14', '23-14=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 43, 31, 57, 14 ]
83
[ "43-31=12", "57+14=71", "12+71=83" ]
Current State: 83:[43, 31, 57, 14], Operations: [] Exploring Operation: 43-31=12, Resulting Numbers: [57, 14, 12] Generated Node #2: [57, 14, 12] from Operation: 43-31=12 Current State: 83:[57, 14, 12], Operations: ['43-31=12'] Exploring Operation: 57+14=71, Resulting Numbers: [12, 71] Generated Node #3: [12, 71] from Operation: 57+14=71 Current State: 83:[12, 71], Operations: ['43-31=12', '57+14=71'] Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[43, 31, 57, 14], Operations: [] Exploring Operation: 43+14=57, Resulting Numbers: [31, 57, 57] Generated Node #0,0: 83:[31, 57, 57] Operation: 43+14=57 Exploring Operation: 31+14=45, Resulting Numbers: [43, 57, 45] Generated Node #0,1: 83:[43, 57, 45] Operation: 31+14=45 Exploring Operation: 43+31=74, Resulting Numbers: [57, 14, 74] Generated Node #0,2: 83:[57, 14, 74] Operation: 43+31=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[31, 57, 57], Operations: ['43+14=57'] Exploring Operation: 31+57=88, Resulting Numbers: [57, 88] Generated Node #0,0,0: 83:[57, 88] Operation: 31+57=88 Exploring Operation: 57-31=26, Resulting Numbers: [57, 26] Generated Node #0,0,1: 83:[57, 26] Operation: 57-31=26 Exploring Operation: 31+57=88, Resulting Numbers: [57, 88] Generated Node #0,0,2: 83:[57, 88] Operation: 31+57=88 Moving to Node #0,0,0 Current State: 83:[57, 88], Operations: ['43+14=57', '31+57=88'] Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,83 unequal: No Solution Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[57, 88], Operations: ['43+14=57', '31+57=88'] Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,83 unequal: No Solution Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[57, 26], Operations: ['43+14=57', '57-31=26'] Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,83 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[43, 31, 57, 14], Operations: [] Exploring Operation: 43+14=57, Resulting Numbers: [31, 57, 57] Generated Node #0,0: 83:[31, 57, 57] Operation: 43+14=57 Moving to Node #0,0 Current State: 83:[31, 57, 57], Operations: ['43+14=57'] Exploring Operation: 57-31=26, Resulting Numbers: [57, 26] Generated Node #0,0,1: 83:[57, 26] Operation: 57-31=26 Moving to Node #0,0,1 Current State: 83:[57, 26], Operations: ['43+14=57', '57-31=26'] Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 9, 70, 58, 54 ]
75
[ "9+70=79", "58-54=4", "79-4=75" ]
Current State: 75:[9, 70, 58, 54], Operations: [] Exploring Operation: 9+70=79, Resulting Numbers: [58, 54, 79] Generated Node #2: [58, 54, 79] from Operation: 9+70=79 Current State: 75:[58, 54, 79], Operations: ['9+70=79'] Exploring Operation: 58-54=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 58-54=4 Current State: 75:[79, 4], Operations: ['9+70=79', '58-54=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[9, 70, 58, 54], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [9, 70, 4] Generated Node #0,0: 75:[9, 70, 4] Operation: 58-54=4 Exploring Operation: 70-54=16, Resulting Numbers: [9, 58, 16] Generated Node #0,1: 75:[9, 58, 16] Operation: 70-54=16 Moving to Node #0,0 Current State: 75:[9, 70, 4], Operations: ['58-54=4'] Exploring Operation: 9+70=79, Resulting Numbers: [4, 79] Generated Node #0,0,0: 75:[4, 79] Operation: 9+70=79 Exploring Operation: 9-4=5, Resulting Numbers: [70, 5] Generated Node #0,0,1: 75:[70, 5] Operation: 9-4=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[4, 79], Operations: ['58-54=4', '9+70=79'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[9, 70, 58, 54], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [9, 70, 4] Generated Node #0,0: 75:[9, 70, 4] Operation: 58-54=4 Moving to Node #0,0 Current State: 75:[9, 70, 4], Operations: ['58-54=4'] Exploring Operation: 9+70=79, Resulting Numbers: [4, 79] Generated Node #0,0,0: 75:[4, 79] Operation: 9+70=79 Moving to Node #0,0,0 Current State: 75:[4, 79], Operations: ['58-54=4', '9+70=79'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 40, 78, 70, 15 ]
33
[ "40+78=118", "70+15=85", "118-85=33" ]
Current State: 33:[40, 78, 70, 15], Operations: [] Exploring Operation: 40+78=118, Resulting Numbers: [70, 15, 118] Generated Node #2: [70, 15, 118] from Operation: 40+78=118 Current State: 33:[70, 15, 118], Operations: ['40+78=118'] Exploring Operation: 70+15=85, Resulting Numbers: [118, 85] Generated Node #3: [118, 85] from Operation: 70+15=85 Current State: 33:[118, 85], Operations: ['40+78=118', '70+15=85'] Exploring Operation: 118-85=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[40, 78, 70, 15], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [40, 15, 8] Generated Node #0,0: 33:[40, 15, 8] Operation: 78-70=8 Exploring Operation: 70-40=30, Resulting Numbers: [78, 15, 30] Generated Node #0,1: 33:[78, 15, 30] Operation: 70-40=30 Exploring Operation: 78-40=38, Resulting Numbers: [70, 15, 38] Generated Node #0,2: 33:[70, 15, 38] Operation: 78-40=38 Moving to Node #0,0 Current State: 33:[40, 15, 8], Operations: ['78-70=8'] Exploring Operation: 40-15=25, Resulting Numbers: [8, 25] Generated Node #0,0,0: 33:[8, 25] Operation: 40-15=25 Exploring Operation: 40-8=32, Resulting Numbers: [15, 32] Generated Node #0,0,1: 33:[15, 32] Operation: 40-8=32 Exploring Operation: 40/8=5, Resulting Numbers: [15, 5] Generated Node #0,0,2: 33:[15, 5] Operation: 40/8=5 Moving to Node #0,2 Current State: 33:[70, 15, 38], Operations: ['78-40=38'] Exploring Operation: 70-15=55, Resulting Numbers: [38, 55] Generated Node #0,2,0: 33:[38, 55] Operation: 70-15=55 Exploring Operation: 38-15=23, Resulting Numbers: [70, 23] Generated Node #0,2,1: 33:[70, 23] Operation: 38-15=23 Exploring Operation: 70-38=32, Resulting Numbers: [15, 32] Generated Node #0,2,2: 33:[15, 32] Operation: 70-38=32 Moving to Node #0,1 Current State: 33:[78, 15, 30], Operations: ['70-40=30'] Exploring Operation: 78-15=63, Resulting Numbers: [30, 63] Generated Node #0,1,0: 33:[30, 63] Operation: 78-15=63 Exploring Operation: 30/15=2, Resulting Numbers: [78, 2] Generated Node #0,1,1: 33:[78, 2] Operation: 30/15=2 Exploring Operation: 78-30=48, Resulting Numbers: [15, 48] Generated Node #0,1,2: 33:[15, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[15, 48], Operations: ['70-40=30', '78-30=48'] Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,33 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[40, 78, 70, 15], Operations: [] Exploring Operation: 70-40=30, Resulting Numbers: [78, 15, 30] Generated Node #0,1: 33:[78, 15, 30] Operation: 70-40=30 Moving to Node #0,1 Current State: 33:[78, 15, 30], Operations: ['70-40=30'] Exploring Operation: 78-30=48, Resulting Numbers: [15, 48] Generated Node #0,1,2: 33:[15, 48] Operation: 78-30=48 Moving to Node #0,1,2 Current State: 33:[15, 48], Operations: ['70-40=30', '78-30=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 19, 45, 65, 95 ]
96
[ "19+45=64", "65+95=160", "160-64=96" ]
Current State: 96:[19, 45, 65, 95], Operations: [] Exploring Operation: 19+45=64, Resulting Numbers: [65, 95, 64] Generated Node #2: [65, 95, 64] from Operation: 19+45=64 Current State: 96:[65, 95, 64], Operations: ['19+45=64'] Exploring Operation: 65+95=160, Resulting Numbers: [64, 160] Generated Node #3: [64, 160] from Operation: 65+95=160 Current State: 96:[64, 160], Operations: ['19+45=64', '65+95=160'] Exploring Operation: 160-64=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[19, 45, 65, 95], Operations: [] Exploring Operation: 65-19=46, Resulting Numbers: [45, 95, 46] Generated Node #0,0: 96:[45, 95, 46] Operation: 65-19=46 Exploring Operation: 19+65=84, Resulting Numbers: [45, 95, 84] Generated Node #0,1: 96:[45, 95, 84] Operation: 19+65=84 Exploring Operation: 45+65=110, Resulting Numbers: [19, 95, 110] Generated Node #0,2: 96:[19, 95, 110] Operation: 45+65=110 Exploring Operation: 95-65=30, Resulting Numbers: [19, 45, 30] Generated Node #0,3: 96:[19, 45, 30] Operation: 95-65=30 Exploring Operation: 65-45=20, Resulting Numbers: [19, 95, 20] Generated Node #0,4: 96:[19, 95, 20] Operation: 65-45=20 Moving to Node #0,0 Current State: 96:[45, 95, 46], Operations: ['65-19=46'] Exploring Operation: 95-46=49, Resulting Numbers: [45, 49] Generated Node #0,0,0: 96:[45, 49] Operation: 95-46=49 Exploring Operation: 46-45=1, Resulting Numbers: [95, 1] Generated Node #0,0,1: 96:[95, 1] Operation: 46-45=1 Exploring Operation: 45+46=91, Resulting Numbers: [95, 91] Generated Node #0,0,2: 96:[95, 91] Operation: 45+46=91 Exploring Operation: 95-45=50, Resulting Numbers: [46, 50] Generated Node #0,0,3: 96:[46, 50] Operation: 95-45=50 Exploring Operation: 45+95=140, Resulting Numbers: [46, 140] Generated Node #0,0,4: 96:[46, 140] Operation: 45+95=140 Moving to Node #0,4 Current State: 96:[19, 95, 20], Operations: ['65-45=20'] Exploring Operation: 20-19=1, Resulting Numbers: [95, 1] Generated Node #0,4,0: 96:[95, 1] Operation: 20-19=1 Exploring Operation: 95/19=5, Resulting Numbers: [20, 5] Generated Node #0,4,1: 96:[20, 5] Operation: 95/19=5 Exploring Operation: 19+95=114, Resulting Numbers: [20, 114] Generated Node #0,4,2: 96:[20, 114] Operation: 19+95=114 Exploring Operation: 19+20=39, Resulting Numbers: [95, 39] Generated Node #0,4,3: 96:[95, 39] Operation: 19+20=39 Exploring Operation: 95+20=115, Resulting Numbers: [19, 115] Generated Node #0,4,4: 96:[19, 115] Operation: 95+20=115 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 96:[95, 1], Operations: ['65-45=20', '20-19=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[19, 45, 65, 95], Operations: [] Exploring Operation: 65-45=20, Resulting Numbers: [19, 95, 20] Generated Node #0,4: 96:[19, 95, 20] Operation: 65-45=20 Moving to Node #0,4 Current State: 96:[19, 95, 20], Operations: ['65-45=20'] Exploring Operation: 20-19=1, Resulting Numbers: [95, 1] Generated Node #0,4,0: 96:[95, 1] Operation: 20-19=1 Moving to Node #0,4,0 Current State: 96:[95, 1], Operations: ['65-45=20', '20-19=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 64, 70, 75, 24 ]
79
[ "70-64=6", "24/6=4", "75+4=79" ]
Current State: 79:[64, 70, 75, 24], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [75, 24, 6] Generated Node #2: [75, 24, 6] from Operation: 70-64=6 Current State: 79:[75, 24, 6], Operations: ['70-64=6'] Exploring Operation: 24/6=4, Resulting Numbers: [75, 4] Generated Node #3: [75, 4] from Operation: 24/6=4 Current State: 79:[75, 4], Operations: ['70-64=6', '24/6=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[64, 70, 75, 24], Operations: [] Exploring Operation: 64+24=88, Resulting Numbers: [70, 75, 88] Generated Node #0,0: 79:[70, 75, 88] Operation: 64+24=88 Exploring Operation: 70+24=94, Resulting Numbers: [64, 75, 94] Generated Node #0,1: 79:[64, 75, 94] Operation: 70+24=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[70, 75, 88], Operations: ['64+24=88'] Exploring Operation: 70+75=145, Resulting Numbers: [88, 145] Generated Node #0,0,0: 79:[88, 145] Operation: 70+75=145 Exploring Operation: 88-70=18, Resulting Numbers: [75, 18] Generated Node #0,0,1: 79:[75, 18] Operation: 88-70=18 Moving to Node #0,0,1 Current State: 79:[75, 18], Operations: ['64+24=88', '88-70=18'] Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[88, 145], Operations: ['64+24=88', '70+75=145'] Exploring Operation: 88+145=233, Resulting Numbers: [233] 233,79 unequal: No Solution Exploring Operation: 145-88=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,1 Current State: 79:[64, 75, 94], Operations: ['70+24=94'] Exploring Operation: 94-64=30, Resulting Numbers: [75, 30] Generated Node #0,1,0: 79:[75, 30] Operation: 94-64=30 Exploring Operation: 64+75=139, Resulting Numbers: [94, 139] Generated Node #0,1,1: 79:[94, 139] Operation: 64+75=139 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[75, 30], Operations: ['70+24=94', '94-64=30'] Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,79 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[94, 139], Operations: ['70+24=94', '64+75=139'] Exploring Operation: 139-94=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 94+139=233, Resulting Numbers: [233] 233,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 72, 46, 6, 8 ]
61
[ "72/8=9", "46+6=52", "9+52=61" ]
Current State: 61:[72, 46, 6, 8], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [46, 6, 9] Generated Node #2: [46, 6, 9] from Operation: 72/8=9 Current State: 61:[46, 6, 9], Operations: ['72/8=9'] Exploring Operation: 46+6=52, Resulting Numbers: [9, 52] Generated Node #3: [9, 52] from Operation: 46+6=52 Current State: 61:[9, 52], Operations: ['72/8=9', '46+6=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[72, 46, 6, 8], Operations: [] Exploring Operation: 72-6=66, Resulting Numbers: [46, 8, 66] Generated Node #0,0: 61:[46, 8, 66] Operation: 72-6=66 Exploring Operation: 6*8=48, Resulting Numbers: [72, 46, 48] Generated Node #0,1: 61:[72, 46, 48] Operation: 6*8=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[72, 46, 48], Operations: ['6*8=48'] Exploring Operation: 46+48=94, Resulting Numbers: [72, 94] Generated Node #0,1,0: 61:[72, 94] Operation: 46+48=94 Exploring Operation: 72-46=26, Resulting Numbers: [48, 26] Generated Node #0,1,1: 61:[48, 26] Operation: 72-46=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[72, 94], Operations: ['6*8=48', '46+48=94'] Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 72+94=166, Resulting Numbers: [166] 166,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[48, 26], Operations: ['6*8=48', '72-46=26'] Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[46, 8, 66], Operations: ['72-6=66'] Exploring Operation: 66-8=58, Resulting Numbers: [46, 58] Generated Node #0,0,0: 61:[46, 58] Operation: 66-8=58 Exploring Operation: 46+8=54, Resulting Numbers: [66, 54] Generated Node #0,0,1: 61:[66, 54] Operation: 46+8=54 Moving to Node #0,0,1 Current State: 61:[66, 54], Operations: ['72-6=66', '46+8=54'] Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[46, 58], Operations: ['72-6=66', '66-8=58'] Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,61 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
[ 98, 37, 45, 13 ]
93
[ "98-37=61", "45-13=32", "61+32=93" ]
Current State: 93:[98, 37, 45, 13], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [45, 13, 61] Generated Node #2: [45, 13, 61] from Operation: 98-37=61 Current State: 93:[45, 13, 61], Operations: ['98-37=61'] Exploring Operation: 45-13=32, Resulting Numbers: [61, 32] Generated Node #3: [61, 32] from Operation: 45-13=32 Current State: 93:[61, 32], Operations: ['98-37=61', '45-13=32'] Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[98, 37, 45, 13], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [98, 37, 32] Generated Node #0,0: 93:[98, 37, 32] Operation: 45-13=32 Moving to Node #0,0 Current State: 93:[98, 37, 32], Operations: ['45-13=32'] Exploring Operation: 37-32=5, Resulting Numbers: [98, 5] Generated Node #0,0,0: 93:[98, 5] Operation: 37-32=5 Moving to Node #0,0,0 Current State: 93:[98, 5], Operations: ['45-13=32', '37-32=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[98, 37, 45, 13], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [98, 37, 32] Generated Node #0,0: 93:[98, 37, 32] Operation: 45-13=32 Moving to Node #0,0 Current State: 93:[98, 37, 32], Operations: ['45-13=32'] Exploring Operation: 37-32=5, Resulting Numbers: [98, 5] Generated Node #0,0,0: 93:[98, 5] Operation: 37-32=5 Moving to Node #0,0,0 Current State: 93:[98, 5], Operations: ['45-13=32', '37-32=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 2, 70, 99, 30 ]
94
[ "70/2=35", "99+30=129", "129-35=94" ]
Current State: 94:[2, 70, 99, 30], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [99, 30, 35] Generated Node #2: [99, 30, 35] from Operation: 70/2=35 Current State: 94:[99, 30, 35], Operations: ['70/2=35'] Exploring Operation: 99+30=129, Resulting Numbers: [35, 129] Generated Node #3: [35, 129] from Operation: 99+30=129 Current State: 94:[35, 129], Operations: ['70/2=35', '99+30=129'] Exploring Operation: 129-35=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[2, 70, 99, 30], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [2, 99, 40] Generated Node #0,0: 94:[2, 99, 40] Operation: 70-30=40 Exploring Operation: 70+30=100, Resulting Numbers: [2, 99, 100] Generated Node #0,1: 94:[2, 99, 100] Operation: 70+30=100 Moving to Node #0,1 Current State: 94:[2, 99, 100], Operations: ['70+30=100'] Exploring Operation: 100/2=50, Resulting Numbers: [99, 50] Generated Node #0,1,0: 94:[99, 50] Operation: 100/2=50 Exploring Operation: 100-99=1, Resulting Numbers: [2, 1] Generated Node #0,1,1: 94:[2, 1] Operation: 100-99=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[2, 1], Operations: ['70+30=100', '100-99=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[99, 50], Operations: ['70+30=100', '100/2=50'] Exploring Operation: 99-50=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 99+50=149, Resulting Numbers: [149] 149,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[2, 99, 40], Operations: ['70-30=40'] Exploring Operation: 99-2=97, Resulting Numbers: [40, 97] Generated Node #0,0,0: 94:[40, 97] Operation: 99-2=97 Exploring Operation: 2+40=42, Resulting Numbers: [99, 42] Generated Node #0,0,1: 94:[99, 42] Operation: 2+40=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[40, 97], Operations: ['70-30=40', '99-2=97'] Exploring Operation: 97-40=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 40+97=137, Resulting Numbers: [137] 137,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[99, 42], Operations: ['70-30=40', '2+40=42'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 99+42=141, Resulting Numbers: [141] 141,94 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
[ 81, 49, 43, 22 ]
11
[ "81-49=32", "43-22=21", "32-21=11" ]
Current State: 11:[81, 49, 43, 22], Operations: [] Exploring Operation: 81-49=32, Resulting Numbers: [43, 22, 32] Generated Node #2: [43, 22, 32] from Operation: 81-49=32 Current State: 11:[43, 22, 32], Operations: ['81-49=32'] Exploring Operation: 43-22=21, Resulting Numbers: [32, 21] Generated Node #3: [32, 21] from Operation: 43-22=21 Current State: 11:[32, 21], Operations: ['81-49=32', '43-22=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[81, 49, 43, 22], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [49, 22, 38] Generated Node #0,0: 11:[49, 22, 38] Operation: 81-43=38 Exploring Operation: 81-49=32, Resulting Numbers: [43, 22, 32] Generated Node #0,1: 11:[43, 22, 32] Operation: 81-49=32 Exploring Operation: 49-43=6, Resulting Numbers: [81, 22, 6] Generated Node #0,2: 11:[81, 22, 6] Operation: 49-43=6 Moving to Node #0,1 Current State: 11:[43, 22, 32], Operations: ['81-49=32'] Exploring Operation: 32-22=10, Resulting Numbers: [43, 10] Generated Node #0,1,0: 11:[43, 10] Operation: 32-22=10 Exploring Operation: 43-32=11, Resulting Numbers: [22, 11] Generated Node #0,1,1: 11:[22, 11] Operation: 43-32=11 Exploring Operation: 43-22=21, Resulting Numbers: [32, 21] Generated Node #0,1,2: 11:[32, 21] Operation: 43-22=21 Moving to Node #0,0 Current State: 11:[49, 22, 38], Operations: ['81-43=38'] Exploring Operation: 49-38=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 11:[22, 11] Operation: 49-38=11 Exploring Operation: 49-22=27, Resulting Numbers: [38, 27] Generated Node #0,0,1: 11:[38, 27] Operation: 49-22=27 Exploring Operation: 38-22=16, Resulting Numbers: [49, 16] Generated Node #0,0,2: 11:[49, 16] Operation: 38-22=16 Moving to Node #0,2 Current State: 11:[81, 22, 6], Operations: ['49-43=6'] Exploring Operation: 81-6=75, Resulting Numbers: [22, 75] Generated Node #0,2,0: 11:[22, 75] Operation: 81-6=75 Exploring Operation: 81-22=59, Resulting Numbers: [6, 59] Generated Node #0,2,1: 11:[6, 59] Operation: 81-22=59 Exploring Operation: 22-6=16, Resulting Numbers: [81, 16] Generated Node #0,2,2: 11:[81, 16] Operation: 22-6=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[6, 59], Operations: ['49-43=6', '81-22=59'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,11 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,11 unequal: No Solution No 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: 11:[22, 75], Operations: ['49-43=6', '81-6=75'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 22+75=97, Resulting Numbers: [97] 97,11 unequal: No Solution Exploring Operation: 22*75=1650, Resulting Numbers: [1650] 1650,11 unequal: No Solution No 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: 11:[81, 16], Operations: ['49-43=6', '22-6=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,11 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,11 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,11 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: 11:[22, 11], Operations: ['81-49=32', '43-32=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[81, 49, 43, 22], Operations: [] Exploring Operation: 81-49=32, Resulting Numbers: [43, 22, 32] Generated Node #0,1: 11:[43, 22, 32] Operation: 81-49=32 Moving to Node #0,1 Current State: 11:[43, 22, 32], Operations: ['81-49=32'] Exploring Operation: 43-32=11, Resulting Numbers: [22, 11] Generated Node #0,1,1: 11:[22, 11] Operation: 43-32=11 Moving to Node #0,1,1 Current State: 11:[22, 11], Operations: ['81-49=32', '43-32=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 24, 47, 96, 47 ]
90
[ "96/24=4", "47+47=94", "94-4=90" ]
Current State: 90:[24, 47, 96, 47], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [47, 47, 4] Generated Node #2: [47, 47, 4] from Operation: 96/24=4 Current State: 90:[47, 47, 4], Operations: ['96/24=4'] Exploring Operation: 47+47=94, Resulting Numbers: [4, 94] Generated Node #3: [4, 94] from Operation: 47+47=94 Current State: 90:[4, 94], Operations: ['96/24=4', '47+47=94'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[24, 47, 96, 47], Operations: [] Exploring Operation: 47-24=23, Resulting Numbers: [47, 96, 23] Generated Node #0,0: 90:[47, 96, 23] Operation: 47-24=23 Exploring Operation: 96-47=49, Resulting Numbers: [24, 47, 49] Generated Node #0,1: 90:[24, 47, 49] Operation: 96-47=49 Exploring Operation: 96/24=4, Resulting Numbers: [47, 47, 4] Generated Node #0,2: 90:[47, 47, 4] Operation: 96/24=4 Exploring Operation: 47-24=23, Resulting Numbers: [96, 47, 23] Generated Node #0,3: 90:[96, 47, 23] Operation: 47-24=23 Exploring Operation: 96-47=49, Resulting Numbers: [24, 47, 49] Generated Node #0,4: 90:[24, 47, 49] Operation: 96-47=49 Moving to Node #0,2 Current State: 90:[47, 47, 4], Operations: ['96/24=4'] Exploring Operation: 47+47=94, Resulting Numbers: [4, 94] Generated Node #0,2,0: 90:[4, 94] Operation: 47+47=94 Exploring Operation: 47/47=1, Resulting Numbers: [4, 1] Generated Node #0,2,1: 90:[4, 1] Operation: 47/47=1 Exploring Operation: 47-4=43, Resulting Numbers: [47, 43] Generated Node #0,2,2: 90:[47, 43] Operation: 47-4=43 Exploring Operation: 47-4=43, Resulting Numbers: [47, 43] Generated Node #0,2,3: 90:[47, 43] Operation: 47-4=43 Exploring Operation: 47-47=0, Resulting Numbers: [4, 0] Generated Node #0,2,4: 90:[4, 0] Operation: 47-47=0 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[4, 1], Operations: ['96/24=4', '47/47=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 90:[4, 0], Operations: ['96/24=4', '47-47=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[47, 43], Operations: ['96/24=4', '47-4=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,90 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[24, 47, 96, 47], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [47, 47, 4] Generated Node #0,2: 90:[47, 47, 4] Operation: 96/24=4 Moving to Node #0,2 Current State: 90:[47, 47, 4], Operations: ['96/24=4'] Exploring Operation: 47-4=43, Resulting Numbers: [47, 43] Generated Node #0,2,2: 90:[47, 43] Operation: 47-4=43 Moving to Node #0,2,2 Current State: 90:[47, 43], Operations: ['96/24=4', '47-4=43'] Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 4, 95, 57, 63 ]
21
[ "4+95=99", "57+63=120", "120-99=21" ]
Current State: 21:[4, 95, 57, 63], Operations: [] Exploring Operation: 4+95=99, Resulting Numbers: [57, 63, 99] Generated Node #2: [57, 63, 99] from Operation: 4+95=99 Current State: 21:[57, 63, 99], Operations: ['4+95=99'] Exploring Operation: 57+63=120, Resulting Numbers: [99, 120] Generated Node #3: [99, 120] from Operation: 57+63=120 Current State: 21:[99, 120], Operations: ['4+95=99', '57+63=120'] Exploring Operation: 120-99=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[4, 95, 57, 63], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [4, 95, 6] Generated Node #0,0: 21:[4, 95, 6] Operation: 63-57=6 Exploring Operation: 95-63=32, Resulting Numbers: [4, 57, 32] Generated Node #0,1: 21:[4, 57, 32] Operation: 95-63=32 Exploring Operation: 95-57=38, Resulting Numbers: [4, 63, 38] Generated Node #0,2: 21:[4, 63, 38] Operation: 95-57=38 Exploring Operation: 95-4=91, Resulting Numbers: [57, 63, 91] Generated Node #0,3: 21:[57, 63, 91] Operation: 95-4=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[4, 57, 32], Operations: ['95-63=32'] Exploring Operation: 57-4=53, Resulting Numbers: [32, 53] Generated Node #0,1,0: 21:[32, 53] Operation: 57-4=53 Exploring Operation: 32-4=28, Resulting Numbers: [57, 28] Generated Node #0,1,1: 21:[57, 28] Operation: 32-4=28 Exploring Operation: 57-32=25, Resulting Numbers: [4, 25] Generated Node #0,1,2: 21:[4, 25] Operation: 57-32=25 Exploring Operation: 32/4=8, Resulting Numbers: [57, 8] Generated Node #0,1,3: 21:[57, 8] Operation: 32/4=8 Moving to Node #0,1,2 Current State: 21:[4, 25], Operations: ['95-63=32', '57-32=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[4, 95, 57, 63], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [4, 57, 32] Generated Node #0,1: 21:[4, 57, 32] Operation: 95-63=32 Moving to Node #0,1 Current State: 21:[4, 57, 32], Operations: ['95-63=32'] Exploring Operation: 57-32=25, Resulting Numbers: [4, 25] Generated Node #0,1,2: 21:[4, 25] Operation: 57-32=25 Moving to Node #0,1,2 Current State: 21:[4, 25], Operations: ['95-63=32', '57-32=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 74, 27, 6, 48 ]
55
[ "74-27=47", "48/6=8", "47+8=55" ]
Current State: 55:[74, 27, 6, 48], Operations: [] Exploring Operation: 74-27=47, Resulting Numbers: [6, 48, 47] Generated Node #2: [6, 48, 47] from Operation: 74-27=47 Current State: 55:[6, 48, 47], Operations: ['74-27=47'] Exploring Operation: 48/6=8, Resulting Numbers: [47, 8] Generated Node #3: [47, 8] from Operation: 48/6=8 Current State: 55:[47, 8], Operations: ['74-27=47', '48/6=8'] Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[74, 27, 6, 48], Operations: [] Exploring Operation: 74-48=26, Resulting Numbers: [27, 6, 26] Generated Node #0,0: 55:[27, 6, 26] Operation: 74-48=26 Exploring Operation: 74-27=47, Resulting Numbers: [6, 48, 47] Generated Node #0,1: 55:[6, 48, 47] Operation: 74-27=47 Exploring Operation: 48-27=21, Resulting Numbers: [74, 6, 21] Generated Node #0,2: 55:[74, 6, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[6, 48, 47], Operations: ['74-27=47'] Exploring Operation: 6+47=53, Resulting Numbers: [48, 53] Generated Node #0,1,0: 55:[48, 53] Operation: 6+47=53 Exploring Operation: 6+48=54, Resulting Numbers: [47, 54] Generated Node #0,1,1: 55:[47, 54] Operation: 6+48=54 Exploring Operation: 48-47=1, Resulting Numbers: [6, 1] Generated Node #0,1,2: 55:[6, 1] Operation: 48-47=1 Moving to Node #0,1,2 Current State: 55:[6, 1], Operations: ['74-27=47', '48-47=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[48, 53], Operations: ['74-27=47', '6+47=53'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,55 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[47, 54], Operations: ['74-27=47', '6+48=54'] Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,55 unequal: No Solution Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,55 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[74, 6, 21], Operations: ['48-27=21'] Exploring Operation: 74-6=68, Resulting Numbers: [21, 68] Generated Node #0,2,0: 55:[21, 68] Operation: 74-6=68 Exploring Operation: 21-6=15, Resulting Numbers: [74, 15] Generated Node #0,2,1: 55:[74, 15] Operation: 21-6=15 Exploring Operation: 74-21=53, Resulting Numbers: [6, 53] Generated Node #0,2,2: 55:[6, 53] Operation: 74-21=53 Moving to Node #0,2,2 Current State: 55:[6, 53], Operations: ['48-27=21', '74-21=53'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[21, 68], Operations: ['48-27=21', '74-6=68'] Exploring Operation: 21*68=1428, Resulting Numbers: [1428] 1428,55 unequal: No Solution Exploring Operation: 21+68=89, Resulting Numbers: [89] 89,55 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[74, 15], Operations: ['48-27=21', '21-6=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,55 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,55 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[27, 6, 26], Operations: ['74-48=26'] Exploring Operation: 27-6=21, Resulting Numbers: [26, 21] Generated Node #0,0,0: 55:[26, 21] Operation: 27-6=21 Exploring Operation: 27+26=53, Resulting Numbers: [6, 53] Generated Node #0,0,1: 55:[6, 53] Operation: 27+26=53 Exploring Operation: 27-26=1, Resulting Numbers: [6, 1] Generated Node #0,0,2: 55:[6, 1] Operation: 27-26=1 Moving to Node #0,0,1 Current State: 55:[6, 53], Operations: ['74-48=26', '27+26=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[6, 1], Operations: ['74-48=26', '27-26=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[26, 21], Operations: ['74-48=26', '27-6=21'] Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,55 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,55 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
[ 30, 10, 75, 28 ]
15
[ "30-28=2", "10/2=5", "75/5=15" ]
Current State: 15:[30, 10, 75, 28], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [10, 75, 2] Generated Node #2: [10, 75, 2] from Operation: 30-28=2 Current State: 15:[10, 75, 2], Operations: ['30-28=2'] Exploring Operation: 10/2=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 10/2=5 Current State: 15:[75, 5], Operations: ['30-28=2', '10/2=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[30, 10, 75, 28], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [75, 28, 3] Generated Node #0,0: 15:[75, 28, 3] Operation: 30/10=3 Exploring Operation: 30-28=2, Resulting Numbers: [10, 75, 2] Generated Node #0,1: 15:[10, 75, 2] Operation: 30-28=2 Exploring Operation: 75-28=47, Resulting Numbers: [30, 10, 47] Generated Node #0,2: 15:[30, 10, 47] Operation: 75-28=47 Exploring Operation: 75-30=45, Resulting Numbers: [10, 28, 45] Generated Node #0,3: 15:[10, 28, 45] Operation: 75-30=45 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[10, 28, 45], Operations: ['75-30=45'] Exploring Operation: 28-10=18, Resulting Numbers: [45, 18] Generated Node #0,3,0: 15:[45, 18] Operation: 28-10=18 Exploring Operation: 45-28=17, Resulting Numbers: [10, 17] Generated Node #0,3,1: 15:[10, 17] Operation: 45-28=17 Exploring Operation: 10+28=38, Resulting Numbers: [45, 38] Generated Node #0,3,2: 15:[45, 38] Operation: 10+28=38 Exploring Operation: 45-10=35, Resulting Numbers: [28, 35] Generated Node #0,3,3: 15:[28, 35] Operation: 45-10=35 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 15:[10, 17], Operations: ['75-30=45', '45-28=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,15 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,15 unequal: No Solution No 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: 15:[45, 18], Operations: ['75-30=45', '28-10=18'] Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,15 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,15 unequal: No Solution No 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: 15:[28, 35], Operations: ['75-30=45', '45-10=35'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,15 unequal: No Solution No 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: 15:[45, 38], Operations: ['75-30=45', '10+28=38'] Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,15 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 45*38=1710, Resulting Numbers: [1710] 1710,15 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: 15:[30, 10, 47], Operations: ['75-28=47'] Exploring Operation: 47-30=17, Resulting Numbers: [10, 17] Generated Node #0,2,0: 15:[10, 17] Operation: 47-30=17 Exploring Operation: 30-10=20, Resulting Numbers: [47, 20] Generated Node #0,2,1: 15:[47, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [47, 3] Generated Node #0,2,2: 15:[47, 3] Operation: 30/10=3 Exploring Operation: 47-10=37, Resulting Numbers: [30, 37] Generated Node #0,2,3: 15:[30, 37] Operation: 47-10=37 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[10, 17], Operations: ['75-28=47', '47-30=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,15 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,15 unequal: No Solution No 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: 15:[47, 3], Operations: ['75-28=47', '30/10=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,15 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,15 unequal: No Solution No 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: 15:[47, 20], Operations: ['75-28=47', '30-10=20'] Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,15 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,15 unequal: No Solution No 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: 15:[30, 37], Operations: ['75-28=47', '47-10=37'] Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,15 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: 15:[10, 75, 2], Operations: ['30-28=2'] Exploring Operation: 10/2=5, Resulting Numbers: [75, 5] Generated Node #0,1,0: 15:[75, 5] Operation: 10/2=5 Exploring Operation: 10+2=12, Resulting Numbers: [75, 12] Generated Node #0,1,1: 15:[75, 12] Operation: 10+2=12 Exploring Operation: 75-10=65, Resulting Numbers: [2, 65] Generated Node #0,1,2: 15:[2, 65] Operation: 75-10=65 Exploring Operation: 10-2=8, Resulting Numbers: [75, 8] Generated Node #0,1,3: 15:[75, 8] Operation: 10-2=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[2, 65], Operations: ['30-28=2', '75-10=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,15 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,15 unequal: No Solution No 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: 15:[75, 5], Operations: ['30-28=2', '10/2=5'] Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,15 unequal: No Solution Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[30, 10, 75, 28], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [10, 75, 2] Generated Node #0,1: 15:[10, 75, 2] Operation: 30-28=2 Moving to Node #0,1 Current State: 15:[10, 75, 2], Operations: ['30-28=2'] Exploring Operation: 10/2=5, Resulting Numbers: [75, 5] Generated Node #0,1,0: 15:[75, 5] Operation: 10/2=5 Moving to Node #0,1,0 Current State: 15:[75, 5], Operations: ['30-28=2', '10/2=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 94, 67, 33, 2 ]
64
[ "94+67=161", "161-33=128", "128/2=64" ]
Current State: 64:[94, 67, 33, 2], Operations: [] Exploring Operation: 94+67=161, Resulting Numbers: [33, 2, 161] Generated Node #2: [33, 2, 161] from Operation: 94+67=161 Current State: 64:[33, 2, 161], Operations: ['94+67=161'] Exploring Operation: 161-33=128, Resulting Numbers: [2, 128] Generated Node #3: [2, 128] from Operation: 161-33=128 Current State: 64:[2, 128], Operations: ['94+67=161', '161-33=128'] Exploring Operation: 128/2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[94, 67, 33, 2], Operations: [] Exploring Operation: 94-67=27, Resulting Numbers: [33, 2, 27] Generated Node #0,0: 64:[33, 2, 27] Operation: 94-67=27 Exploring Operation: 67-33=34, Resulting Numbers: [94, 2, 34] Generated Node #0,1: 64:[94, 2, 34] Operation: 67-33=34 Exploring Operation: 94-2=92, Resulting Numbers: [67, 33, 92] Generated Node #0,2: 64:[67, 33, 92] Operation: 94-2=92 Exploring Operation: 94/2=47, Resulting Numbers: [67, 33, 47] Generated Node #0,3: 64:[67, 33, 47] Operation: 94/2=47 Exploring Operation: 94-33=61, Resulting Numbers: [67, 2, 61] Generated Node #0,4: 64:[67, 2, 61] Operation: 94-33=61 Moving to Node #0,0 Current State: 64:[33, 2, 27], Operations: ['94-67=27'] Exploring Operation: 33+27=60, Resulting Numbers: [2, 60] Generated Node #0,0,0: 64:[2, 60] Operation: 33+27=60 Exploring Operation: 33-2=31, Resulting Numbers: [27, 31] Generated Node #0,0,1: 64:[27, 31] Operation: 33-2=31 Exploring Operation: 33-27=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 64:[2, 6] Operation: 33-27=6 Exploring Operation: 33*2=66, Resulting Numbers: [27, 66] Generated Node #0,0,3: 64:[27, 66] Operation: 33*2=66 Exploring Operation: 2+27=29, Resulting Numbers: [33, 29] Generated Node #0,0,4: 64:[33, 29] Operation: 2+27=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[2, 6], Operations: ['94-67=27', '33-27=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[2, 60], Operations: ['94-67=27', '33+27=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 64:[33, 29], Operations: ['94-67=27', '2+27=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[27, 31], Operations: ['94-67=27', '33-2=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,64 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[27, 66], Operations: ['94-67=27', '33*2=66'] Exploring Operation: 27+66=93, Resulting Numbers: [93] 93,64 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 27*66=1782, Resulting Numbers: [1782] 1782,64 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: 64:[67, 2, 61], Operations: ['94-33=61'] Exploring Operation: 67-2=65, Resulting Numbers: [61, 65] Generated Node #0,4,0: 64:[61, 65] Operation: 67-2=65 Exploring Operation: 67-61=6, Resulting Numbers: [2, 6] Generated Node #0,4,1: 64:[2, 6] Operation: 67-61=6 Exploring Operation: 67+2=69, Resulting Numbers: [61, 69] Generated Node #0,4,2: 64:[61, 69] Operation: 67+2=69 Exploring Operation: 2+61=63, Resulting Numbers: [67, 63] Generated Node #0,4,3: 64:[67, 63] Operation: 2+61=63 Exploring Operation: 61-2=59, Resulting Numbers: [67, 59] Generated Node #0,4,4: 64:[67, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 64:[2, 6], Operations: ['94-33=61', '67-61=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 64:[61, 65], Operations: ['94-33=61', '67-2=65'] Exploring Operation: 61*65=3965, Resulting Numbers: [3965] 3965,64 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 61+65=126, Resulting Numbers: [126] 126,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 64:[67, 63], Operations: ['94-33=61', '2+61=63'] Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,64 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 64:[61, 69], Operations: ['94-33=61', '67+2=69'] Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,64 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 64:[67, 59], Operations: ['94-33=61', '61-2=59'] Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,64 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,64 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: 64:[67, 33, 47], Operations: ['94/2=47'] Exploring Operation: 47-33=14, Resulting Numbers: [67, 14] Generated Node #0,3,0: 64:[67, 14] Operation: 47-33=14 Exploring Operation: 67+33=100, Resulting Numbers: [47, 100] Generated Node #0,3,1: 64:[47, 100] Operation: 67+33=100 Exploring Operation: 67-47=20, Resulting Numbers: [33, 20] Generated Node #0,3,2: 64:[33, 20] Operation: 67-47=20 Exploring Operation: 33+47=80, Resulting Numbers: [67, 80] Generated Node #0,3,3: 64:[67, 80] Operation: 33+47=80 Exploring Operation: 67-33=34, Resulting Numbers: [47, 34] Generated Node #0,3,4: 64:[47, 34] Operation: 67-33=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[67, 14], Operations: ['94/2=47', '47-33=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,64 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[33, 20], Operations: ['94/2=47', '67-47=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[47, 34], Operations: ['94/2=47', '67-33=34'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[67, 80], Operations: ['94/2=47', '33+47=80'] Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 67*80=5360, Resulting Numbers: [5360] 5360,64 unequal: No Solution Exploring Operation: 67+80=147, Resulting Numbers: [147] 147,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[47, 100], Operations: ['94/2=47', '67+33=100'] Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 47+100=147, Resulting Numbers: [147] 147,64 unequal: No Solution Exploring Operation: 47*100=4700, Resulting Numbers: [4700] 4700,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 64:[94, 2, 34], Operations: ['67-33=34'] Exploring Operation: 94/2=47, Resulting Numbers: [34, 47] Generated Node #0,1,0: 64:[34, 47] Operation: 94/2=47 Exploring Operation: 34-2=32, Resulting Numbers: [94, 32] Generated Node #0,1,1: 64:[94, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [94, 17] Generated Node #0,1,2: 64:[94, 17] Operation: 34/2=17 Exploring Operation: 94-2=92, Resulting Numbers: [34, 92] Generated Node #0,1,3: 64:[34, 92] Operation: 94-2=92 Exploring Operation: 94-34=60, Resulting Numbers: [2, 60] Generated Node #0,1,4: 64:[2, 60] Operation: 94-34=60 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 64:[2, 60], Operations: ['67-33=34', '94-34=60'] Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[34, 47], Operations: ['67-33=34', '94/2=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,64 unequal: No Solution Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[94, 32], Operations: ['67-33=34', '34-2=32'] Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,64 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[34, 92], Operations: ['67-33=34', '94-2=92'] Exploring Operation: 34*92=3128, Resulting Numbers: [3128] 3128,64 unequal: No Solution Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 34+92=126, Resulting Numbers: [126] 126,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[94, 17], Operations: ['67-33=34', '34/2=17'] Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,64 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,64 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: 64:[67, 33, 92], Operations: ['94-2=92'] Exploring Operation: 33+92=125, Resulting Numbers: [67, 125] Generated Node #0,2,0: 64:[67, 125] Operation: 33+92=125 Exploring Operation: 92-67=25, Resulting Numbers: [33, 25] Generated Node #0,2,1: 64:[33, 25] Operation: 92-67=25 Exploring Operation: 67-33=34, Resulting Numbers: [92, 34] Generated Node #0,2,2: 64:[92, 34] Operation: 67-33=34 Exploring Operation: 92-33=59, Resulting Numbers: [67, 59] Generated Node #0,2,3: 64:[67, 59] Operation: 92-33=59 Exploring Operation: 67+33=100, Resulting Numbers: [92, 100] Generated Node #0,2,4: 64:[92, 100] Operation: 67+33=100 Moving to Node #0,2,1 Current State: 64:[33, 25], Operations: ['94-2=92', '92-67=25'] Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,64 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[67, 59], Operations: ['94-2=92', '92-33=59'] Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[92, 34], Operations: ['94-2=92', '67-33=34'] Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 92+34=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 92*34=3128, Resulting Numbers: [3128] 3128,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[67, 125], Operations: ['94-2=92', '33+92=125'] Exploring Operation: 125-67=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 67*125=8375, Resulting Numbers: [8375] 8375,64 unequal: No Solution Exploring Operation: 67+125=192, Resulting Numbers: [192] 192,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[92, 100], Operations: ['94-2=92', '67+33=100'] Exploring Operation: 100-92=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 92+100=192, Resulting Numbers: [192] 192,64 unequal: No Solution Exploring Operation: 92*100=9200, Resulting Numbers: [9200] 9200,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 70, 45, 34, 45 ]
34
[ "45-45=0", "70*0=0", "34+0=34" ]
Current State: 34:[70, 45, 34, 45], Operations: [] Exploring Operation: 45-45=0, Resulting Numbers: [70, 34, 0] Generated Node #2: [70, 34, 0] from Operation: 45-45=0 Current State: 34:[70, 34, 0], Operations: ['45-45=0'] Exploring Operation: 70*0=0, Resulting Numbers: [34, 0] Generated Node #3: [34, 0] from Operation: 70*0=0 Current State: 34:[34, 0], Operations: ['45-45=0', '70*0=0'] Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[70, 45, 34, 45], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [45, 34, 25] Generated Node #0,0: 34:[45, 34, 25] Operation: 70-45=25 Exploring Operation: 70-34=36, Resulting Numbers: [45, 45, 36] Generated Node #0,1: 34:[45, 45, 36] Operation: 70-34=36 Exploring Operation: 70-45=25, Resulting Numbers: [34, 45, 25] Generated Node #0,2: 34:[34, 45, 25] Operation: 70-45=25 Moving to Node #0,0 Current State: 34:[45, 34, 25], Operations: ['70-45=25'] Exploring Operation: 45-25=20, Resulting Numbers: [34, 20] Generated Node #0,0,0: 34:[34, 20] Operation: 45-25=20 Exploring Operation: 34-25=9, Resulting Numbers: [45, 9] Generated Node #0,0,1: 34:[45, 9] Operation: 34-25=9 Exploring Operation: 45-34=11, Resulting Numbers: [25, 11] Generated Node #0,0,2: 34:[25, 11] Operation: 45-34=11 Moving to Node #0,2 Current State: 34:[34, 45, 25], Operations: ['70-45=25'] Exploring Operation: 45-25=20, Resulting Numbers: [34, 20] Generated Node #0,2,0: 34:[34, 20] Operation: 45-25=20 Exploring Operation: 45-34=11, Resulting Numbers: [25, 11] Generated Node #0,2,1: 34:[25, 11] Operation: 45-34=11 Exploring Operation: 34-25=9, Resulting Numbers: [45, 9] Generated Node #0,2,2: 34:[45, 9] Operation: 34-25=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[34, 20], Operations: ['70-45=25', '45-25=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,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,2,1 Current State: 34:[25, 11], Operations: ['70-45=25', '45-34=11'] Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,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,2,2 Current State: 34:[45, 9], Operations: ['70-45=25', '34-25=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,34 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: 34:[45, 45, 36], Operations: ['70-34=36'] Exploring Operation: 45/45=1, Resulting Numbers: [36, 1] Generated Node #0,1,0: 34:[36, 1] Operation: 45/45=1 Exploring Operation: 45-45=0, Resulting Numbers: [36, 0] Generated Node #0,1,1: 34:[36, 0] Operation: 45-45=0 Exploring Operation: 45-36=9, Resulting Numbers: [45, 9] Generated Node #0,1,2: 34:[45, 9] Operation: 45-36=9 Moving to Node #0,0,0 Current State: 34:[34, 20], Operations: ['70-45=25', '45-25=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[36, 1], Operations: ['70-34=36', '45/45=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[36, 0], Operations: ['70-34=36', '45-45=0'] Exploring Operation: 36-0=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 36+0=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 36*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[25, 11], Operations: ['70-45=25', '45-34=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,34 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[45, 9], Operations: ['70-34=36', '45-36=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[45, 9], Operations: ['70-45=25', '34-25=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,34 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 83, 33, 81, 34 ]
65
[ "83-33=50", "81+34=115", "115-50=65" ]
Current State: 65:[83, 33, 81, 34], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [81, 34, 50] Generated Node #2: [81, 34, 50] from Operation: 83-33=50 Current State: 65:[81, 34, 50], Operations: ['83-33=50'] Exploring Operation: 81+34=115, Resulting Numbers: [50, 115] Generated Node #3: [50, 115] from Operation: 81+34=115 Current State: 65:[50, 115], Operations: ['83-33=50', '81+34=115'] Exploring Operation: 115-50=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[83, 33, 81, 34], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [33, 34, 2] Generated Node #0,0: 65:[33, 34, 2] Operation: 83-81=2 Exploring Operation: 83-33=50, Resulting Numbers: [81, 34, 50] Generated Node #0,1: 65:[81, 34, 50] Operation: 83-33=50 Exploring Operation: 33+34=67, Resulting Numbers: [83, 81, 67] Generated Node #0,2: 65:[83, 81, 67] Operation: 33+34=67 Exploring Operation: 83-34=49, Resulting Numbers: [33, 81, 49] Generated Node #0,3: 65:[33, 81, 49] Operation: 83-34=49 Exploring Operation: 34-33=1, Resulting Numbers: [83, 81, 1] Generated Node #0,4: 65:[83, 81, 1] Operation: 34-33=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[83, 81, 67], Operations: ['33+34=67'] Exploring Operation: 81-67=14, Resulting Numbers: [83, 14] Generated Node #0,2,0: 65:[83, 14] Operation: 81-67=14 Exploring Operation: 83-81=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 65:[67, 2] Operation: 83-81=2 Exploring Operation: 83+67=150, Resulting Numbers: [81, 150] Generated Node #0,2,2: 65:[81, 150] Operation: 83+67=150 Exploring Operation: 83+81=164, Resulting Numbers: [67, 164] Generated Node #0,2,3: 65:[67, 164] Operation: 83+81=164 Exploring Operation: 83-67=16, Resulting Numbers: [81, 16] Generated Node #0,2,4: 65:[81, 16] Operation: 83-67=16 Moving to Node #0,2,1 Current State: 65:[67, 2], Operations: ['33+34=67', '83-81=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[83, 33, 81, 34], Operations: [] Exploring Operation: 33+34=67, Resulting Numbers: [83, 81, 67] Generated Node #0,2: 65:[83, 81, 67] Operation: 33+34=67 Moving to Node #0,2 Current State: 65:[83, 81, 67], Operations: ['33+34=67'] Exploring Operation: 83-81=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 65:[67, 2] Operation: 83-81=2 Moving to Node #0,2,1 Current State: 65:[67, 2], Operations: ['33+34=67', '83-81=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 36, 2, 22, 11 ]
85
[ "22/2=11", "11*11=121", "121-36=85" ]
Current State: 85:[36, 2, 22, 11], Operations: [] Exploring Operation: 22/2=11, Resulting Numbers: [36, 11, 11] Generated Node #2: [36, 11, 11] from Operation: 22/2=11 Current State: 85:[36, 11, 11], Operations: ['22/2=11'] Exploring Operation: 11*11=121, Resulting Numbers: [36, 121] Generated Node #3: [36, 121] from Operation: 11*11=121 Current State: 85:[36, 121], Operations: ['22/2=11', '11*11=121'] Exploring Operation: 121-36=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[36, 2, 22, 11], Operations: [] Exploring Operation: 36/2=18, Resulting Numbers: [22, 11, 18] Generated Node #0,0: 85:[22, 11, 18] Operation: 36/2=18 Exploring Operation: 36-22=14, Resulting Numbers: [2, 11, 14] Generated Node #0,1: 85:[2, 11, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[22, 11, 18], Operations: ['36/2=18'] Exploring Operation: 22-11=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 85:[18, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 85:[18, 2] Operation: 22/11=2 Moving to Node #0,0,1 Current State: 85:[18, 2], Operations: ['36/2=18', '22/11=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[18, 11], Operations: ['36/2=18', '22-11=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,85 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,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 Current State: 85:[2, 11, 14], Operations: ['36-22=14'] Exploring Operation: 2+11=13, Resulting Numbers: [14, 13] Generated Node #0,1,0: 85:[14, 13] Operation: 2+11=13 Exploring Operation: 14-11=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 85:[2, 3] Operation: 14-11=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[2, 3], Operations: ['36-22=14', '14-11=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[14, 13], Operations: ['36-22=14', '2+11=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 29, 57, 17, 13 ]
32
[ "57-29=28", "17-13=4", "28+4=32" ]
Current State: 32:[29, 57, 17, 13], Operations: [] Exploring Operation: 57-29=28, Resulting Numbers: [17, 13, 28] Generated Node #2: [17, 13, 28] from Operation: 57-29=28 Current State: 32:[17, 13, 28], Operations: ['57-29=28'] Exploring Operation: 17-13=4, Resulting Numbers: [28, 4] Generated Node #3: [28, 4] from Operation: 17-13=4 Current State: 32:[28, 4], Operations: ['57-29=28', '17-13=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[29, 57, 17, 13], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [29, 17, 44] Generated Node #0,0: 32:[29, 17, 44] Operation: 57-13=44 Exploring Operation: 57-17=40, Resulting Numbers: [29, 13, 40] Generated Node #0,1: 32:[29, 13, 40] Operation: 57-17=40 Exploring Operation: 17-13=4, Resulting Numbers: [29, 57, 4] Generated Node #0,2: 32:[29, 57, 4] Operation: 17-13=4 Exploring Operation: 29-13=16, Resulting Numbers: [57, 17, 16] Generated Node #0,3: 32:[57, 17, 16] Operation: 29-13=16 Exploring Operation: 57-29=28, Resulting Numbers: [17, 13, 28] Generated Node #0,4: 32:[17, 13, 28] Operation: 57-29=28 Moving to Node #0,4 Current State: 32:[17, 13, 28], Operations: ['57-29=28'] Exploring Operation: 13+28=41, Resulting Numbers: [17, 41] Generated Node #0,4,0: 32:[17, 41] Operation: 13+28=41 Exploring Operation: 28-17=11, Resulting Numbers: [13, 11] Generated Node #0,4,1: 32:[13, 11] Operation: 28-17=11 Exploring Operation: 17+13=30, Resulting Numbers: [28, 30] Generated Node #0,4,2: 32:[28, 30] Operation: 17+13=30 Exploring Operation: 28-13=15, Resulting Numbers: [17, 15] Generated Node #0,4,3: 32:[17, 15] Operation: 28-13=15 Exploring Operation: 17-13=4, Resulting Numbers: [28, 4] Generated Node #0,4,4: 32:[28, 4] Operation: 17-13=4 Moving to Node #0,1 Current State: 32:[29, 13, 40], Operations: ['57-17=40'] Exploring Operation: 13+40=53, Resulting Numbers: [29, 53] Generated Node #0,1,0: 32:[29, 53] Operation: 13+40=53 Exploring Operation: 40-13=27, Resulting Numbers: [29, 27] Generated Node #0,1,1: 32:[29, 27] Operation: 40-13=27 Exploring Operation: 29+13=42, Resulting Numbers: [40, 42] Generated Node #0,1,2: 32:[40, 42] Operation: 29+13=42 Exploring Operation: 29-13=16, Resulting Numbers: [40, 16] Generated Node #0,1,3: 32:[40, 16] Operation: 29-13=16 Exploring Operation: 40-29=11, Resulting Numbers: [13, 11] Generated Node #0,1,4: 32:[13, 11] Operation: 40-29=11 Moving to Node #0,0 Current State: 32:[29, 17, 44], Operations: ['57-13=44'] Exploring Operation: 44-17=27, Resulting Numbers: [29, 27] Generated Node #0,0,0: 32:[29, 27] Operation: 44-17=27 Exploring Operation: 17+44=61, Resulting Numbers: [29, 61] Generated Node #0,0,1: 32:[29, 61] Operation: 17+44=61 Exploring Operation: 29+17=46, Resulting Numbers: [44, 46] Generated Node #0,0,2: 32:[44, 46] Operation: 29+17=46 Exploring Operation: 29-17=12, Resulting Numbers: [44, 12] Generated Node #0,0,3: 32:[44, 12] Operation: 29-17=12 Exploring Operation: 44-29=15, Resulting Numbers: [17, 15] Generated Node #0,0,4: 32:[17, 15] Operation: 44-29=15 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 32:[17, 15], Operations: ['57-13=44', '44-29=15'] Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,32 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[29, 57, 17, 13], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [29, 17, 44] Generated Node #0,0: 32:[29, 17, 44] Operation: 57-13=44 Moving to Node #0,0 Current State: 32:[29, 17, 44], Operations: ['57-13=44'] Exploring Operation: 44-29=15, Resulting Numbers: [17, 15] Generated Node #0,0,4: 32:[17, 15] Operation: 44-29=15 Moving to Node #0,0,4 Current State: 32:[17, 15], Operations: ['57-13=44', '44-29=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 60, 90, 15, 45 ]
47
[ "90-60=30", "30/15=2", "45+2=47" ]
Current State: 47:[60, 90, 15, 45], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [15, 45, 30] Generated Node #2: [15, 45, 30] from Operation: 90-60=30 Current State: 47:[15, 45, 30], Operations: ['90-60=30'] Exploring Operation: 30/15=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 30/15=2 Current State: 47:[45, 2], Operations: ['90-60=30', '30/15=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[60, 90, 15, 45], Operations: [] Exploring Operation: 90-15=75, Resulting Numbers: [60, 45, 75] Generated Node #0,0: 47:[60, 45, 75] Operation: 90-15=75 Moving to Node #0,0 Current State: 47:[60, 45, 75], Operations: ['90-15=75'] Exploring Operation: 75-45=30, Resulting Numbers: [60, 30] Generated Node #0,0,0: 47:[60, 30] Operation: 75-45=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[60, 30], Operations: ['90-15=75', '75-45=30'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 35, 78, 80, 33 ]
38
[ "35-33=2", "80/2=40", "78-40=38" ]
Current State: 38:[35, 78, 80, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [78, 80, 2] Generated Node #2: [78, 80, 2] from Operation: 35-33=2 Current State: 38:[78, 80, 2], Operations: ['35-33=2'] Exploring Operation: 80/2=40, Resulting Numbers: [78, 40] Generated Node #3: [78, 40] from Operation: 80/2=40 Current State: 38:[78, 40], Operations: ['35-33=2', '80/2=40'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[35, 78, 80, 33], Operations: [] Exploring Operation: 80-33=47, Resulting Numbers: [35, 78, 47] Generated Node #0,0: 38:[35, 78, 47] Operation: 80-33=47 Exploring Operation: 80-78=2, Resulting Numbers: [35, 33, 2] Generated Node #0,1: 38:[35, 33, 2] Operation: 80-78=2 Exploring Operation: 80-35=45, Resulting Numbers: [78, 33, 45] Generated Node #0,2: 38:[78, 33, 45] Operation: 80-35=45 Exploring Operation: 78-33=45, Resulting Numbers: [35, 80, 45] Generated Node #0,3: 38:[35, 80, 45] Operation: 78-33=45 Exploring Operation: 78-35=43, Resulting Numbers: [80, 33, 43] Generated Node #0,4: 38:[80, 33, 43] Operation: 78-35=43 Moving to Node #0,1 Current State: 38:[35, 33, 2], Operations: ['80-78=2'] Exploring Operation: 33-2=31, Resulting Numbers: [35, 31] Generated Node #0,1,0: 38:[35, 31] Operation: 33-2=31 Exploring Operation: 35-2=33, Resulting Numbers: [33, 33] Generated Node #0,1,1: 38:[33, 33] Operation: 35-2=33 Exploring Operation: 35-33=2, Resulting Numbers: [2, 2] Generated Node #0,1,2: 38:[2, 2] Operation: 35-33=2 Exploring Operation: 33+2=35, Resulting Numbers: [35, 35] Generated Node #0,1,3: 38:[35, 35] Operation: 33+2=35 Exploring Operation: 35+2=37, Resulting Numbers: [33, 37] Generated Node #0,1,4: 38:[33, 37] Operation: 35+2=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[2, 2], Operations: ['80-78=2', '35-33=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,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:[35, 35], Operations: ['80-78=2', '33+2=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,38 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,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,4 Current State: 38:[33, 37], Operations: ['80-78=2', '35+2=37'] Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,38 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,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:[35, 31], Operations: ['80-78=2', '33-2=31'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,38 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,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:[33, 33], Operations: ['80-78=2', '35-2=33'] Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,38 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,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:[78, 33, 45], Operations: ['80-35=45'] Exploring Operation: 78-45=33, Resulting Numbers: [33, 33] Generated Node #0,2,0: 38:[33, 33] Operation: 78-45=33 Exploring Operation: 78-33=45, Resulting Numbers: [45, 45] Generated Node #0,2,1: 38:[45, 45] Operation: 78-33=45 Exploring Operation: 78+33=111, Resulting Numbers: [45, 111] Generated Node #0,2,2: 38:[45, 111] Operation: 78+33=111 Exploring Operation: 33+45=78, Resulting Numbers: [78, 78] Generated Node #0,2,3: 38:[78, 78] Operation: 33+45=78 Exploring Operation: 45-33=12, Resulting Numbers: [78, 12] Generated Node #0,2,4: 38:[78, 12] Operation: 45-33=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[33, 33], Operations: ['80-35=45', '78-45=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,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:[45, 45], Operations: ['80-35=45', '78-33=45'] Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,38 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,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,4 Current State: 38:[78, 12], Operations: ['80-35=45', '45-33=12'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,38 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,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,2 Current State: 38:[45, 111], Operations: ['80-35=45', '78+33=111'] Exploring Operation: 45+111=156, Resulting Numbers: [156] 156,38 unequal: No Solution Exploring Operation: 111-45=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 45*111=4995, Resulting Numbers: [4995] 4995,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:[78, 78], Operations: ['80-35=45', '33+45=78'] Exploring Operation: 78-78=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 78*78=6084, Resulting Numbers: [6084] 6084,38 unequal: No Solution Exploring Operation: 78/78=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 78+78=156, Resulting Numbers: [156] 156,38 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: 38:[80, 33, 43], Operations: ['78-35=43'] Exploring Operation: 43-33=10, Resulting Numbers: [80, 10] Generated Node #0,4,0: 38:[80, 10] Operation: 43-33=10 Exploring Operation: 80-43=37, Resulting Numbers: [33, 37] Generated Node #0,4,1: 38:[33, 37] Operation: 80-43=37 Exploring Operation: 80-33=47, Resulting Numbers: [43, 47] Generated Node #0,4,2: 38:[43, 47] Operation: 80-33=47 Exploring Operation: 33+43=76, Resulting Numbers: [80, 76] Generated Node #0,4,3: 38:[80, 76] Operation: 33+43=76 Exploring Operation: 80+33=113, Resulting Numbers: [43, 113] Generated Node #0,4,4: 38:[43, 113] Operation: 80+33=113 Moving to Node #0,0 Current State: 38:[35, 78, 47], Operations: ['80-33=47'] Exploring Operation: 78-47=31, Resulting Numbers: [35, 31] Generated Node #0,0,0: 38:[35, 31] Operation: 78-47=31 Exploring Operation: 35+78=113, Resulting Numbers: [47, 113] Generated Node #0,0,1: 38:[47, 113] Operation: 35+78=113 Exploring Operation: 78-35=43, Resulting Numbers: [47, 43] Generated Node #0,0,2: 38:[47, 43] Operation: 78-35=43 Exploring Operation: 47-35=12, Resulting Numbers: [78, 12] Generated Node #0,0,3: 38:[78, 12] Operation: 47-35=12 Exploring Operation: 35+47=82, Resulting Numbers: [78, 82] Generated Node #0,0,4: 38:[78, 82] Operation: 35+47=82 Moving to Node #0,3 Current State: 38:[35, 80, 45], Operations: ['78-33=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35, 35] Generated Node #0,3,0: 38:[35, 35] Operation: 80-45=35 Exploring Operation: 35+80=115, Resulting Numbers: [45, 115] Generated Node #0,3,1: 38:[45, 115] Operation: 35+80=115 Exploring Operation: 45-35=10, Resulting Numbers: [80, 10] Generated Node #0,3,2: 38:[80, 10] Operation: 45-35=10 Exploring Operation: 80-35=45, Resulting Numbers: [45, 45] Generated Node #0,3,3: 38:[45, 45] Operation: 80-35=45 Exploring Operation: 35+45=80, Resulting Numbers: [80, 80] Generated Node #0,3,4: 38:[80, 80] Operation: 35+45=80 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[35, 35], Operations: ['78-33=45', '80-45=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,38 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,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:[45, 45], Operations: ['78-33=45', '80-35=45'] Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,38 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,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:[80, 10], Operations: ['78-33=45', '45-35=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,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,1 Current State: 38:[45, 115], Operations: ['78-33=45', '35+80=115'] Exploring Operation: 115-45=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 45+115=160, Resulting Numbers: [160] 160,38 unequal: No Solution Exploring Operation: 45*115=5175, Resulting Numbers: [5175] 5175,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,4 Current State: 38:[80, 80], Operations: ['78-33=45', '35+45=80'] Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 80+80=160, Resulting Numbers: [160] 160,38 unequal: No Solution Exploring Operation: 80*80=6400, Resulting Numbers: [6400] 6400,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 38:[33, 37], Operations: ['78-35=43', '80-43=37'] Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,38 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[35, 31], Operations: ['80-33=47', '78-47=31'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,38 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[47, 43], Operations: ['80-33=47', '78-35=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,38 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,38 unequal: No Solution Moving to Node #0,4,2 Current State: 38:[43, 47], Operations: ['78-35=43', '80-33=47'] Exploring Operation: 43*47=2021, Resulting Numbers: [2021] 2021,38 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[78, 12], Operations: ['80-33=47', '47-35=12'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,38 unequal: No Solution Moving to Node #0,4,0 Current State: 38:[80, 10], Operations: ['78-35=43', '43-33=10'] Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,38 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,38 unequal: No Solution Moving to Node #0,4,4 Current State: 38:[43, 113], Operations: ['78-35=43', '80+33=113'] Exploring Operation: 43*113=4859, Resulting Numbers: [4859] 4859,38 unequal: No Solution Exploring Operation: 113-43=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 43+113=156, Resulting Numbers: [156] 156,38 unequal: No Solution Moving to Node #0,4,3 Current State: 38:[80, 76], Operations: ['78-35=43', '33+43=76'] Exploring Operation: 80*76=6080, Resulting Numbers: [6080] 6080,38 unequal: No Solution Exploring Operation: 80+76=156, Resulting Numbers: [156] 156,38 unequal: No Solution Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[78, 82], Operations: ['80-33=47', '35+47=82'] Exploring Operation: 78*82=6396, Resulting Numbers: [6396] 6396,38 unequal: No Solution Exploring Operation: 78+82=160, Resulting Numbers: [160] 160,38 unequal: No Solution Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[47, 113], Operations: ['80-33=47', '35+78=113'] Exploring Operation: 113-47=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 47*113=5311, Resulting Numbers: [5311] 5311,38 unequal: No Solution Exploring Operation: 47+113=160, Resulting Numbers: [160] 160,38 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 98, 14, 81, 27 ]
81
[ "98-14=84", "81/27=3", "84-3=81" ]
Current State: 81:[98, 14, 81, 27], Operations: [] Exploring Operation: 98-14=84, Resulting Numbers: [81, 27, 84] Generated Node #2: [81, 27, 84] from Operation: 98-14=84 Current State: 81:[81, 27, 84], Operations: ['98-14=84'] Exploring Operation: 81/27=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 81/27=3 Current State: 81:[84, 3], Operations: ['98-14=84', '81/27=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[98, 14, 81, 27], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [81, 27, 7] Generated Node #0,0: 81:[81, 27, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 81:[81, 27, 7], Operations: ['98/14=7'] Exploring Operation: 81/27=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 81:[7, 3] Operation: 81/27=3 Moving to Node #0,0,0 Current State: 81:[7, 3], Operations: ['98/14=7', '81/27=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,81 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 64, 24, 89 ]
50
[ "79-64=15", "89-24=65", "65-15=50" ]
Current State: 50:[79, 64, 24, 89], Operations: [] Exploring Operation: 79-64=15, Resulting Numbers: [24, 89, 15] Generated Node #2: [24, 89, 15] from Operation: 79-64=15 Current State: 50:[24, 89, 15], Operations: ['79-64=15'] Exploring Operation: 89-24=65, Resulting Numbers: [15, 65] Generated Node #3: [15, 65] from Operation: 89-24=65 Current State: 50:[15, 65], Operations: ['79-64=15', '89-24=65'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[79, 64, 24, 89], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [64, 24, 10] Generated Node #0,0: 50:[64, 24, 10] Operation: 89-79=10 Exploring Operation: 79-64=15, Resulting Numbers: [24, 89, 15] Generated Node #0,1: 50:[24, 89, 15] Operation: 79-64=15 Exploring Operation: 79-24=55, Resulting Numbers: [64, 89, 55] Generated Node #0,2: 50:[64, 89, 55] Operation: 79-24=55 Exploring Operation: 89-24=65, Resulting Numbers: [79, 64, 65] Generated Node #0,3: 50:[79, 64, 65] Operation: 89-24=65 Exploring Operation: 89-64=25, Resulting Numbers: [79, 24, 25] Generated Node #0,4: 50:[79, 24, 25] Operation: 89-64=25 Moving to Node #0,0 Current State: 50:[64, 24, 10], Operations: ['89-79=10'] Exploring Operation: 64-10=54, Resulting Numbers: [24, 54] Generated Node #0,0,0: 50:[24, 54] Operation: 64-10=54 Exploring Operation: 24-10=14, Resulting Numbers: [64, 14] Generated Node #0,0,1: 50:[64, 14] Operation: 24-10=14 Exploring Operation: 24+10=34, Resulting Numbers: [64, 34] Generated Node #0,0,2: 50:[64, 34] Operation: 24+10=34 Exploring Operation: 64+10=74, Resulting Numbers: [24, 74] Generated Node #0,0,3: 50:[24, 74] Operation: 64+10=74 Exploring Operation: 64-24=40, Resulting Numbers: [10, 40] Generated Node #0,0,4: 50:[10, 40] Operation: 64-24=40 Moving to Node #0,4 Current State: 50:[79, 24, 25], Operations: ['89-64=25'] Exploring Operation: 79+24=103, Resulting Numbers: [25, 103] Generated Node #0,4,0: 50:[25, 103] Operation: 79+24=103 Exploring Operation: 79-24=55, Resulting Numbers: [25, 55] Generated Node #0,4,1: 50:[25, 55] Operation: 79-24=55 Exploring Operation: 25-24=1, Resulting Numbers: [79, 1] Generated Node #0,4,2: 50:[79, 1] Operation: 25-24=1 Exploring Operation: 24+25=49, Resulting Numbers: [79, 49] Generated Node #0,4,3: 50:[79, 49] Operation: 24+25=49 Exploring Operation: 79-25=54, Resulting Numbers: [24, 54] Generated Node #0,4,4: 50:[24, 54] Operation: 79-25=54 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 50:[25, 55], Operations: ['89-64=25', '79-24=55'] Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,50 unequal: No Solution Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,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,4,4 Current State: 50:[24, 54], Operations: ['89-64=25', '79-25=54'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,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,4,2 Current State: 50:[79, 1], Operations: ['89-64=25', '25-24=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,50 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,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,4,3 Current State: 50:[79, 49], Operations: ['89-64=25', '24+25=49'] Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,50 unequal: No Solution Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,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,4,0 Current State: 50:[25, 103], Operations: ['89-64=25', '79+24=103'] Exploring Operation: 103-25=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 25*103=2575, Resulting Numbers: [2575] 2575,50 unequal: No Solution Exploring Operation: 25+103=128, Resulting Numbers: [128] 128,50 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: 50:[24, 89, 15], Operations: ['79-64=15'] Exploring Operation: 24+15=39, Resulting Numbers: [89, 39] Generated Node #0,1,0: 50:[89, 39] Operation: 24+15=39 Exploring Operation: 89-24=65, Resulting Numbers: [15, 65] Generated Node #0,1,1: 50:[15, 65] Operation: 89-24=65 Exploring Operation: 89+15=104, Resulting Numbers: [24, 104] Generated Node #0,1,2: 50:[24, 104] Operation: 89+15=104 Exploring Operation: 24-15=9, Resulting Numbers: [89, 9] Generated Node #0,1,3: 50:[89, 9] Operation: 24-15=9 Exploring Operation: 89-15=74, Resulting Numbers: [24, 74] Generated Node #0,1,4: 50:[24, 74] Operation: 89-15=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[15, 65], Operations: ['79-64=15', '89-24=65'] Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[79, 64, 24, 89], Operations: [] Exploring Operation: 79-64=15, Resulting Numbers: [24, 89, 15] Generated Node #0,1: 50:[24, 89, 15] Operation: 79-64=15 Moving to Node #0,1 Current State: 50:[24, 89, 15], Operations: ['79-64=15'] Exploring Operation: 89-24=65, Resulting Numbers: [15, 65] Generated Node #0,1,1: 50:[15, 65] Operation: 89-24=65 Moving to Node #0,1,1 Current State: 50:[15, 65], Operations: ['79-64=15', '89-24=65'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 59, 7, 5, 21 ]
83
[ "59+5=64", "7*21=147", "147-64=83" ]
Current State: 83:[59, 7, 5, 21], Operations: [] Exploring Operation: 59+5=64, Resulting Numbers: [7, 21, 64] Generated Node #2: [7, 21, 64] from Operation: 59+5=64 Current State: 83:[7, 21, 64], Operations: ['59+5=64'] Exploring Operation: 7*21=147, Resulting Numbers: [64, 147] Generated Node #3: [64, 147] from Operation: 7*21=147 Current State: 83:[64, 147], Operations: ['59+5=64', '7*21=147'] Exploring Operation: 147-64=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[59, 7, 5, 21], Operations: [] Exploring Operation: 7*5=35, Resulting Numbers: [59, 21, 35] Generated Node #0,0: 83:[59, 21, 35] Operation: 7*5=35 Exploring Operation: 59+7=66, Resulting Numbers: [5, 21, 66] Generated Node #0,1: 83:[5, 21, 66] Operation: 59+7=66 Exploring Operation: 5*21=105, Resulting Numbers: [59, 7, 105] Generated Node #0,2: 83:[59, 7, 105] Operation: 5*21=105 Moving to Node #0,2 Current State: 83:[59, 7, 105], Operations: ['5*21=105'] Exploring Operation: 59-7=52, Resulting Numbers: [105, 52] Generated Node #0,2,0: 83:[105, 52] Operation: 59-7=52 Exploring Operation: 105-7=98, Resulting Numbers: [59, 98] Generated Node #0,2,1: 83:[59, 98] Operation: 105-7=98 Exploring Operation: 59+7=66, Resulting Numbers: [105, 66] Generated Node #0,2,2: 83:[105, 66] Operation: 59+7=66 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[59, 98], Operations: ['5*21=105', '105-7=98'] Exploring Operation: 59+98=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 59*98=5782, Resulting Numbers: [5782] 5782,83 unequal: No Solution Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[105, 66], Operations: ['5*21=105', '59+7=66'] Exploring Operation: 105+66=171, Resulting Numbers: [171] 171,83 unequal: No Solution Exploring Operation: 105*66=6930, Resulting Numbers: [6930] 6930,83 unequal: No Solution Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[105, 52], Operations: ['5*21=105', '59-7=52'] Exploring Operation: 105+52=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 105*52=5460, Resulting Numbers: [5460] 5460,83 unequal: No Solution Exploring Operation: 105-52=53, Resulting Numbers: [53] 53,83 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: 83:[59, 21, 35], Operations: ['7*5=35'] Exploring Operation: 21+35=56, Resulting Numbers: [59, 56] Generated Node #0,0,0: 83:[59, 56] Operation: 21+35=56 Exploring Operation: 59+21=80, Resulting Numbers: [35, 80] Generated Node #0,0,1: 83:[35, 80] Operation: 59+21=80 Exploring Operation: 59+35=94, Resulting Numbers: [21, 94] Generated Node #0,0,2: 83:[21, 94] Operation: 59+35=94 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[59, 56], Operations: ['7*5=35', '21+35=56'] Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,83 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[35, 80], Operations: ['7*5=35', '59+21=80'] Exploring Operation: 35*80=2800, Resulting Numbers: [2800] 2800,83 unequal: No Solution Exploring Operation: 35+80=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[21, 94], Operations: ['7*5=35', '59+35=94'] Exploring Operation: 21+94=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 21*94=1974, Resulting Numbers: [1974] 1974,83 unequal: No Solution Exploring Operation: 94-21=73, Resulting Numbers: [73] 73,83 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: 83:[5, 21, 66], Operations: ['59+7=66'] Exploring Operation: 5*21=105, Resulting Numbers: [66, 105] Generated Node #0,1,0: 83:[66, 105] Operation: 5*21=105 Exploring Operation: 5+21=26, Resulting Numbers: [66, 26] Generated Node #0,1,1: 83:[66, 26] Operation: 5+21=26 Exploring Operation: 5+66=71, Resulting Numbers: [21, 71] Generated Node #0,1,2: 83:[21, 71] Operation: 5+66=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[66, 105], Operations: ['59+7=66', '5*21=105'] Exploring Operation: 66+105=171, Resulting Numbers: [171] 171,83 unequal: No Solution Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 66*105=6930, Resulting Numbers: [6930] 6930,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[66, 26], Operations: ['59+7=66', '5+21=26'] Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 66+26=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 66*26=1716, Resulting Numbers: [1716] 1716,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[21, 71], Operations: ['59+7=66', '5+66=71'] Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 21+71=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 21*71=1491, Resulting Numbers: [1491] 1491,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 10, 55, 89, 87 ]
67
[ "10+55=65", "89-87=2", "65+2=67" ]
Current State: 67:[10, 55, 89, 87], Operations: [] Exploring Operation: 10+55=65, Resulting Numbers: [89, 87, 65] Generated Node #2: [89, 87, 65] from Operation: 10+55=65 Current State: 67:[89, 87, 65], Operations: ['10+55=65'] Exploring Operation: 89-87=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 89-87=2 Current State: 67:[65, 2], Operations: ['10+55=65', '89-87=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[10, 55, 89, 87], Operations: [] Exploring Operation: 10+55=65, Resulting Numbers: [89, 87, 65] Generated Node #0,0: 67:[89, 87, 65] Operation: 10+55=65 Exploring Operation: 89-10=79, Resulting Numbers: [55, 87, 79] Generated Node #0,1: 67:[55, 87, 79] Operation: 89-10=79 Exploring Operation: 87-10=77, Resulting Numbers: [55, 89, 77] Generated Node #0,2: 67:[55, 89, 77] Operation: 87-10=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[89, 87, 65], Operations: ['10+55=65'] Exploring Operation: 87-65=22, Resulting Numbers: [89, 22] Generated Node #0,0,0: 67:[89, 22] Operation: 87-65=22 Exploring Operation: 89-65=24, Resulting Numbers: [87, 24] Generated Node #0,0,1: 67:[87, 24] Operation: 89-65=24 Exploring Operation: 89-87=2, Resulting Numbers: [65, 2] Generated Node #0,0,2: 67:[65, 2] Operation: 89-87=2 Moving to Node #0,0,1 Current State: 67:[87, 24], Operations: ['10+55=65', '89-65=24'] Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,67 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,67 unequal: No Solution Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[89, 22], Operations: ['10+55=65', '87-65=22'] Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,67 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[10, 55, 89, 87], Operations: [] Exploring Operation: 10+55=65, Resulting Numbers: [89, 87, 65] Generated Node #0,0: 67:[89, 87, 65] Operation: 10+55=65 Moving to Node #0,0 Current State: 67:[89, 87, 65], Operations: ['10+55=65'] Exploring Operation: 87-65=22, Resulting Numbers: [89, 22] Generated Node #0,0,0: 67:[89, 22] Operation: 87-65=22 Moving to Node #0,0,0 Current State: 67:[89, 22], Operations: ['10+55=65', '87-65=22'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 27, 64, 89, 80 ]
82
[ "27+64=91", "89-80=9", "91-9=82" ]
Current State: 82:[27, 64, 89, 80], Operations: [] Exploring Operation: 27+64=91, Resulting Numbers: [89, 80, 91] Generated Node #2: [89, 80, 91] from Operation: 27+64=91 Current State: 82:[89, 80, 91], Operations: ['27+64=91'] Exploring Operation: 89-80=9, Resulting Numbers: [91, 9] Generated Node #3: [91, 9] from Operation: 89-80=9 Current State: 82:[91, 9], Operations: ['27+64=91', '89-80=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[27, 64, 89, 80], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [27, 89, 16] Generated Node #0,0: 82:[27, 89, 16] Operation: 80-64=16 Exploring Operation: 89-64=25, Resulting Numbers: [27, 80, 25] Generated Node #0,1: 82:[27, 80, 25] Operation: 89-64=25 Exploring Operation: 27+64=91, Resulting Numbers: [89, 80, 91] Generated Node #0,2: 82:[89, 80, 91] Operation: 27+64=91 Exploring Operation: 64-27=37, Resulting Numbers: [89, 80, 37] Generated Node #0,3: 82:[89, 80, 37] Operation: 64-27=37 Moving to Node #0,3 Current State: 82:[89, 80, 37], Operations: ['64-27=37'] Exploring Operation: 80+37=117, Resulting Numbers: [89, 117] Generated Node #0,3,0: 82:[89, 117] Operation: 80+37=117 Exploring Operation: 89-37=52, Resulting Numbers: [80, 52] Generated Node #0,3,1: 82:[80, 52] Operation: 89-37=52 Exploring Operation: 80-37=43, Resulting Numbers: [89, 43] Generated Node #0,3,2: 82:[89, 43] Operation: 80-37=43 Exploring Operation: 89-80=9, Resulting Numbers: [37, 9] Generated Node #0,3,3: 82:[37, 9] Operation: 89-80=9 Moving to Node #0,2 Current State: 82:[89, 80, 91], Operations: ['27+64=91'] Exploring Operation: 91-89=2, Resulting Numbers: [80, 2] Generated Node #0,2,0: 82:[80, 2] Operation: 91-89=2 Exploring Operation: 89-80=9, Resulting Numbers: [91, 9] Generated Node #0,2,1: 82:[91, 9] Operation: 89-80=9 Exploring Operation: 89+80=169, Resulting Numbers: [91, 169] Generated Node #0,2,2: 82:[91, 169] Operation: 89+80=169 Exploring Operation: 91-80=11, Resulting Numbers: [89, 11] Generated Node #0,2,3: 82:[89, 11] Operation: 91-80=11 Moving to Node #0,1 Current State: 82:[27, 80, 25], Operations: ['89-64=25'] Exploring Operation: 80-27=53, Resulting Numbers: [25, 53] Generated Node #0,1,0: 82:[25, 53] Operation: 80-27=53 Exploring Operation: 27+25=52, Resulting Numbers: [80, 52] Generated Node #0,1,1: 82:[80, 52] Operation: 27+25=52 Exploring Operation: 27-25=2, Resulting Numbers: [80, 2] Generated Node #0,1,2: 82:[80, 2] Operation: 27-25=2 Exploring Operation: 80-25=55, Resulting Numbers: [27, 55] Generated Node #0,1,3: 82:[27, 55] Operation: 80-25=55 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[80, 2], Operations: ['89-64=25', '27-25=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,82 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[27, 64, 89, 80], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [27, 80, 25] Generated Node #0,1: 82:[27, 80, 25] Operation: 89-64=25 Moving to Node #0,1 Current State: 82:[27, 80, 25], Operations: ['89-64=25'] Exploring Operation: 27-25=2, Resulting Numbers: [80, 2] Generated Node #0,1,2: 82:[80, 2] Operation: 27-25=2 Moving to Node #0,1,2 Current State: 82:[80, 2], Operations: ['89-64=25', '27-25=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 27, 26, 99, 37 ]
61
[ "27-26=1", "99-37=62", "62-1=61" ]
Current State: 61:[27, 26, 99, 37], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [99, 37, 1] Generated Node #2: [99, 37, 1] from Operation: 27-26=1 Current State: 61:[99, 37, 1], Operations: ['27-26=1'] Exploring Operation: 99-37=62, Resulting Numbers: [1, 62] Generated Node #3: [1, 62] from Operation: 99-37=62 Current State: 61:[1, 62], Operations: ['27-26=1', '99-37=62'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[27, 26, 99, 37], Operations: [] Exploring Operation: 27+26=53, Resulting Numbers: [99, 37, 53] Generated Node #0,0: 61:[99, 37, 53] Operation: 27+26=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[99, 37, 53], Operations: ['27+26=53'] Exploring Operation: 99-37=62, Resulting Numbers: [53, 62] Generated Node #0,0,0: 61:[53, 62] Operation: 99-37=62 Moving to Node #0,0,0 Current State: 61:[53, 62], Operations: ['27+26=53', '99-37=62'] Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,61 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
[ 26, 98, 8, 95 ]
33
[ "8*95=760", "98+760=858", "858/26=33" ]
Current State: 33:[26, 98, 8, 95], Operations: [] Exploring Operation: 8*95=760, Resulting Numbers: [26, 98, 760] Generated Node #2: [26, 98, 760] from Operation: 8*95=760 Current State: 33:[26, 98, 760], Operations: ['8*95=760'] Exploring Operation: 98+760=858, Resulting Numbers: [26, 858] Generated Node #3: [26, 858] from Operation: 98+760=858 Current State: 33:[26, 858], Operations: ['8*95=760', '98+760=858'] Exploring Operation: 858/26=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[26, 98, 8, 95], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [8, 95, 72] Generated Node #0,0: 33:[8, 95, 72] Operation: 98-26=72 Exploring Operation: 98-95=3, Resulting Numbers: [26, 8, 3] Generated Node #0,1: 33:[26, 8, 3] Operation: 98-95=3 Exploring Operation: 95-26=69, Resulting Numbers: [98, 8, 69] Generated Node #0,2: 33:[98, 8, 69] Operation: 95-26=69 Moving to Node #0,1 Current State: 33:[26, 8, 3], Operations: ['98-95=3'] Exploring Operation: 26+8=34, Resulting Numbers: [3, 34] Generated Node #0,1,0: 33:[3, 34] Operation: 26+8=34 Exploring Operation: 26+3=29, Resulting Numbers: [8, 29] Generated Node #0,1,1: 33:[8, 29] Operation: 26+3=29 Exploring Operation: 26-8=18, Resulting Numbers: [3, 18] Generated Node #0,1,2: 33:[3, 18] Operation: 26-8=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[3, 34], Operations: ['98-95=3', '26+8=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,33 unequal: No Solution No 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: 33:[8, 29], Operations: ['98-95=3', '26+3=29'] Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,33 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,33 unequal: No Solution No 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: 33:[3, 18], Operations: ['98-95=3', '26-8=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,33 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: 33:[8, 95, 72], Operations: ['98-26=72'] Exploring Operation: 95-72=23, Resulting Numbers: [8, 23] Generated Node #0,0,0: 33:[8, 23] Operation: 95-72=23 Exploring Operation: 72/8=9, Resulting Numbers: [95, 9] Generated Node #0,0,1: 33:[95, 9] Operation: 72/8=9 Exploring Operation: 95-8=87, Resulting Numbers: [72, 87] Generated Node #0,0,2: 33:[72, 87] Operation: 95-8=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[8, 23], Operations: ['98-26=72', '95-72=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,33 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,33 unequal: No Solution No 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: 33:[95, 9], Operations: ['98-26=72', '72/8=9'] Exploring Operation: 95+9=104, Resulting Numbers: [104] 104,33 unequal: No Solution Exploring Operation: 95*9=855, Resulting Numbers: [855] 855,33 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,33 unequal: No Solution No 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: 33:[72, 87], Operations: ['98-26=72', '95-8=87'] Exploring Operation: 72*87=6264, Resulting Numbers: [6264] 6264,33 unequal: No Solution Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 72+87=159, Resulting Numbers: [159] 159,33 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: 33:[98, 8, 69], Operations: ['95-26=69'] Exploring Operation: 69-8=61, Resulting Numbers: [98, 61] Generated Node #0,2,0: 33:[98, 61] Operation: 69-8=61 Exploring Operation: 98-8=90, Resulting Numbers: [69, 90] Generated Node #0,2,1: 33:[69, 90] Operation: 98-8=90 Exploring Operation: 98-69=29, Resulting Numbers: [8, 29] Generated Node #0,2,2: 33:[8, 29] Operation: 98-69=29 Moving to Node #0,2,2 Current State: 33:[8, 29], Operations: ['95-26=69', '98-69=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,33 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[98, 61], Operations: ['95-26=69', '69-8=61'] Exploring Operation: 98-61=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 98*61=5978, Resulting Numbers: [5978] 5978,33 unequal: No Solution Exploring Operation: 98+61=159, Resulting Numbers: [159] 159,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[69, 90], Operations: ['95-26=69', '98-8=90'] Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 69+90=159, Resulting Numbers: [159] 159,33 unequal: No Solution Exploring Operation: 69*90=6210, Resulting Numbers: [6210] 6210,33 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 79, 39, 69, 77 ]
48
[ "79-39=40", "77-69=8", "40+8=48" ]
Current State: 48:[79, 39, 69, 77], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [69, 77, 40] Generated Node #2: [69, 77, 40] from Operation: 79-39=40 Current State: 48:[69, 77, 40], Operations: ['79-39=40'] Exploring Operation: 77-69=8, Resulting Numbers: [40, 8] Generated Node #3: [40, 8] from Operation: 77-69=8 Current State: 48:[40, 8], Operations: ['79-39=40', '77-69=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[79, 39, 69, 77], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [39, 77, 10] Generated Node #0,0: 48:[39, 77, 10] Operation: 79-69=10 Exploring Operation: 79-77=2, Resulting Numbers: [39, 69, 2] Generated Node #0,1: 48:[39, 69, 2] Operation: 79-77=2 Exploring Operation: 77-39=38, Resulting Numbers: [79, 69, 38] Generated Node #0,2: 48:[79, 69, 38] Operation: 77-39=38 Exploring Operation: 77-69=8, Resulting Numbers: [79, 39, 8] Generated Node #0,3: 48:[79, 39, 8] Operation: 77-69=8 Exploring Operation: 79-39=40, Resulting Numbers: [69, 77, 40] Generated Node #0,4: 48:[69, 77, 40] Operation: 79-39=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[39, 69, 2], Operations: ['79-77=2'] Exploring Operation: 69-39=30, Resulting Numbers: [2, 30] Generated Node #0,1,0: 48:[2, 30] Operation: 69-39=30 Exploring Operation: 39+2=41, Resulting Numbers: [69, 41] Generated Node #0,1,1: 48:[69, 41] Operation: 39+2=41 Exploring Operation: 69+2=71, Resulting Numbers: [39, 71] Generated Node #0,1,2: 48:[39, 71] Operation: 69+2=71 Exploring Operation: 39-2=37, Resulting Numbers: [69, 37] Generated Node #0,1,3: 48:[69, 37] Operation: 39-2=37 Exploring Operation: 69-2=67, Resulting Numbers: [39, 67] Generated Node #0,1,4: 48:[39, 67] Operation: 69-2=67 Moving to Node #0,1,0 Current State: 48:[2, 30], Operations: ['79-77=2', '69-39=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[39, 67], Operations: ['79-77=2', '69-2=67'] Exploring Operation: 39*67=2613, Resulting Numbers: [2613] 2613,48 unequal: No Solution Exploring Operation: 39+67=106, Resulting Numbers: [106] 106,48 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[69, 41], Operations: ['79-77=2', '39+2=41'] Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[39, 71], Operations: ['79-77=2', '69+2=71'] Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 39*71=2769, Resulting Numbers: [2769] 2769,48 unequal: No Solution Exploring Operation: 39+71=110, Resulting Numbers: [110] 110,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[69, 37], Operations: ['79-77=2', '39-2=37'] Exploring Operation: 69*37=2553, Resulting Numbers: [2553] 2553,48 unequal: No Solution Exploring Operation: 69+37=106, Resulting Numbers: [106] 106,48 unequal: No Solution Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,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,0 Current State: 48:[39, 77, 10], Operations: ['79-69=10'] Exploring Operation: 77-39=38, Resulting Numbers: [10, 38] Generated Node #0,0,0: 48:[10, 38] Operation: 77-39=38 Exploring Operation: 39+10=49, Resulting Numbers: [77, 49] Generated Node #0,0,1: 48:[77, 49] Operation: 39+10=49 Exploring Operation: 77+10=87, Resulting Numbers: [39, 87] Generated Node #0,0,2: 48:[39, 87] Operation: 77+10=87 Exploring Operation: 39-10=29, Resulting Numbers: [77, 29] Generated Node #0,0,3: 48:[77, 29] Operation: 39-10=29 Exploring Operation: 77-10=67, Resulting Numbers: [39, 67] Generated Node #0,0,4: 48:[39, 67] Operation: 77-10=67 Moving to Node #0,0,0 Current State: 48:[10, 38], Operations: ['79-69=10', '77-39=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[79, 39, 69, 77], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [39, 77, 10] Generated Node #0,0: 48:[39, 77, 10] Operation: 79-69=10 Moving to Node #0,0 Current State: 48:[39, 77, 10], Operations: ['79-69=10'] Exploring Operation: 77-39=38, Resulting Numbers: [10, 38] Generated Node #0,0,0: 48:[10, 38] Operation: 77-39=38 Moving to Node #0,0,0 Current State: 48:[10, 38], Operations: ['79-69=10', '77-39=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 54, 74, 37, 98 ]
67
[ "54+74=128", "98-37=61", "128-61=67" ]
Current State: 67:[54, 74, 37, 98], Operations: [] Exploring Operation: 54+74=128, Resulting Numbers: [37, 98, 128] Generated Node #2: [37, 98, 128] from Operation: 54+74=128 Current State: 67:[37, 98, 128], Operations: ['54+74=128'] Exploring Operation: 98-37=61, Resulting Numbers: [128, 61] Generated Node #3: [128, 61] from Operation: 98-37=61 Current State: 67:[128, 61], Operations: ['54+74=128', '98-37=61'] Exploring Operation: 128-61=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[54, 74, 37, 98], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [54, 74, 61] Generated Node #0,0: 67:[54, 74, 61] Operation: 98-37=61 Exploring Operation: 98-54=44, Resulting Numbers: [74, 37, 44] Generated Node #0,1: 67:[74, 37, 44] Operation: 98-54=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[54, 74, 61], Operations: ['98-37=61'] Exploring Operation: 54+61=115, Resulting Numbers: [74, 115] Generated Node #0,0,0: 67:[74, 115] Operation: 54+61=115 Exploring Operation: 74-54=20, Resulting Numbers: [61, 20] Generated Node #0,0,1: 67:[61, 20] Operation: 74-54=20 Moving to Node #0,0,1 Current State: 67:[61, 20], Operations: ['98-37=61', '74-54=20'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[74, 115], Operations: ['98-37=61', '54+61=115'] Exploring Operation: 74+115=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 115-74=41, Resulting Numbers: [41] 41,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:[74, 37, 44], Operations: ['98-54=44'] Exploring Operation: 74-37=37, Resulting Numbers: [44, 37] Generated Node #0,1,0: 67:[44, 37] Operation: 74-37=37 Exploring Operation: 37+44=81, Resulting Numbers: [74, 81] Generated Node #0,1,1: 67:[74, 81] Operation: 37+44=81 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[74, 81], Operations: ['98-54=44', '37+44=81'] Exploring Operation: 74+81=155, Resulting Numbers: [155] 155,67 unequal: No Solution Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,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,1,0 Current State: 67:[44, 37], Operations: ['98-54=44', '74-37=37'] Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 59, 32, 12, 4 ]
56
[ "32+4=36", "36/12=3", "59-3=56" ]
Current State: 56:[59, 32, 12, 4], Operations: [] Exploring Operation: 32+4=36, Resulting Numbers: [59, 12, 36] Generated Node #2: [59, 12, 36] from Operation: 32+4=36 Current State: 56:[59, 12, 36], Operations: ['32+4=36'] Exploring Operation: 36/12=3, Resulting Numbers: [59, 3] Generated Node #3: [59, 3] from Operation: 36/12=3 Current State: 56:[59, 3], Operations: ['32+4=36', '36/12=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[59, 32, 12, 4], Operations: [] Exploring Operation: 59-32=27, Resulting Numbers: [12, 4, 27] Generated Node #0,0: 56:[12, 4, 27] Operation: 59-32=27 Moving to Node #0,0 Current State: 56:[12, 4, 27], Operations: ['59-32=27'] Exploring Operation: 12-4=8, Resulting Numbers: [27, 8] Generated Node #0,0,0: 56:[27, 8] Operation: 12-4=8 Moving to Node #0,0,0 Current State: 56:[27, 8], Operations: ['59-32=27', '12-4=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,56 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 35, 2, 45, 69 ]
46
[ "35*2=70", "69-45=24", "70-24=46" ]
Current State: 46:[35, 2, 45, 69], Operations: [] Exploring Operation: 35*2=70, Resulting Numbers: [45, 69, 70] Generated Node #2: [45, 69, 70] from Operation: 35*2=70 Current State: 46:[45, 69, 70], Operations: ['35*2=70'] Exploring Operation: 69-45=24, Resulting Numbers: [70, 24] Generated Node #3: [70, 24] from Operation: 69-45=24 Current State: 46:[70, 24], Operations: ['35*2=70', '69-45=24'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[35, 2, 45, 69], Operations: [] Exploring Operation: 69-2=67, Resulting Numbers: [35, 45, 67] Generated Node #0,0: 46:[35, 45, 67] Operation: 69-2=67 Exploring Operation: 45-35=10, Resulting Numbers: [2, 69, 10] Generated Node #0,1: 46:[2, 69, 10] Operation: 45-35=10 Exploring Operation: 69-45=24, Resulting Numbers: [35, 2, 24] Generated Node #0,2: 46:[35, 2, 24] Operation: 69-45=24 Exploring Operation: 35+2=37, Resulting Numbers: [45, 69, 37] Generated Node #0,3: 46:[45, 69, 37] Operation: 35+2=37 Exploring Operation: 69-35=34, Resulting Numbers: [2, 45, 34] Generated Node #0,4: 46:[2, 45, 34] Operation: 69-35=34 Moving to Node #0,2 Current State: 46:[35, 2, 24], Operations: ['69-45=24'] Exploring Operation: 35-24=11, Resulting Numbers: [2, 11] Generated Node #0,2,0: 46:[2, 11] Operation: 35-24=11 Exploring Operation: 35+2=37, Resulting Numbers: [24, 37] Generated Node #0,2,1: 46:[24, 37] Operation: 35+2=37 Exploring Operation: 24-2=22, Resulting Numbers: [35, 22] Generated Node #0,2,2: 46:[35, 22] Operation: 24-2=22 Exploring Operation: 35+24=59, Resulting Numbers: [2, 59] Generated Node #0,2,3: 46:[2, 59] Operation: 35+24=59 Exploring Operation: 35-2=33, Resulting Numbers: [24, 33] Generated Node #0,2,4: 46:[24, 33] Operation: 35-2=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[2, 11], Operations: ['69-45=24', '35-24=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[24, 37], Operations: ['69-45=24', '35+2=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,46 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 46:[24, 33], Operations: ['69-45=24', '35-2=33'] Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,46 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[35, 22], Operations: ['69-45=24', '24-2=22'] Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,46 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[2, 59], Operations: ['69-45=24', '35+24=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,46 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,46 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: 46:[2, 45, 34], Operations: ['69-35=34'] Exploring Operation: 45-34=11, Resulting Numbers: [2, 11] Generated Node #0,4,0: 46:[2, 11] Operation: 45-34=11 Exploring Operation: 2+45=47, Resulting Numbers: [34, 47] Generated Node #0,4,1: 46:[34, 47] Operation: 2+45=47 Exploring Operation: 34-2=32, Resulting Numbers: [45, 32] Generated Node #0,4,2: 46:[45, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [45, 17] Generated Node #0,4,3: 46:[45, 17] Operation: 34/2=17 Exploring Operation: 2+34=36, Resulting Numbers: [45, 36] Generated Node #0,4,4: 46:[45, 36] Operation: 2+34=36 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[45, 17], Operations: ['69-35=34', '34/2=17'] Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,46 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[2, 11], Operations: ['69-35=34', '45-34=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[45, 32], Operations: ['69-35=34', '34-2=32'] Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,46 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 46:[45, 36], Operations: ['69-35=34', '2+34=36'] Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,46 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 46:[34, 47], Operations: ['69-35=34', '2+45=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,46 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,46 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: 46:[2, 69, 10], Operations: ['45-35=10'] Exploring Operation: 10/2=5, Resulting Numbers: [69, 5] Generated Node #0,1,0: 46:[69, 5] Operation: 10/2=5 Exploring Operation: 69-10=59, Resulting Numbers: [2, 59] Generated Node #0,1,1: 46:[2, 59] Operation: 69-10=59 Exploring Operation: 2*10=20, Resulting Numbers: [69, 20] Generated Node #0,1,2: 46:[69, 20] Operation: 2*10=20 Exploring Operation: 10-2=8, Resulting Numbers: [69, 8] Generated Node #0,1,3: 46:[69, 8] Operation: 10-2=8 Exploring Operation: 69-2=67, Resulting Numbers: [10, 67] Generated Node #0,1,4: 46:[10, 67] Operation: 69-2=67 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[2, 59], Operations: ['45-35=10', '69-10=59'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,46 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[69, 5], Operations: ['45-35=10', '10/2=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[69, 20], Operations: ['45-35=10', '2*10=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,46 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[69, 8], Operations: ['45-35=10', '10-2=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[10, 67], Operations: ['45-35=10', '69-2=67'] Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,46 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,46 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: 46:[35, 45, 67], Operations: ['69-2=67'] Exploring Operation: 45-35=10, Resulting Numbers: [67, 10] Generated Node #0,0,0: 46:[67, 10] Operation: 45-35=10 Exploring Operation: 67-45=22, Resulting Numbers: [35, 22] Generated Node #0,0,1: 46:[35, 22] Operation: 67-45=22 Exploring Operation: 67-35=32, Resulting Numbers: [45, 32] Generated Node #0,0,2: 46:[45, 32] Operation: 67-35=32 Exploring Operation: 35+67=102, Resulting Numbers: [45, 102] Generated Node #0,0,3: 46:[45, 102] Operation: 35+67=102 Exploring Operation: 35+45=80, Resulting Numbers: [67, 80] Generated Node #0,0,4: 46:[67, 80] Operation: 35+45=80 Moving to Node #0,3 Current State: 46:[45, 69, 37], Operations: ['35+2=37'] Exploring Operation: 45-37=8, Resulting Numbers: [69, 8] Generated Node #0,3,0: 46:[69, 8] Operation: 45-37=8 Exploring Operation: 69-45=24, Resulting Numbers: [37, 24] Generated Node #0,3,1: 46:[37, 24] Operation: 69-45=24 Exploring Operation: 45+37=82, Resulting Numbers: [69, 82] Generated Node #0,3,2: 46:[69, 82] Operation: 45+37=82 Exploring Operation: 69-37=32, Resulting Numbers: [45, 32] Generated Node #0,3,3: 46:[45, 32] Operation: 69-37=32 Exploring Operation: 69+37=106, Resulting Numbers: [45, 106] Generated Node #0,3,4: 46:[45, 106] Operation: 69+37=106 Moving to Node #0,0,2 Current State: 46:[45, 32], Operations: ['69-2=67', '67-35=32'] Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[37, 24], Operations: ['35+2=37', '69-45=24'] Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,46 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[45, 32], Operations: ['35+2=37', '69-37=32'] Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,46 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[35, 22], Operations: ['69-2=67', '67-45=22'] Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[67, 10], Operations: ['69-2=67', '45-35=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,46 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[69, 8], Operations: ['35+2=37', '45-37=8'] Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[67, 80], Operations: ['69-2=67', '35+45=80'] Exploring Operation: 67+80=147, Resulting Numbers: [147] 147,46 unequal: No Solution Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 67*80=5360, Resulting Numbers: [5360] 5360,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[45, 102], Operations: ['69-2=67', '35+67=102'] Exploring Operation: 45*102=4590, Resulting Numbers: [4590] 4590,46 unequal: No Solution Exploring Operation: 45+102=147, Resulting Numbers: [147] 147,46 unequal: No Solution Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[69, 82], Operations: ['35+2=37', '45+37=82'] Exploring Operation: 69+82=151, Resulting Numbers: [151] 151,46 unequal: No Solution Exploring Operation: 69*82=5658, Resulting Numbers: [5658] 5658,46 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[45, 106], Operations: ['35+2=37', '69+37=106'] Exploring Operation: 45*106=4770, Resulting Numbers: [4770] 4770,46 unequal: No Solution Exploring Operation: 45+106=151, Resulting Numbers: [151] 151,46 unequal: No Solution Exploring Operation: 106-45=61, Resulting Numbers: [61] 61,46 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 53, 21, 44, 4 ]
52
[ "53-21=32", "32/4=8", "44+8=52" ]
Current State: 52:[53, 21, 44, 4], Operations: [] Exploring Operation: 53-21=32, Resulting Numbers: [44, 4, 32] Generated Node #2: [44, 4, 32] from Operation: 53-21=32 Current State: 52:[44, 4, 32], Operations: ['53-21=32'] Exploring Operation: 32/4=8, Resulting Numbers: [44, 8] Generated Node #3: [44, 8] from Operation: 32/4=8 Current State: 52:[44, 8], Operations: ['53-21=32', '32/4=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[53, 21, 44, 4], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [53, 21, 11] Generated Node #0,0: 52:[53, 21, 11] Operation: 44/4=11 Exploring Operation: 44-21=23, Resulting Numbers: [53, 4, 23] Generated Node #0,1: 52:[53, 4, 23] Operation: 44-21=23 Moving to Node #0,1 Current State: 52:[53, 4, 23], Operations: ['44-21=23'] Exploring Operation: 53-23=30, Resulting Numbers: [4, 30] Generated Node #0,1,0: 52:[4, 30] Operation: 53-23=30 Exploring Operation: 4+23=27, Resulting Numbers: [53, 27] Generated Node #0,1,1: 52:[53, 27] Operation: 4+23=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[53, 27], Operations: ['44-21=23', '4+23=27'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,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,0 Current State: 52:[4, 30], Operations: ['44-21=23', '53-23=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,52 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: 52:[53, 21, 11], Operations: ['44/4=11'] Exploring Operation: 21+11=32, Resulting Numbers: [53, 32] Generated Node #0,0,0: 52:[53, 32] Operation: 21+11=32 Exploring Operation: 21-11=10, Resulting Numbers: [53, 10] Generated Node #0,0,1: 52:[53, 10] Operation: 21-11=10 Moving to Node #0,0,1 Current State: 52:[53, 10], Operations: ['44/4=11', '21-11=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[53, 32], Operations: ['44/4=11', '21+11=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,52 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 13, 78, 31, 34 ]
11
[ "78+31=109", "34+109=143", "143/13=11" ]
Current State: 11:[13, 78, 31, 34], Operations: [] Exploring Operation: 78+31=109, Resulting Numbers: [13, 34, 109] Generated Node #2: [13, 34, 109] from Operation: 78+31=109 Current State: 11:[13, 34, 109], Operations: ['78+31=109'] Exploring Operation: 34+109=143, Resulting Numbers: [13, 143] Generated Node #3: [13, 143] from Operation: 34+109=143 Current State: 11:[13, 143], Operations: ['78+31=109', '34+109=143'] Exploring Operation: 143/13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[13, 78, 31, 34], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [13, 31, 44] Generated Node #0,0: 11:[13, 31, 44] Operation: 78-34=44 Exploring Operation: 78/13=6, Resulting Numbers: [31, 34, 6] Generated Node #0,1: 11:[31, 34, 6] Operation: 78/13=6 Moving to Node #0,1 Current State: 11:[31, 34, 6], Operations: ['78/13=6'] Exploring Operation: 34-31=3, Resulting Numbers: [6, 3] Generated Node #0,1,0: 11:[6, 3] Operation: 34-31=3 Exploring Operation: 31-6=25, Resulting Numbers: [34, 25] Generated Node #0,1,1: 11:[34, 25] Operation: 31-6=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[6, 3], Operations: ['78/13=6', '34-31=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,11 unequal: No Solution No 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: 11:[34, 25], Operations: ['78/13=6', '31-6=25'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,11 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: 11:[13, 31, 44], Operations: ['78-34=44'] Exploring Operation: 44-31=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 11:[13, 13] Operation: 44-31=13 Exploring Operation: 31-13=18, Resulting Numbers: [44, 18] Generated Node #0,0,1: 11:[44, 18] Operation: 31-13=18 Moving to Node #0,0,0 Current State: 11:[13, 13], Operations: ['78-34=44', '44-31=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[44, 18], Operations: ['78-34=44', '31-13=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 56, 61, 2, 66 ]
76
[ "61-56=5", "2*5=10", "66+10=76" ]
Current State: 76:[56, 61, 2, 66], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [2, 66, 5] Generated Node #2: [2, 66, 5] from Operation: 61-56=5 Current State: 76:[2, 66, 5], Operations: ['61-56=5'] Exploring Operation: 2*5=10, Resulting Numbers: [66, 10] Generated Node #3: [66, 10] from Operation: 2*5=10 Current State: 76:[66, 10], Operations: ['61-56=5', '2*5=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[56, 61, 2, 66], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [2, 66, 5] Generated Node #0,0: 76:[2, 66, 5] Operation: 61-56=5 Exploring Operation: 66-61=5, Resulting Numbers: [56, 2, 5] Generated Node #0,1: 76:[56, 2, 5] Operation: 66-61=5 Exploring Operation: 66-56=10, Resulting Numbers: [61, 2, 10] Generated Node #0,2: 76:[61, 2, 10] Operation: 66-56=10 Exploring Operation: 56/2=28, Resulting Numbers: [61, 66, 28] Generated Node #0,3: 76:[61, 66, 28] Operation: 56/2=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[2, 66, 5], Operations: ['61-56=5'] Exploring Operation: 66+5=71, Resulting Numbers: [2, 71] Generated Node #0,0,0: 76:[2, 71] Operation: 66+5=71 Exploring Operation: 66/2=33, Resulting Numbers: [5, 33] Generated Node #0,0,1: 76:[5, 33] Operation: 66/2=33 Exploring Operation: 5-2=3, Resulting Numbers: [66, 3] Generated Node #0,0,2: 76:[66, 3] Operation: 5-2=3 Exploring Operation: 2+66=68, Resulting Numbers: [5, 68] Generated Node #0,0,3: 76:[5, 68] Operation: 2+66=68 Moving to Node #0,0,0 Current State: 76:[2, 71], Operations: ['61-56=5', '66+5=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,76 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[5, 33], Operations: ['61-56=5', '66/2=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,76 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[5, 68], Operations: ['61-56=5', '2+66=68'] Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[66, 3], Operations: ['61-56=5', '5-2=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,76 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[56, 2, 5], Operations: ['66-61=5'] Exploring Operation: 56+5=61, Resulting Numbers: [2, 61] Generated Node #0,1,0: 76:[2, 61] Operation: 56+5=61 Exploring Operation: 56-5=51, Resulting Numbers: [2, 51] Generated Node #0,1,1: 76:[2, 51] Operation: 56-5=51 Exploring Operation: 56-2=54, Resulting Numbers: [5, 54] Generated Node #0,1,2: 76:[5, 54] Operation: 56-2=54 Exploring Operation: 56/2=28, Resulting Numbers: [5, 28] Generated Node #0,1,3: 76:[5, 28] Operation: 56/2=28 Moving to Node #0,1,3 Current State: 76:[5, 28], Operations: ['66-61=5', '56/2=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[2, 51], Operations: ['66-61=5', '56-5=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[2, 61], Operations: ['66-61=5', '56+5=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[5, 54], Operations: ['66-61=5', '56-2=54'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,76 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[61, 2, 10], Operations: ['66-56=10'] Exploring Operation: 61+10=71, Resulting Numbers: [2, 71] Generated Node #0,2,0: 76:[2, 71] Operation: 61+10=71 Exploring Operation: 2*10=20, Resulting Numbers: [61, 20] Generated Node #0,2,1: 76:[61, 20] Operation: 2*10=20 Exploring Operation: 61-10=51, Resulting Numbers: [2, 51] Generated Node #0,2,2: 76:[2, 51] Operation: 61-10=51 Exploring Operation: 10/2=5, Resulting Numbers: [61, 5] Generated Node #0,2,3: 76:[61, 5] Operation: 10/2=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[2, 71], Operations: ['66-56=10', '61+10=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,76 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[2, 51], Operations: ['66-56=10', '61-10=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[61, 20], Operations: ['66-56=10', '2*10=20'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[61, 5], Operations: ['66-56=10', '10/2=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,76 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[61, 66, 28], Operations: ['56/2=28'] Exploring Operation: 61-28=33, Resulting Numbers: [66, 33] Generated Node #0,3,0: 76:[66, 33] Operation: 61-28=33 Exploring Operation: 66-28=38, Resulting Numbers: [61, 38] Generated Node #0,3,1: 76:[61, 38] Operation: 66-28=38 Exploring Operation: 61+28=89, Resulting Numbers: [66, 89] Generated Node #0,3,2: 76:[66, 89] Operation: 61+28=89 Exploring Operation: 66-61=5, Resulting Numbers: [28, 5] Generated Node #0,3,3: 76:[28, 5] Operation: 66-61=5 Moving to Node #0,3,3 Current State: 76:[28, 5], Operations: ['56/2=28', '66-61=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[61, 38], Operations: ['56/2=28', '66-28=38'] Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,76 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,76 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[66, 33], Operations: ['56/2=28', '61-28=33'] Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,76 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[66, 89], Operations: ['56/2=28', '61+28=89'] Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,76 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,76 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
[ 27, 18, 70, 70 ]
10
[ "27-18=9", "70/70=1", "9+1=10" ]
Current State: 10:[27, 18, 70, 70], Operations: [] Exploring Operation: 27-18=9, Resulting Numbers: [70, 70, 9] Generated Node #2: [70, 70, 9] from Operation: 27-18=9 Current State: 10:[70, 70, 9], Operations: ['27-18=9'] Exploring Operation: 70/70=1, Resulting Numbers: [9, 1] Generated Node #3: [9, 1] from Operation: 70/70=1 Current State: 10:[9, 1], Operations: ['27-18=9', '70/70=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[27, 18, 70, 70], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [18, 70, 43] Generated Node #0,0: 10:[18, 70, 43] Operation: 70-27=43 Exploring Operation: 70-70=0, Resulting Numbers: [27, 18, 0] Generated Node #0,1: 10:[27, 18, 0] Operation: 70-70=0 Exploring Operation: 70/70=1, Resulting Numbers: [27, 18, 1] Generated Node #0,2: 10:[27, 18, 1] Operation: 70/70=1 Exploring Operation: 70-27=43, Resulting Numbers: [18, 70, 43] Generated Node #0,3: 10:[18, 70, 43] Operation: 70-27=43 Exploring Operation: 70-18=52, Resulting Numbers: [27, 70, 52] Generated Node #0,4: 10:[27, 70, 52] Operation: 70-18=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[27, 18, 1], Operations: ['70/70=1'] Exploring Operation: 18-1=17, Resulting Numbers: [27, 17] Generated Node #0,2,0: 10:[27, 17] Operation: 18-1=17 Exploring Operation: 27/1=27, Resulting Numbers: [18, 27] Generated Node #0,2,1: 10:[18, 27] Operation: 27/1=27 Exploring Operation: 27-18=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 10:[1, 9] Operation: 27-18=9 Exploring Operation: 27-1=26, Resulting Numbers: [18, 26] Generated Node #0,2,3: 10:[18, 26] Operation: 27-1=26 Exploring Operation: 27*1=27, Resulting Numbers: [18, 27] Generated Node #0,2,4: 10:[18, 27] Operation: 27*1=27 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[1, 9], Operations: ['70/70=1', '27-18=9'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[27, 18, 70, 70], Operations: [] Exploring Operation: 70/70=1, Resulting Numbers: [27, 18, 1] Generated Node #0,2: 10:[27, 18, 1] Operation: 70/70=1 Moving to Node #0,2 Current State: 10:[27, 18, 1], Operations: ['70/70=1'] Exploring Operation: 27-18=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 10:[1, 9] Operation: 27-18=9 Moving to Node #0,2,2 Current State: 10:[1, 9], Operations: ['70/70=1', '27-18=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 69, 72, 95, 2 ]
31
[ "72-69=3", "95-2=93", "93/3=31" ]
Current State: 31:[69, 72, 95, 2], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [95, 2, 3] Generated Node #2: [95, 2, 3] from Operation: 72-69=3 Current State: 31:[95, 2, 3], Operations: ['72-69=3'] Exploring Operation: 95-2=93, Resulting Numbers: [3, 93] Generated Node #3: [3, 93] from Operation: 95-2=93 Current State: 31:[3, 93], Operations: ['72-69=3', '95-2=93'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[69, 72, 95, 2], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [69, 2, 23] Generated Node #0,0: 31:[69, 2, 23] Operation: 95-72=23 Exploring Operation: 72/2=36, Resulting Numbers: [69, 95, 36] Generated Node #0,1: 31:[69, 95, 36] Operation: 72/2=36 Exploring Operation: 72-69=3, Resulting Numbers: [95, 2, 3] Generated Node #0,2: 31:[95, 2, 3] Operation: 72-69=3 Exploring Operation: 95-69=26, Resulting Numbers: [72, 2, 26] Generated Node #0,3: 31:[72, 2, 26] Operation: 95-69=26 Moving to Node #0,0 Current State: 31:[69, 2, 23], Operations: ['95-72=23'] Exploring Operation: 69+2=71, Resulting Numbers: [23, 71] Generated Node #0,0,0: 31:[23, 71] Operation: 69+2=71 Exploring Operation: 69-23=46, Resulting Numbers: [2, 46] Generated Node #0,0,1: 31:[2, 46] Operation: 69-23=46 Exploring Operation: 69-2=67, Resulting Numbers: [23, 67] Generated Node #0,0,2: 31:[23, 67] Operation: 69-2=67 Exploring Operation: 2+23=25, Resulting Numbers: [69, 25] Generated Node #0,0,3: 31:[69, 25] Operation: 2+23=25 Moving to Node #0,3 Current State: 31:[72, 2, 26], Operations: ['95-69=26'] Exploring Operation: 72-2=70, Resulting Numbers: [26, 70] Generated Node #0,3,0: 31:[26, 70] Operation: 72-2=70 Exploring Operation: 72-26=46, Resulting Numbers: [2, 46] Generated Node #0,3,1: 31:[2, 46] Operation: 72-26=46 Exploring Operation: 2+26=28, Resulting Numbers: [72, 28] Generated Node #0,3,2: 31:[72, 28] Operation: 2+26=28 Exploring Operation: 72/2=36, Resulting Numbers: [26, 36] Generated Node #0,3,3: 31:[26, 36] Operation: 72/2=36 Moving to Node #0,1 Current State: 31:[69, 95, 36], Operations: ['72/2=36'] Exploring Operation: 69-36=33, Resulting Numbers: [95, 33] Generated Node #0,1,0: 31:[95, 33] Operation: 69-36=33 Exploring Operation: 95-36=59, Resulting Numbers: [69, 59] Generated Node #0,1,1: 31:[69, 59] Operation: 95-36=59 Exploring Operation: 95-69=26, Resulting Numbers: [36, 26] Generated Node #0,1,2: 31:[36, 26] Operation: 95-69=26 Exploring Operation: 69+95=164, Resulting Numbers: [36, 164] Generated Node #0,1,3: 31:[36, 164] Operation: 69+95=164 Moving to Node #0,2 Current State: 31:[95, 2, 3], Operations: ['72-69=3'] Exploring Operation: 2+3=5, Resulting Numbers: [95, 5] Generated Node #0,2,0: 31:[95, 5] Operation: 2+3=5 Exploring Operation: 95-3=92, Resulting Numbers: [2, 92] Generated Node #0,2,1: 31:[2, 92] Operation: 95-3=92 Exploring Operation: 95-2=93, Resulting Numbers: [3, 93] Generated Node #0,2,2: 31:[3, 93] Operation: 95-2=93 Exploring Operation: 2*3=6, Resulting Numbers: [95, 6] Generated Node #0,2,3: 31:[95, 6] Operation: 2*3=6 Moving to Node #0,3,3 Current State: 31:[26, 36], Operations: ['95-69=26', '72/2=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[36, 26], Operations: ['72/2=36', '95-69=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,31 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[69, 25], Operations: ['95-72=23', '2+23=25'] Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,31 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[2, 46], Operations: ['95-69=26', '72-26=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,31 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[26, 70], Operations: ['95-69=26', '72-2=70'] Exploring Operation: 26*70=1820, Resulting Numbers: [1820] 1820,31 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 26+70=96, Resulting Numbers: [96] 96,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[23, 67], Operations: ['95-72=23', '69-2=67'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[2, 46], Operations: ['95-72=23', '69-23=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,31 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[72, 28], Operations: ['95-69=26', '2+26=28'] Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,31 unequal: No Solution Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,31 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[23, 71], Operations: ['95-72=23', '69+2=71'] Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,31 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[69, 59], Operations: ['72/2=36', '95-36=59'] Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,31 unequal: No Solution Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[95, 33], Operations: ['72/2=36', '69-36=33'] Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 95*33=3135, Resulting Numbers: [3135] 3135,31 unequal: No Solution Exploring Operation: 95+33=128, Resulting Numbers: [128] 128,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[95, 6], Operations: ['72-69=3', '2*3=6'] Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,31 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[2, 92], Operations: ['72-69=3', '95-3=92'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 2*92=184, Resulting Numbers: [184] 184,31 unequal: No Solution Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[3, 93], Operations: ['72-69=3', '95-2=93'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[69, 72, 95, 2], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [95, 2, 3] Generated Node #0,2: 31:[95, 2, 3] Operation: 72-69=3 Moving to Node #0,2 Current State: 31:[95, 2, 3], Operations: ['72-69=3'] Exploring Operation: 95-2=93, Resulting Numbers: [3, 93] Generated Node #0,2,2: 31:[3, 93] Operation: 95-2=93 Moving to Node #0,2,2 Current State: 31:[3, 93], Operations: ['72-69=3', '95-2=93'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.94184
hs_4
mult_heuristic
[ 67, 17, 55, 6 ]
23
[ "67+17=84", "55+6=61", "84-61=23" ]
Current State: 23:[67, 17, 55, 6], Operations: [] Exploring Operation: 67+17=84, Resulting Numbers: [55, 6, 84] Generated Node #2: [55, 6, 84] from Operation: 67+17=84 Current State: 23:[55, 6, 84], Operations: ['67+17=84'] Exploring Operation: 55+6=61, Resulting Numbers: [84, 61] Generated Node #3: [84, 61] from Operation: 55+6=61 Current State: 23:[84, 61], Operations: ['67+17=84', '55+6=61'] Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[67, 17, 55, 6], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [17, 6, 12] Generated Node #0,0: 23:[17, 6, 12] Operation: 67-55=12 Moving to Node #0,0 Current State: 23:[17, 6, 12], Operations: ['67-55=12'] Exploring Operation: 17+6=23, Resulting Numbers: [12, 23] Generated Node #0,0,0: 23:[12, 23] Operation: 17+6=23 Moving to Node #0,0,0 Current State: 23:[12, 23], Operations: ['67-55=12', '17+6=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,23 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 30, 6, 1 ]
32
[ "6/6=1", "30+1=31", "1+31=32" ]
Current State: 32:[6, 30, 6, 1], Operations: [] Exploring Operation: 6/6=1, Resulting Numbers: [30, 1, 1] Generated Node #2: [30, 1, 1] from Operation: 6/6=1 Current State: 32:[30, 1, 1], Operations: ['6/6=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,32 equal: Goal Reached Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[6, 30, 6, 1], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [6, 1, 5] Generated Node #0,0: 32:[6, 1, 5] Operation: 30/6=5 Exploring Operation: 6/6=1, Resulting Numbers: [30, 1, 1] Generated Node #0,1: 32:[30, 1, 1] Operation: 6/6=1 Moving to Node #0,0 Current State: 32:[6, 1, 5], Operations: ['30/6=5'] Exploring Operation: 6-1=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 32:[5, 5] Operation: 6-1=5 Exploring Operation: 6+1=7, Resulting Numbers: [5, 7] Generated Node #0,0,1: 32:[5, 7] Operation: 6+1=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[5, 5], Operations: ['30/6=5', '6-1=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[5, 7], Operations: ['30/6=5', '6+1=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,32 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: 32:[30, 1, 1], Operations: ['6/6=1'] Exploring Operation: 30+1=31, Resulting Numbers: [1, 31] Generated Node #0,1,0: 32:[1, 31] Operation: 30+1=31 Exploring Operation: 30+1=31, Resulting Numbers: [1, 31] Generated Node #0,1,1: 32:[1, 31] Operation: 30+1=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[1, 31], Operations: ['6/6=1', '30+1=31'] Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[6, 30, 6, 1], Operations: [] Exploring Operation: 6/6=1, Resulting Numbers: [30, 1, 1] Generated Node #0,1: 32:[30, 1, 1] Operation: 6/6=1 Moving to Node #0,1 Current State: 32:[30, 1, 1], Operations: ['6/6=1'] Exploring Operation: 30+1=31, Resulting Numbers: [1, 31] Generated Node #0,1,0: 32:[1, 31] Operation: 30+1=31 Moving to Node #0,1,0 Current State: 32:[1, 31], Operations: ['6/6=1', '30+1=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 66, 48, 33, 70 ]
45
[ "70-66=4", "48/4=12", "33+12=45" ]
Current State: 45:[66, 48, 33, 70], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [48, 33, 4] Generated Node #2: [48, 33, 4] from Operation: 70-66=4 Current State: 45:[48, 33, 4], Operations: ['70-66=4'] Exploring Operation: 48/4=12, Resulting Numbers: [33, 12] Generated Node #3: [33, 12] from Operation: 48/4=12 Current State: 45:[33, 12], Operations: ['70-66=4', '48/4=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[66, 48, 33, 70], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [48, 33, 4] Generated Node #0,0: 45:[48, 33, 4] Operation: 70-66=4 Exploring Operation: 66/33=2, Resulting Numbers: [48, 70, 2] Generated Node #0,1: 45:[48, 70, 2] Operation: 66/33=2 Exploring Operation: 66-48=18, Resulting Numbers: [33, 70, 18] Generated Node #0,2: 45:[33, 70, 18] Operation: 66-48=18 Exploring Operation: 66-33=33, Resulting Numbers: [48, 70, 33] Generated Node #0,3: 45:[48, 70, 33] Operation: 66-33=33 Exploring Operation: 70-33=37, Resulting Numbers: [66, 48, 37] Generated Node #0,4: 45:[66, 48, 37] Operation: 70-33=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[48, 33, 4], Operations: ['70-66=4'] Exploring Operation: 48-4=44, Resulting Numbers: [33, 44] Generated Node #0,0,0: 45:[33, 44] Operation: 48-4=44 Exploring Operation: 48-33=15, Resulting Numbers: [4, 15] Generated Node #0,0,1: 45:[4, 15] Operation: 48-33=15 Exploring Operation: 33-4=29, Resulting Numbers: [48, 29] Generated Node #0,0,2: 45:[48, 29] Operation: 33-4=29 Exploring Operation: 33+4=37, Resulting Numbers: [48, 37] Generated Node #0,0,3: 45:[48, 37] Operation: 33+4=37 Exploring Operation: 48/4=12, Resulting Numbers: [33, 12] Generated Node #0,0,4: 45:[33, 12] Operation: 48/4=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[4, 15], Operations: ['70-66=4', '48-33=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[48, 37], Operations: ['70-66=4', '33+4=37'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,45 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[33, 44], Operations: ['70-66=4', '48-4=44'] Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,45 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 45:[33, 12], Operations: ['70-66=4', '48/4=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[66, 48, 33, 70], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [48, 33, 4] Generated Node #0,0: 45:[48, 33, 4] Operation: 70-66=4 Moving to Node #0,0 Current State: 45:[48, 33, 4], Operations: ['70-66=4'] Exploring Operation: 48/4=12, Resulting Numbers: [33, 12] Generated Node #0,0,4: 45:[33, 12] Operation: 48/4=12 Moving to Node #0,0,4 Current State: 45:[33, 12], Operations: ['70-66=4', '48/4=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 3, 60, 77, 85 ]
71
[ "3+60=63", "85-77=8", "63+8=71" ]
Current State: 71:[3, 60, 77, 85], Operations: [] Exploring Operation: 3+60=63, Resulting Numbers: [77, 85, 63] Generated Node #2: [77, 85, 63] from Operation: 3+60=63 Current State: 71:[77, 85, 63], Operations: ['3+60=63'] Exploring Operation: 85-77=8, Resulting Numbers: [63, 8] Generated Node #3: [63, 8] from Operation: 85-77=8 Current State: 71:[63, 8], Operations: ['3+60=63', '85-77=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[3, 60, 77, 85], Operations: [] Exploring Operation: 3+60=63, Resulting Numbers: [77, 85, 63] Generated Node #0,0: 71:[77, 85, 63] Operation: 3+60=63 Exploring Operation: 77-3=74, Resulting Numbers: [60, 85, 74] Generated Node #0,1: 71:[60, 85, 74] Operation: 77-3=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[77, 85, 63], Operations: ['3+60=63'] Exploring Operation: 85-63=22, Resulting Numbers: [77, 22] Generated Node #0,0,0: 71:[77, 22] Operation: 85-63=22 Exploring Operation: 85-77=8, Resulting Numbers: [63, 8] Generated Node #0,0,1: 71:[63, 8] Operation: 85-77=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[77, 22], Operations: ['3+60=63', '85-63=22'] Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,71 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[63, 8], Operations: ['3+60=63', '85-77=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[3, 60, 77, 85], Operations: [] Exploring Operation: 3+60=63, Resulting Numbers: [77, 85, 63] Generated Node #0,0: 71:[77, 85, 63] Operation: 3+60=63 Moving to Node #0,0 Current State: 71:[77, 85, 63], Operations: ['3+60=63'] Exploring Operation: 85-77=8, Resulting Numbers: [63, 8] Generated Node #0,0,1: 71:[63, 8] Operation: 85-77=8 Moving to Node #0,0,1 Current State: 71:[63, 8], Operations: ['3+60=63', '85-77=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 8, 99, 41, 14 ]
34
[ "99*14=1386", "8+1386=1394", "1394/41=34" ]
Current State: 34:[8, 99, 41, 14], Operations: [] Exploring Operation: 99*14=1386, Resulting Numbers: [8, 41, 1386] Generated Node #2: [8, 41, 1386] from Operation: 99*14=1386 Current State: 34:[8, 41, 1386], Operations: ['99*14=1386'] Exploring Operation: 8+1386=1394, Resulting Numbers: [41, 1394] Generated Node #3: [41, 1394] from Operation: 8+1386=1394 Current State: 34:[41, 1394], Operations: ['99*14=1386', '8+1386=1394'] Exploring Operation: 1394/41=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[8, 99, 41, 14], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [8, 14, 58] Generated Node #0,0: 34:[8, 14, 58] Operation: 99-41=58 Exploring Operation: 99-8=91, Resulting Numbers: [41, 14, 91] Generated Node #0,1: 34:[41, 14, 91] Operation: 99-8=91 Exploring Operation: 41-8=33, Resulting Numbers: [99, 14, 33] Generated Node #0,2: 34:[99, 14, 33] Operation: 41-8=33 Exploring Operation: 99-14=85, Resulting Numbers: [8, 41, 85] Generated Node #0,3: 34:[8, 41, 85] Operation: 99-14=85 Moving to Node #0,0 Current State: 34:[8, 14, 58], Operations: ['99-41=58'] Exploring Operation: 14-8=6, Resulting Numbers: [58, 6] Generated Node #0,0,0: 34:[58, 6] Operation: 14-8=6 Exploring Operation: 58-8=50, Resulting Numbers: [14, 50] Generated Node #0,0,1: 34:[14, 50] Operation: 58-8=50 Exploring Operation: 58-14=44, Resulting Numbers: [8, 44] Generated Node #0,0,2: 34:[8, 44] Operation: 58-14=44 Exploring Operation: 8+14=22, Resulting Numbers: [58, 22] Generated Node #0,0,3: 34:[58, 22] Operation: 8+14=22 Moving to Node #0,3 Current State: 34:[8, 41, 85], Operations: ['99-14=85'] Exploring Operation: 85-8=77, Resulting Numbers: [41, 77] Generated Node #0,3,0: 34:[41, 77] Operation: 85-8=77 Exploring Operation: 85-41=44, Resulting Numbers: [8, 44] Generated Node #0,3,1: 34:[8, 44] Operation: 85-41=44 Exploring Operation: 8+41=49, Resulting Numbers: [85, 49] Generated Node #0,3,2: 34:[85, 49] Operation: 8+41=49 Exploring Operation: 41-8=33, Resulting Numbers: [85, 33] Generated Node #0,3,3: 34:[85, 33] Operation: 41-8=33 Moving to Node #0,1 Current State: 34:[41, 14, 91], Operations: ['99-8=91'] Exploring Operation: 41-14=27, Resulting Numbers: [91, 27] Generated Node #0,1,0: 34:[91, 27] Operation: 41-14=27 Exploring Operation: 91-14=77, Resulting Numbers: [41, 77] Generated Node #0,1,1: 34:[41, 77] Operation: 91-14=77 Exploring Operation: 41+14=55, Resulting Numbers: [91, 55] Generated Node #0,1,2: 34:[91, 55] Operation: 41+14=55 Exploring Operation: 91-41=50, Resulting Numbers: [14, 50] Generated Node #0,1,3: 34:[14, 50] Operation: 91-41=50 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[14, 50], Operations: ['99-8=91', '91-41=50'] Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[41, 77], Operations: ['99-8=91', '91-14=77'] Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,34 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[91, 27], Operations: ['99-8=91', '41-14=27'] Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,34 unequal: No Solution Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[91, 55], Operations: ['99-8=91', '41+14=55'] Exploring Operation: 91+55=146, Resulting Numbers: [146] 146,34 unequal: No Solution Exploring Operation: 91*55=5005, Resulting Numbers: [5005] 5005,34 unequal: No Solution Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,34 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: 34:[99, 14, 33], Operations: ['41-8=33'] Exploring Operation: 99-33=66, Resulting Numbers: [14, 66] Generated Node #0,2,0: 34:[14, 66] Operation: 99-33=66 Exploring Operation: 33-14=19, Resulting Numbers: [99, 19] Generated Node #0,2,1: 34:[99, 19] Operation: 33-14=19 Exploring Operation: 99-14=85, Resulting Numbers: [33, 85] Generated Node #0,2,2: 34:[33, 85] Operation: 99-14=85 Exploring Operation: 99/33=3, Resulting Numbers: [14, 3] Generated Node #0,2,3: 34:[14, 3] Operation: 99/33=3 Moving to Node #0,2,3 Current State: 34:[14, 3], Operations: ['41-8=33', '99/33=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[8, 44], Operations: ['99-41=58', '58-14=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,34 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[8, 44], Operations: ['99-14=85', '85-41=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,34 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[14, 50], Operations: ['99-41=58', '58-8=50'] Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[58, 6], Operations: ['99-41=58', '14-8=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,34 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[58, 22], Operations: ['99-41=58', '8+14=22'] Exploring Operation: 58*22=1276, Resulting Numbers: [1276] 1276,34 unequal: No Solution Exploring Operation: 58+22=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[14, 66], Operations: ['41-8=33', '99-33=66'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 14*66=924, Resulting Numbers: [924] 924,34 unequal: No Solution Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[41, 77], Operations: ['99-14=85', '85-8=77'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,34 unequal: No Solution Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[33, 85], Operations: ['41-8=33', '99-14=85'] Exploring Operation: 33*85=2805, Resulting Numbers: [2805] 2805,34 unequal: No Solution Exploring Operation: 85-33=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 33+85=118, Resulting Numbers: [118] 118,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[85, 33], Operations: ['99-14=85', '41-8=33'] Exploring Operation: 85+33=118, Resulting Numbers: [118] 118,34 unequal: No Solution Exploring Operation: 85-33=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 85*33=2805, Resulting Numbers: [2805] 2805,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[85, 49], Operations: ['99-14=85', '8+41=49'] Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,34 unequal: No Solution Exploring Operation: 85*49=4165, Resulting Numbers: [4165] 4165,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[99, 19], Operations: ['41-8=33', '33-14=19'] Exploring Operation: 99+19=118, Resulting Numbers: [118] 118,34 unequal: No Solution Exploring Operation: 99*19=1881, Resulting Numbers: [1881] 1881,34 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,34 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 40, 5, 74, 4 ]
89
[ "40/4=10", "5+74=79", "10+79=89" ]
Current State: 89:[40, 5, 74, 4], Operations: [] Exploring Operation: 40/4=10, Resulting Numbers: [5, 74, 10] Generated Node #2: [5, 74, 10] from Operation: 40/4=10 Current State: 89:[5, 74, 10], Operations: ['40/4=10'] Exploring Operation: 5+74=79, Resulting Numbers: [10, 79] Generated Node #3: [10, 79] from Operation: 5+74=79 Current State: 89:[10, 79], Operations: ['40/4=10', '5+74=79'] Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[40, 5, 74, 4], Operations: [] Exploring Operation: 40+5=45, Resulting Numbers: [74, 4, 45] Generated Node #0,0: 89:[74, 4, 45] Operation: 40+5=45 Exploring Operation: 5*4=20, Resulting Numbers: [40, 74, 20] Generated Node #0,1: 89:[40, 74, 20] Operation: 5*4=20 Exploring Operation: 40+4=44, Resulting Numbers: [5, 74, 44] Generated Node #0,2: 89:[5, 74, 44] Operation: 40+4=44 Exploring Operation: 5+74=79, Resulting Numbers: [40, 4, 79] Generated Node #0,3: 89:[40, 4, 79] Operation: 5+74=79 Moving to Node #0,1 Current State: 89:[40, 74, 20], Operations: ['5*4=20'] Exploring Operation: 74-20=54, Resulting Numbers: [40, 54] Generated Node #0,1,0: 89:[40, 54] Operation: 74-20=54 Exploring Operation: 74+20=94, Resulting Numbers: [40, 94] Generated Node #0,1,1: 89:[40, 94] Operation: 74+20=94 Exploring Operation: 40-20=20, Resulting Numbers: [74, 20] Generated Node #0,1,2: 89:[74, 20] Operation: 40-20=20 Exploring Operation: 40+20=60, Resulting Numbers: [74, 60] Generated Node #0,1,3: 89:[74, 60] Operation: 40+20=60 Moving to Node #0,2 Current State: 89:[5, 74, 44], Operations: ['40+4=44'] Exploring Operation: 44-5=39, Resulting Numbers: [74, 39] Generated Node #0,2,0: 89:[74, 39] Operation: 44-5=39 Exploring Operation: 74-5=69, Resulting Numbers: [44, 69] Generated Node #0,2,1: 89:[44, 69] Operation: 74-5=69 Exploring Operation: 5+44=49, Resulting Numbers: [74, 49] Generated Node #0,2,2: 89:[74, 49] Operation: 5+44=49 Exploring Operation: 5+74=79, Resulting Numbers: [44, 79] Generated Node #0,2,3: 89:[44, 79] Operation: 5+74=79 Moving to Node #0,0 Current State: 89:[74, 4, 45], Operations: ['40+5=45'] Exploring Operation: 45-4=41, Resulting Numbers: [74, 41] Generated Node #0,0,0: 89:[74, 41] Operation: 45-4=41 Exploring Operation: 74+4=78, Resulting Numbers: [45, 78] Generated Node #0,0,1: 89:[45, 78] Operation: 74+4=78 Exploring Operation: 4+45=49, Resulting Numbers: [74, 49] Generated Node #0,0,2: 89:[74, 49] Operation: 4+45=49 Exploring Operation: 74-4=70, Resulting Numbers: [45, 70] Generated Node #0,0,3: 89:[45, 70] Operation: 74-4=70 Moving to Node #0,3 Current State: 89:[40, 4, 79], Operations: ['5+74=79'] Exploring Operation: 40-4=36, Resulting Numbers: [79, 36] Generated Node #0,3,0: 89:[79, 36] Operation: 40-4=36 Exploring Operation: 4+79=83, Resulting Numbers: [40, 83] Generated Node #0,3,1: 89:[40, 83] Operation: 4+79=83 Exploring Operation: 79-4=75, Resulting Numbers: [40, 75] Generated Node #0,3,2: 89:[40, 75] Operation: 79-4=75 Exploring Operation: 40+4=44, Resulting Numbers: [79, 44] Generated Node #0,3,3: 89:[79, 44] Operation: 40+4=44 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[40, 83], Operations: ['5+74=79', '4+79=83'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 40+83=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 40*83=3320, Resulting Numbers: [3320] 3320,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[79, 44], Operations: ['5+74=79', '40+4=44'] Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,89 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[79, 36], Operations: ['5+74=79', '40-4=36'] Exploring Operation: 79*36=2844, Resulting Numbers: [2844] 2844,89 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 79+36=115, Resulting Numbers: [115] 115,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[40, 75], Operations: ['5+74=79', '79-4=75'] Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,89 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 89:[74, 60], Operations: ['5*4=20', '40+20=60'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[40, 94], Operations: ['5*4=20', '74+20=94'] Exploring Operation: 40+94=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 40*94=3760, Resulting Numbers: [3760] 3760,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[44, 79], Operations: ['40+4=44', '5+74=79'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 44+79=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 44*79=3476, Resulting Numbers: [3476] 3476,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[74, 49], Operations: ['40+4=44', '5+44=49'] Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[74, 49], Operations: ['40+5=45', '4+45=49'] Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[45, 78], Operations: ['40+5=45', '74+4=78'] Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 45*78=3510, Resulting Numbers: [3510] 3510,89 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[45, 70], Operations: ['40+5=45', '74-4=70'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,89 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[74, 41], Operations: ['40+5=45', '45-4=41'] Exploring Operation: 74+41=115, Resulting Numbers: [115] 115,89 unequal: No Solution Exploring Operation: 74*41=3034, Resulting Numbers: [3034] 3034,89 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[74, 39], Operations: ['40+4=44', '44-5=39'] Exploring Operation: 74*39=2886, Resulting Numbers: [2886] 2886,89 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[44, 69], Operations: ['40+4=44', '74-5=69'] Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[74, 20], Operations: ['5*4=20', '40-20=20'] Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,89 unequal: No Solution Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,89 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[40, 54], Operations: ['5*4=20', '74-20=54'] Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,89 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 51, 11, 95, 56 ]
52
[ "95-51=44", "44/11=4", "56-4=52" ]
Current State: 52:[51, 11, 95, 56], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [11, 56, 44] Generated Node #2: [11, 56, 44] from Operation: 95-51=44 Current State: 52:[11, 56, 44], Operations: ['95-51=44'] Exploring Operation: 44/11=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 44/11=4 Current State: 52:[56, 4], Operations: ['95-51=44', '44/11=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[51, 11, 95, 56], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [11, 56, 44] Generated Node #0,0: 52:[11, 56, 44] Operation: 95-51=44 Exploring Operation: 95-11=84, Resulting Numbers: [51, 56, 84] Generated Node #0,1: 52:[51, 56, 84] Operation: 95-11=84 Exploring Operation: 95-56=39, Resulting Numbers: [51, 11, 39] Generated Node #0,2: 52:[51, 11, 39] Operation: 95-56=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[11, 56, 44], Operations: ['95-51=44'] Exploring Operation: 11+44=55, Resulting Numbers: [56, 55] Generated Node #0,0,0: 52:[56, 55] Operation: 11+44=55 Exploring Operation: 56-44=12, Resulting Numbers: [11, 12] Generated Node #0,0,1: 52:[11, 12] Operation: 56-44=12 Exploring Operation: 44/11=4, Resulting Numbers: [56, 4] Generated Node #0,0,2: 52:[56, 4] Operation: 44/11=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[11, 12], Operations: ['95-51=44', '56-44=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,52 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,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,0,2 Current State: 52:[56, 4], Operations: ['95-51=44', '44/11=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[51, 11, 95, 56], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [11, 56, 44] Generated Node #0,0: 52:[11, 56, 44] Operation: 95-51=44 Moving to Node #0,0 Current State: 52:[11, 56, 44], Operations: ['95-51=44'] Exploring Operation: 44/11=4, Resulting Numbers: [56, 4] Generated Node #0,0,2: 52:[56, 4] Operation: 44/11=4 Moving to Node #0,0,2 Current State: 52:[56, 4], Operations: ['95-51=44', '44/11=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 54, 92, 37, 18 ]
19
[ "92-54=38", "37-18=19", "38-19=19" ]
Current State: 19:[54, 92, 37, 18], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [37, 18, 38] Generated Node #2: [37, 18, 38] from Operation: 92-54=38 Current State: 19:[37, 18, 38], Operations: ['92-54=38'] Exploring Operation: 37-18=19, Resulting Numbers: [38, 19] Generated Node #3: [38, 19] from Operation: 37-18=19 Current State: 19:[38, 19], Operations: ['92-54=38', '37-18=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[54, 92, 37, 18], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [37, 18, 38] Generated Node #0,0: 19:[37, 18, 38] Operation: 92-54=38 Exploring Operation: 92-37=55, Resulting Numbers: [54, 18, 55] Generated Node #0,1: 19:[54, 18, 55] Operation: 92-37=55 Moving to Node #0,0 Current State: 19:[37, 18, 38], Operations: ['92-54=38'] Exploring Operation: 37-18=19, Resulting Numbers: [38, 19] Generated Node #0,0,0: 19:[38, 19] Operation: 37-18=19 Exploring Operation: 38-37=1, Resulting Numbers: [18, 1] Generated Node #0,0,1: 19:[18, 1] Operation: 38-37=1 Moving to Node #0,1 Current State: 19:[54, 18, 55], Operations: ['92-37=55'] Exploring Operation: 55-54=1, Resulting Numbers: [18, 1] Generated Node #0,1,0: 19:[18, 1] Operation: 55-54=1 Exploring Operation: 54/18=3, Resulting Numbers: [55, 3] Generated Node #0,1,1: 19:[55, 3] Operation: 54/18=3 Moving to Node #0,0,0 Current State: 19:[38, 19], Operations: ['92-54=38', '37-18=19'] Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[54, 92, 37, 18], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [37, 18, 38] Generated Node #0,0: 19:[37, 18, 38] Operation: 92-54=38 Moving to Node #0,0 Current State: 19:[37, 18, 38], Operations: ['92-54=38'] Exploring Operation: 37-18=19, Resulting Numbers: [38, 19] Generated Node #0,0,0: 19:[38, 19] Operation: 37-18=19 Moving to Node #0,0,0 Current State: 19:[38, 19], Operations: ['92-54=38', '37-18=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 60, 9, 21, 50 ]
41
[ "60+21=81", "81/9=9", "50-9=41" ]
Current State: 41:[60, 9, 21, 50], Operations: [] Exploring Operation: 60+21=81, Resulting Numbers: [9, 50, 81] Generated Node #2: [9, 50, 81] from Operation: 60+21=81 Current State: 41:[9, 50, 81], Operations: ['60+21=81'] Exploring Operation: 81/9=9, Resulting Numbers: [50, 9] Generated Node #3: [50, 9] from Operation: 81/9=9 Current State: 41:[50, 9], Operations: ['60+21=81', '81/9=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[60, 9, 21, 50], Operations: [] Exploring Operation: 60-9=51, Resulting Numbers: [21, 50, 51] Generated Node #0,0: 41:[21, 50, 51] Operation: 60-9=51 Exploring Operation: 9+21=30, Resulting Numbers: [60, 50, 30] Generated Node #0,1: 41:[60, 50, 30] Operation: 9+21=30 Exploring Operation: 50-9=41, Resulting Numbers: [60, 21, 41] Generated Node #0,2: 41:[60, 21, 41] Operation: 50-9=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[21, 50, 51], Operations: ['60-9=51'] Exploring Operation: 50-21=29, Resulting Numbers: [51, 29] Generated Node #0,0,0: 41:[51, 29] Operation: 50-21=29 Exploring Operation: 21+50=71, Resulting Numbers: [51, 71] Generated Node #0,0,1: 41:[51, 71] Operation: 21+50=71 Exploring Operation: 51-21=30, Resulting Numbers: [50, 30] Generated Node #0,0,2: 41:[50, 30] Operation: 51-21=30 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[50, 30], Operations: ['60-9=51', '51-21=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,41 unequal: No Solution No 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: 41:[51, 29], Operations: ['60-9=51', '50-21=29'] Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,41 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,41 unequal: No Solution No 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: 41:[51, 71], Operations: ['60-9=51', '21+50=71'] Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,41 unequal: No Solution Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,41 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,41 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: 41:[60, 50, 30], Operations: ['9+21=30'] Exploring Operation: 50-30=20, Resulting Numbers: [60, 20] Generated Node #0,1,0: 41:[60, 20] Operation: 50-30=20 Exploring Operation: 60-50=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 41:[30, 10] Operation: 60-50=10 Exploring Operation: 60-30=30, Resulting Numbers: [50, 30] Generated Node #0,1,2: 41:[50, 30] Operation: 60-30=30 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[50, 30], Operations: ['9+21=30', '60-30=30'] Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,41 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,41 unequal: No Solution No 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: 41:[60, 20], Operations: ['9+21=30', '50-30=20'] Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,41 unequal: No Solution No 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: 41:[30, 10], Operations: ['9+21=30', '60-50=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,41 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: 41:[60, 21, 41], Operations: ['50-9=41'] Exploring Operation: 60-21=39, Resulting Numbers: [41, 39] Generated Node #0,2,0: 41:[41, 39] Operation: 60-21=39 Exploring Operation: 21+41=62, Resulting Numbers: [60, 62] Generated Node #0,2,1: 41:[60, 62] Operation: 21+41=62 Exploring Operation: 60+21=81, Resulting Numbers: [41, 81] Generated Node #0,2,2: 41:[41, 81] Operation: 60+21=81 Moving to Node #0,2,0 Current State: 41:[41, 39], Operations: ['50-9=41', '60-21=39'] Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,41 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[60, 62], Operations: ['50-9=41', '21+41=62'] Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,41 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[41, 81], Operations: ['50-9=41', '60+21=81'] Exploring Operation: 41+81=122, Resulting Numbers: [122] 122,41 unequal: No Solution Exploring Operation: 41*81=3321, Resulting Numbers: [3321] 3321,41 unequal: No Solution Exploring Operation: 81-41=40, Resulting Numbers: [40] 40,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 87, 62, 32, 93 ]
88
[ "87+62=149", "93-32=61", "149-61=88" ]
Current State: 88:[87, 62, 32, 93], Operations: [] Exploring Operation: 87+62=149, Resulting Numbers: [32, 93, 149] Generated Node #2: [32, 93, 149] from Operation: 87+62=149 Current State: 88:[32, 93, 149], Operations: ['87+62=149'] Exploring Operation: 93-32=61, Resulting Numbers: [149, 61] Generated Node #3: [149, 61] from Operation: 93-32=61 Current State: 88:[149, 61], Operations: ['87+62=149', '93-32=61'] Exploring Operation: 149-61=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[87, 62, 32, 93], Operations: [] Exploring Operation: 62+32=94, Resulting Numbers: [87, 93, 94] Generated Node #0,0: 88:[87, 93, 94] Operation: 62+32=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[87, 93, 94], Operations: ['62+32=94'] Exploring Operation: 94-93=1, Resulting Numbers: [87, 1] Generated Node #0,0,0: 88:[87, 1] Operation: 94-93=1 Moving to Node #0,0,0 Current State: 88:[87, 1], Operations: ['62+32=94', '94-93=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[87, 62, 32, 93], Operations: [] Exploring Operation: 62+32=94, Resulting Numbers: [87, 93, 94] Generated Node #0,0: 88:[87, 93, 94] Operation: 62+32=94 Moving to Node #0,0 Current State: 88:[87, 93, 94], Operations: ['62+32=94'] Exploring Operation: 94-93=1, Resulting Numbers: [87, 1] Generated Node #0,0,0: 88:[87, 1] Operation: 94-93=1 Moving to Node #0,0,0 Current State: 88:[87, 1], Operations: ['62+32=94', '94-93=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 6, 20, 9, 6 ]
68
[ "20-6=14", "9*6=54", "14+54=68" ]
Current State: 68:[6, 20, 9, 6], Operations: [] Exploring Operation: 20-6=14, Resulting Numbers: [9, 14] Generated Node #2: [9, 14] from Operation: 20-6=14 Current State: 68:[9, 14], Operations: ['20-6=14'] Exploring Operation: 9*6=54, Resulting Numbers: [14, 54] Generated Node #3: [14, 54] from Operation: 9*6=54 Current State: 68:[14, 54], Operations: ['20-6=14', '9*6=54'] Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[6, 20, 9, 6], Operations: [] Exploring Operation: 9-6=3, Resulting Numbers: [20, 6, 3] Generated Node #0,0: 68:[20, 6, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[20, 6, 3], Operations: ['9-6=3'] Exploring Operation: 20-3=17, Resulting Numbers: [6, 17] Generated Node #0,0,0: 68:[6, 17] Operation: 20-3=17 Moving to Node #0,0,0 Current State: 68:[6, 17], Operations: ['9-6=3', '20-3=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 18, 84, 44 ]
58
[ "18/3=6", "84/6=14", "44+14=58" ]
Current State: 58:[3, 18, 84, 44], Operations: [] Exploring Operation: 18/3=6, Resulting Numbers: [84, 44, 6] Generated Node #2: [84, 44, 6] from Operation: 18/3=6 Current State: 58:[84, 44, 6], Operations: ['18/3=6'] Exploring Operation: 84/6=14, Resulting Numbers: [44, 14] Generated Node #3: [44, 14] from Operation: 84/6=14 Current State: 58:[44, 14], Operations: ['18/3=6', '84/6=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[3, 18, 84, 44], Operations: [] Exploring Operation: 84-18=66, Resulting Numbers: [3, 44, 66] Generated Node #0,0: 58:[3, 44, 66] Operation: 84-18=66 Exploring Operation: 84-44=40, Resulting Numbers: [3, 18, 40] Generated Node #0,1: 58:[3, 18, 40] Operation: 84-44=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[3, 44, 66], Operations: ['84-18=66'] Exploring Operation: 3+44=47, Resulting Numbers: [66, 47] Generated Node #0,0,0: 58:[66, 47] Operation: 3+44=47 Exploring Operation: 66-44=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 58:[3, 22] Operation: 66-44=22 Moving to Node #0,0,1 Current State: 58:[3, 22], Operations: ['84-18=66', '66-44=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[66, 47], Operations: ['84-18=66', '3+44=47'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 66+47=113, Resulting Numbers: [113] 113,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[3, 18, 40], Operations: ['84-44=40'] Exploring Operation: 40-18=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 58:[3, 22] Operation: 40-18=22 Exploring Operation: 18+40=58, Resulting Numbers: [3, 58] Generated Node #0,1,1: 58:[3, 58] Operation: 18+40=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[3, 58], Operations: ['84-44=40', '18+40=58'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[3, 22], Operations: ['84-44=40', '40-18=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 10, 31, 49, 82 ]
47
[ "10+31=41", "82/41=2", "49-2=47" ]
Current State: 47:[10, 31, 49, 82], Operations: [] Exploring Operation: 10+31=41, Resulting Numbers: [49, 82, 41] Generated Node #2: [49, 82, 41] from Operation: 10+31=41 Current State: 47:[49, 82, 41], Operations: ['10+31=41'] Exploring Operation: 82/41=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 82/41=2 Current State: 47:[49, 2], Operations: ['10+31=41', '82/41=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[10, 31, 49, 82], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [31, 82, 39] Generated Node #0,0: 47:[31, 82, 39] Operation: 49-10=39 Exploring Operation: 10+31=41, Resulting Numbers: [49, 82, 41] Generated Node #0,1: 47:[49, 82, 41] Operation: 10+31=41 Exploring Operation: 31-10=21, Resulting Numbers: [49, 82, 21] Generated Node #0,2: 47:[49, 82, 21] Operation: 31-10=21 Exploring Operation: 82-10=72, Resulting Numbers: [31, 49, 72] Generated Node #0,3: 47:[31, 49, 72] Operation: 82-10=72 Exploring Operation: 82-31=51, Resulting Numbers: [10, 49, 51] Generated Node #0,4: 47:[10, 49, 51] Operation: 82-31=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[49, 82, 41], Operations: ['10+31=41'] Exploring Operation: 82-41=41, Resulting Numbers: [49, 41] Generated Node #0,1,0: 47:[49, 41] Operation: 82-41=41 Exploring Operation: 49-41=8, Resulting Numbers: [82, 8] Generated Node #0,1,1: 47:[82, 8] Operation: 49-41=8 Exploring Operation: 82-49=33, Resulting Numbers: [41, 33] Generated Node #0,1,2: 47:[41, 33] Operation: 82-49=33 Exploring Operation: 49+41=90, Resulting Numbers: [82, 90] Generated Node #0,1,3: 47:[82, 90] Operation: 49+41=90 Exploring Operation: 82/41=2, Resulting Numbers: [49, 2] Generated Node #0,1,4: 47:[49, 2] Operation: 82/41=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[49, 41], Operations: ['10+31=41', '82-41=41'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,47 unequal: No Solution Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,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:[41, 33], Operations: ['10+31=41', '82-49=33'] Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,47 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,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,4 Current State: 47:[49, 2], Operations: ['10+31=41', '82/41=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[10, 31, 49, 82], Operations: [] Exploring Operation: 10+31=41, Resulting Numbers: [49, 82, 41] Generated Node #0,1: 47:[49, 82, 41] Operation: 10+31=41 Moving to Node #0,1 Current State: 47:[49, 82, 41], Operations: ['10+31=41'] Exploring Operation: 82/41=2, Resulting Numbers: [49, 2] Generated Node #0,1,4: 47:[49, 2] Operation: 82/41=2 Moving to Node #0,1,4 Current State: 47:[49, 2], Operations: ['10+31=41', '82/41=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 38, 23, 4, 75 ]
86
[ "38-23=15", "75-4=71", "15+71=86" ]
Current State: 86:[38, 23, 4, 75], Operations: [] Exploring Operation: 38-23=15, Resulting Numbers: [4, 75, 15] Generated Node #2: [4, 75, 15] from Operation: 38-23=15 Current State: 86:[4, 75, 15], Operations: ['38-23=15'] Exploring Operation: 75-4=71, Resulting Numbers: [15, 71] Generated Node #3: [15, 71] from Operation: 75-4=71 Current State: 86:[15, 71], Operations: ['38-23=15', '75-4=71'] Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[38, 23, 4, 75], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [38, 4, 52] Generated Node #0,0: 86:[38, 4, 52] Operation: 75-23=52 Exploring Operation: 23+75=98, Resulting Numbers: [38, 4, 98] Generated Node #0,1: 86:[38, 4, 98] Operation: 23+75=98 Exploring Operation: 23*4=92, Resulting Numbers: [38, 75, 92] Generated Node #0,2: 86:[38, 75, 92] Operation: 23*4=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[38, 4, 52], Operations: ['75-23=52'] Exploring Operation: 52-4=48, Resulting Numbers: [38, 48] Generated Node #0,0,0: 86:[38, 48] Operation: 52-4=48 Exploring Operation: 38+52=90, Resulting Numbers: [4, 90] Generated Node #0,0,1: 86:[4, 90] Operation: 38+52=90 Exploring Operation: 38+4=42, Resulting Numbers: [52, 42] Generated Node #0,0,2: 86:[52, 42] Operation: 38+4=42 Moving to Node #0,0,1 Current State: 86:[4, 90], Operations: ['75-23=52', '38+52=90'] Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,86 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[38, 23, 4, 75], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [38, 4, 52] Generated Node #0,0: 86:[38, 4, 52] Operation: 75-23=52 Moving to Node #0,0 Current State: 86:[38, 4, 52], Operations: ['75-23=52'] Exploring Operation: 38+52=90, Resulting Numbers: [4, 90] Generated Node #0,0,1: 86:[4, 90] Operation: 38+52=90 Moving to Node #0,0,1 Current State: 86:[4, 90], Operations: ['75-23=52', '38+52=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 96, 35, 29, 46 ]
56
[ "96+35=131", "29+46=75", "131-75=56" ]
Current State: 56:[96, 35, 29, 46], Operations: [] Exploring Operation: 96+35=131, Resulting Numbers: [29, 46, 131] Generated Node #2: [29, 46, 131] from Operation: 96+35=131 Current State: 56:[29, 46, 131], Operations: ['96+35=131'] Exploring Operation: 29+46=75, Resulting Numbers: [131, 75] Generated Node #3: [131, 75] from Operation: 29+46=75 Current State: 56:[131, 75], Operations: ['96+35=131', '29+46=75'] Exploring Operation: 131-75=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[96, 35, 29, 46], Operations: [] Exploring Operation: 96-35=61, Resulting Numbers: [29, 46, 61] Generated Node #0,0: 56:[29, 46, 61] Operation: 96-35=61 Exploring Operation: 96-46=50, Resulting Numbers: [35, 29, 50] Generated Node #0,1: 56:[35, 29, 50] Operation: 96-46=50 Exploring Operation: 46-35=11, Resulting Numbers: [96, 29, 11] Generated Node #0,2: 56:[96, 29, 11] Operation: 46-35=11 Exploring Operation: 96-29=67, Resulting Numbers: [35, 46, 67] Generated Node #0,3: 56:[35, 46, 67] Operation: 96-29=67 Moving to Node #0,1 Current State: 56:[35, 29, 50], Operations: ['96-46=50'] Exploring Operation: 50-29=21, Resulting Numbers: [35, 21] Generated Node #0,1,0: 56:[35, 21] Operation: 50-29=21 Exploring Operation: 35-29=6, Resulting Numbers: [50, 6] Generated Node #0,1,1: 56:[50, 6] Operation: 35-29=6 Exploring Operation: 35+29=64, Resulting Numbers: [50, 64] Generated Node #0,1,2: 56:[50, 64] Operation: 35+29=64 Exploring Operation: 50-35=15, Resulting Numbers: [29, 15] Generated Node #0,1,3: 56:[29, 15] Operation: 50-35=15 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[29, 15], Operations: ['96-46=50', '50-35=15'] Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[50, 6], Operations: ['96-46=50', '35-29=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,56 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[96, 35, 29, 46], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [35, 29, 50] Generated Node #0,1: 56:[35, 29, 50] Operation: 96-46=50 Moving to Node #0,1 Current State: 56:[35, 29, 50], Operations: ['96-46=50'] Exploring Operation: 35-29=6, Resulting Numbers: [50, 6] Generated Node #0,1,1: 56:[50, 6] Operation: 35-29=6 Moving to Node #0,1,1 Current State: 56:[50, 6], Operations: ['96-46=50', '35-29=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 3, 58, 74, 28 ]
16
[ "58+74=132", "132/3=44", "44-28=16" ]
Current State: 16:[3, 58, 74, 28], Operations: [] Exploring Operation: 58+74=132, Resulting Numbers: [3, 28, 132] Generated Node #2: [3, 28, 132] from Operation: 58+74=132 Current State: 16:[3, 28, 132], Operations: ['58+74=132'] Exploring Operation: 132/3=44, Resulting Numbers: [28, 44] Generated Node #3: [28, 44] from Operation: 132/3=44 Current State: 16:[28, 44], Operations: ['58+74=132', '132/3=44'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[3, 58, 74, 28], Operations: [] Exploring Operation: 58-3=55, Resulting Numbers: [74, 28, 55] Generated Node #0,0: 16:[74, 28, 55] Operation: 58-3=55 Exploring Operation: 58-28=30, Resulting Numbers: [3, 74, 30] Generated Node #0,1: 16:[3, 74, 30] Operation: 58-28=30 Exploring Operation: 74-58=16, Resulting Numbers: [3, 28, 16] Generated Node #0,2: 16:[3, 28, 16] Operation: 74-58=16 Exploring Operation: 74-28=46, Resulting Numbers: [3, 58, 46] Generated Node #0,3: 16:[3, 58, 46] Operation: 74-28=46 Moving to Node #0,2 Current State: 16:[3, 28, 16], Operations: ['74-58=16'] Exploring Operation: 3+16=19, Resulting Numbers: [28, 19] Generated Node #0,2,0: 16:[28, 19] Operation: 3+16=19 Exploring Operation: 28-3=25, Resulting Numbers: [16, 25] Generated Node #0,2,1: 16:[16, 25] Operation: 28-3=25 Exploring Operation: 28-16=12, Resulting Numbers: [3, 12] Generated Node #0,2,2: 16:[3, 12] Operation: 28-16=12 Exploring Operation: 3+28=31, Resulting Numbers: [16, 31] Generated Node #0,2,3: 16:[16, 31] Operation: 3+28=31 Moving to Node #0,3 Current State: 16:[3, 58, 46], Operations: ['74-28=46'] Exploring Operation: 3+58=61, Resulting Numbers: [46, 61] Generated Node #0,3,0: 16:[46, 61] Operation: 3+58=61 Exploring Operation: 46-3=43, Resulting Numbers: [58, 43] Generated Node #0,3,1: 16:[58, 43] Operation: 46-3=43 Exploring Operation: 58-46=12, Resulting Numbers: [3, 12] Generated Node #0,3,2: 16:[3, 12] Operation: 58-46=12 Exploring Operation: 58-3=55, Resulting Numbers: [46, 55] Generated Node #0,3,3: 16:[46, 55] Operation: 58-3=55 Moving to Node #0,1 Current State: 16:[3, 74, 30], Operations: ['58-28=30'] Exploring Operation: 30-3=27, Resulting Numbers: [74, 27] Generated Node #0,1,0: 16:[74, 27] Operation: 30-3=27 Exploring Operation: 74-3=71, Resulting Numbers: [30, 71] Generated Node #0,1,1: 16:[30, 71] Operation: 74-3=71 Exploring Operation: 30/3=10, Resulting Numbers: [74, 10] Generated Node #0,1,2: 16:[74, 10] Operation: 30/3=10 Exploring Operation: 74-30=44, Resulting Numbers: [3, 44] Generated Node #0,1,3: 16:[3, 44] Operation: 74-30=44 Moving to Node #0,0 Current State: 16:[74, 28, 55], Operations: ['58-3=55'] Exploring Operation: 74+28=102, Resulting Numbers: [55, 102] Generated Node #0,0,0: 16:[55, 102] Operation: 74+28=102 Exploring Operation: 74-55=19, Resulting Numbers: [28, 19] Generated Node #0,0,1: 16:[28, 19] Operation: 74-55=19 Exploring Operation: 55-28=27, Resulting Numbers: [74, 27] Generated Node #0,0,2: 16:[74, 27] Operation: 55-28=27 Exploring Operation: 74-28=46, Resulting Numbers: [55, 46] Generated Node #0,0,3: 16:[55, 46] Operation: 74-28=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[28, 19], Operations: ['58-3=55', '74-55=19'] Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,16 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,16 unequal: No Solution No 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: 16:[74, 27], Operations: ['58-3=55', '55-28=27'] Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,16 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,16 unequal: No Solution No 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: 16:[55, 46], Operations: ['58-3=55', '74-28=46'] Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,16 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,16 unequal: No Solution No 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: 16:[55, 102], Operations: ['58-3=55', '74+28=102'] Exploring Operation: 102-55=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 55*102=5610, Resulting Numbers: [5610] 5610,16 unequal: No Solution Exploring Operation: 55+102=157, Resulting Numbers: [157] 157,16 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: 16:[3, 12], Operations: ['74-58=16', '28-16=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[3, 12], Operations: ['74-28=46', '58-46=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[16, 25], Operations: ['74-58=16', '28-3=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,16 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[28, 19], Operations: ['74-58=16', '3+16=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[16, 31], Operations: ['74-58=16', '3+28=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,16 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[3, 44], Operations: ['58-28=30', '74-30=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,16 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[74, 10], Operations: ['58-28=30', '30/3=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,16 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[46, 55], Operations: ['74-28=46', '58-3=55'] Exploring Operation: 46*55=2530, Resulting Numbers: [2530] 2530,16 unequal: No Solution Exploring Operation: 46+55=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[58, 43], Operations: ['74-28=46', '46-3=43'] Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 58*43=2494, Resulting Numbers: [2494] 2494,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[74, 27], Operations: ['58-28=30', '30-3=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,16 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[30, 71], Operations: ['58-28=30', '74-3=71'] Exploring Operation: 30+71=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 30*71=2130, Resulting Numbers: [2130] 2130,16 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[46, 61], Operations: ['74-28=46', '3+58=61'] Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,16 unequal: No Solution Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,16 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,16 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 18, 84, 19, 16 ]
100
[ "19-18=1", "84+16=100", "1*100=100" ]
Current State: 100:[18, 84, 19, 16], Operations: [] Exploring Operation: 19-18=1, Resulting Numbers: [84, 16, 1] Generated Node #2: [84, 16, 1] from Operation: 19-18=1 Current State: 100:[84, 16, 1], Operations: ['19-18=1'] Exploring Operation: 84+16=100, Resulting Numbers: [1, 100] Generated Node #3: [1, 100] from Operation: 84+16=100 Current State: 100:[1, 100], Operations: ['19-18=1', '84+16=100'] Exploring Operation: 1*100=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[18, 84, 19, 16], Operations: [] Exploring Operation: 84+16=100, Resulting Numbers: [18, 19, 100] Generated Node #0,0: 100:[18, 19, 100] Operation: 84+16=100 Exploring Operation: 18+84=102, Resulting Numbers: [19, 16, 102] Generated Node #0,1: 100:[19, 16, 102] Operation: 18+84=102 Moving to Node #0,0 Current State: 100:[18, 19, 100], Operations: ['84+16=100'] Exploring Operation: 19-18=1, Resulting Numbers: [100, 1] Generated Node #0,0,0: 100:[100, 1] Operation: 19-18=1 Exploring Operation: 18+19=37, Resulting Numbers: [100, 37] Generated Node #0,0,1: 100:[100, 37] Operation: 18+19=37 Moving to Node #0,1 Current State: 100:[19, 16, 102], Operations: ['18+84=102'] Exploring Operation: 19+16=35, Resulting Numbers: [102, 35] Generated Node #0,1,0: 100:[102, 35] Operation: 19+16=35 Exploring Operation: 19-16=3, Resulting Numbers: [102, 3] Generated Node #0,1,1: 100:[102, 3] Operation: 19-16=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[102, 3], Operations: ['18+84=102', '19-16=3'] Exploring Operation: 102+3=105, Resulting Numbers: [105] 105,100 unequal: No Solution Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[102, 35], Operations: ['18+84=102', '19+16=35'] Exploring Operation: 102+35=137, Resulting Numbers: [137] 137,100 unequal: No Solution Exploring Operation: 102-35=67, Resulting Numbers: [67] 67,100 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: 100:[100, 1], Operations: ['84+16=100', '19-18=1'] Exploring Operation: 100/1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[18, 84, 19, 16], Operations: [] Exploring Operation: 84+16=100, Resulting Numbers: [18, 19, 100] Generated Node #0,0: 100:[18, 19, 100] Operation: 84+16=100 Moving to Node #0,0 Current State: 100:[18, 19, 100], Operations: ['84+16=100'] Exploring Operation: 19-18=1, Resulting Numbers: [100, 1] Generated Node #0,0,0: 100:[100, 1] Operation: 19-18=1 Moving to Node #0,0,0 Current State: 100:[100, 1], Operations: ['84+16=100', '19-18=1'] Exploring Operation: 100/1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 29, 64, 64, 70 ]
98
[ "29+70=99", "64/64=1", "99-1=98" ]
Current State: 98:[29, 64, 64, 70], Operations: [] Exploring Operation: 29+70=99, Resulting Numbers: [64, 64, 99] Generated Node #2: [64, 64, 99] from Operation: 29+70=99 Current State: 98:[64, 64, 99], Operations: ['29+70=99'] Exploring Operation: 64/64=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 64/64=1 Current State: 98:[99, 1], Operations: ['29+70=99', '64/64=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[29, 64, 64, 70], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [29, 64, 6] Generated Node #0,0: 98:[29, 64, 6] Operation: 70-64=6 Exploring Operation: 64/64=1, Resulting Numbers: [29, 70, 1] Generated Node #0,1: 98:[29, 70, 1] Operation: 64/64=1 Exploring Operation: 29+70=99, Resulting Numbers: [64, 64, 99] Generated Node #0,2: 98:[64, 64, 99] Operation: 29+70=99 Exploring Operation: 70-64=6, Resulting Numbers: [29, 64, 6] Generated Node #0,3: 98:[29, 64, 6] Operation: 70-64=6 Exploring Operation: 70-29=41, Resulting Numbers: [64, 64, 41] Generated Node #0,4: 98:[64, 64, 41] Operation: 70-29=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[29, 64, 6], Operations: ['70-64=6'] Exploring Operation: 29-6=23, Resulting Numbers: [64, 23] Generated Node #0,0,0: 98:[64, 23] Operation: 29-6=23 Exploring Operation: 29+64=93, Resulting Numbers: [6, 93] Generated Node #0,0,1: 98:[6, 93] Operation: 29+64=93 Exploring Operation: 64-6=58, Resulting Numbers: [29, 58] Generated Node #0,0,2: 98:[29, 58] Operation: 64-6=58 Exploring Operation: 29+6=35, Resulting Numbers: [64, 35] Generated Node #0,0,3: 98:[64, 35] Operation: 29+6=35 Exploring Operation: 64-29=35, Resulting Numbers: [6, 35] Generated Node #0,0,4: 98:[6, 35] Operation: 64-29=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[6, 93], Operations: ['70-64=6', '29+64=93'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 6+93=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 6*93=558, Resulting Numbers: [558] 558,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 98:[6, 35], Operations: ['70-64=6', '64-29=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,98 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[64, 23], Operations: ['70-64=6', '29-6=23'] Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,98 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[29, 58], Operations: ['70-64=6', '64-6=58'] Exploring Operation: 29+58=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,98 unequal: No Solution Exploring Operation: 29*58=1682, Resulting Numbers: [1682] 1682,98 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[64, 35], Operations: ['70-64=6', '29+6=35'] Exploring Operation: 64*35=2240, Resulting Numbers: [2240] 2240,98 unequal: No Solution Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,98 unequal: No Solution Exploring Operation: 64+35=99, Resulting Numbers: [99] 99,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[64, 64, 99], Operations: ['29+70=99'] Exploring Operation: 64+64=128, Resulting Numbers: [99, 128] Generated Node #0,2,0: 98:[99, 128] Operation: 64+64=128 Exploring Operation: 64-64=0, Resulting Numbers: [99, 0] Generated Node #0,2,1: 98:[99, 0] Operation: 64-64=0 Exploring Operation: 64/64=1, Resulting Numbers: [99, 1] Generated Node #0,2,2: 98:[99, 1] Operation: 64/64=1 Exploring Operation: 99-64=35, Resulting Numbers: [64, 35] Generated Node #0,2,3: 98:[64, 35] Operation: 99-64=35 Exploring Operation: 99-64=35, Resulting Numbers: [64, 35] Generated Node #0,2,4: 98:[64, 35] Operation: 99-64=35 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[99, 1], Operations: ['29+70=99', '64/64=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[29, 64, 64, 70], Operations: [] Exploring Operation: 29+70=99, Resulting Numbers: [64, 64, 99] Generated Node #0,2: 98:[64, 64, 99] Operation: 29+70=99 Moving to Node #0,2 Current State: 98:[64, 64, 99], Operations: ['29+70=99'] Exploring Operation: 64/64=1, Resulting Numbers: [99, 1] Generated Node #0,2,2: 98:[99, 1] Operation: 64/64=1 Moving to Node #0,2,2 Current State: 98:[99, 1], Operations: ['29+70=99', '64/64=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 18, 2, 59, 51 ]
25
[ "18+59=77", "2*51=102", "102-77=25" ]
Current State: 25:[18, 2, 59, 51], Operations: [] Exploring Operation: 18+59=77, Resulting Numbers: [2, 51, 77] Generated Node #2: [2, 51, 77] from Operation: 18+59=77 Current State: 25:[2, 51, 77], Operations: ['18+59=77'] Exploring Operation: 2*51=102, Resulting Numbers: [77, 102] Generated Node #3: [77, 102] from Operation: 2*51=102 Current State: 25:[77, 102], Operations: ['18+59=77', '2*51=102'] Exploring Operation: 102-77=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[18, 2, 59, 51], Operations: [] Exploring Operation: 51-18=33, Resulting Numbers: [2, 59, 33] Generated Node #0,0: 25:[2, 59, 33] Operation: 51-18=33 Exploring Operation: 18/2=9, Resulting Numbers: [59, 51, 9] Generated Node #0,1: 25:[59, 51, 9] Operation: 18/2=9 Exploring Operation: 59-18=41, Resulting Numbers: [2, 51, 41] Generated Node #0,2: 25:[2, 51, 41] Operation: 59-18=41 Exploring Operation: 59-51=8, Resulting Numbers: [18, 2, 8] Generated Node #0,3: 25:[18, 2, 8] Operation: 59-51=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[18, 2, 8], Operations: ['59-51=8'] Exploring Operation: 18+2=20, Resulting Numbers: [8, 20] Generated Node #0,3,0: 25:[8, 20] Operation: 18+2=20 Exploring Operation: 18-8=10, Resulting Numbers: [2, 10] Generated Node #0,3,1: 25:[2, 10] Operation: 18-8=10 Exploring Operation: 18+8=26, Resulting Numbers: [2, 26] Generated Node #0,3,2: 25:[2, 26] Operation: 18+8=26 Exploring Operation: 18/2=9, Resulting Numbers: [8, 9] Generated Node #0,3,3: 25:[8, 9] Operation: 18/2=9 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 25:[2, 26], Operations: ['59-51=8', '18+8=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,25 unequal: No Solution No 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: 25:[8, 9], Operations: ['59-51=8', '18/2=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,25 unequal: No Solution No 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: 25:[8, 20], Operations: ['59-51=8', '18+2=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,25 unequal: No Solution No 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: 25:[2, 10], Operations: ['59-51=8', '18-8=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,25 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: 25:[2, 59, 33], Operations: ['51-18=33'] Exploring Operation: 33-2=31, Resulting Numbers: [59, 31] Generated Node #0,0,0: 25:[59, 31] Operation: 33-2=31 Exploring Operation: 59-33=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 25:[2, 26] Operation: 59-33=26 Exploring Operation: 2+59=61, Resulting Numbers: [33, 61] Generated Node #0,0,2: 25:[33, 61] Operation: 2+59=61 Exploring Operation: 59-2=57, Resulting Numbers: [33, 57] Generated Node #0,0,3: 25:[33, 57] Operation: 59-2=57 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[2, 26], Operations: ['51-18=33', '59-33=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,25 unequal: No Solution No 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: 25:[59, 31], Operations: ['51-18=33', '33-2=31'] Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 59*31=1829, Resulting Numbers: [1829] 1829,25 unequal: No Solution Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,25 unequal: No Solution No 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: 25:[33, 57], Operations: ['51-18=33', '59-2=57'] Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 33*57=1881, Resulting Numbers: [1881] 1881,25 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,25 unequal: No Solution No 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: 25:[33, 61], Operations: ['51-18=33', '2+59=61'] Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,25 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,25 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: 25:[2, 51, 41], Operations: ['59-18=41'] Exploring Operation: 51-2=49, Resulting Numbers: [41, 49] Generated Node #0,2,0: 25:[41, 49] Operation: 51-2=49 Exploring Operation: 2+51=53, Resulting Numbers: [41, 53] Generated Node #0,2,1: 25:[41, 53] Operation: 2+51=53 Exploring Operation: 41-2=39, Resulting Numbers: [51, 39] Generated Node #0,2,2: 25:[51, 39] Operation: 41-2=39 Exploring Operation: 51-41=10, Resulting Numbers: [2, 10] Generated Node #0,2,3: 25:[2, 10] Operation: 51-41=10 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 25:[2, 10], Operations: ['59-18=41', '51-41=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,25 unequal: No Solution No 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: 25:[41, 49], Operations: ['59-18=41', '51-2=49'] Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,25 unequal: No Solution Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,25 unequal: No Solution No 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: 25:[51, 39], Operations: ['59-18=41', '41-2=39'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,25 unequal: No Solution Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,25 unequal: No Solution No 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: 25:[41, 53], Operations: ['59-18=41', '2+51=53'] Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,25 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: 25:[59, 51, 9], Operations: ['18/2=9'] Exploring Operation: 59+9=68, Resulting Numbers: [51, 68] Generated Node #0,1,0: 25:[51, 68] Operation: 59+9=68 Exploring Operation: 51-9=42, Resulting Numbers: [59, 42] Generated Node #0,1,1: 25:[59, 42] Operation: 51-9=42 Exploring Operation: 59-51=8, Resulting Numbers: [9, 8] Generated Node #0,1,2: 25:[9, 8] Operation: 59-51=8 Exploring Operation: 59-9=50, Resulting Numbers: [51, 50] Generated Node #0,1,3: 25:[51, 50] Operation: 59-9=50 Moving to Node #0,1,2 Current State: 25:[9, 8], Operations: ['18/2=9', '59-51=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[51, 50], Operations: ['18/2=9', '59-9=50'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[59, 42], Operations: ['18/2=9', '51-9=42'] Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,25 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[51, 68], Operations: ['18/2=9', '59+9=68'] Exploring Operation: 51*68=3468, Resulting Numbers: [3468] 3468,25 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 51+68=119, Resulting Numbers: [119] 119,25 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
[ 21, 88, 9, 27 ]
73
[ "21+88=109", "9+27=36", "109-36=73" ]
Current State: 73:[21, 88, 9, 27], Operations: [] Exploring Operation: 21+88=109, Resulting Numbers: [9, 27, 109] Generated Node #2: [9, 27, 109] from Operation: 21+88=109 Current State: 73:[9, 27, 109], Operations: ['21+88=109'] Exploring Operation: 9+27=36, Resulting Numbers: [109, 36] Generated Node #3: [109, 36] from Operation: 9+27=36 Current State: 73:[109, 36], Operations: ['21+88=109', '9+27=36'] Exploring Operation: 109-36=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[21, 88, 9, 27], Operations: [] Exploring Operation: 9+27=36, Resulting Numbers: [21, 88, 36] Generated Node #0,0: 73:[21, 88, 36] Operation: 9+27=36 Exploring Operation: 88-9=79, Resulting Numbers: [21, 27, 79] Generated Node #0,1: 73:[21, 27, 79] Operation: 88-9=79 Exploring Operation: 21+9=30, Resulting Numbers: [88, 27, 30] Generated Node #0,2: 73:[88, 27, 30] Operation: 21+9=30 Exploring Operation: 21+27=48, Resulting Numbers: [88, 9, 48] Generated Node #0,3: 73:[88, 9, 48] Operation: 21+27=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[21, 88, 36], Operations: ['9+27=36'] Exploring Operation: 21+36=57, Resulting Numbers: [88, 57] Generated Node #0,0,0: 73:[88, 57] Operation: 21+36=57 Exploring Operation: 21+88=109, Resulting Numbers: [36, 109] Generated Node #0,0,1: 73:[36, 109] Operation: 21+88=109 Exploring Operation: 36-21=15, Resulting Numbers: [88, 15] Generated Node #0,0,2: 73:[88, 15] Operation: 36-21=15 Exploring Operation: 88-21=67, Resulting Numbers: [36, 67] Generated Node #0,0,3: 73:[36, 67] Operation: 88-21=67 Moving to Node #0,0,0 Current State: 73:[88, 57], Operations: ['9+27=36', '21+36=57'] Exploring Operation: 88*57=5016, Resulting Numbers: [5016] 5016,73 unequal: No Solution Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 88+57=145, Resulting Numbers: [145] 145,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[36, 67], Operations: ['9+27=36', '88-21=67'] Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,73 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[88, 15], Operations: ['9+27=36', '36-21=15'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[21, 88, 9, 27], Operations: [] Exploring Operation: 9+27=36, Resulting Numbers: [21, 88, 36] Generated Node #0,0: 73:[21, 88, 36] Operation: 9+27=36 Moving to Node #0,0 Current State: 73:[21, 88, 36], Operations: ['9+27=36'] Exploring Operation: 36-21=15, Resulting Numbers: [88, 15] Generated Node #0,0,2: 73:[88, 15] Operation: 36-21=15 Moving to Node #0,0,2 Current State: 73:[88, 15], Operations: ['9+27=36', '36-21=15'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 29, 13, 10, 11 ]
90
[ "29+11=40", "13*10=130", "130-40=90" ]
Current State: 90:[29, 13, 10, 11], Operations: [] Exploring Operation: 29+11=40, Resulting Numbers: [13, 10, 40] Generated Node #2: [13, 10, 40] from Operation: 29+11=40 Current State: 90:[13, 10, 40], Operations: ['29+11=40'] Exploring Operation: 13*10=130, Resulting Numbers: [40, 130] Generated Node #3: [40, 130] from Operation: 13*10=130 Current State: 90:[40, 130], Operations: ['29+11=40', '13*10=130'] Exploring Operation: 130-40=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[29, 13, 10, 11], Operations: [] Exploring Operation: 29-13=16, Resulting Numbers: [10, 11, 16] Generated Node #0,0: 90:[10, 11, 16] Operation: 29-13=16 Exploring Operation: 29-11=18, Resulting Numbers: [13, 10, 18] Generated Node #0,1: 90:[13, 10, 18] Operation: 29-11=18 Exploring Operation: 13-11=2, Resulting Numbers: [29, 10, 2] Generated Node #0,2: 90:[29, 10, 2] Operation: 13-11=2 Exploring Operation: 13-10=3, Resulting Numbers: [29, 11, 3] Generated Node #0,3: 90:[29, 11, 3] Operation: 13-10=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[29, 10, 2], Operations: ['13-11=2'] Exploring Operation: 10-2=8, Resulting Numbers: [29, 8] Generated Node #0,2,0: 90:[29, 8] Operation: 10-2=8 Exploring Operation: 29-10=19, Resulting Numbers: [2, 19] Generated Node #0,2,1: 90:[2, 19] Operation: 29-10=19 Exploring Operation: 10/2=5, Resulting Numbers: [29, 5] Generated Node #0,2,2: 90:[29, 5] Operation: 10/2=5 Exploring Operation: 29+2=31, Resulting Numbers: [10, 31] Generated Node #0,2,3: 90:[10, 31] Operation: 29+2=31 Moving to Node #0,2,1 Current State: 90:[2, 19], Operations: ['13-11=2', '29-10=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[10, 31], Operations: ['13-11=2', '29+2=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,90 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[29, 5], Operations: ['13-11=2', '10/2=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,90 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[29, 8], Operations: ['13-11=2', '10-2=8'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,90 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[10, 11, 16], Operations: ['29-13=16'] Exploring Operation: 16-11=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 90:[10, 5] Operation: 16-11=5 Exploring Operation: 11-10=1, Resulting Numbers: [16, 1] Generated Node #0,0,1: 90:[16, 1] Operation: 11-10=1 Exploring Operation: 16-10=6, Resulting Numbers: [11, 6] Generated Node #0,0,2: 90:[11, 6] Operation: 16-10=6 Exploring Operation: 11+16=27, Resulting Numbers: [10, 27] Generated Node #0,0,3: 90:[10, 27] Operation: 11+16=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[10, 5], Operations: ['29-13=16', '16-11=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,90 unequal: No Solution No 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: 90:[11, 6], Operations: ['29-13=16', '16-10=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,90 unequal: No Solution No 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: 90:[16, 1], Operations: ['29-13=16', '11-10=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,90 unequal: No Solution No 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: 90:[10, 27], Operations: ['29-13=16', '11+16=27'] Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,90 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,90 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: 90:[13, 10, 18], Operations: ['29-11=18'] Exploring Operation: 13-10=3, Resulting Numbers: [18, 3] Generated Node #0,1,0: 90:[18, 3] Operation: 13-10=3 Exploring Operation: 18-10=8, Resulting Numbers: [13, 8] Generated Node #0,1,1: 90:[13, 8] Operation: 18-10=8 Exploring Operation: 13+18=31, Resulting Numbers: [10, 31] Generated Node #0,1,2: 90:[10, 31] Operation: 13+18=31 Exploring Operation: 18-13=5, Resulting Numbers: [10, 5] Generated Node #0,1,3: 90:[10, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[18, 3], Operations: ['29-11=18', '13-10=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,90 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,90 unequal: No Solution No 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: 90:[10, 5], Operations: ['29-11=18', '18-13=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,90 unequal: No Solution No 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: 90:[10, 31], Operations: ['29-11=18', '13+18=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,90 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,90 unequal: No Solution No 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: 90:[13, 8], Operations: ['29-11=18', '18-10=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,90 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,90 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: 90:[29, 11, 3], Operations: ['13-10=3'] Exploring Operation: 29-11=18, Resulting Numbers: [3, 18] Generated Node #0,3,0: 90:[3, 18] Operation: 29-11=18 Exploring Operation: 11-3=8, Resulting Numbers: [29, 8] Generated Node #0,3,1: 90:[29, 8] Operation: 11-3=8 Exploring Operation: 29+3=32, Resulting Numbers: [11, 32] Generated Node #0,3,2: 90:[11, 32] Operation: 29+3=32 Exploring Operation: 11+3=14, Resulting Numbers: [29, 14] Generated Node #0,3,3: 90:[29, 14] Operation: 11+3=14 Moving to Node #0,3,0 Current State: 90:[3, 18], Operations: ['13-10=3', '29-11=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,90 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[29, 14], Operations: ['13-10=3', '11+3=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[29, 8], Operations: ['13-10=3', '11-3=8'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,90 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[11, 32], Operations: ['13-10=3', '29+3=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,90 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,90 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
[ 64, 30, 2, 12 ]
23
[ "64-30=34", "12+34=46", "46/2=23" ]
Current State: 23:[64, 30, 2, 12], Operations: [] Exploring Operation: 64-30=34, Resulting Numbers: [2, 12, 34] Generated Node #2: [2, 12, 34] from Operation: 64-30=34 Current State: 23:[2, 12, 34], Operations: ['64-30=34'] Exploring Operation: 12+34=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 12+34=46 Current State: 23:[2, 46], Operations: ['64-30=34', '12+34=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[64, 30, 2, 12], Operations: [] Exploring Operation: 64-30=34, Resulting Numbers: [2, 12, 34] Generated Node #0,0: 23:[2, 12, 34] Operation: 64-30=34 Exploring Operation: 2*12=24, Resulting Numbers: [64, 30, 24] Generated Node #0,1: 23:[64, 30, 24] Operation: 2*12=24 Exploring Operation: 64-2=62, Resulting Numbers: [30, 12, 62] Generated Node #0,2: 23:[30, 12, 62] Operation: 64-2=62 Exploring Operation: 64/2=32, Resulting Numbers: [30, 12, 32] Generated Node #0,3: 23:[30, 12, 32] Operation: 64/2=32 Moving to Node #0,3 Current State: 23:[30, 12, 32], Operations: ['64/2=32'] Exploring Operation: 30+12=42, Resulting Numbers: [32, 42] Generated Node #0,3,0: 23:[32, 42] Operation: 30+12=42 Exploring Operation: 12+32=44, Resulting Numbers: [30, 44] Generated Node #0,3,1: 23:[30, 44] Operation: 12+32=44 Exploring Operation: 30-12=18, Resulting Numbers: [32, 18] Generated Node #0,3,2: 23:[32, 18] Operation: 30-12=18 Exploring Operation: 32-12=20, Resulting Numbers: [30, 20] Generated Node #0,3,3: 23:[30, 20] Operation: 32-12=20 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[30, 20], Operations: ['64/2=32', '32-12=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,23 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,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,3,2 Current State: 23:[32, 18], Operations: ['64/2=32', '30-12=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,23 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[32, 42], Operations: ['64/2=32', '30+12=42'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,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,3,1 Current State: 23:[30, 44], Operations: ['64/2=32', '12+32=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,23 unequal: No Solution Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 23:[2, 12, 34], Operations: ['64-30=34'] Exploring Operation: 34-2=32, Resulting Numbers: [12, 32] Generated Node #0,0,0: 23:[12, 32] Operation: 34-2=32 Exploring Operation: 2+12=14, Resulting Numbers: [34, 14] Generated Node #0,0,1: 23:[34, 14] Operation: 2+12=14 Exploring Operation: 2*12=24, Resulting Numbers: [34, 24] Generated Node #0,0,2: 23:[34, 24] Operation: 2*12=24 Exploring Operation: 34/2=17, Resulting Numbers: [12, 17] Generated Node #0,0,3: 23:[12, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[34, 24], Operations: ['64-30=34', '2*12=24'] Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 34*24=816, Resulting Numbers: [816] 816,23 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 23:[12, 17], Operations: ['64-30=34', '34/2=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[12, 32], Operations: ['64-30=34', '34-2=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[34, 14], Operations: ['64-30=34', '2+12=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 23:[64, 30, 24], Operations: ['2*12=24'] Exploring Operation: 30-24=6, Resulting Numbers: [64, 6] Generated Node #0,1,0: 23:[64, 6] Operation: 30-24=6 Exploring Operation: 64-30=34, Resulting Numbers: [24, 34] Generated Node #0,1,1: 23:[24, 34] Operation: 64-30=34 Exploring Operation: 64-24=40, Resulting Numbers: [30, 40] Generated Node #0,1,2: 23:[30, 40] Operation: 64-24=40 Exploring Operation: 64+30=94, Resulting Numbers: [24, 94] Generated Node #0,1,3: 23:[24, 94] Operation: 64+30=94 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[24, 34], Operations: ['2*12=24', '64-30=34'] Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,23 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[30, 40], Operations: ['2*12=24', '64-24=40'] Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,23 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,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,0 Current State: 23:[64, 6], Operations: ['2*12=24', '30-24=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,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,3 Current State: 23:[24, 94], Operations: ['2*12=24', '64+30=94'] Exploring Operation: 24*94=2256, Resulting Numbers: [2256] 2256,23 unequal: No Solution Exploring Operation: 24+94=118, Resulting Numbers: [118] 118,23 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,23 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: 23:[30, 12, 62], Operations: ['64-2=62'] Exploring Operation: 62-30=32, Resulting Numbers: [12, 32] Generated Node #0,2,0: 23:[12, 32] Operation: 62-30=32 Exploring Operation: 62-12=50, Resulting Numbers: [30, 50] Generated Node #0,2,1: 23:[30, 50] Operation: 62-12=50 Exploring Operation: 30-12=18, Resulting Numbers: [62, 18] Generated Node #0,2,2: 23:[62, 18] Operation: 30-12=18 Exploring Operation: 30+12=42, Resulting Numbers: [62, 42] Generated Node #0,2,3: 23:[62, 42] Operation: 30+12=42 Moving to Node #0,2,0 Current State: 23:[12, 32], Operations: ['64-2=62', '62-30=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[30, 50], Operations: ['64-2=62', '62-12=50'] Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,23 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[62, 18], Operations: ['64-2=62', '30-12=18'] Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,23 unequal: No Solution Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[62, 42], Operations: ['64-2=62', '30+12=42'] Exploring Operation: 62*42=2604, Resulting Numbers: [2604] 2604,23 unequal: No Solution Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 62+42=104, Resulting Numbers: [104] 104,23 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 37, 36, 80, 46 ]
45
[ "46-36=10", "80/10=8", "37+8=45" ]
Current State: 45:[37, 36, 80, 46], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [37, 80, 10] Generated Node #2: [37, 80, 10] from Operation: 46-36=10 Current State: 45:[37, 80, 10], Operations: ['46-36=10'] Exploring Operation: 80/10=8, Resulting Numbers: [37, 8] Generated Node #3: [37, 8] from Operation: 80/10=8 Current State: 45:[37, 8], Operations: ['46-36=10', '80/10=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[37, 36, 80, 46], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [80, 46, 1] Generated Node #0,0: 45:[80, 46, 1] Operation: 37-36=1 Exploring Operation: 80-46=34, Resulting Numbers: [37, 36, 34] Generated Node #0,1: 45:[37, 36, 34] Operation: 80-46=34 Exploring Operation: 80-36=44, Resulting Numbers: [37, 46, 44] Generated Node #0,2: 45:[37, 46, 44] Operation: 80-36=44 Exploring Operation: 80-37=43, Resulting Numbers: [36, 46, 43] Generated Node #0,3: 45:[36, 46, 43] Operation: 80-37=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[37, 46, 44], Operations: ['80-36=44'] Exploring Operation: 46-44=2, Resulting Numbers: [37, 2] Generated Node #0,2,0: 45:[37, 2] Operation: 46-44=2 Exploring Operation: 44-37=7, Resulting Numbers: [46, 7] Generated Node #0,2,1: 45:[46, 7] Operation: 44-37=7 Exploring Operation: 46-37=9, Resulting Numbers: [44, 9] Generated Node #0,2,2: 45:[44, 9] Operation: 46-37=9 Exploring Operation: 37+44=81, Resulting Numbers: [46, 81] Generated Node #0,2,3: 45:[46, 81] Operation: 37+44=81 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[44, 9], Operations: ['80-36=44', '46-37=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[46, 7], Operations: ['80-36=44', '44-37=7'] Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,45 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[37, 2], Operations: ['80-36=44', '46-44=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 45:[46, 81], Operations: ['80-36=44', '37+44=81'] Exploring Operation: 46+81=127, Resulting Numbers: [127] 127,45 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 46*81=3726, Resulting Numbers: [3726] 3726,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[36, 46, 43], Operations: ['80-37=43'] Exploring Operation: 36+43=79, Resulting Numbers: [46, 79] Generated Node #0,3,0: 45:[46, 79] Operation: 36+43=79 Exploring Operation: 46-43=3, Resulting Numbers: [36, 3] Generated Node #0,3,1: 45:[36, 3] Operation: 46-43=3 Exploring Operation: 43-36=7, Resulting Numbers: [46, 7] Generated Node #0,3,2: 45:[46, 7] Operation: 43-36=7 Exploring Operation: 46-36=10, Resulting Numbers: [43, 10] Generated Node #0,3,3: 45:[43, 10] Operation: 46-36=10 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 45:[46, 7], Operations: ['80-37=43', '43-36=7'] Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,45 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 45:[43, 10], Operations: ['80-37=43', '46-36=10'] Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 45:[36, 3], Operations: ['80-37=43', '46-43=3'] Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,45 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 45:[46, 79], Operations: ['80-37=43', '36+43=79'] Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,45 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[37, 36, 34], Operations: ['80-46=34'] Exploring Operation: 37-36=1, Resulting Numbers: [34, 1] Generated Node #0,1,0: 45:[34, 1] Operation: 37-36=1 Exploring Operation: 36+34=70, Resulting Numbers: [37, 70] Generated Node #0,1,1: 45:[37, 70] Operation: 36+34=70 Exploring Operation: 36-34=2, Resulting Numbers: [37, 2] Generated Node #0,1,2: 45:[37, 2] Operation: 36-34=2 Exploring Operation: 37-34=3, Resulting Numbers: [36, 3] Generated Node #0,1,3: 45:[36, 3] Operation: 37-34=3 Moving to Node #0,1,2 Current State: 45:[37, 2], Operations: ['80-46=34', '36-34=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[36, 3], Operations: ['80-46=34', '37-34=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,45 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[34, 1], Operations: ['80-46=34', '37-36=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[37, 70], Operations: ['80-46=34', '36+34=70'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 37+70=107, Resulting Numbers: [107] 107,45 unequal: No Solution Exploring Operation: 37*70=2590, Resulting Numbers: [2590] 2590,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[80, 46, 1], Operations: ['37-36=1'] Exploring Operation: 80*1=80, Resulting Numbers: [46, 80] Generated Node #0,0,0: 45:[46, 80] Operation: 80*1=80 Exploring Operation: 80-46=34, Resulting Numbers: [1, 34] Generated Node #0,0,1: 45:[1, 34] Operation: 80-46=34 Exploring Operation: 80-1=79, Resulting Numbers: [46, 79] Generated Node #0,0,2: 45:[46, 79] Operation: 80-1=79 Exploring Operation: 46-1=45, Resulting Numbers: [80, 45] Generated Node #0,0,3: 45:[80, 45] Operation: 46-1=45 Moving to Node #0,0,1 Current State: 45:[1, 34], Operations: ['37-36=1', '80-46=34'] Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[80, 45], Operations: ['37-36=1', '46-1=45'] Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,45 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[46, 79], Operations: ['37-36=1', '80-1=79'] Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,45 unequal: No Solution Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,45 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[46, 80], Operations: ['37-36=1', '80*1=80'] Exploring Operation: 46+80=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 46*80=3680, Resulting Numbers: [3680] 3680,45 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,45 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
[ 12, 3, 11, 39 ]
92
[ "39-12=27", "3*27=81", "11+81=92" ]
Current State: 92:[12, 3, 11, 39], Operations: [] Exploring Operation: 39-12=27, Resulting Numbers: [3, 11, 27] Generated Node #2: [3, 11, 27] from Operation: 39-12=27 Current State: 92:[3, 11, 27], Operations: ['39-12=27'] Exploring Operation: 3*27=81, Resulting Numbers: [11, 81] Generated Node #3: [11, 81] from Operation: 3*27=81 Current State: 92:[11, 81], Operations: ['39-12=27', '3*27=81'] Exploring Operation: 11+81=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[12, 3, 11, 39], Operations: [] Exploring Operation: 12-11=1, Resulting Numbers: [3, 39, 1] Generated Node #0,0: 92:[3, 39, 1] Operation: 12-11=1 Exploring Operation: 12+11=23, Resulting Numbers: [3, 39, 23] Generated Node #0,1: 92:[3, 39, 23] Operation: 12+11=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[3, 39, 23], Operations: ['12+11=23'] Exploring Operation: 3+39=42, Resulting Numbers: [23, 42] Generated Node #0,1,0: 92:[23, 42] Operation: 3+39=42 Exploring Operation: 39-23=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 92:[3, 16] Operation: 39-23=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[23, 42], Operations: ['12+11=23', '3+39=42'] Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,92 unequal: No Solution No 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: 92:[3, 16], Operations: ['12+11=23', '39-23=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[3, 39, 1], Operations: ['12-11=1'] Exploring Operation: 3+39=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 92:[1, 42] Operation: 3+39=42 Exploring Operation: 3+1=4, Resulting Numbers: [39, 4] Generated Node #0,0,1: 92:[39, 4] Operation: 3+1=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[1, 42], Operations: ['12-11=1', '3+39=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,92 unequal: No Solution No 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: 92:[39, 4], Operations: ['12-11=1', '3+1=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 17, 9, 2 ]
35
[ "17+9=26", "26/2=13", "48-13=35" ]
Current State: 35:[48, 17, 9, 2], Operations: [] Exploring Operation: 17+9=26, Resulting Numbers: [48, 2, 26] Generated Node #2: [48, 2, 26] from Operation: 17+9=26 Current State: 35:[48, 2, 26], Operations: ['17+9=26'] Exploring Operation: 26/2=13, Resulting Numbers: [48, 13] Generated Node #3: [48, 13] from Operation: 26/2=13 Current State: 35:[48, 13], Operations: ['17+9=26', '26/2=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[48, 17, 9, 2], Operations: [] Exploring Operation: 48-17=31, Resulting Numbers: [9, 2, 31] Generated Node #0,0: 35:[9, 2, 31] Operation: 48-17=31 Exploring Operation: 17*2=34, Resulting Numbers: [48, 9, 34] Generated Node #0,1: 35:[48, 9, 34] Operation: 17*2=34 Exploring Operation: 48-9=39, Resulting Numbers: [17, 2, 39] Generated Node #0,2: 35:[17, 2, 39] Operation: 48-9=39 Moving to Node #0,0 Current State: 35:[9, 2, 31], Operations: ['48-17=31'] Exploring Operation: 2+31=33, Resulting Numbers: [9, 33] Generated Node #0,0,0: 35:[9, 33] Operation: 2+31=33 Exploring Operation: 9-2=7, Resulting Numbers: [31, 7] Generated Node #0,0,1: 35:[31, 7] Operation: 9-2=7 Exploring Operation: 9+2=11, Resulting Numbers: [31, 11] Generated Node #0,0,2: 35:[31, 11] Operation: 9+2=11 Moving to Node #0,1 Current State: 35:[48, 9, 34], Operations: ['17*2=34'] Exploring Operation: 48-34=14, Resulting Numbers: [9, 14] Generated Node #0,1,0: 35:[9, 14] Operation: 48-34=14 Exploring Operation: 48-9=39, Resulting Numbers: [34, 39] Generated Node #0,1,1: 35:[34, 39] Operation: 48-9=39 Exploring Operation: 9+34=43, Resulting Numbers: [48, 43] Generated Node #0,1,2: 35:[48, 43] Operation: 9+34=43 Moving to Node #0,2 Current State: 35:[17, 2, 39], Operations: ['48-9=39'] Exploring Operation: 17-2=15, Resulting Numbers: [39, 15] Generated Node #0,2,0: 35:[39, 15] Operation: 17-2=15 Exploring Operation: 17*2=34, Resulting Numbers: [39, 34] Generated Node #0,2,1: 35:[39, 34] Operation: 17*2=34 Exploring Operation: 39-2=37, Resulting Numbers: [17, 37] Generated Node #0,2,2: 35:[17, 37] Operation: 39-2=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[39, 34], Operations: ['48-9=39', '17*2=34'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[39, 15], Operations: ['48-9=39', '17-2=15'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[17, 37], Operations: ['48-9=39', '39-2=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,35 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: 35:[9, 33], Operations: ['48-17=31', '2+31=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,35 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[31, 7], Operations: ['48-17=31', '9-2=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,35 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[34, 39], Operations: ['17*2=34', '48-9=39'] Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,35 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[31, 11], Operations: ['48-17=31', '9+2=11'] Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,35 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,35 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[9, 14], Operations: ['17*2=34', '48-34=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[48, 43], Operations: ['17*2=34', '9+34=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,35 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 30, 15, 74, 99 ]
70
[ "30+15=45", "99-74=25", "45+25=70" ]
Current State: 70:[30, 15, 74, 99], Operations: [] Exploring Operation: 30+15=45, Resulting Numbers: [74, 99, 45] Generated Node #2: [74, 99, 45] from Operation: 30+15=45 Current State: 70:[74, 99, 45], Operations: ['30+15=45'] Exploring Operation: 99-74=25, Resulting Numbers: [45, 25] Generated Node #3: [45, 25] from Operation: 99-74=25 Current State: 70:[45, 25], Operations: ['30+15=45', '99-74=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[30, 15, 74, 99], Operations: [] Exploring Operation: 99-15=84, Resulting Numbers: [30, 74, 84] Generated Node #0,0: 70:[30, 74, 84] Operation: 99-15=84 Exploring Operation: 99-74=25, Resulting Numbers: [30, 15, 25] Generated Node #0,1: 70:[30, 15, 25] Operation: 99-74=25 Exploring Operation: 99-30=69, Resulting Numbers: [15, 74, 69] Generated Node #0,2: 70:[15, 74, 69] Operation: 99-30=69 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[15, 74, 69], Operations: ['99-30=69'] Exploring Operation: 15+69=84, Resulting Numbers: [74, 84] Generated Node #0,2,0: 70:[74, 84] Operation: 15+69=84 Exploring Operation: 74-69=5, Resulting Numbers: [15, 5] Generated Node #0,2,1: 70:[15, 5] Operation: 74-69=5 Exploring Operation: 74-15=59, Resulting Numbers: [69, 59] Generated Node #0,2,2: 70:[69, 59] Operation: 74-15=59 Moving to Node #0,2,1 Current State: 70:[15, 5], Operations: ['99-30=69', '74-69=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[69, 59], Operations: ['99-30=69', '74-15=59'] Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,70 unequal: No Solution Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,70 unequal: No Solution Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[74, 84], Operations: ['99-30=69', '15+69=84'] Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,70 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,70 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,70 unequal: No Solution No 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: 70:[30, 15, 25], Operations: ['99-74=25'] Exploring Operation: 25-15=10, Resulting Numbers: [30, 10] Generated Node #0,1,0: 70:[30, 10] Operation: 25-15=10 Exploring Operation: 30/15=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 70:[25, 2] Operation: 30/15=2 Exploring Operation: 30-25=5, Resulting Numbers: [15, 5] Generated Node #0,1,2: 70:[15, 5] Operation: 30-25=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[15, 5], Operations: ['99-74=25', '30-25=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,70 unequal: No Solution No 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: 70:[30, 10], Operations: ['99-74=25', '25-15=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,70 unequal: No Solution No 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: 70:[25, 2], Operations: ['99-74=25', '30/15=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,70 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: 70:[30, 74, 84], Operations: ['99-15=84'] Exploring Operation: 74-30=44, Resulting Numbers: [84, 44] Generated Node #0,0,0: 70:[84, 44] Operation: 74-30=44 Exploring Operation: 84-74=10, Resulting Numbers: [30, 10] Generated Node #0,0,1: 70:[30, 10] Operation: 84-74=10 Exploring Operation: 84-30=54, Resulting Numbers: [74, 54] Generated Node #0,0,2: 70:[74, 54] Operation: 84-30=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[30, 10], Operations: ['99-15=84', '84-74=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,70 unequal: No Solution No 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: 70:[74, 54], Operations: ['99-15=84', '84-30=54'] Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,70 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,70 unequal: No Solution No 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: 70:[84, 44], Operations: ['99-15=84', '74-30=44'] Exploring Operation: 84*44=3696, Resulting Numbers: [3696] 3696,70 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 84+44=128, Resulting Numbers: [128] 128,70 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
[ 12, 28, 24, 6 ]
16
[ "24/12=2", "6*2=12", "28-12=16" ]
Current State: 16:[12, 28, 24, 6], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [28, 6, 2] Generated Node #2: [28, 6, 2] from Operation: 24/12=2 Current State: 16:[28, 6, 2], Operations: ['24/12=2'] Exploring Operation: 6*2=12, Resulting Numbers: [28, 12] Generated Node #3: [28, 12] from Operation: 6*2=12 Current State: 16:[28, 12], Operations: ['24/12=2', '6*2=12'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[12, 28, 24, 6], Operations: [] Exploring Operation: 28-12=16, Resulting Numbers: [24, 6, 16] Generated Node #0,0: 16:[24, 6, 16] Operation: 28-12=16 Exploring Operation: 24/12=2, Resulting Numbers: [28, 6, 2] Generated Node #0,1: 16:[28, 6, 2] Operation: 24/12=2 Exploring Operation: 24/6=4, Resulting Numbers: [12, 28, 4] Generated Node #0,2: 16:[12, 28, 4] Operation: 24/6=4 Exploring Operation: 28-24=4, Resulting Numbers: [12, 6, 4] Generated Node #0,3: 16:[12, 6, 4] Operation: 28-24=4 Moving to Node #0,3 Current State: 16:[12, 6, 4], Operations: ['28-24=4'] Exploring Operation: 12+6=18, Resulting Numbers: [4, 18] Generated Node #0,3,0: 16:[4, 18] Operation: 12+6=18 Exploring Operation: 12+4=16, Resulting Numbers: [6, 16] Generated Node #0,3,1: 16:[6, 16] Operation: 12+4=16 Exploring Operation: 12-6=6, Resulting Numbers: [4, 6] Generated Node #0,3,2: 16:[4, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [4, 2] Generated Node #0,3,3: 16:[4, 2] Operation: 12/6=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[4, 2], Operations: ['28-24=4', '12/6=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,16 unequal: No Solution No 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: 16:[4, 18], Operations: ['28-24=4', '12+6=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,16 unequal: No Solution No 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: 16:[6, 16], Operations: ['28-24=4', '12+4=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,16 unequal: No Solution No 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: 16:[4, 6], Operations: ['28-24=4', '12-6=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,16 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: 16:[24, 6, 16], Operations: ['28-12=16'] Exploring Operation: 24-6=18, Resulting Numbers: [16, 18] Generated Node #0,0,0: 16:[16, 18] Operation: 24-6=18 Exploring Operation: 16-6=10, Resulting Numbers: [24, 10] Generated Node #0,0,1: 16:[24, 10] Operation: 16-6=10 Exploring Operation: 24/6=4, Resulting Numbers: [16, 4] Generated Node #0,0,2: 16:[16, 4] Operation: 24/6=4 Exploring Operation: 24-16=8, Resulting Numbers: [6, 8] Generated Node #0,0,3: 16:[6, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[16, 4], Operations: ['28-12=16', '24/6=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution No 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: 16:[16, 18], Operations: ['28-12=16', '24-6=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,16 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,16 unequal: No Solution No 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: 16:[6, 8], Operations: ['28-12=16', '24-16=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,16 unequal: No Solution No 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: 16:[24, 10], Operations: ['28-12=16', '16-6=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,16 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: 16:[28, 6, 2], Operations: ['24/12=2'] Exploring Operation: 28-2=26, Resulting Numbers: [6, 26] Generated Node #0,1,0: 16:[6, 26] Operation: 28-2=26 Exploring Operation: 28/2=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 16:[6, 14] Operation: 28/2=14 Exploring Operation: 28-6=22, Resulting Numbers: [2, 22] Generated Node #0,1,2: 16:[2, 22] Operation: 28-6=22 Exploring Operation: 6+2=8, Resulting Numbers: [28, 8] Generated Node #0,1,3: 16:[28, 8] Operation: 6+2=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[6, 14], Operations: ['24/12=2', '28/2=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,16 unequal: No Solution No 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: 16:[2, 22], Operations: ['24/12=2', '28-6=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,16 unequal: No Solution No 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: 16:[6, 26], Operations: ['24/12=2', '28-2=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,16 unequal: No Solution No 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: 16:[28, 8], Operations: ['24/12=2', '6+2=8'] Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,16 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,16 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: 16:[12, 28, 4], Operations: ['24/6=4'] Exploring Operation: 12-4=8, Resulting Numbers: [28, 8] Generated Node #0,2,0: 16:[28, 8] Operation: 12-4=8 Exploring Operation: 28-12=16, Resulting Numbers: [4, 16] Generated Node #0,2,1: 16:[4, 16] Operation: 28-12=16 Exploring Operation: 28/4=7, Resulting Numbers: [12, 7] Generated Node #0,2,2: 16:[12, 7] Operation: 28/4=7 Exploring Operation: 12+4=16, Resulting Numbers: [28, 16] Generated Node #0,2,3: 16:[28, 16] Operation: 12+4=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[4, 16], Operations: ['24/6=4', '28-12=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,16 unequal: No Solution No 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: 16:[12, 7], Operations: ['24/6=4', '28/4=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,16 unequal: No Solution No 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: 16:[28, 8], Operations: ['24/6=4', '12-4=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,16 unequal: No Solution No 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: 16:[28, 16], Operations: ['24/6=4', '12+4=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,16 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
[ 30, 64, 9, 80 ]
23
[ "30+64=94", "80-9=71", "94-71=23" ]
Current State: 23:[30, 64, 9, 80], Operations: [] Exploring Operation: 30+64=94, Resulting Numbers: [9, 80, 94] Generated Node #2: [9, 80, 94] from Operation: 30+64=94 Current State: 23:[9, 80, 94], Operations: ['30+64=94'] Exploring Operation: 80-9=71, Resulting Numbers: [94, 71] Generated Node #3: [94, 71] from Operation: 80-9=71 Current State: 23:[94, 71], Operations: ['30+64=94', '80-9=71'] Exploring Operation: 94-71=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[30, 64, 9, 80], Operations: [] Exploring Operation: 64-9=55, Resulting Numbers: [30, 80, 55] Generated Node #0,0: 23:[30, 80, 55] Operation: 64-9=55 Exploring Operation: 80-64=16, Resulting Numbers: [30, 9, 16] Generated Node #0,1: 23:[30, 9, 16] Operation: 80-64=16 Exploring Operation: 64-30=34, Resulting Numbers: [9, 80, 34] Generated Node #0,2: 23:[9, 80, 34] Operation: 64-30=34 Exploring Operation: 80-30=50, Resulting Numbers: [64, 9, 50] Generated Node #0,3: 23:[64, 9, 50] Operation: 80-30=50 Moving to Node #0,1 Current State: 23:[30, 9, 16], Operations: ['80-64=16'] Exploring Operation: 30-9=21, Resulting Numbers: [16, 21] Generated Node #0,1,0: 23:[16, 21] Operation: 30-9=21 Exploring Operation: 30+9=39, Resulting Numbers: [16, 39] Generated Node #0,1,1: 23:[16, 39] Operation: 30+9=39 Exploring Operation: 30-16=14, Resulting Numbers: [9, 14] Generated Node #0,1,2: 23:[9, 14] Operation: 30-16=14 Exploring Operation: 9+16=25, Resulting Numbers: [30, 25] Generated Node #0,1,3: 23:[30, 25] Operation: 9+16=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[16, 21], Operations: ['80-64=16', '30-9=21'] Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,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,3 Current State: 23:[30, 25], Operations: ['80-64=16', '9+16=25'] Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,23 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[16, 39], Operations: ['80-64=16', '30+9=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[30, 64, 9, 80], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [30, 9, 16] Generated Node #0,1: 23:[30, 9, 16] Operation: 80-64=16 Moving to Node #0,1 Current State: 23:[30, 9, 16], Operations: ['80-64=16'] Exploring Operation: 30+9=39, Resulting Numbers: [16, 39] Generated Node #0,1,1: 23:[16, 39] Operation: 30+9=39 Moving to Node #0,1,1 Current State: 23:[16, 39], Operations: ['80-64=16', '30+9=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 95, 84, 77, 82 ]
36
[ "95-77=18", "84-82=2", "18*2=36" ]
Current State: 36:[95, 84, 77, 82], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [84, 82, 18] Generated Node #2: [84, 82, 18] from Operation: 95-77=18 Current State: 36:[84, 82, 18], Operations: ['95-77=18'] Exploring Operation: 84-82=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 84-82=2 Current State: 36:[18, 2], Operations: ['95-77=18', '84-82=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[95, 84, 77, 82], Operations: [] Exploring Operation: 95-84=11, Resulting Numbers: [77, 82, 11] Generated Node #0,0: 36:[77, 82, 11] Operation: 95-84=11 Exploring Operation: 95-82=13, Resulting Numbers: [84, 77, 13] Generated Node #0,1: 36:[84, 77, 13] Operation: 95-82=13 Exploring Operation: 95-77=18, Resulting Numbers: [84, 82, 18] Generated Node #0,2: 36:[84, 82, 18] Operation: 95-77=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[77, 82, 11], Operations: ['95-84=11'] Exploring Operation: 82-77=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 36:[11, 5] Operation: 82-77=5 Exploring Operation: 77-11=66, Resulting Numbers: [82, 66] Generated Node #0,0,1: 36:[82, 66] Operation: 77-11=66 Exploring Operation: 77/11=7, Resulting Numbers: [82, 7] Generated Node #0,0,2: 36:[82, 7] Operation: 77/11=7 Moving to Node #0,0,0 Current State: 36:[11, 5], Operations: ['95-84=11', '82-77=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[82, 7], Operations: ['95-84=11', '77/11=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,36 unequal: No Solution Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,36 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[82, 66], Operations: ['95-84=11', '77-11=66'] Exploring Operation: 82*66=5412, Resulting Numbers: [5412] 5412,36 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 82+66=148, Resulting Numbers: [148] 148,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,1 Current State: 36:[84, 77, 13], Operations: ['95-82=13'] Exploring Operation: 77-13=64, Resulting Numbers: [84, 64] Generated Node #0,1,0: 36:[84, 64] Operation: 77-13=64 Exploring Operation: 84-77=7, Resulting Numbers: [13, 7] Generated Node #0,1,1: 36:[13, 7] Operation: 84-77=7 Exploring Operation: 84-13=71, Resulting Numbers: [77, 71] Generated Node #0,1,2: 36:[77, 71] Operation: 84-13=71 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[13, 7], Operations: ['95-82=13', '84-77=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,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,0 Current State: 36:[84, 64], Operations: ['95-82=13', '77-13=64'] Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 84+64=148, Resulting Numbers: [148] 148,36 unequal: No Solution Exploring Operation: 84*64=5376, Resulting Numbers: [5376] 5376,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,2 Current State: 36:[77, 71], Operations: ['95-82=13', '84-13=71'] Exploring Operation: 77-71=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 77+71=148, Resulting Numbers: [148] 148,36 unequal: No Solution Exploring Operation: 77*71=5467, Resulting Numbers: [5467] 5467,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:[84, 82, 18], Operations: ['95-77=18'] Exploring Operation: 84-18=66, Resulting Numbers: [82, 66] Generated Node #0,2,0: 36:[82, 66] Operation: 84-18=66 Exploring Operation: 82-18=64, Resulting Numbers: [84, 64] Generated Node #0,2,1: 36:[84, 64] Operation: 82-18=64 Exploring Operation: 84-82=2, Resulting Numbers: [18, 2] Generated Node #0,2,2: 36:[18, 2] Operation: 84-82=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[18, 2], Operations: ['95-77=18', '84-82=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[95, 84, 77, 82], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [84, 82, 18] Generated Node #0,2: 36:[84, 82, 18] Operation: 95-77=18 Moving to Node #0,2 Current State: 36:[84, 82, 18], Operations: ['95-77=18'] Exploring Operation: 84-82=2, Resulting Numbers: [18, 2] Generated Node #0,2,2: 36:[18, 2] Operation: 84-82=2 Moving to Node #0,2,2 Current State: 36:[18, 2], Operations: ['95-77=18', '84-82=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
mult_heuristic
[ 2, 48, 28, 55 ]
59
[ "48/2=24", "28+55=83", "83-24=59" ]
Current State: 59:[2, 48, 28, 55], Operations: [] Exploring Operation: 48/2=24, Resulting Numbers: [28, 55, 24] Generated Node #2: [28, 55, 24] from Operation: 48/2=24 Current State: 59:[28, 55, 24], Operations: ['48/2=24'] Exploring Operation: 28+55=83, Resulting Numbers: [24, 83] Generated Node #3: [24, 83] from Operation: 28+55=83 Current State: 59:[24, 83], Operations: ['48/2=24', '28+55=83'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 48, 28, 55], Operations: [] Exploring Operation: 2+48=50, Resulting Numbers: [28, 55, 50] Generated Node #0,0: 59:[28, 55, 50] Operation: 2+48=50 Exploring Operation: 2*28=56, Resulting Numbers: [48, 55, 56] Generated Node #0,1: 59:[48, 55, 56] Operation: 2*28=56 Exploring Operation: 48-2=46, Resulting Numbers: [28, 55, 46] Generated Node #0,2: 59:[28, 55, 46] Operation: 48-2=46 Exploring Operation: 2+55=57, Resulting Numbers: [48, 28, 57] Generated Node #0,3: 59:[48, 28, 57] Operation: 2+55=57 Exploring Operation: 2+28=30, Resulting Numbers: [48, 55, 30] Generated Node #0,4: 59:[48, 55, 30] Operation: 2+28=30 Moving to Node #0,1 Current State: 59:[48, 55, 56], Operations: ['2*28=56'] Exploring Operation: 55+56=111, Resulting Numbers: [48, 111] Generated Node #0,1,0: 59:[48, 111] Operation: 55+56=111 Exploring Operation: 48+55=103, Resulting Numbers: [56, 103] Generated Node #0,1,1: 59:[56, 103] Operation: 48+55=103 Exploring Operation: 55-48=7, Resulting Numbers: [56, 7] Generated Node #0,1,2: 59:[56, 7] Operation: 55-48=7 Exploring Operation: 48+56=104, Resulting Numbers: [55, 104] Generated Node #0,1,3: 59:[55, 104] Operation: 48+56=104 Exploring Operation: 56-48=8, Resulting Numbers: [55, 8] Generated Node #0,1,4: 59:[55, 8] Operation: 56-48=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[56, 103], Operations: ['2*28=56', '48+55=103'] Exploring Operation: 103-56=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 56+103=159, Resulting Numbers: [159] 159,59 unequal: No Solution Exploring Operation: 56*103=5768, Resulting Numbers: [5768] 5768,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[55, 104], Operations: ['2*28=56', '48+56=104'] Exploring Operation: 55+104=159, Resulting Numbers: [159] 159,59 unequal: No Solution Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 55*104=5720, Resulting Numbers: [5720] 5720,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[56, 7], Operations: ['2*28=56', '55-48=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,59 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,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,4 Current State: 59:[55, 8], Operations: ['2*28=56', '56-48=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,59 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,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,0 Current State: 59:[48, 111], Operations: ['2*28=56', '55+56=111'] Exploring Operation: 48+111=159, Resulting Numbers: [159] 159,59 unequal: No Solution Exploring Operation: 48*111=5328, Resulting Numbers: [5328] 5328,59 unequal: No Solution Exploring Operation: 111-48=63, Resulting Numbers: [63] 63,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 59:[48, 28, 57], Operations: ['2+55=57'] Exploring Operation: 28+57=85, Resulting Numbers: [48, 85] Generated Node #0,3,0: 59:[48, 85] Operation: 28+57=85 Exploring Operation: 48-28=20, Resulting Numbers: [57, 20] Generated Node #0,3,1: 59:[57, 20] Operation: 48-28=20 Exploring Operation: 48+28=76, Resulting Numbers: [57, 76] Generated Node #0,3,2: 59:[57, 76] Operation: 48+28=76 Exploring Operation: 57-28=29, Resulting Numbers: [48, 29] Generated Node #0,3,3: 59:[48, 29] Operation: 57-28=29 Exploring Operation: 48+57=105, Resulting Numbers: [28, 105] Generated Node #0,3,4: 59:[28, 105] Operation: 48+57=105 Moving to Node #0,0 Current State: 59:[28, 55, 50], Operations: ['2+48=50'] Exploring Operation: 28+55=83, Resulting Numbers: [50, 83] Generated Node #0,0,0: 59:[50, 83] Operation: 28+55=83 Exploring Operation: 50-28=22, Resulting Numbers: [55, 22] Generated Node #0,0,1: 59:[55, 22] Operation: 50-28=22 Exploring Operation: 55+50=105, Resulting Numbers: [28, 105] Generated Node #0,0,2: 59:[28, 105] Operation: 55+50=105 Exploring Operation: 55-28=27, Resulting Numbers: [50, 27] Generated Node #0,0,3: 59:[50, 27] Operation: 55-28=27 Exploring Operation: 28+50=78, Resulting Numbers: [55, 78] Generated Node #0,0,4: 59:[55, 78] Operation: 28+50=78 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[55, 78], Operations: ['2+48=50', '28+50=78'] Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,59 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[50, 83], Operations: ['2+48=50', '28+55=83'] Exploring Operation: 50*83=4150, Resulting Numbers: [4150] 4150,59 unequal: No Solution Exploring Operation: 50+83=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[55, 22], Operations: ['2+48=50', '50-28=22'] Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,59 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[50, 27], Operations: ['2+48=50', '55-28=27'] Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 50*27=1350, Resulting Numbers: [1350] 1350,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[28, 105], Operations: ['2+48=50', '55+50=105'] Exploring Operation: 28*105=2940, Resulting Numbers: [2940] 2940,59 unequal: No Solution Exploring Operation: 28+105=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 105-28=77, Resulting Numbers: [77] 77,59 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: 59:[48, 55, 30], Operations: ['2+28=30'] Exploring Operation: 55-30=25, Resulting Numbers: [48, 25] Generated Node #0,4,0: 59:[48, 25] Operation: 55-30=25 Exploring Operation: 48+30=78, Resulting Numbers: [55, 78] Generated Node #0,4,1: 59:[55, 78] Operation: 48+30=78 Exploring Operation: 55+30=85, Resulting Numbers: [48, 85] Generated Node #0,4,2: 59:[48, 85] Operation: 55+30=85 Exploring Operation: 48-30=18, Resulting Numbers: [55, 18] Generated Node #0,4,3: 59:[55, 18] Operation: 48-30=18 Exploring Operation: 48+55=103, Resulting Numbers: [30, 103] Generated Node #0,4,4: 59:[30, 103] Operation: 48+55=103 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[55, 78], Operations: ['2+28=30', '48+30=78'] Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,59 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,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,4,2 Current State: 59:[48, 85], Operations: ['2+28=30', '55+30=85'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,59 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,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,4,0 Current State: 59:[48, 25], Operations: ['2+28=30', '55-30=25'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,59 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,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,4,3 Current State: 59:[55, 18], Operations: ['2+28=30', '48-30=18'] Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,59 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,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,4,4 Current State: 59:[30, 103], Operations: ['2+28=30', '48+55=103'] Exploring Operation: 30*103=3090, Resulting Numbers: [3090] 3090,59 unequal: No Solution Exploring Operation: 103-30=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 30+103=133, Resulting Numbers: [133] 133,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[28, 55, 46], Operations: ['48-2=46'] Exploring Operation: 55+46=101, Resulting Numbers: [28, 101] Generated Node #0,2,0: 59:[28, 101] Operation: 55+46=101 Exploring Operation: 28+46=74, Resulting Numbers: [55, 74] Generated Node #0,2,1: 59:[55, 74] Operation: 28+46=74 Exploring Operation: 46-28=18, Resulting Numbers: [55, 18] Generated Node #0,2,2: 59:[55, 18] Operation: 46-28=18 Exploring Operation: 28+55=83, Resulting Numbers: [46, 83] Generated Node #0,2,3: 59:[46, 83] Operation: 28+55=83 Exploring Operation: 55-28=27, Resulting Numbers: [46, 27] Generated Node #0,2,4: 59:[46, 27] Operation: 55-28=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[55, 74], Operations: ['48-2=46', '28+46=74'] Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 55*74=4070, Resulting Numbers: [4070] 4070,59 unequal: No Solution Exploring Operation: 55+74=129, Resulting Numbers: [129] 129,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,3 Current State: 59:[46, 83], Operations: ['48-2=46', '28+55=83'] Exploring Operation: 46*83=3818, Resulting Numbers: [3818] 3818,59 unequal: No Solution Exploring Operation: 46+83=129, Resulting Numbers: [129] 129,59 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,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,2 Current State: 59:[55, 18], Operations: ['48-2=46', '46-28=18'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,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,4 Current State: 59:[46, 27], Operations: ['48-2=46', '55-28=27'] Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,59 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,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,0 Current State: 59:[28, 101], Operations: ['48-2=46', '55+46=101'] Exploring Operation: 101-28=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 28+101=129, Resulting Numbers: [129] 129,59 unequal: No Solution Exploring Operation: 28*101=2828, Resulting Numbers: [2828] 2828,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 59:[57, 76], Operations: ['2+55=57', '48+28=76'] Exploring Operation: 57*76=4332, Resulting Numbers: [4332] 4332,59 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 57+76=133, Resulting Numbers: [133] 133,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[48, 85], Operations: ['2+55=57', '28+57=85'] Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,59 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[57, 20], Operations: ['2+55=57', '48-28=20'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,59 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[48, 29], Operations: ['2+55=57', '57-28=29'] Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[28, 105], Operations: ['2+55=57', '48+57=105'] Exploring Operation: 28+105=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 28*105=2940, Resulting Numbers: [2940] 2940,59 unequal: No Solution Exploring Operation: 105-28=77, Resulting Numbers: [77] 77,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 22, 74, 36, 29 ]
72
[ "22+36=58", "58/29=2", "74-2=72" ]
Current State: 72:[22, 74, 36, 29], Operations: [] Exploring Operation: 22+36=58, Resulting Numbers: [74, 29, 58] Generated Node #2: [74, 29, 58] from Operation: 22+36=58 Current State: 72:[74, 29, 58], Operations: ['22+36=58'] Exploring Operation: 58/29=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 58/29=2 Current State: 72:[74, 2], Operations: ['22+36=58', '58/29=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[22, 74, 36, 29], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [74, 36, 7] Generated Node #0,0: 72:[74, 36, 7] Operation: 29-22=7 Exploring Operation: 36-22=14, Resulting Numbers: [74, 29, 14] Generated Node #0,1: 72:[74, 29, 14] Operation: 36-22=14 Exploring Operation: 36-29=7, Resulting Numbers: [22, 74, 7] Generated Node #0,2: 72:[22, 74, 7] Operation: 36-29=7 Exploring Operation: 74-36=38, Resulting Numbers: [22, 29, 38] Generated Node #0,3: 72:[22, 29, 38] Operation: 74-36=38 Moving to Node #0,0 Current State: 72:[74, 36, 7], Operations: ['29-22=7'] Exploring Operation: 74+7=81, Resulting Numbers: [36, 81] Generated Node #0,0,0: 72:[36, 81] Operation: 74+7=81 Exploring Operation: 36-7=29, Resulting Numbers: [74, 29] Generated Node #0,0,1: 72:[74, 29] Operation: 36-7=29 Exploring Operation: 74-36=38, Resulting Numbers: [7, 38] Generated Node #0,0,2: 72:[7, 38] Operation: 74-36=38 Exploring Operation: 74-7=67, Resulting Numbers: [36, 67] Generated Node #0,0,3: 72:[36, 67] Operation: 74-7=67 Moving to Node #0,2 Current State: 72:[22, 74, 7], Operations: ['36-29=7'] Exploring Operation: 22-7=15, Resulting Numbers: [74, 15] Generated Node #0,2,0: 72:[74, 15] Operation: 22-7=15 Exploring Operation: 22+7=29, Resulting Numbers: [74, 29] Generated Node #0,2,1: 72:[74, 29] Operation: 22+7=29 Exploring Operation: 74+7=81, Resulting Numbers: [22, 81] Generated Node #0,2,2: 72:[22, 81] Operation: 74+7=81 Exploring Operation: 74-7=67, Resulting Numbers: [22, 67] Generated Node #0,2,3: 72:[22, 67] Operation: 74-7=67 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[74, 15], Operations: ['36-29=7', '22-7=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[74, 29], Operations: ['36-29=7', '22+7=29'] Exploring Operation: 74+29=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 74*29=2146, Resulting Numbers: [2146] 2146,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[22, 67], Operations: ['36-29=7', '74-7=67'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[22, 81], Operations: ['36-29=7', '74+7=81'] Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,72 unequal: No Solution Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,72 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: 72:[22, 29, 38], Operations: ['74-36=38'] Exploring Operation: 29-22=7, Resulting Numbers: [38, 7] Generated Node #0,3,0: 72:[38, 7] Operation: 29-22=7 Exploring Operation: 38-29=9, Resulting Numbers: [22, 9] Generated Node #0,3,1: 72:[22, 9] Operation: 38-29=9 Exploring Operation: 38-22=16, Resulting Numbers: [29, 16] Generated Node #0,3,2: 72:[29, 16] Operation: 38-22=16 Exploring Operation: 29+38=67, Resulting Numbers: [22, 67] Generated Node #0,3,3: 72:[22, 67] Operation: 29+38=67 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[22, 9], Operations: ['74-36=38', '38-29=9'] Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,72 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[38, 7], Operations: ['74-36=38', '29-22=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[29, 16], Operations: ['74-36=38', '38-22=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,72 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[22, 67], Operations: ['74-36=38', '29+38=67'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,72 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 72:[74, 29, 14], Operations: ['36-22=14'] Exploring Operation: 29+14=43, Resulting Numbers: [74, 43] Generated Node #0,1,0: 72:[74, 43] Operation: 29+14=43 Exploring Operation: 74-14=60, Resulting Numbers: [29, 60] Generated Node #0,1,1: 72:[29, 60] Operation: 74-14=60 Exploring Operation: 29-14=15, Resulting Numbers: [74, 15] Generated Node #0,1,2: 72:[74, 15] Operation: 29-14=15 Exploring Operation: 74-29=45, Resulting Numbers: [14, 45] Generated Node #0,1,3: 72:[14, 45] Operation: 74-29=45 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[74, 15], Operations: ['36-22=14', '29-14=15'] Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,72 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[74, 43], Operations: ['36-22=14', '29+14=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,72 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[14, 45], Operations: ['36-22=14', '74-29=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,72 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[29, 60], Operations: ['36-22=14', '74-14=60'] Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,72 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 72:[7, 38], Operations: ['29-22=7', '74-36=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,72 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[36, 67], Operations: ['29-22=7', '74-7=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,72 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[74, 29], Operations: ['29-22=7', '36-7=29'] Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 74+29=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 74*29=2146, Resulting Numbers: [2146] 2146,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[36, 81], Operations: ['29-22=7', '74+7=81'] Exploring Operation: 36+81=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 36*81=2916, Resulting Numbers: [2916] 2916,72 unequal: No Solution Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,72 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 1, 86, 5, 99 ]
64
[ "99-86=13", "5*13=65", "65-1=64" ]
Current State: 64:[1, 86, 5, 99], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [1, 5, 13] Generated Node #2: [1, 5, 13] from Operation: 99-86=13 Current State: 64:[1, 5, 13], Operations: ['99-86=13'] Exploring Operation: 5*13=65, Resulting Numbers: [1, 65] Generated Node #3: [1, 65] from Operation: 5*13=65 Current State: 64:[1, 65], Operations: ['99-86=13', '5*13=65'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[1, 86, 5, 99], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [1, 5, 13] Generated Node #0,0: 64:[1, 5, 13] Operation: 99-86=13 Moving to Node #0,0 Current State: 64:[1, 5, 13], Operations: ['99-86=13'] Exploring Operation: 13-5=8, Resulting Numbers: [1, 8] Generated Node #0,0,0: 64:[1, 8] Operation: 13-5=8 Moving to Node #0,0,0 Current State: 64:[1, 8], Operations: ['99-86=13', '13-5=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,64 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 29, 16, 68, 90 ]
35
[ "29-16=13", "90-68=22", "13+22=35" ]
Current State: 35:[29, 16, 68, 90], Operations: [] Exploring Operation: 29-16=13, Resulting Numbers: [68, 90, 13] Generated Node #2: [68, 90, 13] from Operation: 29-16=13 Current State: 35:[68, 90, 13], Operations: ['29-16=13'] Exploring Operation: 90-68=22, Resulting Numbers: [13, 22] Generated Node #3: [13, 22] from Operation: 90-68=22 Current State: 35:[13, 22], Operations: ['29-16=13', '90-68=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[29, 16, 68, 90], Operations: [] Exploring Operation: 68-29=39, Resulting Numbers: [16, 90, 39] Generated Node #0,0: 35:[16, 90, 39] Operation: 68-29=39 Exploring Operation: 90-68=22, Resulting Numbers: [29, 16, 22] Generated Node #0,1: 35:[29, 16, 22] Operation: 90-68=22 Exploring Operation: 90-29=61, Resulting Numbers: [16, 68, 61] Generated Node #0,2: 35:[16, 68, 61] Operation: 90-29=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[29, 16, 22], Operations: ['90-68=22'] Exploring Operation: 29-22=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 35:[16, 7] Operation: 29-22=7 Exploring Operation: 16+22=38, Resulting Numbers: [29, 38] Generated Node #0,1,1: 35:[29, 38] Operation: 16+22=38 Exploring Operation: 22-16=6, Resulting Numbers: [29, 6] Generated Node #0,1,2: 35:[29, 6] Operation: 22-16=6 Moving to Node #0,1,2 Current State: 35:[29, 6], Operations: ['90-68=22', '22-16=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[29, 16, 68, 90], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [29, 16, 22] Generated Node #0,1: 35:[29, 16, 22] Operation: 90-68=22 Moving to Node #0,1 Current State: 35:[29, 16, 22], Operations: ['90-68=22'] Exploring Operation: 22-16=6, Resulting Numbers: [29, 6] Generated Node #0,1,2: 35:[29, 6] Operation: 22-16=6 Moving to Node #0,1,2 Current State: 35:[29, 6], Operations: ['90-68=22', '22-16=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 68, 30, 26, 47 ]
32
[ "68+26=94", "94/47=2", "30+2=32" ]
Current State: 32:[68, 30, 26, 47], Operations: [] Exploring Operation: 68+26=94, Resulting Numbers: [30, 47, 94] Generated Node #2: [30, 47, 94] from Operation: 68+26=94 Current State: 32:[30, 47, 94], Operations: ['68+26=94'] Exploring Operation: 94/47=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 94/47=2 Current State: 32:[30, 2], Operations: ['68+26=94', '94/47=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[68, 30, 26, 47], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [26, 47, 38] Generated Node #0,0: 32:[26, 47, 38] Operation: 68-30=38 Exploring Operation: 68-26=42, Resulting Numbers: [30, 47, 42] Generated Node #0,1: 32:[30, 47, 42] Operation: 68-26=42 Exploring Operation: 68-47=21, Resulting Numbers: [30, 26, 21] Generated Node #0,2: 32:[30, 26, 21] Operation: 68-47=21 Exploring Operation: 47-30=17, Resulting Numbers: [68, 26, 17] Generated Node #0,3: 32:[68, 26, 17] Operation: 47-30=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[30, 26, 21], Operations: ['68-47=21'] Exploring Operation: 26+21=47, Resulting Numbers: [30, 47] Generated Node #0,2,0: 32:[30, 47] Operation: 26+21=47 Exploring Operation: 30-26=4, Resulting Numbers: [21, 4] Generated Node #0,2,1: 32:[21, 4] Operation: 30-26=4 Exploring Operation: 30-21=9, Resulting Numbers: [26, 9] Generated Node #0,2,2: 32:[26, 9] Operation: 30-21=9 Exploring Operation: 26-21=5, Resulting Numbers: [30, 5] Generated Node #0,2,3: 32:[30, 5] Operation: 26-21=5 Moving to Node #0,2,3 Current State: 32:[30, 5], Operations: ['68-47=21', '26-21=5'] Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,32 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[21, 4], Operations: ['68-47=21', '30-26=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,32 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[26, 9], Operations: ['68-47=21', '30-21=9'] Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,32 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[30, 47], Operations: ['68-47=21', '26+21=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,32 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[26, 47, 38], Operations: ['68-30=38'] Exploring Operation: 47-38=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 32:[26, 9] Operation: 47-38=9 Exploring Operation: 26+47=73, Resulting Numbers: [38, 73] Generated Node #0,0,1: 32:[38, 73] Operation: 26+47=73 Exploring Operation: 38-26=12, Resulting Numbers: [47, 12] Generated Node #0,0,2: 32:[47, 12] Operation: 38-26=12 Exploring Operation: 47-26=21, Resulting Numbers: [38, 21] Generated Node #0,0,3: 32:[38, 21] Operation: 47-26=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[26, 9], Operations: ['68-30=38', '47-38=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,32 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 32:[38, 21], Operations: ['68-30=38', '47-26=21'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[47, 12], Operations: ['68-30=38', '38-26=12'] Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[38, 73], Operations: ['68-30=38', '26+47=73'] Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 38+73=111, Resulting Numbers: [111] 111,32 unequal: No Solution Exploring Operation: 38*73=2774, Resulting Numbers: [2774] 2774,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[30, 47, 42], Operations: ['68-26=42'] Exploring Operation: 30+47=77, Resulting Numbers: [42, 77] Generated Node #0,1,0: 32:[42, 77] Operation: 30+47=77 Exploring Operation: 47-30=17, Resulting Numbers: [42, 17] Generated Node #0,1,1: 32:[42, 17] Operation: 47-30=17 Exploring Operation: 47-42=5, Resulting Numbers: [30, 5] Generated Node #0,1,2: 32:[30, 5] Operation: 47-42=5 Exploring Operation: 42-30=12, Resulting Numbers: [47, 12] Generated Node #0,1,3: 32:[47, 12] Operation: 42-30=12 Moving to Node #0,1,2 Current State: 32:[30, 5], Operations: ['68-26=42', '47-42=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,32 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[42, 17], Operations: ['68-26=42', '47-30=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,32 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[47, 12], Operations: ['68-26=42', '42-30=12'] Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[42, 77], Operations: ['68-26=42', '30+47=77'] Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[68, 26, 17], Operations: ['47-30=17'] Exploring Operation: 68-17=51, Resulting Numbers: [26, 51] Generated Node #0,3,0: 32:[26, 51] Operation: 68-17=51 Exploring Operation: 68/17=4, Resulting Numbers: [26, 4] Generated Node #0,3,1: 32:[26, 4] Operation: 68/17=4 Exploring Operation: 68-26=42, Resulting Numbers: [17, 42] Generated Node #0,3,2: 32:[17, 42] Operation: 68-26=42 Exploring Operation: 26-17=9, Resulting Numbers: [68, 9] Generated Node #0,3,3: 32:[68, 9] Operation: 26-17=9 Moving to Node #0,3,1 Current State: 32:[26, 4], Operations: ['47-30=17', '68/17=4'] Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,32 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[17, 42], Operations: ['47-30=17', '68-26=42'] Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[26, 51], Operations: ['47-30=17', '68-17=51'] Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,32 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[68, 9], Operations: ['47-30=17', '26-17=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,32 unequal: No Solution Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,32 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
[ 35, 48, 40, 8 ]
49
[ "48+8=56", "35*56=1960", "1960/40=49" ]
Current State: 49:[35, 48, 40, 8], Operations: [] Exploring Operation: 48+8=56, Resulting Numbers: [35, 40, 56] Generated Node #2: [35, 40, 56] from Operation: 48+8=56 Current State: 49:[35, 40, 56], Operations: ['48+8=56'] Exploring Operation: 35*56=1960, Resulting Numbers: [40, 1960] Generated Node #3: [40, 1960] from Operation: 35*56=1960 Current State: 49:[40, 1960], Operations: ['48+8=56', '35*56=1960'] Exploring Operation: 1960/40=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[35, 48, 40, 8], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [48, 8, 5] Generated Node #0,0: 49:[48, 8, 5] Operation: 40-35=5 Moving to Node #0,0 Current State: 49:[48, 8, 5], Operations: ['40-35=5'] Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 49:[5, 6] Operation: 48/8=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[5, 6], Operations: ['40-35=5', '48/8=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 99, 22, 6, 73 ]
46
[ "99*6=594", "594/22=27", "73-27=46" ]
Current State: 46:[99, 22, 6, 73], Operations: [] Exploring Operation: 99*6=594, Resulting Numbers: [22, 73, 594] Generated Node #2: [22, 73, 594] from Operation: 99*6=594 Current State: 46:[22, 73, 594], Operations: ['99*6=594'] Exploring Operation: 594/22=27, Resulting Numbers: [73, 27] Generated Node #3: [73, 27] from Operation: 594/22=27 Current State: 46:[73, 27], Operations: ['99*6=594', '594/22=27'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[99, 22, 6, 73], Operations: [] Exploring Operation: 99-73=26, Resulting Numbers: [22, 6, 26] Generated Node #0,0: 46:[22, 6, 26] Operation: 99-73=26 Moving to Node #0,0 Current State: 46:[22, 6, 26], Operations: ['99-73=26'] Exploring Operation: 26-6=20, Resulting Numbers: [22, 20] Generated Node #0,0,0: 46:[22, 20] Operation: 26-6=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[22, 20], Operations: ['99-73=26', '26-6=20'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,46 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
[ 76, 20, 81, 6 ]
21
[ "76+20=96", "81-6=75", "96-75=21" ]
Current State: 21:[76, 20, 81, 6], Operations: [] Exploring Operation: 76+20=96, Resulting Numbers: [81, 6, 96] Generated Node #2: [81, 6, 96] from Operation: 76+20=96 Current State: 21:[81, 6, 96], Operations: ['76+20=96'] Exploring Operation: 81-6=75, Resulting Numbers: [96, 75] Generated Node #3: [96, 75] from Operation: 81-6=75 Current State: 21:[96, 75], Operations: ['76+20=96', '81-6=75'] Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[76, 20, 81, 6], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [81, 6, 56] Generated Node #0,0: 21:[81, 6, 56] Operation: 76-20=56 Exploring Operation: 81-76=5, Resulting Numbers: [20, 6, 5] Generated Node #0,1: 21:[20, 6, 5] Operation: 81-76=5 Moving to Node #0,1 Current State: 21:[20, 6, 5], Operations: ['81-76=5'] Exploring Operation: 6-5=1, Resulting Numbers: [20, 1] Generated Node #0,1,0: 21:[20, 1] Operation: 6-5=1 Exploring Operation: 20/5=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 21:[6, 4] Operation: 20/5=4 Moving to Node #0,0 Current State: 21:[81, 6, 56], Operations: ['76-20=56'] Exploring Operation: 81-56=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 21:[6, 25] Operation: 81-56=25 Exploring Operation: 81-6=75, Resulting Numbers: [56, 75] Generated Node #0,0,1: 21:[56, 75] Operation: 81-6=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[6, 25], Operations: ['76-20=56', '81-56=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,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,1 Current State: 21:[56, 75], Operations: ['76-20=56', '81-6=75'] Exploring Operation: 56+75=131, Resulting Numbers: [131] 131,21 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,21 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: 21:[6, 4], Operations: ['81-76=5', '20/5=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[20, 1], Operations: ['81-76=5', '6-5=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[76, 20, 81, 6], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [20, 6, 5] Generated Node #0,1: 21:[20, 6, 5] Operation: 81-76=5 Moving to Node #0,1 Current State: 21:[20, 6, 5], Operations: ['81-76=5'] Exploring Operation: 6-5=1, Resulting Numbers: [20, 1] Generated Node #0,1,0: 21:[20, 1] Operation: 6-5=1 Moving to Node #0,1,0 Current State: 21:[20, 1], Operations: ['81-76=5', '6-5=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 90, 66, 6, 89 ]
85
[ "90-66=24", "24/6=4", "89-4=85" ]
Current State: 85:[90, 66, 6, 89], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [6, 89, 24] Generated Node #2: [6, 89, 24] from Operation: 90-66=24 Current State: 85:[6, 89, 24], Operations: ['90-66=24'] Exploring Operation: 24/6=4, Resulting Numbers: [89, 4] Generated Node #3: [89, 4] from Operation: 24/6=4 Current State: 85:[89, 4], Operations: ['90-66=24', '24/6=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[90, 66, 6, 89], Operations: [] Exploring Operation: 66/6=11, Resulting Numbers: [90, 89, 11] Generated Node #0,0: 85:[90, 89, 11] Operation: 66/6=11 Exploring Operation: 89-66=23, Resulting Numbers: [90, 6, 23] Generated Node #0,1: 85:[90, 6, 23] Operation: 89-66=23 Exploring Operation: 90-66=24, Resulting Numbers: [6, 89, 24] Generated Node #0,2: 85:[6, 89, 24] Operation: 90-66=24 Moving to Node #0,1 Current State: 85:[90, 6, 23], Operations: ['89-66=23'] Exploring Operation: 90/6=15, Resulting Numbers: [23, 15] Generated Node #0,1,0: 85:[23, 15] Operation: 90/6=15 Exploring Operation: 23-6=17, Resulting Numbers: [90, 17] Generated Node #0,1,1: 85:[90, 17] Operation: 23-6=17 Exploring Operation: 90-6=84, Resulting Numbers: [23, 84] Generated Node #0,1,2: 85:[23, 84] Operation: 90-6=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[90, 17], Operations: ['89-66=23', '23-6=17'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,85 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,85 unequal: No Solution Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,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:[23, 84], Operations: ['89-66=23', '90-6=84'] Exploring Operation: 23+84=107, Resulting Numbers: [107] 107,85 unequal: No Solution Exploring Operation: 23*84=1932, Resulting Numbers: [1932] 1932,85 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,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:[23, 15], Operations: ['89-66=23', '90/6=15'] Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,85 unequal: No Solution Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,85 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,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:[6, 89, 24], Operations: ['90-66=24'] Exploring Operation: 89-6=83, Resulting Numbers: [24, 83] Generated Node #0,2,0: 85:[24, 83] Operation: 89-6=83 Exploring Operation: 24-6=18, Resulting Numbers: [89, 18] Generated Node #0,2,1: 85:[89, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [89, 4] Generated Node #0,2,2: 85:[89, 4] Operation: 24/6=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[89, 18], Operations: ['90-66=24', '24-6=18'] Exploring Operation: 89*18=1602, Resulting Numbers: [1602] 1602,85 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 89+18=107, Resulting Numbers: [107] 107,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,2,2 Current State: 85:[89, 4], Operations: ['90-66=24', '24/6=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,85 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[90, 66, 6, 89], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [6, 89, 24] Generated Node #0,2: 85:[6, 89, 24] Operation: 90-66=24 Moving to Node #0,2 Current State: 85:[6, 89, 24], Operations: ['90-66=24'] Exploring Operation: 24/6=4, Resulting Numbers: [89, 4] Generated Node #0,2,2: 85:[89, 4] Operation: 24/6=4 Moving to Node #0,2,2 Current State: 85:[89, 4], Operations: ['90-66=24', '24/6=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 38, 16, 40, 37 ]
56
[ "38-37=1", "16+40=56", "1*56=56" ]
Current State: 56:[38, 16, 40, 37], Operations: [] Exploring Operation: 38-37=1, Resulting Numbers: [16, 40, 1] Generated Node #2: [16, 40, 1] from Operation: 38-37=1 Current State: 56:[16, 40, 1], Operations: ['38-37=1'] Exploring Operation: 16+40=56, Resulting Numbers: [1, 56] Generated Node #3: [1, 56] from Operation: 16+40=56 Current State: 56:[1, 56], Operations: ['38-37=1', '16+40=56'] Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[38, 16, 40, 37], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [38, 16, 3] Generated Node #0,0: 56:[38, 16, 3] Operation: 40-37=3 Exploring Operation: 38+16=54, Resulting Numbers: [40, 37, 54] Generated Node #0,1: 56:[40, 37, 54] Operation: 38+16=54 Exploring Operation: 38-37=1, Resulting Numbers: [16, 40, 1] Generated Node #0,2: 56:[16, 40, 1] Operation: 38-37=1 Exploring Operation: 40-38=2, Resulting Numbers: [16, 37, 2] Generated Node #0,3: 56:[16, 37, 2] Operation: 40-38=2 Exploring Operation: 16+40=56, Resulting Numbers: [38, 37, 56] Generated Node #0,4: 56:[38, 37, 56] Operation: 16+40=56 Moving to Node #0,3 Current State: 56:[16, 37, 2], Operations: ['40-38=2'] Exploring Operation: 37-16=21, Resulting Numbers: [2, 21] Generated Node #0,3,0: 56:[2, 21] Operation: 37-16=21 Exploring Operation: 16-2=14, Resulting Numbers: [37, 14] Generated Node #0,3,1: 56:[37, 14] Operation: 16-2=14 Exploring Operation: 37-2=35, Resulting Numbers: [16, 35] Generated Node #0,3,2: 56:[16, 35] Operation: 37-2=35 Exploring Operation: 16+37=53, Resulting Numbers: [2, 53] Generated Node #0,3,3: 56:[2, 53] Operation: 16+37=53 Exploring Operation: 16/2=8, Resulting Numbers: [37, 8] Generated Node #0,3,4: 56:[37, 8] Operation: 16/2=8 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[2, 53], Operations: ['40-38=2', '16+37=53'] Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,56 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[2, 21], Operations: ['40-38=2', '37-16=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[37, 14], Operations: ['40-38=2', '16-2=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[16, 35], Operations: ['40-38=2', '37-2=35'] Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[37, 8], Operations: ['40-38=2', '16/2=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,56 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,56 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: 56:[38, 16, 3], Operations: ['40-37=3'] Exploring Operation: 38-3=35, Resulting Numbers: [16, 35] Generated Node #0,0,0: 56:[16, 35] Operation: 38-3=35 Exploring Operation: 38+16=54, Resulting Numbers: [3, 54] Generated Node #0,0,1: 56:[3, 54] Operation: 38+16=54 Exploring Operation: 38+3=41, Resulting Numbers: [16, 41] Generated Node #0,0,2: 56:[16, 41] Operation: 38+3=41 Exploring Operation: 38-16=22, Resulting Numbers: [3, 22] Generated Node #0,0,3: 56:[3, 22] Operation: 38-16=22 Exploring Operation: 16-3=13, Resulting Numbers: [38, 13] Generated Node #0,0,4: 56:[38, 13] Operation: 16-3=13 Moving to Node #0,2 Current State: 56:[16, 40, 1], Operations: ['38-37=1'] Exploring Operation: 40-1=39, Resulting Numbers: [16, 39] Generated Node #0,2,0: 56:[16, 39] Operation: 40-1=39 Exploring Operation: 16-1=15, Resulting Numbers: [40, 15] Generated Node #0,2,1: 56:[40, 15] Operation: 16-1=15 Exploring Operation: 16*1=16, Resulting Numbers: [40, 16] Generated Node #0,2,2: 56:[40, 16] Operation: 16*1=16 Exploring Operation: 16+40=56, Resulting Numbers: [1, 56] Generated Node #0,2,3: 56:[1, 56] Operation: 16+40=56 Exploring Operation: 40-16=24, Resulting Numbers: [1, 24] Generated Node #0,2,4: 56:[1, 24] Operation: 40-16=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[1, 56], Operations: ['38-37=1', '16+40=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[38, 16, 40, 37], Operations: [] Exploring Operation: 38-37=1, Resulting Numbers: [16, 40, 1] Generated Node #0,2: 56:[16, 40, 1] Operation: 38-37=1 Moving to Node #0,2 Current State: 56:[16, 40, 1], Operations: ['38-37=1'] Exploring Operation: 16+40=56, Resulting Numbers: [1, 56] Generated Node #0,2,3: 56:[1, 56] Operation: 16+40=56 Moving to Node #0,2,3 Current State: 56:[1, 56], Operations: ['38-37=1', '16+40=56'] Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 7, 84, 28, 59 ]
99
[ "84/7=12", "28+59=87", "12+87=99" ]
Current State: 99:[7, 84, 28, 59], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [28, 59, 12] Generated Node #2: [28, 59, 12] from Operation: 84/7=12 Current State: 99:[28, 59, 12], Operations: ['84/7=12'] Exploring Operation: 28+59=87, Resulting Numbers: [12, 87] Generated Node #3: [12, 87] from Operation: 28+59=87 Current State: 99:[12, 87], Operations: ['84/7=12', '28+59=87'] Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[7, 84, 28, 59], Operations: [] Exploring Operation: 28+59=87, Resulting Numbers: [7, 84, 87] Generated Node #0,0: 99:[7, 84, 87] Operation: 28+59=87 Exploring Operation: 84-59=25, Resulting Numbers: [7, 28, 25] Generated Node #0,1: 99:[7, 28, 25] Operation: 84-59=25 Exploring Operation: 84/28=3, Resulting Numbers: [7, 59, 3] Generated Node #0,2: 99:[7, 59, 3] Operation: 84/28=3 Exploring Operation: 59-28=31, Resulting Numbers: [7, 84, 31] Generated Node #0,3: 99:[7, 84, 31] Operation: 59-28=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[7, 28, 25], Operations: ['84-59=25'] Exploring Operation: 28-25=3, Resulting Numbers: [7, 3] Generated Node #0,1,0: 99:[7, 3] Operation: 28-25=3 Exploring Operation: 28/7=4, Resulting Numbers: [25, 4] Generated Node #0,1,1: 99:[25, 4] Operation: 28/7=4 Exploring Operation: 7+25=32, Resulting Numbers: [28, 32] Generated Node #0,1,2: 99:[28, 32] Operation: 7+25=32 Exploring Operation: 7+28=35, Resulting Numbers: [25, 35] Generated Node #0,1,3: 99:[25, 35] Operation: 7+28=35 Moving to Node #0,1,0 Current State: 99:[7, 3], Operations: ['84-59=25', '28-25=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[28, 32], Operations: ['84-59=25', '7+25=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,99 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[25, 4], Operations: ['84-59=25', '28/7=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[25, 35], Operations: ['84-59=25', '7+28=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,99 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[7, 84, 31], Operations: ['59-28=31'] Exploring Operation: 7+84=91, Resulting Numbers: [31, 91] Generated Node #0,3,0: 99:[31, 91] Operation: 7+84=91 Exploring Operation: 7+31=38, Resulting Numbers: [84, 38] Generated Node #0,3,1: 99:[84, 38] Operation: 7+31=38 Exploring Operation: 84+31=115, Resulting Numbers: [7, 115] Generated Node #0,3,2: 99:[7, 115] Operation: 84+31=115 Exploring Operation: 84/7=12, Resulting Numbers: [31, 12] Generated Node #0,3,3: 99:[31, 12] Operation: 84/7=12 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[31, 12], Operations: ['59-28=31', '84/7=12'] Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,99 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[31, 91], Operations: ['59-28=31', '7+84=91'] Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,99 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[7, 115], Operations: ['59-28=31', '84+31=115'] Exploring Operation: 115-7=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 7*115=805, Resulting Numbers: [805] 805,99 unequal: No Solution Exploring Operation: 7+115=122, Resulting Numbers: [122] 122,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[84, 38], Operations: ['59-28=31', '7+31=38'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,99 unequal: No Solution Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[7, 59, 3], Operations: ['84/28=3'] Exploring Operation: 59-7=52, Resulting Numbers: [3, 52] Generated Node #0,2,0: 99:[3, 52] Operation: 59-7=52 Exploring Operation: 7-3=4, Resulting Numbers: [59, 4] Generated Node #0,2,1: 99:[59, 4] Operation: 7-3=4 Exploring Operation: 59-3=56, Resulting Numbers: [7, 56] Generated Node #0,2,2: 99:[7, 56] Operation: 59-3=56 Exploring Operation: 7+3=10, Resulting Numbers: [59, 10] Generated Node #0,2,3: 99:[59, 10] Operation: 7+3=10 Moving to Node #0,2,0 Current State: 99:[3, 52], Operations: ['84/28=3', '59-7=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,99 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[7, 56], Operations: ['84/28=3', '59-3=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,99 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[59, 10], Operations: ['84/28=3', '7+3=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,99 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[59, 4], Operations: ['84/28=3', '7-3=4'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[7, 84, 87], Operations: ['28+59=87'] Exploring Operation: 7+84=91, Resulting Numbers: [87, 91] Generated Node #0,0,0: 99:[87, 91] Operation: 7+84=91 Exploring Operation: 7+87=94, Resulting Numbers: [84, 94] Generated Node #0,0,1: 99:[84, 94] Operation: 7+87=94 Exploring Operation: 84/7=12, Resulting Numbers: [87, 12] Generated Node #0,0,2: 99:[87, 12] Operation: 84/7=12 Exploring Operation: 87-84=3, Resulting Numbers: [7, 3] Generated Node #0,0,3: 99:[7, 3] Operation: 87-84=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 99:[7, 3], Operations: ['28+59=87', '87-84=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 99:[87, 12], Operations: ['28+59=87', '84/7=12'] Exploring Operation: 87*12=1044, Resulting Numbers: [1044] 1044,99 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[7, 84, 28, 59], Operations: [] Exploring Operation: 28+59=87, Resulting Numbers: [7, 84, 87] Generated Node #0,0: 99:[7, 84, 87] Operation: 28+59=87 Moving to Node #0,0 Current State: 99:[7, 84, 87], Operations: ['28+59=87'] Exploring Operation: 84/7=12, Resulting Numbers: [87, 12] Generated Node #0,0,2: 99:[87, 12] Operation: 84/7=12 Moving to Node #0,0,2 Current State: 99:[87, 12], Operations: ['28+59=87', '84/7=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.94184
hs_4
mult_heuristic
[ 73, 71, 2, 5 ]
48
[ "73+71=144", "5-2=3", "144/3=48" ]
Current State: 48:[73, 71, 2, 5], Operations: [] Exploring Operation: 73+71=144, Resulting Numbers: [2, 5, 144] Generated Node #2: [2, 5, 144] from Operation: 73+71=144 Current State: 48:[2, 5, 144], Operations: ['73+71=144'] Exploring Operation: 5-2=3, Resulting Numbers: [144, 3] Generated Node #3: [144, 3] from Operation: 5-2=3 Current State: 48:[144, 3], Operations: ['73+71=144', '5-2=3'] Exploring Operation: 144/3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[73, 71, 2, 5], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [2, 5, 2] Generated Node #0,0: 48:[2, 5, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[2, 5, 2], Operations: ['73-71=2'] Exploring Operation: 5-2=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 48:[2, 3] Operation: 5-2=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[2, 3], Operations: ['73-71=2', '5-2=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 42, 47, 97, 4 ]
96
[ "47-42=5", "97+4=101", "101-5=96" ]
Current State: 96:[42, 47, 97, 4], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [97, 4, 5] Generated Node #2: [97, 4, 5] from Operation: 47-42=5 Current State: 96:[97, 4, 5], Operations: ['47-42=5'] Exploring Operation: 97+4=101, Resulting Numbers: [5, 101] Generated Node #3: [5, 101] from Operation: 97+4=101 Current State: 96:[5, 101], Operations: ['47-42=5', '97+4=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[42, 47, 97, 4], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [47, 4, 55] Generated Node #0,0: 96:[47, 4, 55] Operation: 97-42=55 Exploring Operation: 47-42=5, Resulting Numbers: [97, 4, 5] Generated Node #0,1: 96:[97, 4, 5] Operation: 47-42=5 Exploring Operation: 42+4=46, Resulting Numbers: [47, 97, 46] Generated Node #0,2: 96:[47, 97, 46] Operation: 42+4=46 Exploring Operation: 42+47=89, Resulting Numbers: [97, 4, 89] Generated Node #0,3: 96:[97, 4, 89] Operation: 42+47=89 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[97, 4, 5], Operations: ['47-42=5'] Exploring Operation: 5-4=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 96:[97, 1] Operation: 5-4=1 Exploring Operation: 97-4=93, Resulting Numbers: [5, 93] Generated Node #0,1,1: 96:[5, 93] Operation: 97-4=93 Exploring Operation: 97-5=92, Resulting Numbers: [4, 92] Generated Node #0,1,2: 96:[4, 92] Operation: 97-5=92 Exploring Operation: 4+5=9, Resulting Numbers: [97, 9] Generated Node #0,1,3: 96:[97, 9] Operation: 4+5=9 Moving to Node #0,1,0 Current State: 96:[97, 1], Operations: ['47-42=5', '5-4=1'] Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[42, 47, 97, 4], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [97, 4, 5] Generated Node #0,1: 96:[97, 4, 5] Operation: 47-42=5 Moving to Node #0,1 Current State: 96:[97, 4, 5], Operations: ['47-42=5'] Exploring Operation: 5-4=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 96:[97, 1] Operation: 5-4=1 Moving to Node #0,1,0 Current State: 96:[97, 1], Operations: ['47-42=5', '5-4=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 79, 45, 70, 5 ]
59
[ "79+45=124", "70-5=65", "124-65=59" ]
Current State: 59:[79, 45, 70, 5], Operations: [] Exploring Operation: 79+45=124, Resulting Numbers: [70, 5, 124] Generated Node #2: [70, 5, 124] from Operation: 79+45=124 Current State: 59:[70, 5, 124], Operations: ['79+45=124'] Exploring Operation: 70-5=65, Resulting Numbers: [124, 65] Generated Node #3: [124, 65] from Operation: 70-5=65 Current State: 59:[124, 65], Operations: ['79+45=124', '70-5=65'] Exploring Operation: 124-65=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[79, 45, 70, 5], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [79, 70, 50] Generated Node #0,0: 59:[79, 70, 50] Operation: 45+5=50 Exploring Operation: 70-5=65, Resulting Numbers: [79, 45, 65] Generated Node #0,1: 59:[79, 45, 65] Operation: 70-5=65 Exploring Operation: 79-5=74, Resulting Numbers: [45, 70, 74] Generated Node #0,2: 59:[45, 70, 74] Operation: 79-5=74 Moving to Node #0,0 Current State: 59:[79, 70, 50], Operations: ['45+5=50'] Exploring Operation: 79-70=9, Resulting Numbers: [50, 9] Generated Node #0,0,0: 59:[50, 9] Operation: 79-70=9 Exploring Operation: 79-50=29, Resulting Numbers: [70, 29] Generated Node #0,0,1: 59:[70, 29] Operation: 79-50=29 Exploring Operation: 70-50=20, Resulting Numbers: [79, 20] Generated Node #0,0,2: 59:[79, 20] Operation: 70-50=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[70, 29], Operations: ['45+5=50', '79-50=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[50, 9], Operations: ['45+5=50', '79-70=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,59 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[79, 45, 70, 5], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [79, 70, 50] Generated Node #0,0: 59:[79, 70, 50] Operation: 45+5=50 Moving to Node #0,0 Current State: 59:[79, 70, 50], Operations: ['45+5=50'] Exploring Operation: 79-70=9, Resulting Numbers: [50, 9] Generated Node #0,0,0: 59:[50, 9] Operation: 79-70=9 Moving to Node #0,0,0 Current State: 59:[50, 9], Operations: ['45+5=50', '79-70=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 22, 43, 8, 46 ]
75
[ "43-22=21", "8+46=54", "21+54=75" ]
Current State: 75:[22, 43, 8, 46], Operations: [] Exploring Operation: 43-22=21, Resulting Numbers: [8, 46, 21] Generated Node #2: [8, 46, 21] from Operation: 43-22=21 Current State: 75:[8, 46, 21], Operations: ['43-22=21'] Exploring Operation: 8+46=54, Resulting Numbers: [21, 54] Generated Node #3: [21, 54] from Operation: 8+46=54 Current State: 75:[21, 54], Operations: ['43-22=21', '8+46=54'] Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[22, 43, 8, 46], Operations: [] Exploring Operation: 43+46=89, Resulting Numbers: [22, 8, 89] Generated Node #0,0: 75:[22, 8, 89] Operation: 43+46=89 Exploring Operation: 22+46=68, Resulting Numbers: [43, 8, 68] Generated Node #0,1: 75:[43, 8, 68] Operation: 22+46=68 Exploring Operation: 46-43=3, Resulting Numbers: [22, 8, 3] Generated Node #0,2: 75:[22, 8, 3] Operation: 46-43=3 Exploring Operation: 46-22=24, Resulting Numbers: [43, 8, 24] Generated Node #0,3: 75:[43, 8, 24] Operation: 46-22=24 Exploring Operation: 43-22=21, Resulting Numbers: [8, 46, 21] Generated Node #0,4: 75:[8, 46, 21] Operation: 43-22=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[22, 8, 3], Operations: ['46-43=3'] Exploring Operation: 22+8=30, Resulting Numbers: [3, 30] Generated Node #0,2,0: 75:[3, 30] Operation: 22+8=30 Exploring Operation: 8-3=5, Resulting Numbers: [22, 5] Generated Node #0,2,1: 75:[22, 5] Operation: 8-3=5 Exploring Operation: 8*3=24, Resulting Numbers: [22, 24] Generated Node #0,2,2: 75:[22, 24] Operation: 8*3=24 Exploring Operation: 22-8=14, Resulting Numbers: [3, 14] Generated Node #0,2,3: 75:[3, 14] Operation: 22-8=14 Exploring Operation: 22+3=25, Resulting Numbers: [8, 25] Generated Node #0,2,4: 75:[8, 25] Operation: 22+3=25 Moving to Node #0,2,3 Current State: 75:[3, 14], Operations: ['46-43=3', '22-8=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[8, 25], Operations: ['46-43=3', '22+3=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[22, 5], Operations: ['46-43=3', '8-3=5'] Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,75 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[22, 24], Operations: ['46-43=3', '8*3=24'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,75 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[3, 30], Operations: ['46-43=3', '22+8=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[22, 8, 89], Operations: ['43+46=89'] Exploring Operation: 22-8=14, Resulting Numbers: [89, 14] Generated Node #0,0,0: 75:[89, 14] Operation: 22-8=14 Exploring Operation: 8+89=97, Resulting Numbers: [22, 97] Generated Node #0,0,1: 75:[22, 97] Operation: 8+89=97 Exploring Operation: 89-8=81, Resulting Numbers: [22, 81] Generated Node #0,0,2: 75:[22, 81] Operation: 89-8=81 Exploring Operation: 89-22=67, Resulting Numbers: [8, 67] Generated Node #0,0,3: 75:[8, 67] Operation: 89-22=67 Exploring Operation: 22+8=30, Resulting Numbers: [89, 30] Generated Node #0,0,4: 75:[89, 30] Operation: 22+8=30 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[22, 81], Operations: ['43+46=89', '89-8=81'] Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,75 unequal: No Solution Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[8, 67], Operations: ['43+46=89', '89-22=67'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[22, 43, 8, 46], Operations: [] Exploring Operation: 43+46=89, Resulting Numbers: [22, 8, 89] Generated Node #0,0: 75:[22, 8, 89] Operation: 43+46=89 Moving to Node #0,0 Current State: 75:[22, 8, 89], Operations: ['43+46=89'] Exploring Operation: 89-22=67, Resulting Numbers: [8, 67] Generated Node #0,0,3: 75:[8, 67] Operation: 89-22=67 Moving to Node #0,0,3 Current State: 75:[8, 67], Operations: ['43+46=89', '89-22=67'] Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 92, 85, 18, 39 ]
28
[ "92-85=7", "39-18=21", "7+21=28" ]
Current State: 28:[92, 85, 18, 39], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [18, 39, 7] Generated Node #2: [18, 39, 7] from Operation: 92-85=7 Current State: 28:[18, 39, 7], Operations: ['92-85=7'] Exploring Operation: 39-18=21, Resulting Numbers: [7, 21] Generated Node #3: [7, 21] from Operation: 39-18=21 Current State: 28:[7, 21], Operations: ['92-85=7', '39-18=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[92, 85, 18, 39], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [18, 39, 7] Generated Node #0,0: 28:[18, 39, 7] Operation: 92-85=7 Moving to Node #0,0 Current State: 28:[18, 39, 7], Operations: ['92-85=7'] Exploring Operation: 39-18=21, Resulting Numbers: [7, 21] Generated Node #0,0,0: 28:[7, 21] Operation: 39-18=21 Moving to Node #0,0,0 Current State: 28:[7, 21], Operations: ['92-85=7', '39-18=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[92, 85, 18, 39], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [18, 39, 7] Generated Node #0,0: 28:[18, 39, 7] Operation: 92-85=7 Moving to Node #0,0 Current State: 28:[18, 39, 7], Operations: ['92-85=7'] Exploring Operation: 39-18=21, Resulting Numbers: [7, 21] Generated Node #0,0,0: 28:[7, 21] Operation: 39-18=21 Moving to Node #0,0,0 Current State: 28:[7, 21], Operations: ['92-85=7', '39-18=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 39, 51, 98, 3 ]
42
[ "98-39=59", "51/3=17", "59-17=42" ]
Current State: 42:[39, 51, 98, 3], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [51, 3, 59] Generated Node #2: [51, 3, 59] from Operation: 98-39=59 Current State: 42:[51, 3, 59], Operations: ['98-39=59'] Exploring Operation: 51/3=17, Resulting Numbers: [59, 17] Generated Node #3: [59, 17] from Operation: 51/3=17 Current State: 42:[59, 17], Operations: ['98-39=59', '51/3=17'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[39, 51, 98, 3], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [39, 98, 17] Generated Node #0,0: 42:[39, 98, 17] Operation: 51/3=17 Exploring Operation: 39+3=42, Resulting Numbers: [51, 98, 42] Generated Node #0,1: 42:[51, 98, 42] Operation: 39+3=42 Exploring Operation: 98-51=47, Resulting Numbers: [39, 3, 47] Generated Node #0,2: 42:[39, 3, 47] Operation: 98-51=47 Exploring Operation: 51-39=12, Resulting Numbers: [98, 3, 12] Generated Node #0,3: 42:[98, 3, 12] Operation: 51-39=12 Exploring Operation: 98-39=59, Resulting Numbers: [51, 3, 59] Generated Node #0,4: 42:[51, 3, 59] Operation: 98-39=59 Moving to Node #0,2 Current State: 42:[39, 3, 47], Operations: ['98-51=47'] Exploring Operation: 39/3=13, Resulting Numbers: [47, 13] Generated Node #0,2,0: 42:[47, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [47, 36] Generated Node #0,2,1: 42:[47, 36] Operation: 39-3=36 Exploring Operation: 47-39=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 42:[3, 8] Operation: 47-39=8 Exploring Operation: 47-3=44, Resulting Numbers: [39, 44] Generated Node #0,2,3: 42:[39, 44] Operation: 47-3=44 Exploring Operation: 39+3=42, Resulting Numbers: [47, 42] Generated Node #0,2,4: 42:[47, 42] Operation: 39+3=42 Moving to Node #0,4 Current State: 42:[51, 3, 59], Operations: ['98-39=59'] Exploring Operation: 59-51=8, Resulting Numbers: [3, 8] Generated Node #0,4,0: 42:[3, 8] Operation: 59-51=8 Exploring Operation: 51/3=17, Resulting Numbers: [59, 17] Generated Node #0,4,1: 42:[59, 17] Operation: 51/3=17 Exploring Operation: 59-3=56, Resulting Numbers: [51, 56] Generated Node #0,4,2: 42:[51, 56] Operation: 59-3=56 Exploring Operation: 51-3=48, Resulting Numbers: [59, 48] Generated Node #0,4,3: 42:[59, 48] Operation: 51-3=48 Exploring Operation: 51+3=54, Resulting Numbers: [59, 54] Generated Node #0,4,4: 42:[59, 54] Operation: 51+3=54 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 42:[3, 8], Operations: ['98-39=59', '59-51=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 42:[59, 17], Operations: ['98-39=59', '51/3=17'] Exploring Operation: 59+17=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[39, 51, 98, 3], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [51, 3, 59] Generated Node #0,4: 42:[51, 3, 59] Operation: 98-39=59 Moving to Node #0,4 Current State: 42:[51, 3, 59], Operations: ['98-39=59'] Exploring Operation: 51/3=17, Resulting Numbers: [59, 17] Generated Node #0,4,1: 42:[59, 17] Operation: 51/3=17 Moving to Node #0,4,1 Current State: 42:[59, 17], Operations: ['98-39=59', '51/3=17'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 63, 82, 40, 7 ]
66
[ "82-63=19", "40+7=47", "19+47=66" ]
Current State: 66:[63, 82, 40, 7], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [40, 7, 19] Generated Node #2: [40, 7, 19] from Operation: 82-63=19 Current State: 66:[40, 7, 19], Operations: ['82-63=19'] Exploring Operation: 40+7=47, Resulting Numbers: [19, 47] Generated Node #3: [19, 47] from Operation: 40+7=47 Current State: 66:[19, 47], Operations: ['82-63=19', '40+7=47'] Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[63, 82, 40, 7], Operations: [] Exploring Operation: 82-7=75, Resulting Numbers: [63, 40, 75] Generated Node #0,0: 66:[63, 40, 75] Operation: 82-7=75 Exploring Operation: 82-40=42, Resulting Numbers: [63, 7, 42] Generated Node #0,1: 66:[63, 7, 42] Operation: 82-40=42 Exploring Operation: 63-40=23, Resulting Numbers: [82, 7, 23] Generated Node #0,2: 66:[82, 7, 23] Operation: 63-40=23 Exploring Operation: 82-63=19, Resulting Numbers: [40, 7, 19] Generated Node #0,3: 66:[40, 7, 19] Operation: 82-63=19 Exploring Operation: 40-7=33, Resulting Numbers: [63, 82, 33] Generated Node #0,4: 66:[63, 82, 33] Operation: 40-7=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[40, 7, 19], Operations: ['82-63=19'] Exploring Operation: 40-7=33, Resulting Numbers: [19, 33] Generated Node #0,3,0: 66:[19, 33] Operation: 40-7=33 Exploring Operation: 19-7=12, Resulting Numbers: [40, 12] Generated Node #0,3,1: 66:[40, 12] Operation: 19-7=12 Exploring Operation: 40-19=21, Resulting Numbers: [7, 21] Generated Node #0,3,2: 66:[7, 21] Operation: 40-19=21 Exploring Operation: 7+19=26, Resulting Numbers: [40, 26] Generated Node #0,3,3: 66:[40, 26] Operation: 7+19=26 Exploring Operation: 40+19=59, Resulting Numbers: [7, 59] Generated Node #0,3,4: 66:[7, 59] Operation: 40+19=59 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 66:[7, 21], Operations: ['82-63=19', '40-19=21'] Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,66 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 66:[19, 33], Operations: ['82-63=19', '40-7=33'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 66:[40, 12], Operations: ['82-63=19', '19-7=12'] Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,66 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 66:[7, 59], Operations: ['82-63=19', '40+19=59'] Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[63, 82, 40, 7], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [40, 7, 19] Generated Node #0,3: 66:[40, 7, 19] Operation: 82-63=19 Moving to Node #0,3 Current State: 66:[40, 7, 19], Operations: ['82-63=19'] Exploring Operation: 40+19=59, Resulting Numbers: [7, 59] Generated Node #0,3,4: 66:[7, 59] Operation: 40+19=59 Moving to Node #0,3,4 Current State: 66:[7, 59], Operations: ['82-63=19', '40+19=59'] Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 91, 71, 37, 81 ]
64
[ "91-71=20", "81-37=44", "20+44=64" ]
Current State: 64:[91, 71, 37, 81], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [37, 81, 20] Generated Node #2: [37, 81, 20] from Operation: 91-71=20 Current State: 64:[37, 81, 20], Operations: ['91-71=20'] Exploring Operation: 81-37=44, Resulting Numbers: [20, 44] Generated Node #3: [20, 44] from Operation: 81-37=44 Current State: 64:[20, 44], Operations: ['91-71=20', '81-37=44'] Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[91, 71, 37, 81], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [37, 81, 20] Generated Node #0,0: 64:[37, 81, 20] Operation: 91-71=20 Exploring Operation: 81-71=10, Resulting Numbers: [91, 37, 10] Generated Node #0,1: 64:[91, 37, 10] Operation: 81-71=10 Exploring Operation: 91-37=54, Resulting Numbers: [71, 81, 54] Generated Node #0,2: 64:[71, 81, 54] Operation: 91-37=54 Exploring Operation: 91-81=10, Resulting Numbers: [71, 37, 10] Generated Node #0,3: 64:[71, 37, 10] Operation: 91-81=10 Moving to Node #0,3 Current State: 64:[71, 37, 10], Operations: ['91-81=10'] Exploring Operation: 71-37=34, Resulting Numbers: [10, 34] Generated Node #0,3,0: 64:[10, 34] Operation: 71-37=34 Exploring Operation: 37-10=27, Resulting Numbers: [71, 27] Generated Node #0,3,1: 64:[71, 27] Operation: 37-10=27 Exploring Operation: 71-10=61, Resulting Numbers: [37, 61] Generated Node #0,3,2: 64:[37, 61] Operation: 71-10=61 Exploring Operation: 71+10=81, Resulting Numbers: [37, 81] Generated Node #0,3,3: 64:[37, 81] Operation: 71+10=81 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[10, 34], Operations: ['91-81=10', '71-37=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[37, 61], Operations: ['91-81=10', '71-10=61'] Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[71, 27], Operations: ['91-81=10', '37-10=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,64 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[37, 81], Operations: ['91-81=10', '71+10=81'] Exploring Operation: 37*81=2997, Resulting Numbers: [2997] 2997,64 unequal: No Solution Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 37+81=118, Resulting Numbers: [118] 118,64 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: 64:[37, 81, 20], Operations: ['91-71=20'] Exploring Operation: 37+20=57, Resulting Numbers: [81, 57] Generated Node #0,0,0: 64:[81, 57] Operation: 37+20=57 Exploring Operation: 37-20=17, Resulting Numbers: [81, 17] Generated Node #0,0,1: 64:[81, 17] Operation: 37-20=17 Exploring Operation: 81-37=44, Resulting Numbers: [20, 44] Generated Node #0,0,2: 64:[20, 44] Operation: 81-37=44 Exploring Operation: 81-20=61, Resulting Numbers: [37, 61] Generated Node #0,0,3: 64:[37, 61] Operation: 81-20=61 Moving to Node #0,2 Current State: 64:[71, 81, 54], Operations: ['91-37=54'] Exploring Operation: 81-71=10, Resulting Numbers: [54, 10] Generated Node #0,2,0: 64:[54, 10] Operation: 81-71=10 Exploring Operation: 71-54=17, Resulting Numbers: [81, 17] Generated Node #0,2,1: 64:[81, 17] Operation: 71-54=17 Exploring Operation: 81-54=27, Resulting Numbers: [71, 27] Generated Node #0,2,2: 64:[71, 27] Operation: 81-54=27 Exploring Operation: 71+54=125, Resulting Numbers: [81, 125] Generated Node #0,2,3: 64:[81, 125] Operation: 71+54=125 Moving to Node #0,1 Current State: 64:[91, 37, 10], Operations: ['81-71=10'] Exploring Operation: 37-10=27, Resulting Numbers: [91, 27] Generated Node #0,1,0: 64:[91, 27] Operation: 37-10=27 Exploring Operation: 91-10=81, Resulting Numbers: [37, 81] Generated Node #0,1,1: 64:[37, 81] Operation: 91-10=81 Exploring Operation: 91-37=54, Resulting Numbers: [10, 54] Generated Node #0,1,2: 64:[10, 54] Operation: 91-37=54 Exploring Operation: 91+10=101, Resulting Numbers: [37, 101] Generated Node #0,1,3: 64:[37, 101] Operation: 91+10=101 Moving to Node #0,0,3 Current State: 64:[37, 61], Operations: ['91-71=20', '81-20=61'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,64 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[71, 27], Operations: ['91-37=54', '81-54=27'] Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,64 unequal: No Solution Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[54, 10], Operations: ['91-37=54', '81-71=10'] Exploring Operation: 54*10=540, Resulting Numbers: [540] 540,64 unequal: No Solution Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[91, 71, 37, 81], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [71, 81, 54] Generated Node #0,2: 64:[71, 81, 54] Operation: 91-37=54 Moving to Node #0,2 Current State: 64:[71, 81, 54], Operations: ['91-37=54'] Exploring Operation: 81-71=10, Resulting Numbers: [54, 10] Generated Node #0,2,0: 64:[54, 10] Operation: 81-71=10 Moving to Node #0,2,0 Current State: 64:[54, 10], Operations: ['91-37=54', '81-71=10'] Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.961806
hs_4
sum_heuristic
[ 7, 48, 84, 4 ]
79
[ "7+84=91", "48/4=12", "91-12=79" ]
Current State: 79:[7, 48, 84, 4], Operations: [] Exploring Operation: 7+84=91, Resulting Numbers: [48, 4, 91] Generated Node #2: [48, 4, 91] from Operation: 7+84=91 Current State: 79:[48, 4, 91], Operations: ['7+84=91'] Exploring Operation: 48/4=12, Resulting Numbers: [91, 12] Generated Node #3: [91, 12] from Operation: 48/4=12 Current State: 79:[91, 12], Operations: ['7+84=91', '48/4=12'] Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[7, 48, 84, 4], Operations: [] Exploring Operation: 7+48=55, Resulting Numbers: [84, 4, 55] Generated Node #0,0: 79:[84, 4, 55] Operation: 7+48=55 Exploring Operation: 7*4=28, Resulting Numbers: [48, 84, 28] Generated Node #0,1: 79:[48, 84, 28] Operation: 7*4=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[48, 84, 28], Operations: ['7*4=28'] Exploring Operation: 48+28=76, Resulting Numbers: [84, 76] Generated Node #0,1,0: 79:[84, 76] Operation: 48+28=76 Exploring Operation: 84-28=56, Resulting Numbers: [48, 56] Generated Node #0,1,1: 79:[48, 56] Operation: 84-28=56 Moving to Node #0,1,0 Current State: 79:[84, 76], Operations: ['7*4=28', '48+28=76'] Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[48, 56], Operations: ['7*4=28', '84-28=56'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,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 Current State: 79:[84, 4, 55], Operations: ['7+48=55'] Exploring Operation: 4+55=59, Resulting Numbers: [84, 59] Generated Node #0,0,0: 79:[84, 59] Operation: 4+55=59 Exploring Operation: 84-4=80, Resulting Numbers: [55, 80] Generated Node #0,0,1: 79:[55, 80] Operation: 84-4=80 Moving to Node #0,0,0 Current State: 79:[84, 59], Operations: ['7+48=55', '4+55=59'] Exploring Operation: 84+59=143, Resulting Numbers: [143] 143,79 unequal: No Solution Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[55, 80], Operations: ['7+48=55', '84-4=80'] Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,79 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,79 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