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
[ 15, 93, 91, 31 ]
73
[ "91-15=76", "93/31=3", "76-3=73" ]
Current State: 73:[15, 93, 91, 31], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [93, 31, 76] Generated Node #2: [93, 31, 76] from Operation: 91-15=76 Current State: 73:[93, 31, 76], Operations: ['91-15=76'] Exploring Operation: 93/31=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 93/31=3 Current State: 73:[76, 3], Operations: ['91-15=76', '93/31=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[15, 93, 91, 31], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [93, 31, 76] Generated Node #0,0: 73:[93, 31, 76] Operation: 91-15=76 Exploring Operation: 93-15=78, Resulting Numbers: [91, 31, 78] Generated Node #0,1: 73:[91, 31, 78] Operation: 93-15=78 Exploring Operation: 15+31=46, Resulting Numbers: [93, 91, 46] Generated Node #0,2: 73:[93, 91, 46] Operation: 15+31=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[93, 31, 76], Operations: ['91-15=76'] Exploring Operation: 93-31=62, Resulting Numbers: [76, 62] Generated Node #0,0,0: 73:[76, 62] Operation: 93-31=62 Exploring Operation: 93+31=124, Resulting Numbers: [76, 124] Generated Node #0,0,1: 73:[76, 124] Operation: 93+31=124 Exploring Operation: 76-31=45, Resulting Numbers: [93, 45] Generated Node #0,0,2: 73:[93, 45] Operation: 76-31=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[76, 62], Operations: ['91-15=76', '93-31=62'] Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 76*62=4712, Resulting Numbers: [4712] 4712,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:[93, 45], Operations: ['91-15=76', '76-31=45'] Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,73 unequal: No Solution Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[76, 124], Operations: ['91-15=76', '93+31=124'] Exploring Operation: 124-76=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 76*124=9424, Resulting Numbers: [9424] 9424,73 unequal: No Solution Exploring Operation: 76+124=200, Resulting Numbers: [200] 200,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[91, 31, 78], Operations: ['93-15=78'] Exploring Operation: 91-31=60, Resulting Numbers: [78, 60] Generated Node #0,1,0: 73:[78, 60] Operation: 91-31=60 Exploring Operation: 91+31=122, Resulting Numbers: [78, 122] Generated Node #0,1,1: 73:[78, 122] Operation: 91+31=122 Exploring Operation: 78-31=47, Resulting Numbers: [91, 47] Generated Node #0,1,2: 73:[91, 47] Operation: 78-31=47 Moving to Node #0,1,0 Current State: 73:[78, 60], Operations: ['93-15=78', '91-31=60'] Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,73 unequal: No Solution Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[91, 47], Operations: ['93-15=78', '78-31=47'] Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 91*47=4277, Resulting Numbers: [4277] 4277,73 unequal: No Solution Exploring Operation: 91+47=138, Resulting Numbers: [138] 138,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[78, 122], Operations: ['93-15=78', '91+31=122'] Exploring Operation: 122-78=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 78*122=9516, Resulting Numbers: [9516] 9516,73 unequal: No Solution Exploring Operation: 78+122=200, Resulting Numbers: [200] 200,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[93, 91, 46], Operations: ['15+31=46'] Exploring Operation: 93-46=47, Resulting Numbers: [91, 47] Generated Node #0,2,0: 73:[91, 47] Operation: 93-46=47 Exploring Operation: 93+46=139, Resulting Numbers: [91, 139] Generated Node #0,2,1: 73:[91, 139] Operation: 93+46=139 Exploring Operation: 91-46=45, Resulting Numbers: [93, 45] Generated Node #0,2,2: 73:[93, 45] Operation: 91-46=45 Moving to Node #0,2,0 Current State: 73:[91, 47], Operations: ['15+31=46', '93-46=47'] Exploring Operation: 91*47=4277, Resulting Numbers: [4277] 4277,73 unequal: No Solution Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 91+47=138, Resulting Numbers: [138] 138,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[93, 45], Operations: ['15+31=46', '91-46=45'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,73 unequal: No Solution Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[91, 139], Operations: ['15+31=46', '93+46=139'] Exploring Operation: 91*139=12649, Resulting Numbers: [12649] 12649,73 unequal: No Solution Exploring Operation: 91+139=230, Resulting Numbers: [230] 230,73 unequal: No Solution Exploring Operation: 139-91=48, Resulting Numbers: [48] 48,73 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
[ 63, 69, 27, 65 ]
86
[ "69-63=6", "27+65=92", "92-6=86" ]
Current State: 86:[63, 69, 27, 65], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [27, 65, 6] Generated Node #2: [27, 65, 6] from Operation: 69-63=6 Current State: 86:[27, 65, 6], Operations: ['69-63=6'] Exploring Operation: 27+65=92, Resulting Numbers: [6, 92] Generated Node #3: [6, 92] from Operation: 27+65=92 Current State: 86:[6, 92], Operations: ['69-63=6', '27+65=92'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[63, 69, 27, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [69, 27, 2] Generated Node #0,0: 86:[69, 27, 2] Operation: 65-63=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[69, 27, 2], Operations: ['65-63=2'] Exploring Operation: 69-27=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 86:[2, 42] Operation: 69-27=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[2, 42], Operations: ['65-63=2', '69-27=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 29, 3, 64, 52 ]
20
[ "29+3=32", "64-52=12", "32-12=20" ]
Current State: 20:[29, 3, 64, 52], Operations: [] Exploring Operation: 29+3=32, Resulting Numbers: [64, 52, 32] Generated Node #2: [64, 52, 32] from Operation: 29+3=32 Current State: 20:[64, 52, 32], Operations: ['29+3=32'] Exploring Operation: 64-52=12, Resulting Numbers: [32, 12] Generated Node #3: [32, 12] from Operation: 64-52=12 Current State: 20:[32, 12], Operations: ['29+3=32', '64-52=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[29, 3, 64, 52], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [29, 3, 12] Generated Node #0,0: 20:[29, 3, 12] Operation: 64-52=12 Moving to Node #0,0 Current State: 20:[29, 3, 12], Operations: ['64-52=12'] Exploring Operation: 29-12=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 20:[3, 17] Operation: 29-12=17 Moving to Node #0,0,0 Current State: 20:[3, 17], Operations: ['64-52=12', '29-12=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[29, 3, 64, 52], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [29, 3, 12] Generated Node #0,0: 20:[29, 3, 12] Operation: 64-52=12 Moving to Node #0,0 Current State: 20:[29, 3, 12], Operations: ['64-52=12'] Exploring Operation: 29-12=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 20:[3, 17] Operation: 29-12=17 Moving to Node #0,0,0 Current State: 20:[3, 17], Operations: ['64-52=12', '29-12=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 5, 33, 88, 5 ]
65
[ "33-5=28", "88+5=93", "93-28=65" ]
Current State: 65:[5, 33, 88, 5], Operations: [] Exploring Operation: 33-5=28, Resulting Numbers: [88, 28] Generated Node #2: [88, 28] from Operation: 33-5=28 Current State: 65:[88, 28], Operations: ['33-5=28'] Exploring Operation: 88+5=93, Resulting Numbers: [28, 93] Generated Node #3: [28, 93] from Operation: 88+5=93 Current State: 65:[28, 93], Operations: ['33-5=28', '88+5=93'] Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[5, 33, 88, 5], Operations: [] Exploring Operation: 33-5=28, Resulting Numbers: [88, 5, 28] Generated Node #0,0: 65:[88, 5, 28] Operation: 33-5=28 Exploring Operation: 88-33=55, Resulting Numbers: [5, 5, 55] Generated Node #0,1: 65:[5, 5, 55] Operation: 88-33=55 Exploring Operation: 88-5=83, Resulting Numbers: [33, 5, 83] Generated Node #0,2: 65:[33, 5, 83] Operation: 88-5=83 Moving to Node #0,1 Current State: 65:[5, 5, 55], Operations: ['88-33=55'] Exploring Operation: 55/5=11, Resulting Numbers: [5, 11] Generated Node #0,1,0: 65:[5, 11] Operation: 55/5=11 Exploring Operation: 5+55=60, Resulting Numbers: [5, 60] Generated Node #0,1,1: 65:[5, 60] Operation: 5+55=60 Exploring Operation: 55/5=11, Resulting Numbers: [5, 11] Generated Node #0,1,2: 65:[5, 11] Operation: 55/5=11 Moving to Node #0,0 Current State: 65:[88, 5, 28], Operations: ['33-5=28'] Exploring Operation: 28-5=23, Resulting Numbers: [88, 23] Generated Node #0,0,0: 65:[88, 23] Operation: 28-5=23 Exploring Operation: 88-5=83, Resulting Numbers: [28, 83] Generated Node #0,0,1: 65:[28, 83] Operation: 88-5=83 Exploring Operation: 88-28=60, Resulting Numbers: [5, 60] Generated Node #0,0,2: 65:[5, 60] Operation: 88-28=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[5, 60], Operations: ['33-5=28', '88-28=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[5, 33, 88, 5], Operations: [] Exploring Operation: 33-5=28, Resulting Numbers: [88, 5, 28] Generated Node #0,0: 65:[88, 5, 28] Operation: 33-5=28 Moving to Node #0,0 Current State: 65:[88, 5, 28], Operations: ['33-5=28'] Exploring Operation: 88-28=60, Resulting Numbers: [5, 60] Generated Node #0,0,2: 65:[5, 60] Operation: 88-28=60 Moving to Node #0,0,2 Current State: 65:[5, 60], Operations: ['33-5=28', '88-28=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 93, 3, 76, 38 ]
62
[ "93/3=31", "76/38=2", "31*2=62" ]
Current State: 62:[93, 3, 76, 38], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [76, 38, 31] Generated Node #2: [76, 38, 31] from Operation: 93/3=31 Current State: 62:[76, 38, 31], Operations: ['93/3=31'] Exploring Operation: 76/38=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 76/38=2 Current State: 62:[31, 2], Operations: ['93/3=31', '76/38=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[93, 3, 76, 38], Operations: [] Exploring Operation: 93-38=55, Resulting Numbers: [3, 76, 55] Generated Node #0,0: 62:[3, 76, 55] Operation: 93-38=55 Exploring Operation: 93/3=31, Resulting Numbers: [76, 38, 31] Generated Node #0,1: 62:[76, 38, 31] Operation: 93/3=31 Exploring Operation: 93-76=17, Resulting Numbers: [3, 38, 17] Generated Node #0,2: 62:[3, 38, 17] Operation: 93-76=17 Moving to Node #0,1 Current State: 62:[76, 38, 31], Operations: ['93/3=31'] Exploring Operation: 76-38=38, Resulting Numbers: [31, 38] Generated Node #0,1,0: 62:[31, 38] Operation: 76-38=38 Exploring Operation: 38-31=7, Resulting Numbers: [76, 7] Generated Node #0,1,1: 62:[76, 7] Operation: 38-31=7 Exploring Operation: 76/38=2, Resulting Numbers: [31, 2] Generated Node #0,1,2: 62:[31, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[31, 2], Operations: ['93/3=31', '76/38=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[93, 3, 76, 38], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [76, 38, 31] Generated Node #0,1: 62:[76, 38, 31] Operation: 93/3=31 Moving to Node #0,1 Current State: 62:[76, 38, 31], Operations: ['93/3=31'] Exploring Operation: 76/38=2, Resulting Numbers: [31, 2] Generated Node #0,1,2: 62:[31, 2] Operation: 76/38=2 Moving to Node #0,1,2 Current State: 62:[31, 2], Operations: ['93/3=31', '76/38=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 14, 97, 63, 7 ]
20
[ "97-7=90", "14*90=1260", "1260/63=20" ]
Current State: 20:[14, 97, 63, 7], Operations: [] Exploring Operation: 97-7=90, Resulting Numbers: [14, 63, 90] Generated Node #2: [14, 63, 90] from Operation: 97-7=90 Current State: 20:[14, 63, 90], Operations: ['97-7=90'] Exploring Operation: 14*90=1260, Resulting Numbers: [63, 1260] Generated Node #3: [63, 1260] from Operation: 14*90=1260 Current State: 20:[63, 1260], Operations: ['97-7=90', '14*90=1260'] Exploring Operation: 1260/63=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[14, 97, 63, 7], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [14, 7, 34] Generated Node #0,0: 20:[14, 7, 34] Operation: 97-63=34 Moving to Node #0,0 Current State: 20:[14, 7, 34], Operations: ['97-63=34'] Exploring Operation: 34-14=20, Resulting Numbers: [7, 20] Generated Node #0,0,0: 20:[7, 20] Operation: 34-14=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[7, 20], Operations: ['97-63=34', '34-14=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,20 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
[ 51, 8, 16, 56 ]
40
[ "56-51=5", "16-8=8", "5*8=40" ]
Current State: 40:[51, 8, 16, 56], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [8, 16, 5] Generated Node #2: [8, 16, 5] from Operation: 56-51=5 Current State: 40:[8, 16, 5], Operations: ['56-51=5'] Exploring Operation: 16-8=8, Resulting Numbers: [5, 8] Generated Node #3: [5, 8] from Operation: 16-8=8 Current State: 40:[5, 8], Operations: ['56-51=5', '16-8=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[51, 8, 16, 56], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [51, 16, 7] Generated Node #0,0: 40:[51, 16, 7] Operation: 56/8=7 Exploring Operation: 51-16=35, Resulting Numbers: [8, 56, 35] Generated Node #0,1: 40:[8, 56, 35] Operation: 51-16=35 Exploring Operation: 56-16=40, Resulting Numbers: [51, 8, 40] Generated Node #0,2: 40:[51, 8, 40] Operation: 56-16=40 Exploring Operation: 56-51=5, Resulting Numbers: [8, 16, 5] Generated Node #0,3: 40:[8, 16, 5] Operation: 56-51=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[8, 16, 5], Operations: ['56-51=5'] Exploring Operation: 16+5=21, Resulting Numbers: [8, 21] Generated Node #0,3,0: 40:[8, 21] Operation: 16+5=21 Exploring Operation: 16-8=8, Resulting Numbers: [5, 8] Generated Node #0,3,1: 40:[5, 8] Operation: 16-8=8 Exploring Operation: 16-5=11, Resulting Numbers: [8, 11] Generated Node #0,3,2: 40:[8, 11] Operation: 16-5=11 Exploring Operation: 16/8=2, Resulting Numbers: [5, 2] Generated Node #0,3,3: 40:[5, 2] Operation: 16/8=2 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[5, 8], Operations: ['56-51=5', '16-8=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[51, 8, 16, 56], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [8, 16, 5] Generated Node #0,3: 40:[8, 16, 5] Operation: 56-51=5 Moving to Node #0,3 Current State: 40:[8, 16, 5], Operations: ['56-51=5'] Exploring Operation: 16-8=8, Resulting Numbers: [5, 8] Generated Node #0,3,1: 40:[5, 8] Operation: 16-8=8 Moving to Node #0,3,1 Current State: 40:[5, 8], Operations: ['56-51=5', '16-8=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 37, 88, 30, 78 ]
77
[ "37+88=125", "78-30=48", "125-48=77" ]
Current State: 77:[37, 88, 30, 78], Operations: [] Exploring Operation: 37+88=125, Resulting Numbers: [30, 78, 125] Generated Node #2: [30, 78, 125] from Operation: 37+88=125 Current State: 77:[30, 78, 125], Operations: ['37+88=125'] Exploring Operation: 78-30=48, Resulting Numbers: [125, 48] Generated Node #3: [125, 48] from Operation: 78-30=48 Current State: 77:[125, 48], Operations: ['37+88=125', '78-30=48'] Exploring Operation: 125-48=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[37, 88, 30, 78], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [37, 78, 58] Generated Node #0,0: 77:[37, 78, 58] Operation: 88-30=58 Exploring Operation: 88-37=51, Resulting Numbers: [30, 78, 51] Generated Node #0,1: 77:[30, 78, 51] Operation: 88-37=51 Exploring Operation: 37-30=7, Resulting Numbers: [88, 78, 7] Generated Node #0,2: 77:[88, 78, 7] Operation: 37-30=7 Exploring Operation: 88-78=10, Resulting Numbers: [37, 30, 10] Generated Node #0,3: 77:[37, 30, 10] Operation: 88-78=10 Exploring Operation: 37+30=67, Resulting Numbers: [88, 78, 67] Generated Node #0,4: 77:[88, 78, 67] Operation: 37+30=67 Moving to Node #0,2 Current State: 77:[88, 78, 7], Operations: ['37-30=7'] Exploring Operation: 88-78=10, Resulting Numbers: [7, 10] Generated Node #0,2,0: 77:[7, 10] Operation: 88-78=10 Exploring Operation: 78-7=71, Resulting Numbers: [88, 71] Generated Node #0,2,1: 77:[88, 71] Operation: 78-7=71 Exploring Operation: 88+7=95, Resulting Numbers: [78, 95] Generated Node #0,2,2: 77:[78, 95] Operation: 88+7=95 Exploring Operation: 88-7=81, Resulting Numbers: [78, 81] Generated Node #0,2,3: 77:[78, 81] Operation: 88-7=81 Exploring Operation: 78+7=85, Resulting Numbers: [88, 85] Generated Node #0,2,4: 77:[88, 85] Operation: 78+7=85 Moving to Node #0,4 Current State: 77:[88, 78, 67], Operations: ['37+30=67'] Exploring Operation: 78-67=11, Resulting Numbers: [88, 11] Generated Node #0,4,0: 77:[88, 11] Operation: 78-67=11 Exploring Operation: 88+67=155, Resulting Numbers: [78, 155] Generated Node #0,4,1: 77:[78, 155] Operation: 88+67=155 Exploring Operation: 78+67=145, Resulting Numbers: [88, 145] Generated Node #0,4,2: 77:[88, 145] Operation: 78+67=145 Exploring Operation: 88-78=10, Resulting Numbers: [67, 10] Generated Node #0,4,3: 77:[67, 10] Operation: 88-78=10 Exploring Operation: 88-67=21, Resulting Numbers: [78, 21] Generated Node #0,4,4: 77:[78, 21] Operation: 88-67=21 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 77:[88, 11], Operations: ['37+30=67', '78-67=11'] Exploring Operation: 88*11=968, Resulting Numbers: [968] 968,77 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[37, 88, 30, 78], Operations: [] Exploring Operation: 37+30=67, Resulting Numbers: [88, 78, 67] Generated Node #0,4: 77:[88, 78, 67] Operation: 37+30=67 Moving to Node #0,4 Current State: 77:[88, 78, 67], Operations: ['37+30=67'] Exploring Operation: 78-67=11, Resulting Numbers: [88, 11] Generated Node #0,4,0: 77:[88, 11] Operation: 78-67=11 Moving to Node #0,4,0 Current State: 77:[88, 11], Operations: ['37+30=67', '78-67=11'] Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 28, 23, 95, 25 ]
81
[ "25-23=2", "28/2=14", "95-14=81" ]
Current State: 81:[28, 23, 95, 25], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [28, 95, 2] Generated Node #2: [28, 95, 2] from Operation: 25-23=2 Current State: 81:[28, 95, 2], Operations: ['25-23=2'] Exploring Operation: 28/2=14, Resulting Numbers: [95, 14] Generated Node #3: [95, 14] from Operation: 28/2=14 Current State: 81:[95, 14], Operations: ['25-23=2', '28/2=14'] Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[28, 23, 95, 25], Operations: [] Exploring Operation: 95-23=72, Resulting Numbers: [28, 25, 72] Generated Node #0,0: 81:[28, 25, 72] Operation: 95-23=72 Exploring Operation: 25-23=2, Resulting Numbers: [28, 95, 2] Generated Node #0,1: 81:[28, 95, 2] Operation: 25-23=2 Exploring Operation: 28-23=5, Resulting Numbers: [95, 25, 5] Generated Node #0,2: 81:[95, 25, 5] Operation: 28-23=5 Exploring Operation: 95-25=70, Resulting Numbers: [28, 23, 70] Generated Node #0,3: 81:[28, 23, 70] Operation: 95-25=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[28, 25, 72], Operations: ['95-23=72'] Exploring Operation: 28-25=3, Resulting Numbers: [72, 3] Generated Node #0,0,0: 81:[72, 3] Operation: 28-25=3 Exploring Operation: 25+72=97, Resulting Numbers: [28, 97] Generated Node #0,0,1: 81:[28, 97] Operation: 25+72=97 Exploring Operation: 28+72=100, Resulting Numbers: [25, 100] Generated Node #0,0,2: 81:[25, 100] Operation: 28+72=100 Exploring Operation: 72-28=44, Resulting Numbers: [25, 44] Generated Node #0,0,3: 81:[25, 44] Operation: 72-28=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[72, 3], Operations: ['95-23=72', '28-25=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 72*3=216, Resulting Numbers: [216] 216,81 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,81 unequal: No Solution No 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: 81:[28, 97], Operations: ['95-23=72', '25+72=97'] Exploring Operation: 28+97=125, Resulting Numbers: [125] 125,81 unequal: No Solution Exploring Operation: 28*97=2716, Resulting Numbers: [2716] 2716,81 unequal: No Solution Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,81 unequal: No Solution No 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: 81:[25, 44], Operations: ['95-23=72', '72-28=44'] Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,81 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,81 unequal: No Solution No 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: 81:[25, 100], Operations: ['95-23=72', '28+72=100'] Exploring Operation: 25+100=125, Resulting Numbers: [125] 125,81 unequal: No Solution Exploring Operation: 25*100=2500, Resulting Numbers: [2500] 2500,81 unequal: No Solution Exploring Operation: 100-25=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 100/25=4, Resulting Numbers: [4] 4,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[28, 95, 2], Operations: ['25-23=2'] Exploring Operation: 95-2=93, Resulting Numbers: [28, 93] Generated Node #0,1,0: 81:[28, 93] Operation: 95-2=93 Exploring Operation: 95-28=67, Resulting Numbers: [2, 67] Generated Node #0,1,1: 81:[2, 67] Operation: 95-28=67 Exploring Operation: 28-2=26, Resulting Numbers: [95, 26] Generated Node #0,1,2: 81:[95, 26] Operation: 28-2=26 Exploring Operation: 28+2=30, Resulting Numbers: [95, 30] Generated Node #0,1,3: 81:[95, 30] Operation: 28+2=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[28, 93], Operations: ['25-23=2', '95-2=93'] Exploring Operation: 28*93=2604, Resulting Numbers: [2604] 2604,81 unequal: No Solution Exploring Operation: 28+93=121, Resulting Numbers: [121] 121,81 unequal: No Solution Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,81 unequal: No Solution No 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: 81:[2, 67], Operations: ['25-23=2', '95-28=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,81 unequal: No Solution No 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: 81:[95, 26], Operations: ['25-23=2', '28-2=26'] Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 95+26=121, Resulting Numbers: [121] 121,81 unequal: No Solution Exploring Operation: 95*26=2470, Resulting Numbers: [2470] 2470,81 unequal: No Solution No 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: 81:[95, 30], Operations: ['25-23=2', '28+2=30'] Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,81 unequal: No Solution Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,81 unequal: No Solution Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[28, 23, 70], Operations: ['95-25=70'] Exploring Operation: 23+70=93, Resulting Numbers: [28, 93] Generated Node #0,3,0: 81:[28, 93] Operation: 23+70=93 Exploring Operation: 28+70=98, Resulting Numbers: [23, 98] Generated Node #0,3,1: 81:[23, 98] Operation: 28+70=98 Exploring Operation: 70-28=42, Resulting Numbers: [23, 42] Generated Node #0,3,2: 81:[23, 42] Operation: 70-28=42 Exploring Operation: 28-23=5, Resulting Numbers: [70, 5] Generated Node #0,3,3: 81:[70, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[28, 93], Operations: ['95-25=70', '23+70=93'] Exploring Operation: 28*93=2604, Resulting Numbers: [2604] 2604,81 unequal: No Solution Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 28+93=121, Resulting Numbers: [121] 121,81 unequal: No Solution No 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: 81:[70, 5], Operations: ['95-25=70', '28-23=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 70*5=350, Resulting Numbers: [350] 350,81 unequal: No Solution No 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: 81:[23, 42], Operations: ['95-25=70', '70-28=42'] Exploring Operation: 23*42=966, Resulting Numbers: [966] 966,81 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,81 unequal: No Solution No 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: 81:[23, 98], Operations: ['95-25=70', '28+70=98'] Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 23*98=2254, Resulting Numbers: [2254] 2254,81 unequal: No Solution Exploring Operation: 23+98=121, Resulting Numbers: [121] 121,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[95, 25, 5], Operations: ['28-23=5'] Exploring Operation: 95-25=70, Resulting Numbers: [5, 70] Generated Node #0,2,0: 81:[5, 70] Operation: 95-25=70 Exploring Operation: 95/5=19, Resulting Numbers: [25, 19] Generated Node #0,2,1: 81:[25, 19] Operation: 95/5=19 Exploring Operation: 25/5=5, Resulting Numbers: [95, 5] Generated Node #0,2,2: 81:[95, 5] Operation: 25/5=5 Exploring Operation: 95-5=90, Resulting Numbers: [25, 90] Generated Node #0,2,3: 81:[25, 90] Operation: 95-5=90 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[25, 19], Operations: ['28-23=5', '95/5=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 25*19=475, Resulting Numbers: [475] 475,81 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,81 unequal: No Solution No 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: 81:[25, 90], Operations: ['28-23=5', '95-5=90'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 25*90=2250, Resulting Numbers: [2250] 2250,81 unequal: No Solution Exploring Operation: 25+90=115, Resulting Numbers: [115] 115,81 unequal: No Solution No 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: 81:[5, 70], Operations: ['28-23=5', '95-25=70'] Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,81 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,81 unequal: No Solution No 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: 81:[95, 5], Operations: ['28-23=5', '25/5=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 95*5=475, Resulting Numbers: [475] 475,81 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 69, 15, 66, 91 ]
100
[ "69+66=135", "135/15=9", "91+9=100" ]
Current State: 100:[69, 15, 66, 91], Operations: [] Exploring Operation: 69+66=135, Resulting Numbers: [15, 91, 135] Generated Node #2: [15, 91, 135] from Operation: 69+66=135 Current State: 100:[15, 91, 135], Operations: ['69+66=135'] Exploring Operation: 135/15=9, Resulting Numbers: [91, 9] Generated Node #3: [91, 9] from Operation: 135/15=9 Current State: 100:[91, 9], Operations: ['69+66=135', '135/15=9'] Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[69, 15, 66, 91], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [15, 91, 3] Generated Node #0,0: 100:[15, 91, 3] Operation: 69-66=3 Moving to Node #0,0 Current State: 100:[15, 91, 3], Operations: ['69-66=3'] Exploring Operation: 15+91=106, Resulting Numbers: [3, 106] Generated Node #0,0,0: 100:[3, 106] Operation: 15+91=106 Moving to Node #0,0,0 Current State: 100:[3, 106], Operations: ['69-66=3', '15+91=106'] Exploring Operation: 106-3=103, Resulting Numbers: [103] 103,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 16, 11, 69 ]
46
[ "16-4=12", "69-11=58", "58-12=46" ]
Current State: 46:[4, 16, 11, 69], Operations: [] Exploring Operation: 16-4=12, Resulting Numbers: [11, 69, 12] Generated Node #2: [11, 69, 12] from Operation: 16-4=12 Current State: 46:[11, 69, 12], Operations: ['16-4=12'] Exploring Operation: 69-11=58, Resulting Numbers: [12, 58] Generated Node #3: [12, 58] from Operation: 69-11=58 Current State: 46:[12, 58], Operations: ['16-4=12', '69-11=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[4, 16, 11, 69], Operations: [] Exploring Operation: 69-11=58, Resulting Numbers: [4, 16, 58] Generated Node #0,0: 46:[4, 16, 58] Operation: 69-11=58 Exploring Operation: 16+11=27, Resulting Numbers: [4, 69, 27] Generated Node #0,1: 46:[4, 69, 27] Operation: 16+11=27 Exploring Operation: 16-11=5, Resulting Numbers: [4, 69, 5] Generated Node #0,2: 46:[4, 69, 5] Operation: 16-11=5 Exploring Operation: 69-16=53, Resulting Numbers: [4, 11, 53] Generated Node #0,3: 46:[4, 11, 53] Operation: 69-16=53 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[4, 11, 53], Operations: ['69-16=53'] Exploring Operation: 53-4=49, Resulting Numbers: [11, 49] Generated Node #0,3,0: 46:[11, 49] Operation: 53-4=49 Exploring Operation: 53-11=42, Resulting Numbers: [4, 42] Generated Node #0,3,1: 46:[4, 42] Operation: 53-11=42 Exploring Operation: 4*11=44, Resulting Numbers: [53, 44] Generated Node #0,3,2: 46:[53, 44] Operation: 4*11=44 Exploring Operation: 11-4=7, Resulting Numbers: [53, 7] Generated Node #0,3,3: 46:[53, 7] Operation: 11-4=7 Moving to Node #0,3,1 Current State: 46:[4, 42], Operations: ['69-16=53', '53-11=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[4, 16, 11, 69], Operations: [] Exploring Operation: 69-16=53, Resulting Numbers: [4, 11, 53] Generated Node #0,3: 46:[4, 11, 53] Operation: 69-16=53 Moving to Node #0,3 Current State: 46:[4, 11, 53], Operations: ['69-16=53'] Exploring Operation: 53-11=42, Resulting Numbers: [4, 42] Generated Node #0,3,1: 46:[4, 42] Operation: 53-11=42 Moving to Node #0,3,1 Current State: 46:[4, 42], Operations: ['69-16=53', '53-11=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 32, 29, 43, 9 ]
27
[ "32+29=61", "43-9=34", "61-34=27" ]
Current State: 27:[32, 29, 43, 9], Operations: [] Exploring Operation: 32+29=61, Resulting Numbers: [43, 9, 61] Generated Node #2: [43, 9, 61] from Operation: 32+29=61 Current State: 27:[43, 9, 61], Operations: ['32+29=61'] Exploring Operation: 43-9=34, Resulting Numbers: [61, 34] Generated Node #3: [61, 34] from Operation: 43-9=34 Current State: 27:[61, 34], Operations: ['32+29=61', '43-9=34'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[32, 29, 43, 9], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [32, 9, 14] Generated Node #0,0: 27:[32, 9, 14] Operation: 43-29=14 Exploring Operation: 43-32=11, Resulting Numbers: [29, 9, 11] Generated Node #0,1: 27:[29, 9, 11] Operation: 43-32=11 Exploring Operation: 43-9=34, Resulting Numbers: [32, 29, 34] Generated Node #0,2: 27:[32, 29, 34] Operation: 43-9=34 Exploring Operation: 32-29=3, Resulting Numbers: [43, 9, 3] Generated Node #0,3: 27:[43, 9, 3] Operation: 32-29=3 Exploring Operation: 32-9=23, Resulting Numbers: [29, 43, 23] Generated Node #0,4: 27:[29, 43, 23] Operation: 32-9=23 Moving to Node #0,1 Current State: 27:[29, 9, 11], Operations: ['43-32=11'] Exploring Operation: 29-11=18, Resulting Numbers: [9, 18] Generated Node #0,1,0: 27:[9, 18] Operation: 29-11=18 Exploring Operation: 29-9=20, Resulting Numbers: [11, 20] Generated Node #0,1,1: 27:[11, 20] Operation: 29-9=20 Exploring Operation: 29+9=38, Resulting Numbers: [11, 38] Generated Node #0,1,2: 27:[11, 38] Operation: 29+9=38 Exploring Operation: 9+11=20, Resulting Numbers: [29, 20] Generated Node #0,1,3: 27:[29, 20] Operation: 9+11=20 Exploring Operation: 11-9=2, Resulting Numbers: [29, 2] Generated Node #0,1,4: 27:[29, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 27:[29, 2], Operations: ['43-32=11', '11-9=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[32, 29, 43, 9], Operations: [] Exploring Operation: 43-32=11, Resulting Numbers: [29, 9, 11] Generated Node #0,1: 27:[29, 9, 11] Operation: 43-32=11 Moving to Node #0,1 Current State: 27:[29, 9, 11], Operations: ['43-32=11'] Exploring Operation: 11-9=2, Resulting Numbers: [29, 2] Generated Node #0,1,4: 27:[29, 2] Operation: 11-9=2 Moving to Node #0,1,4 Current State: 27:[29, 2], Operations: ['43-32=11', '11-9=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 91, 55, 31, 64 ]
51
[ "91+55=146", "31+64=95", "146-95=51" ]
Current State: 51:[91, 55, 31, 64], Operations: [] Exploring Operation: 91+55=146, Resulting Numbers: [31, 64, 146] Generated Node #2: [31, 64, 146] from Operation: 91+55=146 Current State: 51:[31, 64, 146], Operations: ['91+55=146'] Exploring Operation: 31+64=95, Resulting Numbers: [146, 95] Generated Node #3: [146, 95] from Operation: 31+64=95 Current State: 51:[146, 95], Operations: ['91+55=146', '31+64=95'] Exploring Operation: 146-95=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[91, 55, 31, 64], Operations: [] Exploring Operation: 91-64=27, Resulting Numbers: [55, 31, 27] Generated Node #0,0: 51:[55, 31, 27] Operation: 91-64=27 Exploring Operation: 91-55=36, Resulting Numbers: [31, 64, 36] Generated Node #0,1: 51:[31, 64, 36] Operation: 91-55=36 Exploring Operation: 91-31=60, Resulting Numbers: [55, 64, 60] Generated Node #0,2: 51:[55, 64, 60] Operation: 91-31=60 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[55, 64, 60], Operations: ['91-31=60'] Exploring Operation: 64-55=9, Resulting Numbers: [60, 9] Generated Node #0,2,0: 51:[60, 9] Operation: 64-55=9 Exploring Operation: 60-55=5, Resulting Numbers: [64, 5] Generated Node #0,2,1: 51:[64, 5] Operation: 60-55=5 Exploring Operation: 64-60=4, Resulting Numbers: [55, 4] Generated Node #0,2,2: 51:[55, 4] Operation: 64-60=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[55, 4], Operations: ['91-31=60', '64-60=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[91, 55, 31, 64], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [55, 64, 60] Generated Node #0,2: 51:[55, 64, 60] Operation: 91-31=60 Moving to Node #0,2 Current State: 51:[55, 64, 60], Operations: ['91-31=60'] Exploring Operation: 64-60=4, Resulting Numbers: [55, 4] Generated Node #0,2,2: 51:[55, 4] Operation: 64-60=4 Moving to Node #0,2,2 Current State: 51:[55, 4], Operations: ['91-31=60', '64-60=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 34, 4, 18, 31 ]
87
[ "34+4=38", "18+31=49", "38+49=87" ]
Current State: 87:[34, 4, 18, 31], Operations: [] Exploring Operation: 34+4=38, Resulting Numbers: [18, 31, 38] Generated Node #2: [18, 31, 38] from Operation: 34+4=38 Current State: 87:[18, 31, 38], Operations: ['34+4=38'] Exploring Operation: 18+31=49, Resulting Numbers: [38, 49] Generated Node #3: [38, 49] from Operation: 18+31=49 Current State: 87:[38, 49], Operations: ['34+4=38', '18+31=49'] Exploring Operation: 38+49=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[34, 4, 18, 31], Operations: [] Exploring Operation: 34-31=3, Resulting Numbers: [4, 18, 3] Generated Node #0,0: 87:[4, 18, 3] Operation: 34-31=3 Exploring Operation: 34-4=30, Resulting Numbers: [18, 31, 30] Generated Node #0,1: 87:[18, 31, 30] Operation: 34-4=30 Exploring Operation: 34-18=16, Resulting Numbers: [4, 31, 16] Generated Node #0,2: 87:[4, 31, 16] Operation: 34-18=16 Exploring Operation: 31-18=13, Resulting Numbers: [34, 4, 13] Generated Node #0,3: 87:[34, 4, 13] Operation: 31-18=13 Exploring Operation: 4+18=22, Resulting Numbers: [34, 31, 22] Generated Node #0,4: 87:[34, 31, 22] Operation: 4+18=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[4, 18, 3], Operations: ['34-31=3'] Exploring Operation: 4-3=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 87:[18, 1] Operation: 4-3=1 Exploring Operation: 18+3=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 87:[4, 21] Operation: 18+3=21 Exploring Operation: 4+18=22, Resulting Numbers: [3, 22] Generated Node #0,0,2: 87:[3, 22] Operation: 4+18=22 Exploring Operation: 18/3=6, Resulting Numbers: [4, 6] Generated Node #0,0,3: 87:[4, 6] Operation: 18/3=6 Exploring Operation: 18-4=14, Resulting Numbers: [3, 14] Generated Node #0,0,4: 87:[3, 14] Operation: 18-4=14 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[4, 6], Operations: ['34-31=3', '18/3=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,87 unequal: No Solution No 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: 87:[3, 22], Operations: ['34-31=3', '4+18=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,87 unequal: No Solution No 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: 87:[4, 21], Operations: ['34-31=3', '18+3=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,87 unequal: No Solution No 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: 87:[3, 14], Operations: ['34-31=3', '18-4=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,87 unequal: No Solution No 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: 87:[18, 1], Operations: ['34-31=3', '4-3=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,87 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: 87:[18, 31, 30], Operations: ['34-4=30'] Exploring Operation: 18+31=49, Resulting Numbers: [30, 49] Generated Node #0,1,0: 87:[30, 49] Operation: 18+31=49 Exploring Operation: 31-18=13, Resulting Numbers: [30, 13] Generated Node #0,1,1: 87:[30, 13] Operation: 31-18=13 Exploring Operation: 18+30=48, Resulting Numbers: [31, 48] Generated Node #0,1,2: 87:[31, 48] Operation: 18+30=48 Exploring Operation: 31-30=1, Resulting Numbers: [18, 1] Generated Node #0,1,3: 87:[18, 1] Operation: 31-30=1 Exploring Operation: 30-18=12, Resulting Numbers: [31, 12] Generated Node #0,1,4: 87:[31, 12] Operation: 30-18=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[30, 13], Operations: ['34-4=30', '31-18=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,87 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,87 unequal: No Solution No 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: 87:[31, 12], Operations: ['34-4=30', '30-18=12'] Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,87 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,87 unequal: No Solution No 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: 87:[18, 1], Operations: ['34-4=30', '31-30=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,87 unequal: No Solution No 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: 87:[30, 49], Operations: ['34-4=30', '18+31=49'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,87 unequal: No Solution No 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: 87:[31, 48], Operations: ['34-4=30', '18+30=48'] Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,87 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[34, 31, 22], Operations: ['4+18=22'] Exploring Operation: 34+22=56, Resulting Numbers: [31, 56] Generated Node #0,4,0: 87:[31, 56] Operation: 34+22=56 Exploring Operation: 34-31=3, Resulting Numbers: [22, 3] Generated Node #0,4,1: 87:[22, 3] Operation: 34-31=3 Exploring Operation: 34+31=65, Resulting Numbers: [22, 65] Generated Node #0,4,2: 87:[22, 65] Operation: 34+31=65 Exploring Operation: 31-22=9, Resulting Numbers: [34, 9] Generated Node #0,4,3: 87:[34, 9] Operation: 31-22=9 Exploring Operation: 34-22=12, Resulting Numbers: [31, 12] Generated Node #0,4,4: 87:[31, 12] Operation: 34-22=12 Moving to Node #0,4,1 Current State: 87:[22, 3], Operations: ['4+18=22', '34-31=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[31, 12], Operations: ['4+18=22', '34-22=12'] Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,87 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[34, 9], Operations: ['4+18=22', '31-22=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,87 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,87 unequal: No Solution Moving to Node #0,4,0 Current State: 87:[31, 56], Operations: ['4+18=22', '34+22=56'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,87 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[34, 4, 18, 31], Operations: [] Exploring Operation: 4+18=22, Resulting Numbers: [34, 31, 22] Generated Node #0,4: 87:[34, 31, 22] Operation: 4+18=22 Moving to Node #0,4 Current State: 87:[34, 31, 22], Operations: ['4+18=22'] Exploring Operation: 34+22=56, Resulting Numbers: [31, 56] Generated Node #0,4,0: 87:[31, 56] Operation: 34+22=56 Moving to Node #0,4,0 Current State: 87:[31, 56], Operations: ['4+18=22', '34+22=56'] Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.940972
hs_5
sum_heuristic
[ 43, 80, 56, 84 ]
29
[ "84-80=4", "56/4=14", "43-14=29" ]
Current State: 29:[43, 80, 56, 84], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [43, 56, 4] Generated Node #2: [43, 56, 4] from Operation: 84-80=4 Current State: 29:[43, 56, 4], Operations: ['84-80=4'] Exploring Operation: 56/4=14, Resulting Numbers: [43, 14] Generated Node #3: [43, 14] from Operation: 56/4=14 Current State: 29:[43, 14], Operations: ['84-80=4', '56/4=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[43, 80, 56, 84], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [43, 56, 4] Generated Node #0,0: 29:[43, 56, 4] Operation: 84-80=4 Exploring Operation: 80-43=37, Resulting Numbers: [56, 84, 37] Generated Node #0,1: 29:[56, 84, 37] Operation: 80-43=37 Exploring Operation: 84-56=28, Resulting Numbers: [43, 80, 28] Generated Node #0,2: 29:[43, 80, 28] Operation: 84-56=28 Exploring Operation: 80-56=24, Resulting Numbers: [43, 84, 24] Generated Node #0,3: 29:[43, 84, 24] Operation: 80-56=24 Moving to Node #0,0 Current State: 29:[43, 56, 4], Operations: ['84-80=4'] Exploring Operation: 56-43=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 29:[4, 13] Operation: 56-43=13 Exploring Operation: 43-4=39, Resulting Numbers: [56, 39] Generated Node #0,0,1: 29:[56, 39] Operation: 43-4=39 Exploring Operation: 56/4=14, Resulting Numbers: [43, 14] Generated Node #0,0,2: 29:[43, 14] Operation: 56/4=14 Exploring Operation: 56-4=52, Resulting Numbers: [43, 52] Generated Node #0,0,3: 29:[43, 52] Operation: 56-4=52 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[43, 14], Operations: ['84-80=4', '56/4=14'] Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[43, 80, 56, 84], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [43, 56, 4] Generated Node #0,0: 29:[43, 56, 4] Operation: 84-80=4 Moving to Node #0,0 Current State: 29:[43, 56, 4], Operations: ['84-80=4'] Exploring Operation: 56/4=14, Resulting Numbers: [43, 14] Generated Node #0,0,2: 29:[43, 14] Operation: 56/4=14 Moving to Node #0,0,2 Current State: 29:[43, 14], Operations: ['84-80=4', '56/4=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 10, 93, 13, 69 ]
31
[ "10+13=23", "93*23=2139", "2139/69=31" ]
Current State: 31:[10, 93, 13, 69], Operations: [] Exploring Operation: 10+13=23, Resulting Numbers: [93, 69, 23] Generated Node #2: [93, 69, 23] from Operation: 10+13=23 Current State: 31:[93, 69, 23], Operations: ['10+13=23'] Exploring Operation: 93*23=2139, Resulting Numbers: [69, 2139] Generated Node #3: [69, 2139] from Operation: 93*23=2139 Current State: 31:[69, 2139], Operations: ['10+13=23', '93*23=2139'] Exploring Operation: 2139/69=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[10, 93, 13, 69], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [10, 13, 24] Generated Node #0,0: 31:[10, 13, 24] Operation: 93-69=24 Moving to Node #0,0 Current State: 31:[10, 13, 24], Operations: ['93-69=24'] Exploring Operation: 10+13=23, Resulting Numbers: [24, 23] Generated Node #0,0,0: 31:[24, 23] Operation: 10+13=23 Moving to Node #0,0,0 Current State: 31:[24, 23], Operations: ['93-69=24', '10+13=23'] Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 8, 44, 62, 44 ]
70
[ "8+44=52", "62-44=18", "52+18=70" ]
Current State: 70:[8, 44, 62, 44], Operations: [] Exploring Operation: 8+44=52, Resulting Numbers: [62, 52] Generated Node #2: [62, 52] from Operation: 8+44=52 Current State: 70:[62, 52], Operations: ['8+44=52'] Exploring Operation: 62-44=18, Resulting Numbers: [52, 18] Generated Node #3: [52, 18] from Operation: 62-44=18 Current State: 70:[52, 18], Operations: ['8+44=52', '62-44=18'] Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[8, 44, 62, 44], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [8, 62, 1] Generated Node #0,0: 70:[8, 62, 1] Operation: 44/44=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[8, 62, 1], Operations: ['44/44=1'] Exploring Operation: 8+62=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 70:[1, 70] Operation: 8+62=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[1, 70], Operations: ['44/44=1', '8+62=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[8, 44, 62, 44], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [8, 62, 1] Generated Node #0,0: 70:[8, 62, 1] Operation: 44/44=1 Moving to Node #0,0 Current State: 70:[8, 62, 1], Operations: ['44/44=1'] Exploring Operation: 8+62=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 70:[1, 70] Operation: 8+62=70 Moving to Node #0,0,0 Current State: 70:[1, 70], Operations: ['44/44=1', '8+62=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 2, 17, 35, 20 ]
92
[ "2*20=40", "17+35=52", "40+52=92" ]
Current State: 92:[2, 17, 35, 20], Operations: [] Exploring Operation: 2*20=40, Resulting Numbers: [17, 35, 40] Generated Node #2: [17, 35, 40] from Operation: 2*20=40 Current State: 92:[17, 35, 40], Operations: ['2*20=40'] Exploring Operation: 17+35=52, Resulting Numbers: [40, 52] Generated Node #3: [40, 52] from Operation: 17+35=52 Current State: 92:[40, 52], Operations: ['2*20=40', '17+35=52'] Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[2, 17, 35, 20], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [2, 35, 3] Generated Node #0,0: 92:[2, 35, 3] Operation: 20-17=3 Exploring Operation: 35+20=55, Resulting Numbers: [2, 17, 55] Generated Node #0,1: 92:[2, 17, 55] Operation: 35+20=55 Exploring Operation: 17+35=52, Resulting Numbers: [2, 20, 52] Generated Node #0,2: 92:[2, 20, 52] Operation: 17+35=52 Exploring Operation: 35-17=18, Resulting Numbers: [2, 20, 18] Generated Node #0,3: 92:[2, 20, 18] Operation: 35-17=18 Exploring Operation: 35-20=15, Resulting Numbers: [2, 17, 15] Generated Node #0,4: 92:[2, 17, 15] Operation: 35-20=15 Moving to Node #0,3 Current State: 92:[2, 20, 18], Operations: ['35-17=18'] Exploring Operation: 18/2=9, Resulting Numbers: [20, 9] Generated Node #0,3,0: 92:[20, 9] Operation: 18/2=9 Exploring Operation: 20-18=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 92:[2, 2] Operation: 20-18=2 Exploring Operation: 2+20=22, Resulting Numbers: [18, 22] Generated Node #0,3,2: 92:[18, 22] Operation: 2+20=22 Exploring Operation: 2+18=20, Resulting Numbers: [20, 20] Generated Node #0,3,3: 92:[20, 20] Operation: 2+18=20 Exploring Operation: 20+18=38, Resulting Numbers: [2, 38] Generated Node #0,3,4: 92:[2, 38] Operation: 20+18=38 Moving to Node #0,2 Current State: 92:[2, 20, 52], Operations: ['17+35=52'] Exploring Operation: 20-2=18, Resulting Numbers: [52, 18] Generated Node #0,2,0: 92:[52, 18] Operation: 20-2=18 Exploring Operation: 52-2=50, Resulting Numbers: [20, 50] Generated Node #0,2,1: 92:[20, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [20, 26] Generated Node #0,2,2: 92:[20, 26] Operation: 52/2=26 Exploring Operation: 52-20=32, Resulting Numbers: [2, 32] Generated Node #0,2,3: 92:[2, 32] Operation: 52-20=32 Exploring Operation: 2+20=22, Resulting Numbers: [52, 22] Generated Node #0,2,4: 92:[52, 22] Operation: 2+20=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[20, 26], Operations: ['17+35=52', '52/2=26'] Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,92 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[20, 50], Operations: ['17+35=52', '52-2=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,92 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 92:[52, 22], Operations: ['17+35=52', '2+20=22'] Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[2, 32], Operations: ['17+35=52', '52-20=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[52, 18], Operations: ['17+35=52', '20-2=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,92 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 92:[2, 35, 3], Operations: ['20-17=3'] Exploring Operation: 35-3=32, Resulting Numbers: [2, 32] Generated Node #0,0,0: 92:[2, 32] Operation: 35-3=32 Exploring Operation: 35-2=33, Resulting Numbers: [3, 33] Generated Node #0,0,1: 92:[3, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [3, 37] Generated Node #0,0,2: 92:[3, 37] Operation: 2+35=37 Exploring Operation: 35+3=38, Resulting Numbers: [2, 38] Generated Node #0,0,3: 92:[2, 38] Operation: 35+3=38 Exploring Operation: 2+3=5, Resulting Numbers: [35, 5] Generated Node #0,0,4: 92:[35, 5] Operation: 2+3=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[2, 38], Operations: ['20-17=3', '35+3=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[2, 32], Operations: ['20-17=3', '35-3=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[3, 37], Operations: ['20-17=3', '2+35=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[3, 33], Operations: ['20-17=3', '35-2=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 92:[35, 5], Operations: ['20-17=3', '2+3=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,92 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,92 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: 92:[2, 17, 15], Operations: ['35-20=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2, 2] Generated Node #0,4,0: 92:[2, 2] Operation: 17-15=2 Exploring Operation: 2*15=30, Resulting Numbers: [17, 30] Generated Node #0,4,1: 92:[17, 30] Operation: 2*15=30 Exploring Operation: 2+15=17, Resulting Numbers: [17, 17] Generated Node #0,4,2: 92:[17, 17] Operation: 2+15=17 Exploring Operation: 2+17=19, Resulting Numbers: [15, 19] Generated Node #0,4,3: 92:[15, 19] Operation: 2+17=19 Exploring Operation: 17+15=32, Resulting Numbers: [2, 32] Generated Node #0,4,4: 92:[2, 32] Operation: 17+15=32 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 92:[2, 2], Operations: ['35-20=15', '17-15=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 92:[2, 32], Operations: ['35-20=15', '17+15=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 92:[17, 17], Operations: ['35-20=15', '2+15=17'] Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,92 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 92:[15, 19], Operations: ['35-20=15', '2+17=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 92:[17, 30], Operations: ['35-20=15', '2*15=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,92 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: 92:[2, 17, 55], Operations: ['35+20=55'] Exploring Operation: 55-2=53, Resulting Numbers: [17, 53] Generated Node #0,1,0: 92:[17, 53] Operation: 55-2=53 Exploring Operation: 17-2=15, Resulting Numbers: [55, 15] Generated Node #0,1,1: 92:[55, 15] Operation: 17-2=15 Exploring Operation: 2+17=19, Resulting Numbers: [55, 19] Generated Node #0,1,2: 92:[55, 19] Operation: 2+17=19 Exploring Operation: 55-17=38, Resulting Numbers: [2, 38] Generated Node #0,1,3: 92:[2, 38] Operation: 55-17=38 Exploring Operation: 2+55=57, Resulting Numbers: [17, 57] Generated Node #0,1,4: 92:[17, 57] Operation: 2+55=57 Moving to Node #0,3,1 Current State: 92:[2, 2], Operations: ['35-17=18', '20-18=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[20, 20], Operations: ['35-17=18', '2+18=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,92 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[18, 22], Operations: ['35-17=18', '2+20=22'] Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,92 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[2, 38], Operations: ['35+20=55', '55-17=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[2, 38], Operations: ['35-17=18', '20+18=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[20, 9], Operations: ['35-17=18', '18/2=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,92 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[17, 53], Operations: ['35+20=55', '55-2=53'] Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,92 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[55, 19], Operations: ['35+20=55', '2+17=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,92 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[17, 57], Operations: ['35+20=55', '2+55=57'] Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[55, 15], Operations: ['35+20=55', '17-2=15'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,92 unequal: No Solution Exploring Operation: 55*15=825, Resulting Numbers: [825] 825,92 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 51, 26, 6, 39 ]
38
[ "51+6=57", "26*57=1482", "1482/39=38" ]
Current State: 38:[51, 26, 6, 39], Operations: [] Exploring Operation: 51+6=57, Resulting Numbers: [26, 39, 57] Generated Node #2: [26, 39, 57] from Operation: 51+6=57 Current State: 38:[26, 39, 57], Operations: ['51+6=57'] Exploring Operation: 26*57=1482, Resulting Numbers: [39, 1482] Generated Node #3: [39, 1482] from Operation: 26*57=1482 Current State: 38:[39, 1482], Operations: ['51+6=57', '26*57=1482'] Exploring Operation: 1482/39=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[51, 26, 6, 39], Operations: [] Exploring Operation: 51-6=45, Resulting Numbers: [26, 39, 45] Generated Node #0,0: 38:[26, 39, 45] Operation: 51-6=45 Exploring Operation: 51-39=12, Resulting Numbers: [26, 6, 12] Generated Node #0,1: 38:[26, 6, 12] Operation: 51-39=12 Exploring Operation: 51-26=25, Resulting Numbers: [6, 39, 25] Generated Node #0,2: 38:[6, 39, 25] Operation: 51-26=25 Exploring Operation: 26+6=32, Resulting Numbers: [51, 39, 32] Generated Node #0,3: 38:[51, 39, 32] Operation: 26+6=32 Exploring Operation: 26-6=20, Resulting Numbers: [51, 39, 20] Generated Node #0,4: 38:[51, 39, 20] Operation: 26-6=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[6, 39, 25], Operations: ['51-26=25'] Exploring Operation: 6+25=31, Resulting Numbers: [39, 31] Generated Node #0,2,0: 38:[39, 31] Operation: 6+25=31 Exploring Operation: 25-6=19, Resulting Numbers: [39, 19] Generated Node #0,2,1: 38:[39, 19] Operation: 25-6=19 Exploring Operation: 39-6=33, Resulting Numbers: [25, 33] Generated Node #0,2,2: 38:[25, 33] Operation: 39-6=33 Exploring Operation: 39-25=14, Resulting Numbers: [6, 14] Generated Node #0,2,3: 38:[6, 14] Operation: 39-25=14 Exploring Operation: 6+39=45, Resulting Numbers: [25, 45] Generated Node #0,2,4: 38:[25, 45] Operation: 6+39=45 Moving to Node #0,2,1 Current State: 38:[39, 19], Operations: ['51-26=25', '25-6=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,38 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[39, 31], Operations: ['51-26=25', '6+25=31'] Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,38 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[6, 14], Operations: ['51-26=25', '39-25=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[25, 33], Operations: ['51-26=25', '39-6=33'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,38 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[25, 45], Operations: ['51-26=25', '6+39=45'] Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,38 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[26, 39, 45], Operations: ['51-6=45'] Exploring Operation: 45-26=19, Resulting Numbers: [39, 19] Generated Node #0,0,0: 38:[39, 19] Operation: 45-26=19 Exploring Operation: 26+45=71, Resulting Numbers: [39, 71] Generated Node #0,0,1: 38:[39, 71] Operation: 26+45=71 Exploring Operation: 26+39=65, Resulting Numbers: [45, 65] Generated Node #0,0,2: 38:[45, 65] Operation: 26+39=65 Exploring Operation: 45-39=6, Resulting Numbers: [26, 6] Generated Node #0,0,3: 38:[26, 6] Operation: 45-39=6 Exploring Operation: 39-26=13, Resulting Numbers: [45, 13] Generated Node #0,0,4: 38:[45, 13] Operation: 39-26=13 Moving to Node #0,0,0 Current State: 38:[39, 19], Operations: ['51-6=45', '45-26=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[26, 6], Operations: ['51-6=45', '45-39=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,38 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[45, 13], Operations: ['51-6=45', '39-26=13'] Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,38 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[39, 71], Operations: ['51-6=45', '26+45=71'] Exploring Operation: 39+71=110, Resulting Numbers: [110] 110,38 unequal: No Solution Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 39*71=2769, Resulting Numbers: [2769] 2769,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[45, 65], Operations: ['51-6=45', '26+39=65'] Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 45*65=2925, Resulting Numbers: [2925] 2925,38 unequal: No Solution Exploring Operation: 45+65=110, Resulting Numbers: [110] 110,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,4 Current State: 38:[51, 39, 20], Operations: ['26-6=20'] Exploring Operation: 39+20=59, Resulting Numbers: [51, 59] Generated Node #0,4,0: 38:[51, 59] Operation: 39+20=59 Exploring Operation: 51-20=31, Resulting Numbers: [39, 31] Generated Node #0,4,1: 38:[39, 31] Operation: 51-20=31 Exploring Operation: 39-20=19, Resulting Numbers: [51, 19] Generated Node #0,4,2: 38:[51, 19] Operation: 39-20=19 Exploring Operation: 51-39=12, Resulting Numbers: [20, 12] Generated Node #0,4,3: 38:[20, 12] Operation: 51-39=12 Exploring Operation: 51+20=71, Resulting Numbers: [39, 71] Generated Node #0,4,4: 38:[39, 71] Operation: 51+20=71 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 38:[39, 31], Operations: ['26-6=20', '51-20=31'] Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,38 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 38:[20, 12], Operations: ['26-6=20', '51-39=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 38:[51, 19], Operations: ['26-6=20', '39-20=19'] Exploring Operation: 51*19=969, Resulting Numbers: [969] 969,38 unequal: No Solution Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 38:[51, 59], Operations: ['26-6=20', '39+20=59'] Exploring Operation: 51*59=3009, Resulting Numbers: [3009] 3009,38 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 51+59=110, Resulting Numbers: [110] 110,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 38:[39, 71], Operations: ['26-6=20', '51+20=71'] Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 39*71=2769, Resulting Numbers: [2769] 2769,38 unequal: No Solution Exploring Operation: 39+71=110, Resulting Numbers: [110] 110,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[26, 6, 12], Operations: ['51-39=12'] Exploring Operation: 26-12=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 38:[6, 14] Operation: 26-12=14 Exploring Operation: 12/6=2, Resulting Numbers: [26, 2] Generated Node #0,1,1: 38:[26, 2] Operation: 12/6=2 Exploring Operation: 26+12=38, Resulting Numbers: [6, 38] Generated Node #0,1,2: 38:[6, 38] Operation: 26+12=38 Exploring Operation: 26-6=20, Resulting Numbers: [12, 20] Generated Node #0,1,3: 38:[12, 20] Operation: 26-6=20 Exploring Operation: 6+12=18, Resulting Numbers: [26, 18] Generated Node #0,1,4: 38:[26, 18] Operation: 6+12=18 Moving to Node #0,1,2 Current State: 38:[6, 38], Operations: ['51-39=12', '26+12=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,38 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[26, 2], Operations: ['51-39=12', '12/6=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[12, 20], Operations: ['51-39=12', '26-6=20'] Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,38 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,38 unequal: No Solution Moving to Node #0,1,4 Current State: 38:[26, 18], Operations: ['51-39=12', '6+12=18'] Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,38 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[6, 14], Operations: ['51-39=12', '26-12=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,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 Current State: 38:[51, 39, 32], Operations: ['26+6=32'] Exploring Operation: 51-39=12, Resulting Numbers: [32, 12] Generated Node #0,3,0: 38:[32, 12] Operation: 51-39=12 Exploring Operation: 51+32=83, Resulting Numbers: [39, 83] Generated Node #0,3,1: 38:[39, 83] Operation: 51+32=83 Exploring Operation: 51-32=19, Resulting Numbers: [39, 19] Generated Node #0,3,2: 38:[39, 19] Operation: 51-32=19 Exploring Operation: 39+32=71, Resulting Numbers: [51, 71] Generated Node #0,3,3: 38:[51, 71] Operation: 39+32=71 Exploring Operation: 39-32=7, Resulting Numbers: [51, 7] Generated Node #0,3,4: 38:[51, 7] Operation: 39-32=7 Moving to Node #0,3,2 Current State: 38:[39, 19], Operations: ['26+6=32', '51-32=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,38 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[32, 12], Operations: ['26+6=32', '51-39=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,38 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,3,4 Current State: 38:[51, 7], Operations: ['26+6=32', '39-32=7'] Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,38 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[39, 83], Operations: ['26+6=32', '51+32=83'] Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,38 unequal: No Solution Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,38 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[51, 71], Operations: ['26+6=32', '39+32=71'] Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,38 unequal: No Solution Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,38 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
[ 68, 10, 32, 9 ]
99
[ "68-10=58", "32+9=41", "58+41=99" ]
Current State: 99:[68, 10, 32, 9], Operations: [] Exploring Operation: 68-10=58, Resulting Numbers: [32, 9, 58] Generated Node #2: [32, 9, 58] from Operation: 68-10=58 Current State: 99:[32, 9, 58], Operations: ['68-10=58'] Exploring Operation: 32+9=41, Resulting Numbers: [58, 41] Generated Node #3: [58, 41] from Operation: 32+9=41 Current State: 99:[58, 41], Operations: ['68-10=58', '32+9=41'] Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[68, 10, 32, 9], Operations: [] Exploring Operation: 68+10=78, Resulting Numbers: [32, 9, 78] Generated Node #0,0: 99:[32, 9, 78] Operation: 68+10=78 Exploring Operation: 68-32=36, Resulting Numbers: [10, 9, 36] Generated Node #0,1: 99:[10, 9, 36] Operation: 68-32=36 Exploring Operation: 68+9=77, Resulting Numbers: [10, 32, 77] Generated Node #0,2: 99:[10, 32, 77] Operation: 68+9=77 Exploring Operation: 68+32=100, Resulting Numbers: [10, 9, 100] Generated Node #0,3: 99:[10, 9, 100] Operation: 68+32=100 Moving to Node #0,3 Current State: 99:[10, 9, 100], Operations: ['68+32=100'] Exploring Operation: 10-9=1, Resulting Numbers: [100, 1] Generated Node #0,3,0: 99:[100, 1] Operation: 10-9=1 Exploring Operation: 100/10=10, Resulting Numbers: [9, 10] Generated Node #0,3,1: 99:[9, 10] Operation: 100/10=10 Exploring Operation: 10+9=19, Resulting Numbers: [100, 19] Generated Node #0,3,2: 99:[100, 19] Operation: 10+9=19 Exploring Operation: 100-10=90, Resulting Numbers: [9, 90] Generated Node #0,3,3: 99:[9, 90] Operation: 100-10=90 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[9, 10], Operations: ['68+32=100', '100/10=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,99 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,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,0 Current State: 99:[100, 1], Operations: ['68+32=100', '10-9=1'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[68, 10, 32, 9], Operations: [] Exploring Operation: 68+32=100, Resulting Numbers: [10, 9, 100] Generated Node #0,3: 99:[10, 9, 100] Operation: 68+32=100 Moving to Node #0,3 Current State: 99:[10, 9, 100], Operations: ['68+32=100'] Exploring Operation: 10-9=1, Resulting Numbers: [100, 1] Generated Node #0,3,0: 99:[100, 1] Operation: 10-9=1 Moving to Node #0,3,0 Current State: 99:[100, 1], Operations: ['68+32=100', '10-9=1'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 6, 75, 99, 31 ]
25
[ "99-6=93", "75*31=2325", "2325/93=25" ]
Current State: 25:[6, 75, 99, 31], Operations: [] Exploring Operation: 99-6=93, Resulting Numbers: [75, 31, 93] Generated Node #2: [75, 31, 93] from Operation: 99-6=93 Current State: 25:[75, 31, 93], Operations: ['99-6=93'] Exploring Operation: 75*31=2325, Resulting Numbers: [93, 2325] Generated Node #3: [93, 2325] from Operation: 75*31=2325 Current State: 25:[93, 2325], Operations: ['99-6=93', '75*31=2325'] Exploring Operation: 2325/93=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[6, 75, 99, 31], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [6, 31, 24] Generated Node #0,0: 25:[6, 31, 24] Operation: 99-75=24 Exploring Operation: 99-6=93, Resulting Numbers: [75, 31, 93] Generated Node #0,1: 25:[75, 31, 93] Operation: 99-6=93 Exploring Operation: 75-6=69, Resulting Numbers: [99, 31, 69] Generated Node #0,2: 25:[99, 31, 69] Operation: 75-6=69 Exploring Operation: 99-31=68, Resulting Numbers: [6, 75, 68] Generated Node #0,3: 25:[6, 75, 68] Operation: 99-31=68 Exploring Operation: 75-31=44, Resulting Numbers: [6, 99, 44] Generated Node #0,4: 25:[6, 99, 44] Operation: 75-31=44 Moving to Node #0,0 Current State: 25:[6, 31, 24], Operations: ['99-75=24'] Exploring Operation: 6+31=37, Resulting Numbers: [24, 37] Generated Node #0,0,0: 25:[24, 37] Operation: 6+31=37 Exploring Operation: 31-6=25, Resulting Numbers: [24, 25] Generated Node #0,0,1: 25:[24, 25] Operation: 31-6=25 Exploring Operation: 6+24=30, Resulting Numbers: [31, 30] Generated Node #0,0,2: 25:[31, 30] Operation: 6+24=30 Exploring Operation: 24/6=4, Resulting Numbers: [31, 4] Generated Node #0,0,3: 25:[31, 4] Operation: 24/6=4 Exploring Operation: 31-24=7, Resulting Numbers: [6, 7] Generated Node #0,0,4: 25:[6, 7] Operation: 31-24=7 Moving to Node #0,4 Current State: 25:[6, 99, 44], Operations: ['75-31=44'] Exploring Operation: 6+99=105, Resulting Numbers: [44, 105] Generated Node #0,4,0: 25:[44, 105] Operation: 6+99=105 Exploring Operation: 44-6=38, Resulting Numbers: [99, 38] Generated Node #0,4,1: 25:[99, 38] Operation: 44-6=38 Exploring Operation: 99-44=55, Resulting Numbers: [6, 55] Generated Node #0,4,2: 25:[6, 55] Operation: 99-44=55 Exploring Operation: 99-6=93, Resulting Numbers: [44, 93] Generated Node #0,4,3: 25:[44, 93] Operation: 99-6=93 Exploring Operation: 6+44=50, Resulting Numbers: [99, 50] Generated Node #0,4,4: 25:[99, 50] Operation: 6+44=50 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[6, 55], Operations: ['75-31=44', '99-44=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,25 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[99, 38], Operations: ['75-31=44', '44-6=38'] Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 99+38=137, Resulting Numbers: [137] 137,25 unequal: No Solution Exploring Operation: 99*38=3762, Resulting Numbers: [3762] 3762,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[44, 93], Operations: ['75-31=44', '99-6=93'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,25 unequal: No Solution Exploring Operation: 44*93=4092, Resulting Numbers: [4092] 4092,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 25:[44, 105], Operations: ['75-31=44', '6+99=105'] Exploring Operation: 105-44=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 44+105=149, Resulting Numbers: [149] 149,25 unequal: No Solution Exploring Operation: 44*105=4620, Resulting Numbers: [4620] 4620,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[99, 50], Operations: ['75-31=44', '6+44=50'] Exploring Operation: 99*50=4950, Resulting Numbers: [4950] 4950,25 unequal: No Solution Exploring Operation: 99+50=149, Resulting Numbers: [149] 149,25 unequal: No Solution Exploring Operation: 99-50=49, Resulting Numbers: [49] 49,25 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: 25:[6, 75, 68], Operations: ['99-31=68'] Exploring Operation: 68-6=62, Resulting Numbers: [75, 62] Generated Node #0,3,0: 25:[75, 62] Operation: 68-6=62 Exploring Operation: 6+68=74, Resulting Numbers: [75, 74] Generated Node #0,3,1: 25:[75, 74] Operation: 6+68=74 Exploring Operation: 6+75=81, Resulting Numbers: [68, 81] Generated Node #0,3,2: 25:[68, 81] Operation: 6+75=81 Exploring Operation: 75-6=69, Resulting Numbers: [68, 69] Generated Node #0,3,3: 25:[68, 69] Operation: 75-6=69 Exploring Operation: 75-68=7, Resulting Numbers: [6, 7] Generated Node #0,3,4: 25:[6, 7] Operation: 75-68=7 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[6, 7], Operations: ['99-31=68', '75-68=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[75, 62], Operations: ['99-31=68', '68-6=62'] Exploring Operation: 75-62=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 75*62=4650, Resulting Numbers: [4650] 4650,25 unequal: No Solution Exploring Operation: 75+62=137, Resulting Numbers: [137] 137,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[68, 69], Operations: ['99-31=68', '75-6=69'] Exploring Operation: 68*69=4692, Resulting Numbers: [4692] 4692,25 unequal: No Solution Exploring Operation: 68+69=137, Resulting Numbers: [137] 137,25 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[75, 74], Operations: ['99-31=68', '6+68=74'] Exploring Operation: 75*74=5550, Resulting Numbers: [5550] 5550,25 unequal: No Solution Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 75+74=149, Resulting Numbers: [149] 149,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[68, 81], Operations: ['99-31=68', '6+75=81'] Exploring Operation: 68*81=5508, Resulting Numbers: [5508] 5508,25 unequal: No Solution Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,25 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[75, 31, 93], Operations: ['99-6=93'] Exploring Operation: 75+31=106, Resulting Numbers: [93, 106] Generated Node #0,1,0: 25:[93, 106] Operation: 75+31=106 Exploring Operation: 93-75=18, Resulting Numbers: [31, 18] Generated Node #0,1,1: 25:[31, 18] Operation: 93-75=18 Exploring Operation: 93-31=62, Resulting Numbers: [75, 62] Generated Node #0,1,2: 25:[75, 62] Operation: 93-31=62 Exploring Operation: 93/31=3, Resulting Numbers: [75, 3] Generated Node #0,1,3: 25:[75, 3] Operation: 93/31=3 Exploring Operation: 75-31=44, Resulting Numbers: [93, 44] Generated Node #0,1,4: 25:[93, 44] Operation: 75-31=44 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[31, 18], Operations: ['99-6=93', '93-75=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,25 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[75, 3], Operations: ['99-6=93', '93/31=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 75*3=225, Resulting Numbers: [225] 225,25 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[6, 75, 99, 31], Operations: [] Exploring Operation: 99-6=93, Resulting Numbers: [75, 31, 93] Generated Node #0,1: 25:[75, 31, 93] Operation: 99-6=93 Moving to Node #0,1 Current State: 25:[75, 31, 93], Operations: ['99-6=93'] Exploring Operation: 93/31=3, Resulting Numbers: [75, 3] Generated Node #0,1,3: 25:[75, 3] Operation: 93/31=3 Moving to Node #0,1,3 Current State: 25:[75, 3], Operations: ['99-6=93', '93/31=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_5
mult_heuristic
[ 9, 3, 13, 7 ]
69
[ "13+7=20", "3*20=60", "9+60=69" ]
Current State: 69:[9, 3, 13, 7], Operations: [] Exploring Operation: 13+7=20, Resulting Numbers: [9, 3, 20] Generated Node #2: [9, 3, 20] from Operation: 13+7=20 Current State: 69:[9, 3, 20], Operations: ['13+7=20'] Exploring Operation: 3*20=60, Resulting Numbers: [9, 60] Generated Node #3: [9, 60] from Operation: 3*20=60 Current State: 69:[9, 60], Operations: ['13+7=20', '3*20=60'] Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[9, 3, 13, 7], Operations: [] Exploring Operation: 13+7=20, Resulting Numbers: [9, 3, 20] Generated Node #0,0: 69:[9, 3, 20] Operation: 13+7=20 Exploring Operation: 9+13=22, Resulting Numbers: [3, 7, 22] Generated Node #0,1: 69:[3, 7, 22] Operation: 9+13=22 Exploring Operation: 13-9=4, Resulting Numbers: [3, 7, 4] Generated Node #0,2: 69:[3, 7, 4] Operation: 13-9=4 Exploring Operation: 13-7=6, Resulting Numbers: [9, 3, 6] Generated Node #0,3: 69:[9, 3, 6] Operation: 13-7=6 Moving to Node #0,1 Current State: 69:[3, 7, 22], Operations: ['9+13=22'] Exploring Operation: 3*7=21, Resulting Numbers: [22, 21] Generated Node #0,1,0: 69:[22, 21] Operation: 3*7=21 Exploring Operation: 7+22=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 69:[3, 29] Operation: 7+22=29 Exploring Operation: 3+22=25, Resulting Numbers: [7, 25] Generated Node #0,1,2: 69:[7, 25] Operation: 3+22=25 Exploring Operation: 7-3=4, Resulting Numbers: [22, 4] Generated Node #0,1,3: 69:[22, 4] Operation: 7-3=4 Moving to Node #0,2 Current State: 69:[3, 7, 4], Operations: ['13-9=4'] Exploring Operation: 3*7=21, Resulting Numbers: [4, 21] Generated Node #0,2,0: 69:[4, 21] Operation: 3*7=21 Exploring Operation: 7-4=3, Resulting Numbers: [3, 3] Generated Node #0,2,1: 69:[3, 3] Operation: 7-4=3 Exploring Operation: 7*4=28, Resulting Numbers: [3, 28] Generated Node #0,2,2: 69:[3, 28] Operation: 7*4=28 Exploring Operation: 7-3=4, Resulting Numbers: [4, 4] Generated Node #0,2,3: 69:[4, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[3, 3], Operations: ['13-9=4', '7-4=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 69:[4, 4], Operations: ['13-9=4', '7-3=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[4, 21], Operations: ['13-9=4', '3*7=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[3, 28], Operations: ['13-9=4', '7*4=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,69 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: 69:[9, 3, 6], Operations: ['13-7=6'] Exploring Operation: 6-3=3, Resulting Numbers: [9, 3] Generated Node #0,3,0: 69:[9, 3] Operation: 6-3=3 Exploring Operation: 9-3=6, Resulting Numbers: [6, 6] Generated Node #0,3,1: 69:[6, 6] Operation: 9-3=6 Exploring Operation: 9-6=3, Resulting Numbers: [3, 3] Generated Node #0,3,2: 69:[3, 3] Operation: 9-6=3 Exploring Operation: 9/3=3, Resulting Numbers: [6, 3] Generated Node #0,3,3: 69:[6, 3] Operation: 9/3=3 Moving to Node #0,0 Current State: 69:[9, 3, 20], Operations: ['13+7=20'] Exploring Operation: 9/3=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 69:[20, 3] Operation: 9/3=3 Exploring Operation: 3+20=23, Resulting Numbers: [9, 23] Generated Node #0,0,1: 69:[9, 23] Operation: 3+20=23 Exploring Operation: 9+20=29, Resulting Numbers: [3, 29] Generated Node #0,0,2: 69:[3, 29] Operation: 9+20=29 Exploring Operation: 9-3=6, Resulting Numbers: [20, 6] Generated Node #0,0,3: 69:[20, 6] Operation: 9-3=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[20, 3], Operations: ['13+7=20', '9/3=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[9, 23], Operations: ['13+7=20', '3+20=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,69 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[3, 29], Operations: ['13+7=20', '9+20=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[20, 6], Operations: ['13+7=20', '9-3=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,69 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,69 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: 69:[3, 3], Operations: ['13-7=6', '9-6=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[22, 4], Operations: ['9+13=22', '7-3=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[6, 3], Operations: ['13-7=6', '9/3=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[22, 21], Operations: ['9+13=22', '3*7=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,69 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,69 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[3, 29], Operations: ['9+13=22', '7+22=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[9, 3], Operations: ['13-7=6', '6-3=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[6, 6], Operations: ['13-7=6', '9-3=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[7, 25], Operations: ['9+13=22', '3+22=25'] Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,69 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,69 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 59, 82, 27, 62 ]
52
[ "59+82=141", "27+62=89", "141-89=52" ]
Current State: 52:[59, 82, 27, 62], Operations: [] Exploring Operation: 59+82=141, Resulting Numbers: [27, 62, 141] Generated Node #2: [27, 62, 141] from Operation: 59+82=141 Current State: 52:[27, 62, 141], Operations: ['59+82=141'] Exploring Operation: 27+62=89, Resulting Numbers: [141, 89] Generated Node #3: [141, 89] from Operation: 27+62=89 Current State: 52:[141, 89], Operations: ['59+82=141', '27+62=89'] Exploring Operation: 141-89=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[59, 82, 27, 62], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [82, 27, 3] Generated Node #0,0: 52:[82, 27, 3] Operation: 62-59=3 Exploring Operation: 82-27=55, Resulting Numbers: [59, 62, 55] Generated Node #0,1: 52:[59, 62, 55] Operation: 82-27=55 Exploring Operation: 82-59=23, Resulting Numbers: [27, 62, 23] Generated Node #0,2: 52:[27, 62, 23] Operation: 82-59=23 Exploring Operation: 82-62=20, Resulting Numbers: [59, 27, 20] Generated Node #0,3: 52:[59, 27, 20] Operation: 82-62=20 Moving to Node #0,2 Current State: 52:[27, 62, 23], Operations: ['82-59=23'] Exploring Operation: 62-27=35, Resulting Numbers: [23, 35] Generated Node #0,2,0: 52:[23, 35] Operation: 62-27=35 Exploring Operation: 27-23=4, Resulting Numbers: [62, 4] Generated Node #0,2,1: 52:[62, 4] Operation: 27-23=4 Exploring Operation: 62-23=39, Resulting Numbers: [27, 39] Generated Node #0,2,2: 52:[27, 39] Operation: 62-23=39 Exploring Operation: 27+23=50, Resulting Numbers: [62, 50] Generated Node #0,2,3: 52:[62, 50] Operation: 27+23=50 Moving to Node #0,3 Current State: 52:[59, 27, 20], Operations: ['82-62=20'] Exploring Operation: 59-27=32, Resulting Numbers: [20, 32] Generated Node #0,3,0: 52:[20, 32] Operation: 59-27=32 Exploring Operation: 27+20=47, Resulting Numbers: [59, 47] Generated Node #0,3,1: 52:[59, 47] Operation: 27+20=47 Exploring Operation: 59-20=39, Resulting Numbers: [27, 39] Generated Node #0,3,2: 52:[27, 39] Operation: 59-20=39 Exploring Operation: 27-20=7, Resulting Numbers: [59, 7] Generated Node #0,3,3: 52:[59, 7] Operation: 27-20=7 Moving to Node #0,1 Current State: 52:[59, 62, 55], Operations: ['82-27=55'] Exploring Operation: 62-59=3, Resulting Numbers: [55, 3] Generated Node #0,1,0: 52:[55, 3] Operation: 62-59=3 Exploring Operation: 59-55=4, Resulting Numbers: [62, 4] Generated Node #0,1,1: 52:[62, 4] Operation: 59-55=4 Exploring Operation: 59+62=121, Resulting Numbers: [55, 121] Generated Node #0,1,2: 52:[55, 121] Operation: 59+62=121 Exploring Operation: 62-55=7, Resulting Numbers: [59, 7] Generated Node #0,1,3: 52:[59, 7] Operation: 62-55=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[55, 3], Operations: ['82-27=55', '62-59=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[59, 82, 27, 62], Operations: [] Exploring Operation: 82-27=55, Resulting Numbers: [59, 62, 55] Generated Node #0,1: 52:[59, 62, 55] Operation: 82-27=55 Moving to Node #0,1 Current State: 52:[59, 62, 55], Operations: ['82-27=55'] Exploring Operation: 62-59=3, Resulting Numbers: [55, 3] Generated Node #0,1,0: 52:[55, 3] Operation: 62-59=3 Moving to Node #0,1,0 Current State: 52:[55, 3], Operations: ['82-27=55', '62-59=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 1, 3, 90, 3 ]
81
[ "1*3=3", "3*3=9", "90-9=81" ]
Current State: 81:[1, 3, 90, 3], Operations: [] Exploring Operation: 1*3=3, Resulting Numbers: [90, 3] Generated Node #2: [90, 3] from Operation: 1*3=3 Current State: 81:[90, 3], Operations: ['1*3=3'] Exploring Operation: 3*3=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 3*3=9 Current State: 81:[90, 9], Operations: ['1*3=3', '3*3=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[1, 3, 90, 3], Operations: [] Exploring Operation: 90-3=87, Resulting Numbers: [1, 3, 87] Generated Node #0,0: 81:[1, 3, 87] Operation: 90-3=87 Exploring Operation: 90/3=30, Resulting Numbers: [1, 3, 30] Generated Node #0,1: 81:[1, 3, 30] Operation: 90/3=30 Exploring Operation: 90/3=30, Resulting Numbers: [1, 3, 30] Generated Node #0,2: 81:[1, 3, 30] Operation: 90/3=30 Exploring Operation: 90-3=87, Resulting Numbers: [1, 3, 87] Generated Node #0,3: 81:[1, 3, 87] Operation: 90-3=87 Exploring Operation: 90-1=89, Resulting Numbers: [3, 3, 89] Generated Node #0,4: 81:[3, 3, 89] Operation: 90-1=89 Moving to Node #0,1 Current State: 81:[1, 3, 30], Operations: ['90/3=30'] Exploring Operation: 30-1=29, Resulting Numbers: [3, 29] Generated Node #0,1,0: 81:[3, 29] Operation: 30-1=29 Exploring Operation: 30-3=27, Resulting Numbers: [1, 27] Generated Node #0,1,1: 81:[1, 27] Operation: 30-3=27 Exploring Operation: 3/1=3, Resulting Numbers: [30, 3] Generated Node #0,1,2: 81:[30, 3] Operation: 3/1=3 Exploring Operation: 1*30=30, Resulting Numbers: [3, 30] Generated Node #0,1,3: 81:[3, 30] Operation: 1*30=30 Exploring Operation: 1*3=3, Resulting Numbers: [30, 3] Generated Node #0,1,4: 81:[30, 3] Operation: 1*3=3 Moving to Node #0,2 Current State: 81:[1, 3, 30], Operations: ['90/3=30'] Exploring Operation: 30-3=27, Resulting Numbers: [1, 27] Generated Node #0,2,0: 81:[1, 27] Operation: 30-3=27 Exploring Operation: 1*3=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 81:[30, 3] Operation: 1*3=3 Exploring Operation: 30-1=29, Resulting Numbers: [3, 29] Generated Node #0,2,2: 81:[3, 29] Operation: 30-1=29 Exploring Operation: 1*30=30, Resulting Numbers: [3, 30] Generated Node #0,2,3: 81:[3, 30] Operation: 1*30=30 Exploring Operation: 3/1=3, Resulting Numbers: [30, 3] Generated Node #0,2,4: 81:[30, 3] Operation: 3/1=3 Moving to Node #0,0 Current State: 81:[1, 3, 87], Operations: ['90-3=87'] Exploring Operation: 87/3=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 81:[1, 29] Operation: 87/3=29 Exploring Operation: 1*3=3, Resulting Numbers: [87, 3] Generated Node #0,0,1: 81:[87, 3] Operation: 1*3=3 Exploring Operation: 87-1=86, Resulting Numbers: [3, 86] Generated Node #0,0,2: 81:[3, 86] Operation: 87-1=86 Exploring Operation: 3/1=3, Resulting Numbers: [87, 3] Generated Node #0,0,3: 81:[87, 3] Operation: 3/1=3 Exploring Operation: 87-3=84, Resulting Numbers: [1, 84] Generated Node #0,0,4: 81:[1, 84] Operation: 87-3=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[1, 29], Operations: ['90-3=87', '87/3=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,81 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[3, 86], Operations: ['90-3=87', '87-1=86'] Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,81 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,81 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 81:[1, 84], Operations: ['90-3=87', '87-3=84'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,81 unequal: No Solution Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[87, 3], Operations: ['90-3=87', '1*3=3'] Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,81 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[87, 3], Operations: ['90-3=87', '3/1=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,81 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 81:[1, 3, 87], Operations: ['90-3=87'] Exploring Operation: 87-1=86, Resulting Numbers: [3, 86] Generated Node #0,3,0: 81:[3, 86] Operation: 87-1=86 Exploring Operation: 87/3=29, Resulting Numbers: [1, 29] Generated Node #0,3,1: 81:[1, 29] Operation: 87/3=29 Exploring Operation: 3/1=3, Resulting Numbers: [87, 3] Generated Node #0,3,2: 81:[87, 3] Operation: 3/1=3 Exploring Operation: 87-3=84, Resulting Numbers: [1, 84] Generated Node #0,3,3: 81:[1, 84] Operation: 87-3=84 Exploring Operation: 1*3=3, Resulting Numbers: [87, 3] Generated Node #0,3,4: 81:[87, 3] Operation: 1*3=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[1, 29], Operations: ['90-3=87', '87/3=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,81 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[3, 86], Operations: ['90-3=87', '87-1=86'] Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,81 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[1, 84], Operations: ['90-3=87', '87-3=84'] Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[87, 3], Operations: ['90-3=87', '3/1=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,81 unequal: No Solution Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 81:[87, 3], Operations: ['90-3=87', '1*3=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,81 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,81 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: 81:[3, 3, 89], Operations: ['90-1=89'] Exploring Operation: 3/3=1, Resulting Numbers: [89, 1] Generated Node #0,4,0: 81:[89, 1] Operation: 3/3=1 Exploring Operation: 89-3=86, Resulting Numbers: [3, 86] Generated Node #0,4,1: 81:[3, 86] Operation: 89-3=86 Exploring Operation: 89-3=86, Resulting Numbers: [3, 86] Generated Node #0,4,2: 81:[3, 86] Operation: 89-3=86 Exploring Operation: 3+3=6, Resulting Numbers: [89, 6] Generated Node #0,4,3: 81:[89, 6] Operation: 3+3=6 Exploring Operation: 3*3=9, Resulting Numbers: [89, 9] Generated Node #0,4,4: 81:[89, 9] Operation: 3*3=9 Moving to Node #0,1,0 Current State: 81:[3, 29], Operations: ['90/3=30', '30-1=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[1, 27], Operations: ['90/3=30', '30-3=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[3, 29], Operations: ['90/3=30', '30-1=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[1, 27], Operations: ['90/3=30', '30-3=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[30, 3], Operations: ['90/3=30', '3/1=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[30, 3], Operations: ['90/3=30', '1*3=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Moving to Node #0,2,4 Current State: 81:[30, 3], Operations: ['90/3=30', '3/1=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[3, 30], Operations: ['90/3=30', '1*30=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[3, 30], Operations: ['90/3=30', '1*30=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[30, 3], Operations: ['90/3=30', '1*3=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,81 unequal: No Solution Moving to Node #0,4,2 Current State: 81:[3, 86], Operations: ['90-1=89', '89-3=86'] Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,81 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,81 unequal: No Solution Moving to Node #0,4,1 Current State: 81:[3, 86], Operations: ['90-1=89', '89-3=86'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,81 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,81 unequal: No Solution Moving to Node #0,4,4 Current State: 81:[89, 9], Operations: ['90-1=89', '3*3=9'] Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,81 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,81 unequal: No Solution Moving to Node #0,4,0 Current State: 81:[89, 1], Operations: ['90-1=89', '3/3=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,81 unequal: No Solution Moving to Node #0,4,3 Current State: 81:[89, 6], Operations: ['90-1=89', '3+3=6'] Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,81 unequal: No Solution Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 89*6=534, Resulting Numbers: [534] 534,81 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 70, 18, 66, 52 ]
30
[ "70+18=88", "66+52=118", "118-88=30" ]
Current State: 30:[70, 18, 66, 52], Operations: [] Exploring Operation: 70+18=88, Resulting Numbers: [66, 52, 88] Generated Node #2: [66, 52, 88] from Operation: 70+18=88 Current State: 30:[66, 52, 88], Operations: ['70+18=88'] Exploring Operation: 66+52=118, Resulting Numbers: [88, 118] Generated Node #3: [88, 118] from Operation: 66+52=118 Current State: 30:[88, 118], Operations: ['70+18=88', '66+52=118'] Exploring Operation: 118-88=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[70, 18, 66, 52], Operations: [] Exploring Operation: 66-52=14, Resulting Numbers: [70, 18, 14] Generated Node #0,0: 30:[70, 18, 14] Operation: 66-52=14 Exploring Operation: 70-52=18, Resulting Numbers: [18, 66, 18] Generated Node #0,1: 30:[18, 66, 18] Operation: 70-52=18 Exploring Operation: 70-66=4, Resulting Numbers: [18, 52, 4] Generated Node #0,2: 30:[18, 52, 4] Operation: 70-66=4 Moving to Node #0,2 Current State: 30:[18, 52, 4], Operations: ['70-66=4'] Exploring Operation: 52-18=34, Resulting Numbers: [4, 34] Generated Node #0,2,0: 30:[4, 34] Operation: 52-18=34 Exploring Operation: 52-4=48, Resulting Numbers: [18, 48] Generated Node #0,2,1: 30:[18, 48] Operation: 52-4=48 Exploring Operation: 52/4=13, Resulting Numbers: [18, 13] Generated Node #0,2,2: 30:[18, 13] Operation: 52/4=13 Moving to Node #0,1 Current State: 30:[18, 66, 18], Operations: ['70-52=18'] Exploring Operation: 66-18=48, Resulting Numbers: [18, 48] Generated Node #0,1,0: 30:[18, 48] Operation: 66-18=48 Exploring Operation: 66-18=48, Resulting Numbers: [18, 48] Generated Node #0,1,1: 30:[18, 48] Operation: 66-18=48 Exploring Operation: 18/18=1, Resulting Numbers: [66, 1] Generated Node #0,1,2: 30:[66, 1] Operation: 18/18=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[18, 48], Operations: ['70-52=18', '66-18=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[70, 18, 66, 52], Operations: [] Exploring Operation: 70-52=18, Resulting Numbers: [18, 66, 18] Generated Node #0,1: 30:[18, 66, 18] Operation: 70-52=18 Moving to Node #0,1 Current State: 30:[18, 66, 18], Operations: ['70-52=18'] Exploring Operation: 66-18=48, Resulting Numbers: [18, 48] Generated Node #0,1,0: 30:[18, 48] Operation: 66-18=48 Moving to Node #0,1,0 Current State: 30:[18, 48], Operations: ['70-52=18', '66-18=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 77, 80, 19, 22 ]
85
[ "80-77=3", "22*3=66", "19+66=85" ]
Current State: 85:[77, 80, 19, 22], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [19, 22, 3] Generated Node #2: [19, 22, 3] from Operation: 80-77=3 Current State: 85:[19, 22, 3], Operations: ['80-77=3'] Exploring Operation: 22*3=66, Resulting Numbers: [19, 66] Generated Node #3: [19, 66] from Operation: 22*3=66 Current State: 85:[19, 66], Operations: ['80-77=3', '22*3=66'] Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[77, 80, 19, 22], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [77, 80, 3] Generated Node #0,0: 85:[77, 80, 3] Operation: 22-19=3 Exploring Operation: 80-77=3, Resulting Numbers: [19, 22, 3] Generated Node #0,1: 85:[19, 22, 3] Operation: 80-77=3 Moving to Node #0,1 Current State: 85:[19, 22, 3], Operations: ['80-77=3'] Exploring Operation: 22-19=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 85:[3, 3] Operation: 22-19=3 Exploring Operation: 22-3=19, Resulting Numbers: [19, 19] Generated Node #0,1,1: 85:[19, 19] Operation: 22-3=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[3, 3], Operations: ['80-77=3', '22-19=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[19, 19], Operations: ['80-77=3', '22-3=19'] Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 85:[77, 80, 3], Operations: ['22-19=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80, 80] Generated Node #0,0,0: 85:[80, 80] Operation: 77+3=80 Exploring Operation: 80-77=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 85:[3, 3] Operation: 80-77=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[3, 3], Operations: ['22-19=3', '80-77=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[80, 80], Operations: ['22-19=3', '77+3=80'] Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 31, 54, 43, 96 ]
78
[ "54*43=2322", "96+2322=2418", "2418/31=78" ]
Current State: 78:[31, 54, 43, 96], Operations: [] Exploring Operation: 54*43=2322, Resulting Numbers: [31, 96, 2322] Generated Node #2: [31, 96, 2322] from Operation: 54*43=2322 Current State: 78:[31, 96, 2322], Operations: ['54*43=2322'] Exploring Operation: 96+2322=2418, Resulting Numbers: [31, 2418] Generated Node #3: [31, 2418] from Operation: 96+2322=2418 Current State: 78:[31, 2418], Operations: ['54*43=2322', '96+2322=2418'] Exploring Operation: 2418/31=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[31, 54, 43, 96], Operations: [] Exploring Operation: 54-31=23, Resulting Numbers: [43, 96, 23] Generated Node #0,0: 78:[43, 96, 23] Operation: 54-31=23 Exploring Operation: 54-43=11, Resulting Numbers: [31, 96, 11] Generated Node #0,1: 78:[31, 96, 11] Operation: 54-43=11 Exploring Operation: 96-54=42, Resulting Numbers: [31, 43, 42] Generated Node #0,2: 78:[31, 43, 42] Operation: 96-54=42 Exploring Operation: 31+54=85, Resulting Numbers: [43, 96, 85] Generated Node #0,3: 78:[43, 96, 85] Operation: 31+54=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[31, 43, 42], Operations: ['96-54=42'] Exploring Operation: 31+43=74, Resulting Numbers: [42, 74] Generated Node #0,2,0: 78:[42, 74] Operation: 31+43=74 Exploring Operation: 43-42=1, Resulting Numbers: [31, 1] Generated Node #0,2,1: 78:[31, 1] Operation: 43-42=1 Exploring Operation: 43-31=12, Resulting Numbers: [42, 12] Generated Node #0,2,2: 78:[42, 12] Operation: 43-31=12 Exploring Operation: 42-31=11, Resulting Numbers: [43, 11] Generated Node #0,2,3: 78:[43, 11] Operation: 42-31=11 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[42, 12], Operations: ['96-54=42', '43-31=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[31, 1], Operations: ['96-54=42', '43-42=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 78:[43, 11], Operations: ['96-54=42', '42-31=11'] Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,78 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[42, 74], Operations: ['96-54=42', '31+43=74'] Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,78 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,78 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,78 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: 78:[43, 96, 23], Operations: ['54-31=23'] Exploring Operation: 96-23=73, Resulting Numbers: [43, 73] Generated Node #0,0,0: 78:[43, 73] Operation: 96-23=73 Exploring Operation: 43+23=66, Resulting Numbers: [96, 66] Generated Node #0,0,1: 78:[96, 66] Operation: 43+23=66 Exploring Operation: 96-43=53, Resulting Numbers: [23, 53] Generated Node #0,0,2: 78:[23, 53] Operation: 96-43=53 Exploring Operation: 43-23=20, Resulting Numbers: [96, 20] Generated Node #0,0,3: 78:[96, 20] Operation: 43-23=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[43, 73], Operations: ['54-31=23', '96-23=73'] Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 43+73=116, Resulting Numbers: [116] 116,78 unequal: No Solution Exploring Operation: 43*73=3139, Resulting Numbers: [3139] 3139,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[23, 53], Operations: ['54-31=23', '96-43=53'] Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 23*53=1219, Resulting Numbers: [1219] 1219,78 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 78:[96, 20], Operations: ['54-31=23', '43-23=20'] Exploring Operation: 96*20=1920, Resulting Numbers: [1920] 1920,78 unequal: No Solution Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 96+20=116, Resulting Numbers: [116] 116,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[96, 66], Operations: ['54-31=23', '43+23=66'] Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 96+66=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 96*66=6336, Resulting Numbers: [6336] 6336,78 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: 78:[31, 96, 11], Operations: ['54-43=11'] Exploring Operation: 31-11=20, Resulting Numbers: [96, 20] Generated Node #0,1,0: 78:[96, 20] Operation: 31-11=20 Exploring Operation: 96-11=85, Resulting Numbers: [31, 85] Generated Node #0,1,1: 78:[31, 85] Operation: 96-11=85 Exploring Operation: 31+11=42, Resulting Numbers: [96, 42] Generated Node #0,1,2: 78:[96, 42] Operation: 31+11=42 Exploring Operation: 96-31=65, Resulting Numbers: [11, 65] Generated Node #0,1,3: 78:[11, 65] Operation: 96-31=65 Moving to Node #0,1,1 Current State: 78:[31, 85], Operations: ['54-43=11', '96-11=85'] Exploring Operation: 31+85=116, Resulting Numbers: [116] 116,78 unequal: No Solution Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 31*85=2635, Resulting Numbers: [2635] 2635,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[11, 65], Operations: ['54-43=11', '96-31=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,78 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[96, 42], Operations: ['54-43=11', '31+11=42'] Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,78 unequal: No Solution Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,78 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[96, 20], Operations: ['54-43=11', '31-11=20'] Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 96*20=1920, Resulting Numbers: [1920] 1920,78 unequal: No Solution Exploring Operation: 96+20=116, Resulting Numbers: [116] 116,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 Current State: 78:[43, 96, 85], Operations: ['31+54=85'] Exploring Operation: 96-85=11, Resulting Numbers: [43, 11] Generated Node #0,3,0: 78:[43, 11] Operation: 96-85=11 Exploring Operation: 43+96=139, Resulting Numbers: [85, 139] Generated Node #0,3,1: 78:[85, 139] Operation: 43+96=139 Exploring Operation: 96-43=53, Resulting Numbers: [85, 53] Generated Node #0,3,2: 78:[85, 53] Operation: 96-43=53 Exploring Operation: 85-43=42, Resulting Numbers: [96, 42] Generated Node #0,3,3: 78:[96, 42] Operation: 85-43=42 Moving to Node #0,3,0 Current State: 78:[43, 11], Operations: ['31+54=85', '96-85=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[96, 42], Operations: ['31+54=85', '85-43=42'] Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,78 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[85, 53], Operations: ['31+54=85', '96-43=53'] Exploring Operation: 85+53=138, Resulting Numbers: [138] 138,78 unequal: No Solution Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 85*53=4505, Resulting Numbers: [4505] 4505,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[85, 139], Operations: ['31+54=85', '43+96=139'] Exploring Operation: 85+139=224, Resulting Numbers: [224] 224,78 unequal: No Solution Exploring Operation: 85*139=11815, Resulting Numbers: [11815] 11815,78 unequal: No Solution Exploring Operation: 139-85=54, Resulting Numbers: [54] 54,78 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, 16, 28, 52 ]
95
[ "28*52=1456", "64+1456=1520", "1520/16=95" ]
Current State: 95:[64, 16, 28, 52], Operations: [] Exploring Operation: 28*52=1456, Resulting Numbers: [64, 16, 1456] Generated Node #2: [64, 16, 1456] from Operation: 28*52=1456 Current State: 95:[64, 16, 1456], Operations: ['28*52=1456'] Exploring Operation: 64+1456=1520, Resulting Numbers: [16, 1520] Generated Node #3: [16, 1520] from Operation: 64+1456=1520 Current State: 95:[16, 1520], Operations: ['28*52=1456', '64+1456=1520'] Exploring Operation: 1520/16=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[64, 16, 28, 52], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [16, 28, 12] Generated Node #0,0: 95:[16, 28, 12] Operation: 64-52=12 Exploring Operation: 64+52=116, Resulting Numbers: [16, 28, 116] Generated Node #0,1: 95:[16, 28, 116] Operation: 64+52=116 Exploring Operation: 64+28=92, Resulting Numbers: [16, 52, 92] Generated Node #0,2: 95:[16, 52, 92] Operation: 64+28=92 Exploring Operation: 52-28=24, Resulting Numbers: [64, 16, 24] Generated Node #0,3: 95:[64, 16, 24] Operation: 52-28=24 Moving to Node #0,0 Current State: 95:[16, 28, 12], Operations: ['64-52=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28, 28] Generated Node #0,0,0: 95:[28, 28] Operation: 16+12=28 Exploring Operation: 28-12=16, Resulting Numbers: [16, 16] Generated Node #0,0,1: 95:[16, 16] Operation: 28-12=16 Exploring Operation: 28-16=12, Resulting Numbers: [12, 12] Generated Node #0,0,2: 95:[12, 12] Operation: 28-16=12 Exploring Operation: 16-12=4, Resulting Numbers: [28, 4] Generated Node #0,0,3: 95:[28, 4] Operation: 16-12=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[16, 16], Operations: ['64-52=12', '28-12=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,95 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[28, 4], Operations: ['64-52=12', '16-12=4'] Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[12, 12], Operations: ['64-52=12', '28-16=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,95 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[28, 28], Operations: ['64-52=12', '16+12=28'] Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,95 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,95 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: 95:[16, 28, 116], Operations: ['64+52=116'] Exploring Operation: 116-28=88, Resulting Numbers: [16, 88] Generated Node #0,1,0: 95:[16, 88] Operation: 116-28=88 Exploring Operation: 116-16=100, Resulting Numbers: [28, 100] Generated Node #0,1,1: 95:[28, 100] Operation: 116-16=100 Exploring Operation: 16+28=44, Resulting Numbers: [116, 44] Generated Node #0,1,2: 95:[116, 44] Operation: 16+28=44 Exploring Operation: 28-16=12, Resulting Numbers: [116, 12] Generated Node #0,1,3: 95:[116, 12] Operation: 28-16=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[16, 88], Operations: ['64+52=116', '116-28=88'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 16*88=1408, Resulting Numbers: [1408] 1408,95 unequal: No Solution Exploring Operation: 16+88=104, Resulting Numbers: [104] 104,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[28, 100], Operations: ['64+52=116', '116-16=100'] Exploring Operation: 28*100=2800, Resulting Numbers: [2800] 2800,95 unequal: No Solution Exploring Operation: 100-28=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 28+100=128, Resulting Numbers: [128] 128,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[116, 12], Operations: ['64+52=116', '28-16=12'] Exploring Operation: 116+12=128, Resulting Numbers: [128] 128,95 unequal: No Solution Exploring Operation: 116-12=104, Resulting Numbers: [104] 104,95 unequal: No Solution Exploring Operation: 116*12=1392, Resulting Numbers: [1392] 1392,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[116, 44], Operations: ['64+52=116', '16+28=44'] Exploring Operation: 116+44=160, Resulting Numbers: [160] 160,95 unequal: No Solution Exploring Operation: 116-44=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 116*44=5104, Resulting Numbers: [5104] 5104,95 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: 95:[64, 16, 24], Operations: ['52-28=24'] Exploring Operation: 64/16=4, Resulting Numbers: [24, 4] Generated Node #0,3,0: 95:[24, 4] Operation: 64/16=4 Exploring Operation: 64+24=88, Resulting Numbers: [16, 88] Generated Node #0,3,1: 95:[16, 88] Operation: 64+24=88 Exploring Operation: 64-24=40, Resulting Numbers: [16, 40] Generated Node #0,3,2: 95:[16, 40] Operation: 64-24=40 Exploring Operation: 64+16=80, Resulting Numbers: [24, 80] Generated Node #0,3,3: 95:[24, 80] Operation: 64+16=80 Moving to Node #0,2 Current State: 95:[16, 52, 92], Operations: ['64+28=92'] Exploring Operation: 16+52=68, Resulting Numbers: [92, 68] Generated Node #0,2,0: 95:[92, 68] Operation: 16+52=68 Exploring Operation: 16+92=108, Resulting Numbers: [52, 108] Generated Node #0,2,1: 95:[52, 108] Operation: 16+92=108 Exploring Operation: 52-16=36, Resulting Numbers: [92, 36] Generated Node #0,2,2: 95:[92, 36] Operation: 52-16=36 Exploring Operation: 92-52=40, Resulting Numbers: [16, 40] Generated Node #0,2,3: 95:[16, 40] Operation: 92-52=40 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[92, 36], Operations: ['64+28=92', '52-16=36'] Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,95 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[16, 40], Operations: ['64+28=92', '92-52=40'] Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,95 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[92, 68], Operations: ['64+28=92', '16+52=68'] Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,95 unequal: No Solution Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[52, 108], Operations: ['64+28=92', '16+92=108'] Exploring Operation: 52+108=160, Resulting Numbers: [160] 160,95 unequal: No Solution Exploring Operation: 108-52=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 52*108=5616, Resulting Numbers: [5616] 5616,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 95:[24, 4], Operations: ['52-28=24', '64/16=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[16, 88], Operations: ['52-28=24', '64+24=88'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 16*88=1408, Resulting Numbers: [1408] 1408,95 unequal: No Solution Exploring Operation: 16+88=104, Resulting Numbers: [104] 104,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[24, 80], Operations: ['52-28=24', '64+16=80'] Exploring Operation: 24*80=1920, Resulting Numbers: [1920] 1920,95 unequal: No Solution Exploring Operation: 24+80=104, Resulting Numbers: [104] 104,95 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[16, 40], Operations: ['52-28=24', '64-24=40'] Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,95 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,95 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 1, 8, 16, 42 ]
20
[ "16/8=2", "42/2=21", "21-1=20" ]
Current State: 20:[1, 8, 16, 42], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [1, 42, 2] Generated Node #2: [1, 42, 2] from Operation: 16/8=2 Current State: 20:[1, 42, 2], Operations: ['16/8=2'] Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #3: [1, 21] from Operation: 42/2=21 Current State: 20:[1, 21], Operations: ['16/8=2', '42/2=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[1, 8, 16, 42], Operations: [] Exploring Operation: 42-16=26, Resulting Numbers: [1, 8, 26] Generated Node #0,0: 20:[1, 8, 26] Operation: 42-16=26 Exploring Operation: 42-8=34, Resulting Numbers: [1, 16, 34] Generated Node #0,1: 20:[1, 16, 34] Operation: 42-8=34 Exploring Operation: 16/8=2, Resulting Numbers: [1, 42, 2] Generated Node #0,2: 20:[1, 42, 2] Operation: 16/8=2 Moving to Node #0,0 Current State: 20:[1, 8, 26], Operations: ['42-16=26'] Exploring Operation: 1+8=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 20:[26, 9] Operation: 1+8=9 Exploring Operation: 26-1=25, Resulting Numbers: [8, 25] Generated Node #0,0,1: 20:[8, 25] Operation: 26-1=25 Exploring Operation: 26-8=18, Resulting Numbers: [1, 18] Generated Node #0,0,2: 20:[1, 18] Operation: 26-8=18 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[1, 18], Operations: ['42-16=26', '26-8=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[26, 9], Operations: ['42-16=26', '1+8=9'] Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,20 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,20 unequal: No Solution No 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: 20:[8, 25], Operations: ['42-16=26', '26-1=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,20 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: 20:[1, 16, 34], Operations: ['42-8=34'] Exploring Operation: 1+16=17, Resulting Numbers: [34, 17] Generated Node #0,1,0: 20:[34, 17] Operation: 1+16=17 Exploring Operation: 34-16=18, Resulting Numbers: [1, 18] Generated Node #0,1,1: 20:[1, 18] Operation: 34-16=18 Exploring Operation: 34-1=33, Resulting Numbers: [16, 33] Generated Node #0,1,2: 20:[16, 33] Operation: 34-1=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[1, 18], Operations: ['42-8=34', '34-16=18'] Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[34, 17], Operations: ['42-8=34', '1+16=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,20 unequal: No Solution No 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: 20:[16, 33], Operations: ['42-8=34', '34-1=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,20 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,20 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,20 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: 20:[1, 42, 2], Operations: ['16/8=2'] Exploring Operation: 42-1=41, Resulting Numbers: [2, 41] Generated Node #0,2,0: 20:[2, 41] Operation: 42-1=41 Exploring Operation: 42-2=40, Resulting Numbers: [1, 40] Generated Node #0,2,1: 20:[1, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #0,2,2: 20:[1, 21] Operation: 42/2=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[1, 21], Operations: ['16/8=2', '42/2=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[1, 8, 16, 42], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [1, 42, 2] Generated Node #0,2: 20:[1, 42, 2] Operation: 16/8=2 Moving to Node #0,2 Current State: 20:[1, 42, 2], Operations: ['16/8=2'] Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #0,2,2: 20:[1, 21] Operation: 42/2=21 Moving to Node #0,2,2 Current State: 20:[1, 21], Operations: ['16/8=2', '42/2=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 11, 32, 2, 5 ]
33
[ "11+32=43", "2*5=10", "43-10=33" ]
Current State: 33:[11, 32, 2, 5], Operations: [] Exploring Operation: 11+32=43, Resulting Numbers: [2, 5, 43] Generated Node #2: [2, 5, 43] from Operation: 11+32=43 Current State: 33:[2, 5, 43], Operations: ['11+32=43'] Exploring Operation: 2*5=10, Resulting Numbers: [43, 10] Generated Node #3: [43, 10] from Operation: 2*5=10 Current State: 33:[43, 10], Operations: ['11+32=43', '2*5=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[11, 32, 2, 5], Operations: [] Exploring Operation: 5-2=3, Resulting Numbers: [11, 32, 3] Generated Node #0,0: 33:[11, 32, 3] Operation: 5-2=3 Exploring Operation: 2*5=10, Resulting Numbers: [11, 32, 10] Generated Node #0,1: 33:[11, 32, 10] Operation: 2*5=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[11, 32, 3], Operations: ['5-2=3'] Exploring Operation: 32+3=35, Resulting Numbers: [11, 35] Generated Node #0,0,0: 33:[11, 35] Operation: 32+3=35 Exploring Operation: 11*3=33, Resulting Numbers: [32, 33] Generated Node #0,0,1: 33:[32, 33] Operation: 11*3=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[32, 33], Operations: ['5-2=3', '11*3=33'] Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,33 unequal: No Solution No 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: 33:[11, 35], Operations: ['5-2=3', '32+3=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,33 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: 33:[11, 32, 10], Operations: ['2*5=10'] Exploring Operation: 32+10=42, Resulting Numbers: [11, 42] Generated Node #0,1,0: 33:[11, 42] Operation: 32+10=42 Exploring Operation: 11-10=1, Resulting Numbers: [32, 1] Generated Node #0,1,1: 33:[32, 1] Operation: 11-10=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[32, 1], Operations: ['2*5=10', '11-10=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[11, 32, 2, 5], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [11, 32, 10] Generated Node #0,1: 33:[11, 32, 10] Operation: 2*5=10 Moving to Node #0,1 Current State: 33:[11, 32, 10], Operations: ['2*5=10'] Exploring Operation: 11-10=1, Resulting Numbers: [32, 1] Generated Node #0,1,1: 33:[32, 1] Operation: 11-10=1 Moving to Node #0,1,1 Current State: 33:[32, 1], Operations: ['2*5=10', '11-10=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 45, 4, 36, 55 ]
31
[ "55-36=19", "4*19=76", "76-45=31" ]
Current State: 31:[45, 4, 36, 55], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [45, 4, 19] Generated Node #2: [45, 4, 19] from Operation: 55-36=19 Current State: 31:[45, 4, 19], Operations: ['55-36=19'] Exploring Operation: 4*19=76, Resulting Numbers: [45, 76] Generated Node #3: [45, 76] from Operation: 4*19=76 Current State: 31:[45, 76], Operations: ['55-36=19', '4*19=76'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[45, 4, 36, 55], Operations: [] Exploring Operation: 45-4=41, Resulting Numbers: [36, 55, 41] Generated Node #0,0: 31:[36, 55, 41] Operation: 45-4=41 Moving to Node #0,0 Current State: 31:[36, 55, 41], Operations: ['45-4=41'] Exploring Operation: 55-36=19, Resulting Numbers: [41, 19] Generated Node #0,0,0: 31:[41, 19] Operation: 55-36=19 Moving to Node #0,0,0 Current State: 31:[41, 19], Operations: ['45-4=41', '55-36=19'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 5, 48, 57, 23 ]
87
[ "5+48=53", "57-23=34", "53+34=87" ]
Current State: 87:[5, 48, 57, 23], Operations: [] Exploring Operation: 5+48=53, Resulting Numbers: [57, 23, 53] Generated Node #2: [57, 23, 53] from Operation: 5+48=53 Current State: 87:[57, 23, 53], Operations: ['5+48=53'] Exploring Operation: 57-23=34, Resulting Numbers: [53, 34] Generated Node #3: [53, 34] from Operation: 57-23=34 Current State: 87:[53, 34], Operations: ['5+48=53', '57-23=34'] Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[5, 48, 57, 23], Operations: [] Exploring Operation: 48+57=105, Resulting Numbers: [5, 23, 105] Generated Node #0,0: 87:[5, 23, 105] Operation: 48+57=105 Exploring Operation: 57-48=9, Resulting Numbers: [5, 23, 9] Generated Node #0,1: 87:[5, 23, 9] Operation: 57-48=9 Moving to Node #0,1 Current State: 87:[5, 23, 9], Operations: ['57-48=9'] Exploring Operation: 5+23=28, Resulting Numbers: [9, 28] Generated Node #0,1,0: 87:[9, 28] Operation: 5+23=28 Exploring Operation: 23+9=32, Resulting Numbers: [5, 32] Generated Node #0,1,1: 87:[5, 32] Operation: 23+9=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[5, 32], Operations: ['57-48=9', '23+9=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,87 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[9, 28], Operations: ['57-48=9', '5+23=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,87 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: 87:[5, 23, 105], Operations: ['48+57=105'] Exploring Operation: 105-23=82, Resulting Numbers: [5, 82] Generated Node #0,0,0: 87:[5, 82] Operation: 105-23=82 Exploring Operation: 105/5=21, Resulting Numbers: [23, 21] Generated Node #0,0,1: 87:[23, 21] Operation: 105/5=21 Moving to Node #0,0,0 Current State: 87:[5, 82], Operations: ['48+57=105', '105-23=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[5, 48, 57, 23], Operations: [] Exploring Operation: 48+57=105, Resulting Numbers: [5, 23, 105] Generated Node #0,0: 87:[5, 23, 105] Operation: 48+57=105 Moving to Node #0,0 Current State: 87:[5, 23, 105], Operations: ['48+57=105'] Exploring Operation: 105-23=82, Resulting Numbers: [5, 82] Generated Node #0,0,0: 87:[5, 82] Operation: 105-23=82 Moving to Node #0,0,0 Current State: 87:[5, 82], Operations: ['48+57=105', '105-23=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 11, 98, 58, 62 ]
93
[ "98-11=87", "62*87=5394", "5394/58=93" ]
Current State: 93:[11, 98, 58, 62], Operations: [] Exploring Operation: 98-11=87, Resulting Numbers: [58, 62, 87] Generated Node #2: [58, 62, 87] from Operation: 98-11=87 Current State: 93:[58, 62, 87], Operations: ['98-11=87'] Exploring Operation: 62*87=5394, Resulting Numbers: [58, 5394] Generated Node #3: [58, 5394] from Operation: 62*87=5394 Current State: 93:[58, 5394], Operations: ['98-11=87', '62*87=5394'] Exploring Operation: 5394/58=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[11, 98, 58, 62], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [11, 98, 4] Generated Node #0,0: 93:[11, 98, 4] Operation: 62-58=4 Exploring Operation: 58+62=120, Resulting Numbers: [11, 98, 120] Generated Node #0,1: 93:[11, 98, 120] Operation: 58+62=120 Exploring Operation: 98-62=36, Resulting Numbers: [11, 58, 36] Generated Node #0,2: 93:[11, 58, 36] Operation: 98-62=36 Moving to Node #0,0 Current State: 93:[11, 98, 4], Operations: ['62-58=4'] Exploring Operation: 11-4=7, Resulting Numbers: [98, 7] Generated Node #0,0,0: 93:[98, 7] Operation: 11-4=7 Exploring Operation: 98-4=94, Resulting Numbers: [11, 94] Generated Node #0,0,1: 93:[11, 94] Operation: 98-4=94 Exploring Operation: 98-11=87, Resulting Numbers: [4, 87] Generated Node #0,0,2: 93:[4, 87] Operation: 98-11=87 Moving to Node #0,1 Current State: 93:[11, 98, 120], Operations: ['58+62=120'] Exploring Operation: 120-11=109, Resulting Numbers: [98, 109] Generated Node #0,1,0: 93:[98, 109] Operation: 120-11=109 Exploring Operation: 120-98=22, Resulting Numbers: [11, 22] Generated Node #0,1,1: 93:[11, 22] Operation: 120-98=22 Exploring Operation: 98-11=87, Resulting Numbers: [120, 87] Generated Node #0,1,2: 93:[120, 87] Operation: 98-11=87 Moving to Node #0,2 Current State: 93:[11, 58, 36], Operations: ['98-62=36'] Exploring Operation: 58-11=47, Resulting Numbers: [36, 47] Generated Node #0,2,0: 93:[36, 47] Operation: 58-11=47 Exploring Operation: 58+36=94, Resulting Numbers: [11, 94] Generated Node #0,2,1: 93:[11, 94] Operation: 58+36=94 Exploring Operation: 58-36=22, Resulting Numbers: [11, 22] Generated Node #0,2,2: 93:[11, 22] Operation: 58-36=22 Moving to Node #0,0,2 Current State: 93:[4, 87], Operations: ['62-58=4', '98-11=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,93 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[11, 94], Operations: ['62-58=4', '98-4=94'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,93 unequal: No Solution Exploring Operation: 11+94=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 11*94=1034, Resulting Numbers: [1034] 1034,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[11, 94], Operations: ['98-62=36', '58+36=94'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,93 unequal: No Solution Exploring Operation: 11*94=1034, Resulting Numbers: [1034] 1034,93 unequal: No Solution Exploring Operation: 11+94=105, Resulting Numbers: [105] 105,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[98, 7], Operations: ['62-58=4', '11-4=7'] Exploring Operation: 98+7=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[11, 22], Operations: ['98-62=36', '58-36=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[11, 22], Operations: ['58+62=120', '120-98=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[36, 47], Operations: ['98-62=36', '58-11=47'] Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,93 unequal: No Solution Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,93 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[98, 109], Operations: ['58+62=120', '120-11=109'] Exploring Operation: 109-98=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 98+109=207, Resulting Numbers: [207] 207,93 unequal: No Solution Exploring Operation: 98*109=10682, Resulting Numbers: [10682] 10682,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[120, 87], Operations: ['58+62=120', '98-11=87'] Exploring Operation: 120+87=207, Resulting Numbers: [207] 207,93 unequal: No Solution Exploring Operation: 120-87=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 120*87=10440, Resulting Numbers: [10440] 10440,93 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 16, 65, 22, 47 ]
29
[ "65+47=112", "112/16=7", "22+7=29" ]
Current State: 29:[16, 65, 22, 47], Operations: [] Exploring Operation: 65+47=112, Resulting Numbers: [16, 22, 112] Generated Node #2: [16, 22, 112] from Operation: 65+47=112 Current State: 29:[16, 22, 112], Operations: ['65+47=112'] Exploring Operation: 112/16=7, Resulting Numbers: [22, 7] Generated Node #3: [22, 7] from Operation: 112/16=7 Current State: 29:[22, 7], Operations: ['65+47=112', '112/16=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[16, 65, 22, 47], Operations: [] Exploring Operation: 47-16=31, Resulting Numbers: [65, 22, 31] Generated Node #0,0: 29:[65, 22, 31] Operation: 47-16=31 Exploring Operation: 47-22=25, Resulting Numbers: [16, 65, 25] Generated Node #0,1: 29:[16, 65, 25] Operation: 47-22=25 Exploring Operation: 65-47=18, Resulting Numbers: [16, 22, 18] Generated Node #0,2: 29:[16, 22, 18] Operation: 65-47=18 Exploring Operation: 65-16=49, Resulting Numbers: [22, 47, 49] Generated Node #0,3: 29:[22, 47, 49] Operation: 65-16=49 Exploring Operation: 65-22=43, Resulting Numbers: [16, 47, 43] Generated Node #0,4: 29:[16, 47, 43] Operation: 65-22=43 Moving to Node #0,2 Current State: 29:[16, 22, 18], Operations: ['65-47=18'] Exploring Operation: 22-16=6, Resulting Numbers: [18, 6] Generated Node #0,2,0: 29:[18, 6] Operation: 22-16=6 Exploring Operation: 18-16=2, Resulting Numbers: [22, 2] Generated Node #0,2,1: 29:[22, 2] Operation: 18-16=2 Exploring Operation: 16+18=34, Resulting Numbers: [22, 34] Generated Node #0,2,2: 29:[22, 34] Operation: 16+18=34 Exploring Operation: 22+18=40, Resulting Numbers: [16, 40] Generated Node #0,2,3: 29:[16, 40] Operation: 22+18=40 Exploring Operation: 16+22=38, Resulting Numbers: [18, 38] Generated Node #0,2,4: 29:[18, 38] Operation: 16+22=38 Moving to Node #0,3 Current State: 29:[22, 47, 49], Operations: ['65-16=49'] Exploring Operation: 22+47=69, Resulting Numbers: [49, 69] Generated Node #0,3,0: 29:[49, 69] Operation: 22+47=69 Exploring Operation: 49-47=2, Resulting Numbers: [22, 2] Generated Node #0,3,1: 29:[22, 2] Operation: 49-47=2 Exploring Operation: 49-22=27, Resulting Numbers: [47, 27] Generated Node #0,3,2: 29:[47, 27] Operation: 49-22=27 Exploring Operation: 22+49=71, Resulting Numbers: [47, 71] Generated Node #0,3,3: 29:[47, 71] Operation: 22+49=71 Exploring Operation: 47-22=25, Resulting Numbers: [49, 25] Generated Node #0,3,4: 29:[49, 25] Operation: 47-22=25 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[47, 27], Operations: ['65-16=49', '49-22=27'] Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,29 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,29 unequal: No Solution No 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: 29:[49, 25], Operations: ['65-16=49', '47-22=25'] Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,29 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,29 unequal: No Solution No 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: 29:[22, 2], Operations: ['65-16=49', '49-47=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,29 unequal: No Solution No 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: 29:[49, 69], Operations: ['65-16=49', '22+47=69'] Exploring Operation: 49+69=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 49*69=3381, Resulting Numbers: [3381] 3381,29 unequal: No Solution No 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: 29:[47, 71], Operations: ['65-16=49', '22+49=71'] Exploring Operation: 47*71=3337, Resulting Numbers: [3337] 3337,29 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 47+71=118, Resulting Numbers: [118] 118,29 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: 29:[65, 22, 31], Operations: ['47-16=31'] Exploring Operation: 22+31=53, Resulting Numbers: [65, 53] Generated Node #0,0,0: 29:[65, 53] Operation: 22+31=53 Exploring Operation: 31-22=9, Resulting Numbers: [65, 9] Generated Node #0,0,1: 29:[65, 9] Operation: 31-22=9 Exploring Operation: 65-22=43, Resulting Numbers: [31, 43] Generated Node #0,0,2: 29:[31, 43] Operation: 65-22=43 Exploring Operation: 65-31=34, Resulting Numbers: [22, 34] Generated Node #0,0,3: 29:[22, 34] Operation: 65-31=34 Exploring Operation: 65+22=87, Resulting Numbers: [31, 87] Generated Node #0,0,4: 29:[31, 87] Operation: 65+22=87 Moving to Node #0,4 Current State: 29:[16, 47, 43], Operations: ['65-22=43'] Exploring Operation: 16+47=63, Resulting Numbers: [43, 63] Generated Node #0,4,0: 29:[43, 63] Operation: 16+47=63 Exploring Operation: 47-16=31, Resulting Numbers: [43, 31] Generated Node #0,4,1: 29:[43, 31] Operation: 47-16=31 Exploring Operation: 16+43=59, Resulting Numbers: [47, 59] Generated Node #0,4,2: 29:[47, 59] Operation: 16+43=59 Exploring Operation: 43-16=27, Resulting Numbers: [47, 27] Generated Node #0,4,3: 29:[47, 27] Operation: 43-16=27 Exploring Operation: 47-43=4, Resulting Numbers: [16, 4] Generated Node #0,4,4: 29:[16, 4] Operation: 47-43=4 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[43, 31], Operations: ['65-22=43', '47-16=31'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,29 unequal: No Solution No 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: 29:[47, 27], Operations: ['65-22=43', '43-16=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,29 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,29 unequal: No Solution No 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: 29:[16, 4], Operations: ['65-22=43', '47-43=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,29 unequal: No Solution No 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: 29:[43, 63], Operations: ['65-22=43', '16+47=63'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,29 unequal: No Solution Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,29 unequal: No Solution No 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: 29:[47, 59], Operations: ['65-22=43', '16+43=59'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,29 unequal: No Solution Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,29 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: 29:[16, 65, 25], Operations: ['47-22=25'] Exploring Operation: 16+65=81, Resulting Numbers: [25, 81] Generated Node #0,1,0: 29:[25, 81] Operation: 16+65=81 Exploring Operation: 65-25=40, Resulting Numbers: [16, 40] Generated Node #0,1,1: 29:[16, 40] Operation: 65-25=40 Exploring Operation: 16+25=41, Resulting Numbers: [65, 41] Generated Node #0,1,2: 29:[65, 41] Operation: 16+25=41 Exploring Operation: 25-16=9, Resulting Numbers: [65, 9] Generated Node #0,1,3: 29:[65, 9] Operation: 25-16=9 Exploring Operation: 65-16=49, Resulting Numbers: [25, 49] Generated Node #0,1,4: 29:[25, 49] Operation: 65-16=49 Moving to Node #0,2,2 Current State: 29:[22, 34], Operations: ['65-47=18', '16+18=34'] Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[22, 34], Operations: ['47-16=31', '65-31=34'] Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,29 unequal: No Solution Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[31, 43], Operations: ['47-16=31', '65-22=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,29 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[18, 38], Operations: ['65-47=18', '16+22=38'] Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[16, 40], Operations: ['65-47=18', '22+18=40'] Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[25, 49], Operations: ['47-22=25', '65-16=49'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[16, 40], Operations: ['47-22=25', '65-25=40'] Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[22, 2], Operations: ['65-47=18', '18-16=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[18, 6], Operations: ['65-47=18', '22-16=6'] Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[65, 41], Operations: ['47-22=25', '16+25=41'] Exploring Operation: 65+41=106, Resulting Numbers: [106] 106,29 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 65*41=2665, Resulting Numbers: [2665] 2665,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[65, 9], Operations: ['47-22=25', '25-16=9'] Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,29 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[25, 81], Operations: ['47-22=25', '16+65=81'] Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 25+81=106, Resulting Numbers: [106] 106,29 unequal: No Solution Exploring Operation: 25*81=2025, Resulting Numbers: [2025] 2025,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[65, 9], Operations: ['47-16=31', '31-22=9'] Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,29 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[65, 53], Operations: ['47-16=31', '22+31=53'] Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 65+53=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 65*53=3445, Resulting Numbers: [3445] 3445,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[31, 87], Operations: ['47-16=31', '65+22=87'] Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,29 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,29 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 10, 92, 26, 78 ]
85
[ "92-10=82", "78/26=3", "82+3=85" ]
Current State: 85:[10, 92, 26, 78], Operations: [] Exploring Operation: 92-10=82, Resulting Numbers: [26, 78, 82] Generated Node #2: [26, 78, 82] from Operation: 92-10=82 Current State: 85:[26, 78, 82], Operations: ['92-10=82'] Exploring Operation: 78/26=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 78/26=3 Current State: 85:[82, 3], Operations: ['92-10=82', '78/26=3'] Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[10, 92, 26, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [10, 92, 3] Generated Node #0,0: 85:[10, 92, 3] Operation: 78/26=3 Exploring Operation: 92-10=82, Resulting Numbers: [26, 78, 82] Generated Node #0,1: 85:[26, 78, 82] Operation: 92-10=82 Exploring Operation: 26-10=16, Resulting Numbers: [92, 78, 16] Generated Node #0,2: 85:[92, 78, 16] Operation: 26-10=16 Exploring Operation: 92-78=14, Resulting Numbers: [10, 26, 14] Generated Node #0,3: 85:[10, 26, 14] Operation: 92-78=14 Moving to Node #0,0 Current State: 85:[10, 92, 3], Operations: ['78/26=3'] Exploring Operation: 10-3=7, Resulting Numbers: [92, 7] Generated Node #0,0,0: 85:[92, 7] Operation: 10-3=7 Exploring Operation: 92-10=82, Resulting Numbers: [3, 82] Generated Node #0,0,1: 85:[3, 82] Operation: 92-10=82 Exploring Operation: 10+3=13, Resulting Numbers: [92, 13] Generated Node #0,0,2: 85:[92, 13] Operation: 10+3=13 Exploring Operation: 92-3=89, Resulting Numbers: [10, 89] Generated Node #0,0,3: 85:[10, 89] Operation: 92-3=89 Moving to Node #0,2 Current State: 85:[92, 78, 16], Operations: ['26-10=16'] Exploring Operation: 92-78=14, Resulting Numbers: [16, 14] Generated Node #0,2,0: 85:[16, 14] Operation: 92-78=14 Exploring Operation: 92-16=76, Resulting Numbers: [78, 76] Generated Node #0,2,1: 85:[78, 76] Operation: 92-16=76 Exploring Operation: 78+16=94, Resulting Numbers: [92, 94] Generated Node #0,2,2: 85:[92, 94] Operation: 78+16=94 Exploring Operation: 92+16=108, Resulting Numbers: [78, 108] Generated Node #0,2,3: 85:[78, 108] Operation: 92+16=108 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[16, 14], Operations: ['26-10=16', '92-78=14'] Exploring Operation: 16*14=224, Resulting Numbers: [224] 224,85 unequal: No Solution Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,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,1 Current State: 85:[78, 76], Operations: ['26-10=16', '92-16=76'] Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,85 unequal: No Solution Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,85 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,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:[92, 94], Operations: ['26-10=16', '78+16=94'] Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,85 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,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,3 Current State: 85:[78, 108], Operations: ['26-10=16', '92+16=108'] Exploring Operation: 78+108=186, Resulting Numbers: [186] 186,85 unequal: No Solution Exploring Operation: 108-78=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 78*108=8424, Resulting Numbers: [8424] 8424,85 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: 85:[10, 26, 14], Operations: ['92-78=14'] Exploring Operation: 26-10=16, Resulting Numbers: [14, 16] Generated Node #0,3,0: 85:[14, 16] Operation: 26-10=16 Exploring Operation: 26-14=12, Resulting Numbers: [10, 12] Generated Node #0,3,1: 85:[10, 12] Operation: 26-14=12 Exploring Operation: 10+14=24, Resulting Numbers: [26, 24] Generated Node #0,3,2: 85:[26, 24] Operation: 10+14=24 Exploring Operation: 14-10=4, Resulting Numbers: [26, 4] Generated Node #0,3,3: 85:[26, 4] Operation: 14-10=4 Moving to Node #0,1 Current State: 85:[26, 78, 82], Operations: ['92-10=82'] Exploring Operation: 26+78=104, Resulting Numbers: [82, 104] Generated Node #0,1,0: 85:[82, 104] Operation: 26+78=104 Exploring Operation: 78/26=3, Resulting Numbers: [82, 3] Generated Node #0,1,1: 85:[82, 3] Operation: 78/26=3 Exploring Operation: 26+82=108, Resulting Numbers: [78, 108] Generated Node #0,1,2: 85:[78, 108] Operation: 26+82=108 Exploring Operation: 82-78=4, Resulting Numbers: [26, 4] Generated Node #0,1,3: 85:[26, 4] Operation: 82-78=4 Moving to Node #0,3,0 Current State: 85:[14, 16], Operations: ['92-78=14', '26-10=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,85 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[3, 82], Operations: ['78/26=3', '92-10=82'] Exploring Operation: 3*82=246, Resulting Numbers: [246] 246,85 unequal: No Solution Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[10, 92, 26, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [10, 92, 3] Generated Node #0,0: 85:[10, 92, 3] Operation: 78/26=3 Moving to Node #0,0 Current State: 85:[10, 92, 3], Operations: ['78/26=3'] Exploring Operation: 92-10=82, Resulting Numbers: [3, 82] Generated Node #0,0,1: 85:[3, 82] Operation: 92-10=82 Moving to Node #0,0,1 Current State: 85:[3, 82], Operations: ['78/26=3', '92-10=82'] Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.96441
hs_4
mult_heuristic
[ 56, 29, 32, 90 ]
54
[ "90-32=58", "58/29=2", "56-2=54" ]
Current State: 54:[56, 29, 32, 90], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [56, 29, 58] Generated Node #2: [56, 29, 58] from Operation: 90-32=58 Current State: 54:[56, 29, 58], Operations: ['90-32=58'] Exploring Operation: 58/29=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 58/29=2 Current State: 54:[56, 2], Operations: ['90-32=58', '58/29=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[56, 29, 32, 90], Operations: [] Exploring Operation: 90-29=61, Resulting Numbers: [56, 32, 61] Generated Node #0,0: 54:[56, 32, 61] Operation: 90-29=61 Exploring Operation: 90-56=34, Resulting Numbers: [29, 32, 34] Generated Node #0,1: 54:[29, 32, 34] Operation: 90-56=34 Exploring Operation: 90-32=58, Resulting Numbers: [56, 29, 58] Generated Node #0,2: 54:[56, 29, 58] Operation: 90-32=58 Moving to Node #0,2 Current State: 54:[56, 29, 58], Operations: ['90-32=58'] Exploring Operation: 58/29=2, Resulting Numbers: [56, 2] Generated Node #0,2,0: 54:[56, 2] Operation: 58/29=2 Exploring Operation: 58-56=2, Resulting Numbers: [29, 2] Generated Node #0,2,1: 54:[29, 2] Operation: 58-56=2 Exploring Operation: 56-29=27, Resulting Numbers: [58, 27] Generated Node #0,2,2: 54:[58, 27] Operation: 56-29=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[56, 2], Operations: ['90-32=58', '58/29=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[56, 29, 32, 90], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [56, 29, 58] Generated Node #0,2: 54:[56, 29, 58] Operation: 90-32=58 Moving to Node #0,2 Current State: 54:[56, 29, 58], Operations: ['90-32=58'] Exploring Operation: 58/29=2, Resulting Numbers: [56, 2] Generated Node #0,2,0: 54:[56, 2] Operation: 58/29=2 Moving to Node #0,2,0 Current State: 54:[56, 2], Operations: ['90-32=58', '58/29=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 88, 8, 69, 59 ]
90
[ "88-8=80", "69-59=10", "80+10=90" ]
Current State: 90:[88, 8, 69, 59], Operations: [] Exploring Operation: 88-8=80, Resulting Numbers: [69, 59, 80] Generated Node #2: [69, 59, 80] from Operation: 88-8=80 Current State: 90:[69, 59, 80], Operations: ['88-8=80'] Exploring Operation: 69-59=10, Resulting Numbers: [80, 10] Generated Node #3: [80, 10] from Operation: 69-59=10 Current State: 90:[80, 10], Operations: ['88-8=80', '69-59=10'] Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[88, 8, 69, 59], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [8, 59, 19] Generated Node #0,0: 90:[8, 59, 19] Operation: 88-69=19 Exploring Operation: 88-59=29, Resulting Numbers: [8, 69, 29] Generated Node #0,1: 90:[8, 69, 29] Operation: 88-59=29 Exploring Operation: 69-59=10, Resulting Numbers: [88, 8, 10] Generated Node #0,2: 90:[88, 8, 10] Operation: 69-59=10 Moving to Node #0,2 Current State: 90:[88, 8, 10], Operations: ['69-59=10'] Exploring Operation: 88/8=11, Resulting Numbers: [10, 11] Generated Node #0,2,0: 90:[10, 11] Operation: 88/8=11 Exploring Operation: 8+10=18, Resulting Numbers: [88, 18] Generated Node #0,2,1: 90:[88, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [88, 2] Generated Node #0,2,2: 90:[88, 2] Operation: 10-8=2 Moving to Node #0,0 Current State: 90:[8, 59, 19], Operations: ['88-69=19'] Exploring Operation: 59+19=78, Resulting Numbers: [8, 78] Generated Node #0,0,0: 90:[8, 78] Operation: 59+19=78 Exploring Operation: 59-19=40, Resulting Numbers: [8, 40] Generated Node #0,0,1: 90:[8, 40] Operation: 59-19=40 Exploring Operation: 59-8=51, Resulting Numbers: [19, 51] Generated Node #0,0,2: 90:[19, 51] Operation: 59-8=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[8, 40], Operations: ['88-69=19', '59-19=40'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,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,2 Current State: 90:[19, 51], Operations: ['88-69=19', '59-8=51'] Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,90 unequal: No Solution Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,90 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,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,0 Current State: 90:[8, 78], Operations: ['88-69=19', '59+19=78'] Exploring Operation: 8*78=624, Resulting Numbers: [624] 624,90 unequal: No Solution Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,90 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,90 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: 90:[8, 69, 29], Operations: ['88-59=29'] Exploring Operation: 69-29=40, Resulting Numbers: [8, 40] Generated Node #0,1,0: 90:[8, 40] Operation: 69-29=40 Exploring Operation: 69+29=98, Resulting Numbers: [8, 98] Generated Node #0,1,1: 90:[8, 98] Operation: 69+29=98 Exploring Operation: 8+69=77, Resulting Numbers: [29, 77] Generated Node #0,1,2: 90:[29, 77] Operation: 8+69=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[8, 40], Operations: ['88-59=29', '69-29=40'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,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,1,1 Current State: 90:[8, 98], Operations: ['88-59=29', '69+29=98'] Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[88, 8, 69, 59], Operations: [] Exploring Operation: 88-59=29, Resulting Numbers: [8, 69, 29] Generated Node #0,1: 90:[8, 69, 29] Operation: 88-59=29 Moving to Node #0,1 Current State: 90:[8, 69, 29], Operations: ['88-59=29'] Exploring Operation: 69+29=98, Resulting Numbers: [8, 98] Generated Node #0,1,1: 90:[8, 98] Operation: 69+29=98 Moving to Node #0,1,1 Current State: 90:[8, 98], Operations: ['88-59=29', '69+29=98'] Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 28, 61, 98, 45 ]
86
[ "61-28=33", "98-45=53", "33+53=86" ]
Current State: 86:[28, 61, 98, 45], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [98, 45, 33] Generated Node #2: [98, 45, 33] from Operation: 61-28=33 Current State: 86:[98, 45, 33], Operations: ['61-28=33'] Exploring Operation: 98-45=53, Resulting Numbers: [33, 53] Generated Node #3: [33, 53] from Operation: 98-45=53 Current State: 86:[33, 53], Operations: ['61-28=33', '98-45=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[28, 61, 98, 45], Operations: [] Exploring Operation: 98-28=70, Resulting Numbers: [61, 45, 70] Generated Node #0,0: 86:[61, 45, 70] Operation: 98-28=70 Exploring Operation: 61-28=33, Resulting Numbers: [98, 45, 33] Generated Node #0,1: 86:[98, 45, 33] Operation: 61-28=33 Exploring Operation: 98-61=37, Resulting Numbers: [28, 45, 37] Generated Node #0,2: 86:[28, 45, 37] Operation: 98-61=37 Exploring Operation: 28+61=89, Resulting Numbers: [98, 45, 89] Generated Node #0,3: 86:[98, 45, 89] Operation: 28+61=89 Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[98, 45, 89], Operations: ['28+61=89'] Exploring Operation: 98-89=9, Resulting Numbers: [45, 9] Generated Node #0,3,0: 86:[45, 9] Operation: 98-89=9 Exploring Operation: 89-45=44, Resulting Numbers: [98, 44] Generated Node #0,3,1: 86:[98, 44] Operation: 89-45=44 Exploring Operation: 98-45=53, Resulting Numbers: [89, 53] Generated Node #0,3,2: 86:[89, 53] Operation: 98-45=53 Exploring Operation: 98+45=143, Resulting Numbers: [89, 143] Generated Node #0,3,3: 86:[89, 143] Operation: 98+45=143 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 86:[45, 9], Operations: ['28+61=89', '98-89=9'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,86 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 86:[98, 44], Operations: ['28+61=89', '89-45=44'] Exploring Operation: 98-44=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 98+44=142, Resulting Numbers: [142] 142,86 unequal: No Solution Exploring Operation: 98*44=4312, Resulting Numbers: [4312] 4312,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 86:[89, 53], Operations: ['28+61=89', '98-45=53'] Exploring Operation: 89*53=4717, Resulting Numbers: [4717] 4717,86 unequal: No Solution Exploring Operation: 89+53=142, Resulting Numbers: [142] 142,86 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 86:[89, 143], Operations: ['28+61=89', '98+45=143'] Exploring Operation: 89+143=232, Resulting Numbers: [232] 232,86 unequal: No Solution Exploring Operation: 89*143=12727, Resulting Numbers: [12727] 12727,86 unequal: No Solution Exploring Operation: 143-89=54, Resulting Numbers: [54] 54,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[28, 45, 37], Operations: ['98-61=37'] Exploring Operation: 37-28=9, Resulting Numbers: [45, 9] Generated Node #0,2,0: 86:[45, 9] Operation: 37-28=9 Exploring Operation: 45-28=17, Resulting Numbers: [37, 17] Generated Node #0,2,1: 86:[37, 17] Operation: 45-28=17 Exploring Operation: 45+37=82, Resulting Numbers: [28, 82] Generated Node #0,2,2: 86:[28, 82] Operation: 45+37=82 Exploring Operation: 28+45=73, Resulting Numbers: [37, 73] Generated Node #0,2,3: 86:[37, 73] Operation: 28+45=73 Moving to Node #0,2,0 Current State: 86:[45, 9], Operations: ['98-61=37', '37-28=9'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[37, 73], Operations: ['98-61=37', '28+45=73'] Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 37*73=2701, Resulting Numbers: [2701] 2701,86 unequal: No Solution Exploring Operation: 37+73=110, Resulting Numbers: [110] 110,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[28, 82], Operations: ['98-61=37', '45+37=82'] Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[37, 17], Operations: ['98-61=37', '45-28=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,86 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[98, 45, 33], Operations: ['61-28=33'] Exploring Operation: 45+33=78, Resulting Numbers: [98, 78] Generated Node #0,1,0: 86:[98, 78] Operation: 45+33=78 Exploring Operation: 98-45=53, Resulting Numbers: [33, 53] Generated Node #0,1,1: 86:[33, 53] Operation: 98-45=53 Exploring Operation: 98-33=65, Resulting Numbers: [45, 65] Generated Node #0,1,2: 86:[45, 65] Operation: 98-33=65 Exploring Operation: 45-33=12, Resulting Numbers: [98, 12] Generated Node #0,1,3: 86:[98, 12] Operation: 45-33=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[98, 78], Operations: ['61-28=33', '45+33=78'] Exploring Operation: 98+78=176, Resulting Numbers: [176] 176,86 unequal: No Solution Exploring Operation: 98-78=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 98*78=7644, Resulting Numbers: [7644] 7644,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[33, 53], Operations: ['61-28=33', '98-45=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[28, 61, 98, 45], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [98, 45, 33] Generated Node #0,1: 86:[98, 45, 33] Operation: 61-28=33 Moving to Node #0,1 Current State: 86:[98, 45, 33], Operations: ['61-28=33'] Exploring Operation: 98-45=53, Resulting Numbers: [33, 53] Generated Node #0,1,1: 86:[33, 53] Operation: 98-45=53 Moving to Node #0,1,1 Current State: 86:[33, 53], Operations: ['61-28=33', '98-45=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 78, 9, 89, 87 ]
89
[ "78+9=87", "89+87=176", "176-87=89" ]
Current State: 89:[78, 9, 89, 87], Operations: [] Exploring Operation: 78+9=87, Resulting Numbers: [89, 87, 87] Generated Node #2: [89, 87, 87] from Operation: 78+9=87 Current State: 89:[89, 87, 87], Operations: ['78+9=87'] Exploring Operation: 89+87=176, Resulting Numbers: [176] 176,89 equal: Goal Reached Exploring Operation: 176-87=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[78, 9, 89, 87], Operations: [] Exploring Operation: 78+9=87, Resulting Numbers: [89, 87, 87] Generated Node #0,0: 89:[89, 87, 87] Operation: 78+9=87 Exploring Operation: 89-9=80, Resulting Numbers: [78, 87, 80] Generated Node #0,1: 89:[78, 87, 80] Operation: 89-9=80 Exploring Operation: 9+89=98, Resulting Numbers: [78, 87, 98] Generated Node #0,2: 89:[78, 87, 98] Operation: 9+89=98 Exploring Operation: 9+87=96, Resulting Numbers: [78, 89, 96] Generated Node #0,3: 89:[78, 89, 96] Operation: 9+87=96 Exploring Operation: 78-9=69, Resulting Numbers: [89, 87, 69] Generated Node #0,4: 89:[89, 87, 69] Operation: 78-9=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[89, 87, 87], Operations: ['78+9=87'] Exploring Operation: 89+87=176, Resulting Numbers: [87, 176] Generated Node #0,0,0: 89:[87, 176] Operation: 89+87=176 Exploring Operation: 89-87=2, Resulting Numbers: [87, 2] Generated Node #0,0,1: 89:[87, 2] Operation: 89-87=2 Exploring Operation: 87+87=174, Resulting Numbers: [89, 174] Generated Node #0,0,2: 89:[89, 174] Operation: 87+87=174 Exploring Operation: 87/87=1, Resulting Numbers: [89, 1] Generated Node #0,0,3: 89:[89, 1] Operation: 87/87=1 Exploring Operation: 89+87=176, Resulting Numbers: [87, 176] Generated Node #0,0,4: 89:[87, 176] Operation: 89+87=176 Moving to Node #0,0,2 Current State: 89:[89, 174], Operations: ['78+9=87', '87+87=174'] Exploring Operation: 89+174=263, Resulting Numbers: [263] 263,89 unequal: No Solution Exploring Operation: 89*174=15486, Resulting Numbers: [15486] 15486,89 unequal: No Solution Exploring Operation: 174-89=85, Resulting Numbers: [85] 85,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[89, 1], Operations: ['78+9=87', '87/87=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[78, 9, 89, 87], Operations: [] Exploring Operation: 78+9=87, Resulting Numbers: [89, 87, 87] Generated Node #0,0: 89:[89, 87, 87] Operation: 78+9=87 Moving to Node #0,0 Current State: 89:[89, 87, 87], Operations: ['78+9=87'] Exploring Operation: 87/87=1, Resulting Numbers: [89, 1] Generated Node #0,0,3: 89:[89, 1] Operation: 87/87=1 Moving to Node #0,0,3 Current State: 89:[89, 1], Operations: ['78+9=87', '87/87=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 72, 51, 60, 2 ]
15
[ "72+60=132", "132/2=66", "66-51=15" ]
Current State: 15:[72, 51, 60, 2], Operations: [] Exploring Operation: 72+60=132, Resulting Numbers: [51, 2, 132] Generated Node #2: [51, 2, 132] from Operation: 72+60=132 Current State: 15:[51, 2, 132], Operations: ['72+60=132'] Exploring Operation: 132/2=66, Resulting Numbers: [51, 66] Generated Node #3: [51, 66] from Operation: 132/2=66 Current State: 15:[51, 66], Operations: ['72+60=132', '132/2=66'] Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[72, 51, 60, 2], Operations: [] Exploring Operation: 72-51=21, Resulting Numbers: [60, 2, 21] Generated Node #0,0: 15:[60, 2, 21] Operation: 72-51=21 Exploring Operation: 60-51=9, Resulting Numbers: [72, 2, 9] Generated Node #0,1: 15:[72, 2, 9] Operation: 60-51=9 Exploring Operation: 72/2=36, Resulting Numbers: [51, 60, 36] Generated Node #0,2: 15:[51, 60, 36] Operation: 72/2=36 Exploring Operation: 72-60=12, Resulting Numbers: [51, 2, 12] Generated Node #0,3: 15:[51, 2, 12] Operation: 72-60=12 Moving to Node #0,3 Current State: 15:[51, 2, 12], Operations: ['72-60=12'] Exploring Operation: 2+12=14, Resulting Numbers: [51, 14] Generated Node #0,3,0: 15:[51, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [51, 6] Generated Node #0,3,1: 15:[51, 6] Operation: 12/2=6 Exploring Operation: 51-2=49, Resulting Numbers: [12, 49] Generated Node #0,3,2: 15:[12, 49] Operation: 51-2=49 Exploring Operation: 51-12=39, Resulting Numbers: [2, 39] Generated Node #0,3,3: 15:[2, 39] Operation: 51-12=39 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[2, 39], Operations: ['72-60=12', '51-12=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,15 unequal: No Solution No 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: 15:[51, 14], Operations: ['72-60=12', '2+12=14'] Exploring Operation: 51*14=714, Resulting Numbers: [714] 714,15 unequal: No Solution Exploring Operation: 51+14=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,15 unequal: No Solution No 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: 15:[51, 6], Operations: ['72-60=12', '12/2=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,15 unequal: No Solution No 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: 15:[12, 49], Operations: ['72-60=12', '51-2=49'] Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,15 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,15 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: 15:[60, 2, 21], Operations: ['72-51=21'] Exploring Operation: 60-2=58, Resulting Numbers: [21, 58] Generated Node #0,0,0: 15:[21, 58] Operation: 60-2=58 Exploring Operation: 21-2=19, Resulting Numbers: [60, 19] Generated Node #0,0,1: 15:[60, 19] Operation: 21-2=19 Exploring Operation: 60/2=30, Resulting Numbers: [21, 30] Generated Node #0,0,2: 15:[21, 30] Operation: 60/2=30 Exploring Operation: 60-21=39, Resulting Numbers: [2, 39] Generated Node #0,0,3: 15:[2, 39] Operation: 60-21=39 Moving to Node #0,1 Current State: 15:[72, 2, 9], Operations: ['60-51=9'] Exploring Operation: 72-2=70, Resulting Numbers: [9, 70] Generated Node #0,1,0: 15:[9, 70] Operation: 72-2=70 Exploring Operation: 72/9=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 15:[2, 8] Operation: 72/9=8 Exploring Operation: 72/2=36, Resulting Numbers: [9, 36] Generated Node #0,1,2: 15:[9, 36] Operation: 72/2=36 Exploring Operation: 72-9=63, Resulting Numbers: [2, 63] Generated Node #0,1,3: 15:[2, 63] Operation: 72-9=63 Moving to Node #0,2 Current State: 15:[51, 60, 36], Operations: ['72/2=36'] Exploring Operation: 60-51=9, Resulting Numbers: [36, 9] Generated Node #0,2,0: 15:[36, 9] Operation: 60-51=9 Exploring Operation: 51-36=15, Resulting Numbers: [60, 15] Generated Node #0,2,1: 15:[60, 15] Operation: 51-36=15 Exploring Operation: 51+60=111, Resulting Numbers: [36, 111] Generated Node #0,2,2: 15:[36, 111] Operation: 51+60=111 Exploring Operation: 60-36=24, Resulting Numbers: [51, 24] Generated Node #0,2,3: 15:[51, 24] Operation: 60-36=24 Moving to Node #0,1,1 Current State: 15:[2, 8], Operations: ['60-51=9', '72/9=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[21, 30], Operations: ['72-51=21', '60/2=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,15 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[9, 36], Operations: ['60-51=9', '72/2=36'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[2, 39], Operations: ['72-51=21', '60-21=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,15 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[36, 9], Operations: ['72/2=36', '60-51=9'] Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,15 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[51, 24], Operations: ['72/2=36', '60-36=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,15 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[60, 15], Operations: ['72/2=36', '51-36=15'] Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 60*15=900, Resulting Numbers: [900] 900,15 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[2, 63], Operations: ['60-51=9', '72-9=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[21, 58], Operations: ['72-51=21', '60-2=58'] Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[60, 19], Operations: ['72-51=21', '21-2=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[9, 70], Operations: ['60-51=9', '72-2=70'] Exploring Operation: 9+70=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 9*70=630, Resulting Numbers: [630] 630,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[36, 111], Operations: ['72/2=36', '51+60=111'] Exploring Operation: 111-36=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 36*111=3996, Resulting Numbers: [3996] 3996,15 unequal: No Solution Exploring Operation: 36+111=147, Resulting Numbers: [147] 147,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 83, 61, 16, 27 ]
33
[ "83-61=22", "27-16=11", "22+11=33" ]
Current State: 33:[83, 61, 16, 27], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [16, 27, 22] Generated Node #2: [16, 27, 22] from Operation: 83-61=22 Current State: 33:[16, 27, 22], Operations: ['83-61=22'] Exploring Operation: 27-16=11, Resulting Numbers: [22, 11] Generated Node #3: [22, 11] from Operation: 27-16=11 Current State: 33:[22, 11], Operations: ['83-61=22', '27-16=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[83, 61, 16, 27], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [16, 27, 22] Generated Node #0,0: 33:[16, 27, 22] Operation: 83-61=22 Moving to Node #0,0 Current State: 33:[16, 27, 22], Operations: ['83-61=22'] Exploring Operation: 27-22=5, Resulting Numbers: [16, 5] Generated Node #0,0,0: 33:[16, 5] Operation: 27-22=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[16, 5], Operations: ['83-61=22', '27-22=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,33 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
[ 91, 90, 3, 22 ]
67
[ "91-90=1", "3*22=66", "1+66=67" ]
Current State: 67:[91, 90, 3, 22], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [3, 22, 1] Generated Node #2: [3, 22, 1] from Operation: 91-90=1 Current State: 67:[3, 22, 1], Operations: ['91-90=1'] Exploring Operation: 3*22=66, Resulting Numbers: [1, 66] Generated Node #3: [1, 66] from Operation: 3*22=66 Current State: 67:[1, 66], Operations: ['91-90=1', '3*22=66'] Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[91, 90, 3, 22], Operations: [] Exploring Operation: 3*22=66, Resulting Numbers: [91, 90, 66] Generated Node #0,0: 67:[91, 90, 66] Operation: 3*22=66 Exploring Operation: 91-3=88, Resulting Numbers: [90, 22, 88] Generated Node #0,1: 67:[90, 22, 88] Operation: 91-3=88 Moving to Node #0,0 Current State: 67:[91, 90, 66], Operations: ['3*22=66'] Exploring Operation: 91-90=1, Resulting Numbers: [66, 1] Generated Node #0,0,0: 67:[66, 1] Operation: 91-90=1 Exploring Operation: 91-66=25, Resulting Numbers: [90, 25] Generated Node #0,0,1: 67:[90, 25] Operation: 91-66=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[90, 25], Operations: ['3*22=66', '91-66=25'] Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,67 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[66, 1], Operations: ['3*22=66', '91-90=1'] Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[91, 90, 3, 22], Operations: [] Exploring Operation: 3*22=66, Resulting Numbers: [91, 90, 66] Generated Node #0,0: 67:[91, 90, 66] Operation: 3*22=66 Moving to Node #0,0 Current State: 67:[91, 90, 66], Operations: ['3*22=66'] Exploring Operation: 91-90=1, Resulting Numbers: [66, 1] Generated Node #0,0,0: 67:[66, 1] Operation: 91-90=1 Moving to Node #0,0,0 Current State: 67:[66, 1], Operations: ['3*22=66', '91-90=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 62, 8, 69, 21 ]
68
[ "69-21=48", "48/8=6", "62+6=68" ]
Current State: 68:[62, 8, 69, 21], Operations: [] Exploring Operation: 69-21=48, Resulting Numbers: [62, 8, 48] Generated Node #2: [62, 8, 48] from Operation: 69-21=48 Current State: 68:[62, 8, 48], Operations: ['69-21=48'] Exploring Operation: 48/8=6, Resulting Numbers: [62, 6] Generated Node #3: [62, 6] from Operation: 48/8=6 Current State: 68:[62, 6], Operations: ['69-21=48', '48/8=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[62, 8, 69, 21], Operations: [] Exploring Operation: 21-8=13, Resulting Numbers: [62, 69, 13] Generated Node #0,0: 68:[62, 69, 13] Operation: 21-8=13 Exploring Operation: 62+8=70, Resulting Numbers: [69, 21, 70] Generated Node #0,1: 68:[69, 21, 70] Operation: 62+8=70 Exploring Operation: 69-62=7, Resulting Numbers: [8, 21, 7] Generated Node #0,2: 68:[8, 21, 7] Operation: 69-62=7 Exploring Operation: 62-21=41, Resulting Numbers: [8, 69, 41] Generated Node #0,3: 68:[8, 69, 41] Operation: 62-21=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[69, 21, 70], Operations: ['62+8=70'] Exploring Operation: 70-69=1, Resulting Numbers: [21, 1] Generated Node #0,1,0: 68:[21, 1] Operation: 70-69=1 Exploring Operation: 69+21=90, Resulting Numbers: [70, 90] Generated Node #0,1,1: 68:[70, 90] Operation: 69+21=90 Exploring Operation: 69-21=48, Resulting Numbers: [70, 48] Generated Node #0,1,2: 68:[70, 48] Operation: 69-21=48 Exploring Operation: 70-21=49, Resulting Numbers: [69, 49] Generated Node #0,1,3: 68:[69, 49] Operation: 70-21=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[21, 1], Operations: ['62+8=70', '70-69=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[70, 48], Operations: ['62+8=70', '69-21=48'] Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,68 unequal: No Solution Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,68 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 68:[69, 49], Operations: ['62+8=70', '70-21=49'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,68 unequal: No Solution Exploring Operation: 69*49=3381, Resulting Numbers: [3381] 3381,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[70, 90], Operations: ['62+8=70', '69+21=90'] Exploring Operation: 70+90=160, Resulting Numbers: [160] 160,68 unequal: No Solution Exploring Operation: 70*90=6300, Resulting Numbers: [6300] 6300,68 unequal: No Solution Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[62, 69, 13], Operations: ['21-8=13'] Exploring Operation: 69-13=56, Resulting Numbers: [62, 56] Generated Node #0,0,0: 68:[62, 56] Operation: 69-13=56 Exploring Operation: 69-62=7, Resulting Numbers: [13, 7] Generated Node #0,0,1: 68:[13, 7] Operation: 69-62=7 Exploring Operation: 62+13=75, Resulting Numbers: [69, 75] Generated Node #0,0,2: 68:[69, 75] Operation: 62+13=75 Exploring Operation: 62-13=49, Resulting Numbers: [69, 49] Generated Node #0,0,3: 68:[69, 49] Operation: 62-13=49 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[13, 7], Operations: ['21-8=13', '69-62=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[69, 75], Operations: ['21-8=13', '62+13=75'] Exploring Operation: 69+75=144, Resulting Numbers: [144] 144,68 unequal: No Solution Exploring Operation: 69*75=5175, Resulting Numbers: [5175] 5175,68 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 68:[69, 49], Operations: ['21-8=13', '62-13=49'] Exploring Operation: 69*49=3381, Resulting Numbers: [3381] 3381,68 unequal: No Solution Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,68 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[62, 56], Operations: ['21-8=13', '69-13=56'] Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,68 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[8, 21, 7], Operations: ['69-62=7'] Exploring Operation: 21/7=3, Resulting Numbers: [8, 3] Generated Node #0,2,0: 68:[8, 3] Operation: 21/7=3 Exploring Operation: 8-7=1, Resulting Numbers: [21, 1] Generated Node #0,2,1: 68:[21, 1] Operation: 8-7=1 Exploring Operation: 21-8=13, Resulting Numbers: [7, 13] Generated Node #0,2,2: 68:[7, 13] Operation: 21-8=13 Exploring Operation: 8+7=15, Resulting Numbers: [21, 15] Generated Node #0,2,3: 68:[21, 15] Operation: 8+7=15 Moving to Node #0,2,0 Current State: 68:[8, 3], Operations: ['69-62=7', '21/7=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[21, 1], Operations: ['69-62=7', '8-7=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[21, 15], Operations: ['69-62=7', '8+7=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,68 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[7, 13], Operations: ['69-62=7', '21-8=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[8, 69, 41], Operations: ['62-21=41'] Exploring Operation: 41-8=33, Resulting Numbers: [69, 33] Generated Node #0,3,0: 68:[69, 33] Operation: 41-8=33 Exploring Operation: 69-8=61, Resulting Numbers: [41, 61] Generated Node #0,3,1: 68:[41, 61] Operation: 69-8=61 Exploring Operation: 69-41=28, Resulting Numbers: [8, 28] Generated Node #0,3,2: 68:[8, 28] Operation: 69-41=28 Exploring Operation: 8+69=77, Resulting Numbers: [41, 77] Generated Node #0,3,3: 68:[41, 77] Operation: 8+69=77 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 68:[69, 33], Operations: ['62-21=41', '41-8=33'] Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,68 unequal: No Solution Exploring Operation: 69*33=2277, Resulting Numbers: [2277] 2277,68 unequal: No Solution Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 68:[8, 28], Operations: ['62-21=41', '69-41=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,68 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 68:[41, 61], Operations: ['62-21=41', '69-8=61'] Exploring Operation: 41*61=2501, Resulting Numbers: [2501] 2501,68 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 41+61=102, Resulting Numbers: [102] 102,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[41, 77], Operations: ['62-21=41', '8+69=77'] Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,68 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 38, 58, 88, 94 ]
44
[ "38+58=96", "96-94=2", "88/2=44" ]
Current State: 44:[38, 58, 88, 94], Operations: [] Exploring Operation: 38+58=96, Resulting Numbers: [88, 94, 96] Generated Node #2: [88, 94, 96] from Operation: 38+58=96 Current State: 44:[88, 94, 96], Operations: ['38+58=96'] Exploring Operation: 96-94=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 96-94=2 Current State: 44:[88, 2], Operations: ['38+58=96', '96-94=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[38, 58, 88, 94], Operations: [] Exploring Operation: 94-58=36, Resulting Numbers: [38, 88, 36] Generated Node #0,0: 44:[38, 88, 36] Operation: 94-58=36 Exploring Operation: 94-88=6, Resulting Numbers: [38, 58, 6] Generated Node #0,1: 44:[38, 58, 6] Operation: 94-88=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[38, 58, 6], Operations: ['94-88=6'] Exploring Operation: 58-38=20, Resulting Numbers: [6, 20] Generated Node #0,1,0: 44:[6, 20] Operation: 58-38=20 Exploring Operation: 38+6=44, Resulting Numbers: [58, 44] Generated Node #0,1,1: 44:[58, 44] Operation: 38+6=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[6, 20], Operations: ['94-88=6', '58-38=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[58, 44], Operations: ['94-88=6', '38+6=44'] Exploring Operation: 58+44=102, Resulting Numbers: [102] 102,44 unequal: No Solution Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[38, 88, 36], Operations: ['94-58=36'] Exploring Operation: 88-36=52, Resulting Numbers: [38, 52] Generated Node #0,0,0: 44:[38, 52] Operation: 88-36=52 Exploring Operation: 88-38=50, Resulting Numbers: [36, 50] Generated Node #0,0,1: 44:[36, 50] Operation: 88-38=50 Moving to Node #0,0,0 Current State: 44:[38, 52], Operations: ['94-58=36', '88-36=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,44 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[36, 50], Operations: ['94-58=36', '88-38=50'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,44 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
[ 13, 5, 15, 59 ]
27
[ "15-13=2", "59-5=54", "54/2=27" ]
Current State: 27:[13, 5, 15, 59], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [5, 59, 2] Generated Node #2: [5, 59, 2] from Operation: 15-13=2 Current State: 27:[5, 59, 2], Operations: ['15-13=2'] Exploring Operation: 59-5=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 59-5=54 Current State: 27:[2, 54], Operations: ['15-13=2', '59-5=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[13, 5, 15, 59], Operations: [] Exploring Operation: 59-15=44, Resulting Numbers: [13, 5, 44] Generated Node #0,0: 27:[13, 5, 44] Operation: 59-15=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[13, 5, 44], Operations: ['59-15=44'] Exploring Operation: 44-13=31, Resulting Numbers: [5, 31] Generated Node #0,0,0: 27:[5, 31] Operation: 44-13=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[5, 31], Operations: ['59-15=44', '44-13=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 87, 92, 2, 16 ]
27
[ "92-87=5", "2*16=32", "32-5=27" ]
Current State: 27:[87, 92, 2, 16], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [2, 16, 5] Generated Node #2: [2, 16, 5] from Operation: 92-87=5 Current State: 27:[2, 16, 5], Operations: ['92-87=5'] Exploring Operation: 2*16=32, Resulting Numbers: [5, 32] Generated Node #3: [5, 32] from Operation: 2*16=32 Current State: 27:[5, 32], Operations: ['92-87=5', '2*16=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[87, 92, 2, 16], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [87, 16, 46] Generated Node #0,0: 27:[87, 16, 46] Operation: 92/2=46 Exploring Operation: 92-87=5, Resulting Numbers: [2, 16, 5] Generated Node #0,1: 27:[2, 16, 5] Operation: 92-87=5 Exploring Operation: 87-16=71, Resulting Numbers: [92, 2, 71] Generated Node #0,2: 27:[92, 2, 71] Operation: 87-16=71 Exploring Operation: 92-16=76, Resulting Numbers: [87, 2, 76] Generated Node #0,3: 27:[87, 2, 76] Operation: 92-16=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[2, 16, 5], Operations: ['92-87=5'] Exploring Operation: 16-2=14, Resulting Numbers: [5, 14] Generated Node #0,1,0: 27:[5, 14] Operation: 16-2=14 Exploring Operation: 16/2=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 27:[5, 8] Operation: 16/2=8 Exploring Operation: 16-5=11, Resulting Numbers: [2, 11] Generated Node #0,1,2: 27:[2, 11] Operation: 16-5=11 Exploring Operation: 2*16=32, Resulting Numbers: [5, 32] Generated Node #0,1,3: 27:[5, 32] Operation: 2*16=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[5, 8], Operations: ['92-87=5', '16/2=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,27 unequal: No Solution No 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: 27:[2, 11], Operations: ['92-87=5', '16-5=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,27 unequal: No Solution No 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: 27:[5, 14], Operations: ['92-87=5', '16-2=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,27 unequal: No Solution No 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: 27:[5, 32], Operations: ['92-87=5', '2*16=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[87, 92, 2, 16], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [2, 16, 5] Generated Node #0,1: 27:[2, 16, 5] Operation: 92-87=5 Moving to Node #0,1 Current State: 27:[2, 16, 5], Operations: ['92-87=5'] Exploring Operation: 2*16=32, Resulting Numbers: [5, 32] Generated Node #0,1,3: 27:[5, 32] Operation: 2*16=32 Moving to Node #0,1,3 Current State: 27:[5, 32], Operations: ['92-87=5', '2*16=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 3, 11, 43, 35 ]
92
[ "3+11=14", "43+35=78", "14+78=92" ]
Current State: 92:[3, 11, 43, 35], Operations: [] Exploring Operation: 3+11=14, Resulting Numbers: [43, 35, 14] Generated Node #2: [43, 35, 14] from Operation: 3+11=14 Current State: 92:[43, 35, 14], Operations: ['3+11=14'] Exploring Operation: 43+35=78, Resulting Numbers: [14, 78] Generated Node #3: [14, 78] from Operation: 43+35=78 Current State: 92:[14, 78], Operations: ['3+11=14', '43+35=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[3, 11, 43, 35], Operations: [] Exploring Operation: 35-11=24, Resulting Numbers: [3, 43, 24] Generated Node #0,0: 92:[3, 43, 24] Operation: 35-11=24 Exploring Operation: 11-3=8, Resulting Numbers: [43, 35, 8] Generated Node #0,1: 92:[43, 35, 8] Operation: 11-3=8 Exploring Operation: 43-35=8, Resulting Numbers: [3, 11, 8] Generated Node #0,2: 92:[3, 11, 8] Operation: 43-35=8 Exploring Operation: 3+43=46, Resulting Numbers: [11, 35, 46] Generated Node #0,3: 92:[11, 35, 46] Operation: 3+43=46 Exploring Operation: 11+35=46, Resulting Numbers: [3, 43, 46] Generated Node #0,4: 92:[3, 43, 46] Operation: 11+35=46 Moving to Node #0,4 Current State: 92:[3, 43, 46], Operations: ['11+35=46'] Exploring Operation: 43-3=40, Resulting Numbers: [46, 40] Generated Node #0,4,0: 92:[46, 40] Operation: 43-3=40 Exploring Operation: 46-43=3, Resulting Numbers: [3, 3] Generated Node #0,4,1: 92:[3, 3] Operation: 46-43=3 Exploring Operation: 3+46=49, Resulting Numbers: [43, 49] Generated Node #0,4,2: 92:[43, 49] Operation: 3+46=49 Exploring Operation: 3+43=46, Resulting Numbers: [46, 46] Generated Node #0,4,3: 92:[46, 46] Operation: 3+43=46 Exploring Operation: 43+46=89, Resulting Numbers: [3, 89] Generated Node #0,4,4: 92:[3, 89] Operation: 43+46=89 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 92:[46, 46], Operations: ['11+35=46', '3+43=46'] Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[3, 11, 43, 35], Operations: [] Exploring Operation: 11+35=46, Resulting Numbers: [3, 43, 46] Generated Node #0,4: 92:[3, 43, 46] Operation: 11+35=46 Moving to Node #0,4 Current State: 92:[3, 43, 46], Operations: ['11+35=46'] Exploring Operation: 3+43=46, Resulting Numbers: [46, 46] Generated Node #0,4,3: 92:[46, 46] Operation: 3+43=46 Moving to Node #0,4,3 Current State: 92:[46, 46], Operations: ['11+35=46', '3+43=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 10, 4, 55, 82 ]
13
[ "10+4=14", "82-55=27", "27-14=13" ]
Current State: 13:[10, 4, 55, 82], Operations: [] Exploring Operation: 10+4=14, Resulting Numbers: [55, 82, 14] Generated Node #2: [55, 82, 14] from Operation: 10+4=14 Current State: 13:[55, 82, 14], Operations: ['10+4=14'] Exploring Operation: 82-55=27, Resulting Numbers: [14, 27] Generated Node #3: [14, 27] from Operation: 82-55=27 Current State: 13:[14, 27], Operations: ['10+4=14', '82-55=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[10, 4, 55, 82], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [4, 82, 45] Generated Node #0,0: 13:[4, 82, 45] Operation: 55-10=45 Exploring Operation: 82-55=27, Resulting Numbers: [10, 4, 27] Generated Node #0,1: 13:[10, 4, 27] Operation: 82-55=27 Moving to Node #0,1 Current State: 13:[10, 4, 27], Operations: ['82-55=27'] Exploring Operation: 27-4=23, Resulting Numbers: [10, 23] Generated Node #0,1,0: 13:[10, 23] Operation: 27-4=23 Exploring Operation: 27-10=17, Resulting Numbers: [4, 17] Generated Node #0,1,1: 13:[4, 17] Operation: 27-10=17 Moving to Node #0,0 Current State: 13:[4, 82, 45], Operations: ['55-10=45'] Exploring Operation: 82-45=37, Resulting Numbers: [4, 37] Generated Node #0,0,0: 13:[4, 37] Operation: 82-45=37 Exploring Operation: 82-4=78, Resulting Numbers: [45, 78] Generated Node #0,0,1: 13:[45, 78] Operation: 82-4=78 Moving to Node #0,1,0 Current State: 13:[10, 23], Operations: ['82-55=27', '27-4=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[10, 4, 55, 82], Operations: [] Exploring Operation: 82-55=27, Resulting Numbers: [10, 4, 27] Generated Node #0,1: 13:[10, 4, 27] Operation: 82-55=27 Moving to Node #0,1 Current State: 13:[10, 4, 27], Operations: ['82-55=27'] Exploring Operation: 27-4=23, Resulting Numbers: [10, 23] Generated Node #0,1,0: 13:[10, 23] Operation: 27-4=23 Moving to Node #0,1,0 Current State: 13:[10, 23], Operations: ['82-55=27', '27-4=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 55, 95, 75, 21 ]
60
[ "55+21=76", "75*76=5700", "5700/95=60" ]
Current State: 60:[55, 95, 75, 21], Operations: [] Exploring Operation: 55+21=76, Resulting Numbers: [95, 75, 76] Generated Node #2: [95, 75, 76] from Operation: 55+21=76 Current State: 60:[95, 75, 76], Operations: ['55+21=76'] Exploring Operation: 75*76=5700, Resulting Numbers: [95, 5700] Generated Node #3: [95, 5700] from Operation: 75*76=5700 Current State: 60:[95, 5700], Operations: ['55+21=76', '75*76=5700'] Exploring Operation: 5700/95=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[55, 95, 75, 21], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [55, 21, 20] Generated Node #0,0: 60:[55, 21, 20] Operation: 95-75=20 Exploring Operation: 75-55=20, Resulting Numbers: [95, 21, 20] Generated Node #0,1: 60:[95, 21, 20] Operation: 75-55=20 Exploring Operation: 95-21=74, Resulting Numbers: [55, 75, 74] Generated Node #0,2: 60:[55, 75, 74] Operation: 95-21=74 Exploring Operation: 95-55=40, Resulting Numbers: [75, 21, 40] Generated Node #0,3: 60:[75, 21, 40] Operation: 95-55=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[55, 21, 20], Operations: ['95-75=20'] Exploring Operation: 55-20=35, Resulting Numbers: [21, 35] Generated Node #0,0,0: 60:[21, 35] Operation: 55-20=35 Exploring Operation: 21-20=1, Resulting Numbers: [55, 1] Generated Node #0,0,1: 60:[55, 1] Operation: 21-20=1 Exploring Operation: 55+21=76, Resulting Numbers: [20, 76] Generated Node #0,0,2: 60:[20, 76] Operation: 55+21=76 Exploring Operation: 55-21=34, Resulting Numbers: [20, 34] Generated Node #0,0,3: 60:[20, 34] Operation: 55-21=34 Moving to Node #0,0,3 Current State: 60:[20, 34], Operations: ['95-75=20', '55-21=34'] Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,60 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[55, 1], Operations: ['95-75=20', '21-20=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[21, 35], Operations: ['95-75=20', '55-20=35'] Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,60 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[20, 76], Operations: ['95-75=20', '55+21=76'] Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,60 unequal: No Solution Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[75, 21, 40], Operations: ['95-55=40'] Exploring Operation: 40-21=19, Resulting Numbers: [75, 19] Generated Node #0,3,0: 60:[75, 19] Operation: 40-21=19 Exploring Operation: 75-40=35, Resulting Numbers: [21, 35] Generated Node #0,3,1: 60:[21, 35] Operation: 75-40=35 Exploring Operation: 75-21=54, Resulting Numbers: [40, 54] Generated Node #0,3,2: 60:[40, 54] Operation: 75-21=54 Exploring Operation: 21+40=61, Resulting Numbers: [75, 61] Generated Node #0,3,3: 60:[75, 61] Operation: 21+40=61 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 60:[21, 35], Operations: ['95-55=40', '75-40=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 60:[75, 19], Operations: ['95-55=40', '40-21=19'] Exploring Operation: 75+19=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 75*19=1425, Resulting Numbers: [1425] 1425,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 60:[40, 54], Operations: ['95-55=40', '75-21=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,60 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 60:[75, 61], Operations: ['95-55=40', '21+40=61'] Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 75+61=136, Resulting Numbers: [136] 136,60 unequal: No Solution Exploring Operation: 75*61=4575, Resulting Numbers: [4575] 4575,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[55, 75, 74], Operations: ['95-21=74'] Exploring Operation: 55+75=130, Resulting Numbers: [74, 130] Generated Node #0,2,0: 60:[74, 130] Operation: 55+75=130 Exploring Operation: 75-55=20, Resulting Numbers: [74, 20] Generated Node #0,2,1: 60:[74, 20] Operation: 75-55=20 Exploring Operation: 74-55=19, Resulting Numbers: [75, 19] Generated Node #0,2,2: 60:[75, 19] Operation: 74-55=19 Exploring Operation: 75-74=1, Resulting Numbers: [55, 1] Generated Node #0,2,3: 60:[55, 1] Operation: 75-74=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 60:[55, 1], Operations: ['95-21=74', '75-74=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[74, 20], Operations: ['95-21=74', '75-55=20'] Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,60 unequal: No Solution Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[75, 19], Operations: ['95-21=74', '74-55=19'] Exploring Operation: 75+19=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 75*19=1425, Resulting Numbers: [1425] 1425,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[74, 130], Operations: ['95-21=74', '55+75=130'] Exploring Operation: 130-74=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 74*130=9620, Resulting Numbers: [9620] 9620,60 unequal: No Solution Exploring Operation: 74+130=204, Resulting Numbers: [204] 204,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[95, 21, 20], Operations: ['75-55=20'] Exploring Operation: 21+20=41, Resulting Numbers: [95, 41] Generated Node #0,1,0: 60:[95, 41] Operation: 21+20=41 Exploring Operation: 95-21=74, Resulting Numbers: [20, 74] Generated Node #0,1,1: 60:[20, 74] Operation: 95-21=74 Exploring Operation: 95-20=75, Resulting Numbers: [21, 75] Generated Node #0,1,2: 60:[21, 75] Operation: 95-20=75 Exploring Operation: 21-20=1, Resulting Numbers: [95, 1] Generated Node #0,1,3: 60:[95, 1] Operation: 21-20=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[20, 74], Operations: ['75-55=20', '95-21=74'] Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,60 unequal: No Solution Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[21, 75], Operations: ['75-55=20', '95-20=75'] Exploring Operation: 21*75=1575, Resulting Numbers: [1575] 1575,60 unequal: No Solution Exploring Operation: 21+75=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 60:[95, 1], Operations: ['75-55=20', '21-20=1'] Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,60 unequal: No Solution Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,60 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[95, 41], Operations: ['75-55=20', '21+20=41'] Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 95+41=136, Resulting Numbers: [136] 136,60 unequal: No Solution Exploring Operation: 95*41=3895, Resulting Numbers: [3895] 3895,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 17, 15, 58, 57 ]
31
[ "17+15=32", "58-57=1", "32-1=31" ]
Current State: 31:[17, 15, 58, 57], Operations: [] Exploring Operation: 17+15=32, Resulting Numbers: [58, 57, 32] Generated Node #2: [58, 57, 32] from Operation: 17+15=32 Current State: 31:[58, 57, 32], Operations: ['17+15=32'] Exploring Operation: 58-57=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 58-57=1 Current State: 31:[32, 1], Operations: ['17+15=32', '58-57=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[17, 15, 58, 57], Operations: [] Exploring Operation: 58-17=41, Resulting Numbers: [15, 57, 41] Generated Node #0,0: 31:[15, 57, 41] Operation: 58-17=41 Moving to Node #0,0 Current State: 31:[15, 57, 41], Operations: ['58-17=41'] Exploring Operation: 57-15=42, Resulting Numbers: [41, 42] Generated Node #0,0,0: 31:[41, 42] Operation: 57-15=42 Moving to Node #0,0,0 Current State: 31:[41, 42], Operations: ['58-17=41', '57-15=42'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 62, 55, 11, 35 ]
22
[ "62-35=27", "55/11=5", "27-5=22" ]
Current State: 22:[62, 55, 11, 35], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [55, 11, 27] Generated Node #2: [55, 11, 27] from Operation: 62-35=27 Current State: 22:[55, 11, 27], Operations: ['62-35=27'] Exploring Operation: 55/11=5, Resulting Numbers: [27, 5] Generated Node #3: [27, 5] from Operation: 55/11=5 Current State: 22:[27, 5], Operations: ['62-35=27', '55/11=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[62, 55, 11, 35], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [55, 11, 27] Generated Node #0,0: 22:[55, 11, 27] Operation: 62-35=27 Exploring Operation: 62-55=7, Resulting Numbers: [11, 35, 7] Generated Node #0,1: 22:[11, 35, 7] Operation: 62-55=7 Exploring Operation: 55-35=20, Resulting Numbers: [62, 11, 20] Generated Node #0,2: 22:[62, 11, 20] Operation: 55-35=20 Moving to Node #0,1 Current State: 22:[11, 35, 7], Operations: ['62-55=7'] Exploring Operation: 35/7=5, Resulting Numbers: [11, 5] Generated Node #0,1,0: 22:[11, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [11, 28] Generated Node #0,1,1: 22:[11, 28] Operation: 35-7=28 Exploring Operation: 35-11=24, Resulting Numbers: [7, 24] Generated Node #0,1,2: 22:[7, 24] Operation: 35-11=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[11, 5], Operations: ['62-55=7', '35/7=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,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,1,1 Current State: 22:[11, 28], Operations: ['62-55=7', '35-7=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,22 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,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,1,2 Current State: 22:[7, 24], Operations: ['62-55=7', '35-11=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,22 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,22 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: 22:[55, 11, 27], Operations: ['62-35=27'] Exploring Operation: 55/11=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 22:[27, 5] Operation: 55/11=5 Exploring Operation: 55-27=28, Resulting Numbers: [11, 28] Generated Node #0,0,1: 22:[11, 28] Operation: 55-27=28 Exploring Operation: 55-11=44, Resulting Numbers: [27, 44] Generated Node #0,0,2: 22:[27, 44] Operation: 55-11=44 Moving to Node #0,2 Current State: 22:[62, 11, 20], Operations: ['55-35=20'] Exploring Operation: 20-11=9, Resulting Numbers: [62, 9] Generated Node #0,2,0: 22:[62, 9] Operation: 20-11=9 Exploring Operation: 62-20=42, Resulting Numbers: [11, 42] Generated Node #0,2,1: 22:[11, 42] Operation: 62-20=42 Exploring Operation: 62-11=51, Resulting Numbers: [20, 51] Generated Node #0,2,2: 22:[20, 51] Operation: 62-11=51 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[11, 42], Operations: ['55-35=20', '62-20=42'] Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,22 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,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,2 Current State: 22:[20, 51], Operations: ['55-35=20', '62-11=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,22 unequal: No Solution Exploring Operation: 20*51=1020, Resulting Numbers: [1020] 1020,22 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,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,0 Current State: 22:[62, 9], Operations: ['55-35=20', '20-11=9'] Exploring Operation: 62*9=558, Resulting Numbers: [558] 558,22 unequal: No Solution Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,22 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 22:[11, 28], Operations: ['62-35=27', '55-27=28'] Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,22 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[27, 5], Operations: ['62-35=27', '55/11=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[62, 55, 11, 35], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [55, 11, 27] Generated Node #0,0: 22:[55, 11, 27] Operation: 62-35=27 Moving to Node #0,0 Current State: 22:[55, 11, 27], Operations: ['62-35=27'] Exploring Operation: 55/11=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 22:[27, 5] Operation: 55/11=5 Moving to Node #0,0,0 Current State: 22:[27, 5], Operations: ['62-35=27', '55/11=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 65, 2, 62, 73 ]
52
[ "65-2=63", "73-62=11", "63-11=52" ]
Current State: 52:[65, 2, 62, 73], Operations: [] Exploring Operation: 65-2=63, Resulting Numbers: [62, 73, 63] Generated Node #2: [62, 73, 63] from Operation: 65-2=63 Current State: 52:[62, 73, 63], Operations: ['65-2=63'] Exploring Operation: 73-62=11, Resulting Numbers: [63, 11] Generated Node #3: [63, 11] from Operation: 73-62=11 Current State: 52:[63, 11], Operations: ['65-2=63', '73-62=11'] Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[65, 2, 62, 73], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [2, 62, 8] Generated Node #0,0: 52:[2, 62, 8] Operation: 73-65=8 Exploring Operation: 73-62=11, Resulting Numbers: [65, 2, 11] Generated Node #0,1: 52:[65, 2, 11] Operation: 73-62=11 Exploring Operation: 65-2=63, Resulting Numbers: [62, 73, 63] Generated Node #0,2: 52:[62, 73, 63] Operation: 65-2=63 Exploring Operation: 65-62=3, Resulting Numbers: [2, 73, 3] Generated Node #0,3: 52:[2, 73, 3] Operation: 65-62=3 Exploring Operation: 62/2=31, Resulting Numbers: [65, 73, 31] Generated Node #0,4: 52:[65, 73, 31] Operation: 62/2=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[2, 62, 8], Operations: ['73-65=8'] Exploring Operation: 62-8=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 52:[2, 54] Operation: 62-8=54 Exploring Operation: 8-2=6, Resulting Numbers: [62, 6] Generated Node #0,0,1: 52:[62, 6] Operation: 8-2=6 Exploring Operation: 62/2=31, Resulting Numbers: [8, 31] Generated Node #0,0,2: 52:[8, 31] Operation: 62/2=31 Exploring Operation: 8/2=4, Resulting Numbers: [62, 4] Generated Node #0,0,3: 52:[62, 4] Operation: 8/2=4 Exploring Operation: 62-2=60, Resulting Numbers: [8, 60] Generated Node #0,0,4: 52:[8, 60] Operation: 62-2=60 Moving to Node #0,0,0 Current State: 52:[2, 54], Operations: ['73-65=8', '62-8=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[65, 2, 62, 73], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [2, 62, 8] Generated Node #0,0: 52:[2, 62, 8] Operation: 73-65=8 Moving to Node #0,0 Current State: 52:[2, 62, 8], Operations: ['73-65=8'] Exploring Operation: 62-8=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 52:[2, 54] Operation: 62-8=54 Moving to Node #0,0,0 Current State: 52:[2, 54], Operations: ['73-65=8', '62-8=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 44, 70, 96, 63 ]
61
[ "44+96=140", "140/70=2", "63-2=61" ]
Current State: 61:[44, 70, 96, 63], Operations: [] Exploring Operation: 44+96=140, Resulting Numbers: [70, 63, 140] Generated Node #2: [70, 63, 140] from Operation: 44+96=140 Current State: 61:[70, 63, 140], Operations: ['44+96=140'] Exploring Operation: 140/70=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 140/70=2 Current State: 61:[63, 2], Operations: ['44+96=140', '140/70=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[44, 70, 96, 63], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [96, 63, 26] Generated Node #0,0: 61:[96, 63, 26] Operation: 70-44=26 Exploring Operation: 96-70=26, Resulting Numbers: [44, 63, 26] Generated Node #0,1: 61:[44, 63, 26] Operation: 96-70=26 Exploring Operation: 96-44=52, Resulting Numbers: [70, 63, 52] Generated Node #0,2: 61:[70, 63, 52] Operation: 96-44=52 Exploring Operation: 96-63=33, Resulting Numbers: [44, 70, 33] Generated Node #0,3: 61:[44, 70, 33] Operation: 96-63=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[70, 63, 52], Operations: ['96-44=52'] Exploring Operation: 70+52=122, Resulting Numbers: [63, 122] Generated Node #0,2,0: 61:[63, 122] Operation: 70+52=122 Exploring Operation: 70-52=18, Resulting Numbers: [63, 18] Generated Node #0,2,1: 61:[63, 18] Operation: 70-52=18 Exploring Operation: 70-63=7, Resulting Numbers: [52, 7] Generated Node #0,2,2: 61:[52, 7] Operation: 70-63=7 Exploring Operation: 63-52=11, Resulting Numbers: [70, 11] Generated Node #0,2,3: 61:[70, 11] Operation: 63-52=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[63, 18], Operations: ['96-44=52', '70-52=18'] Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,61 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,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,2,3 Current State: 61:[70, 11], Operations: ['96-44=52', '63-52=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,61 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,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,2,0 Current State: 61:[63, 122], Operations: ['96-44=52', '70+52=122'] Exploring Operation: 122-63=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 63+122=185, Resulting Numbers: [185] 185,61 unequal: No Solution Exploring Operation: 63*122=7686, Resulting Numbers: [7686] 7686,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,2,2 Current State: 61:[52, 7], Operations: ['96-44=52', '70-63=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,61 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[44, 63, 26], Operations: ['96-70=26'] Exploring Operation: 63+26=89, Resulting Numbers: [44, 89] Generated Node #0,1,0: 61:[44, 89] Operation: 63+26=89 Exploring Operation: 63-26=37, Resulting Numbers: [44, 37] Generated Node #0,1,1: 61:[44, 37] Operation: 63-26=37 Exploring Operation: 44-26=18, Resulting Numbers: [63, 18] Generated Node #0,1,2: 61:[63, 18] Operation: 44-26=18 Exploring Operation: 44+26=70, Resulting Numbers: [63, 70] Generated Node #0,1,3: 61:[63, 70] Operation: 44+26=70 Moving to Node #0,1,3 Current State: 61:[63, 70], Operations: ['96-70=26', '44+26=70'] Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 63*70=4410, Resulting Numbers: [4410] 4410,61 unequal: No Solution Exploring Operation: 63+70=133, Resulting Numbers: [133] 133,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[44, 37], Operations: ['96-70=26', '63-26=37'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,61 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[63, 18], Operations: ['96-70=26', '44-26=18'] Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,61 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[44, 89], Operations: ['96-70=26', '63+26=89'] Exploring Operation: 44+89=133, Resulting Numbers: [133] 133,61 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 44*89=3916, Resulting Numbers: [3916] 3916,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[44, 70, 33], Operations: ['96-63=33'] Exploring Operation: 44-33=11, Resulting Numbers: [70, 11] Generated Node #0,3,0: 61:[70, 11] Operation: 44-33=11 Exploring Operation: 70-33=37, Resulting Numbers: [44, 37] Generated Node #0,3,1: 61:[44, 37] Operation: 70-33=37 Exploring Operation: 44+33=77, Resulting Numbers: [70, 77] Generated Node #0,3,2: 61:[70, 77] Operation: 44+33=77 Exploring Operation: 70+33=103, Resulting Numbers: [44, 103] Generated Node #0,3,3: 61:[44, 103] Operation: 70+33=103 Moving to Node #0,3,2 Current State: 61:[70, 77], Operations: ['96-63=33', '44+33=77'] Exploring Operation: 70+77=147, Resulting Numbers: [147] 147,61 unequal: No Solution Exploring Operation: 70*77=5390, Resulting Numbers: [5390] 5390,61 unequal: No Solution Exploring Operation: 77-70=7, Resulting Numbers: [7] 7,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[44, 37], Operations: ['96-63=33', '70-33=37'] Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,61 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[44, 103], Operations: ['96-63=33', '70+33=103'] Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,61 unequal: No Solution Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,61 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[70, 11], Operations: ['96-63=33', '44-33=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,61 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[96, 63, 26], Operations: ['70-44=26'] Exploring Operation: 96-26=70, Resulting Numbers: [63, 70] Generated Node #0,0,0: 61:[63, 70] Operation: 96-26=70 Exploring Operation: 96-63=33, Resulting Numbers: [26, 33] Generated Node #0,0,1: 61:[26, 33] Operation: 96-63=33 Exploring Operation: 63-26=37, Resulting Numbers: [96, 37] Generated Node #0,0,2: 61:[96, 37] Operation: 63-26=37 Exploring Operation: 96+26=122, Resulting Numbers: [63, 122] Generated Node #0,0,3: 61:[63, 122] Operation: 96+26=122 Moving to Node #0,0,0 Current State: 61:[63, 70], Operations: ['70-44=26', '96-26=70'] Exploring Operation: 63+70=133, Resulting Numbers: [133] 133,61 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 63*70=4410, Resulting Numbers: [4410] 4410,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[96, 37], Operations: ['70-44=26', '63-26=37'] Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 96*37=3552, Resulting Numbers: [3552] 3552,61 unequal: No Solution Exploring Operation: 96+37=133, Resulting Numbers: [133] 133,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[63, 122], Operations: ['70-44=26', '96+26=122'] Exploring Operation: 122-63=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 63+122=185, Resulting Numbers: [185] 185,61 unequal: No Solution Exploring Operation: 63*122=7686, Resulting Numbers: [7686] 7686,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[26, 33], Operations: ['70-44=26', '96-63=33'] Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,61 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,61 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
[ 91, 26, 27, 2 ]
88
[ "91+26=117", "27+2=29", "117-29=88" ]
Current State: 88:[91, 26, 27, 2], Operations: [] Exploring Operation: 91+26=117, Resulting Numbers: [27, 2, 117] Generated Node #2: [27, 2, 117] from Operation: 91+26=117 Current State: 88:[27, 2, 117], Operations: ['91+26=117'] Exploring Operation: 27+2=29, Resulting Numbers: [117, 29] Generated Node #3: [117, 29] from Operation: 27+2=29 Current State: 88:[117, 29], Operations: ['91+26=117', '27+2=29'] Exploring Operation: 117-29=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[91, 26, 27, 2], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [91, 2, 1] Generated Node #0,0: 88:[91, 2, 1] Operation: 27-26=1 Exploring Operation: 91-2=89, Resulting Numbers: [26, 27, 89] Generated Node #0,1: 88:[26, 27, 89] Operation: 91-2=89 Moving to Node #0,0 Current State: 88:[91, 2, 1], Operations: ['27-26=1'] Exploring Operation: 91-2=89, Resulting Numbers: [1, 89] Generated Node #0,0,0: 88:[1, 89] Operation: 91-2=89 Exploring Operation: 91-1=90, Resulting Numbers: [2, 90] Generated Node #0,0,1: 88:[2, 90] Operation: 91-1=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[1, 89], Operations: ['27-26=1', '91-2=89'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[91, 26, 27, 2], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [91, 2, 1] Generated Node #0,0: 88:[91, 2, 1] Operation: 27-26=1 Moving to Node #0,0 Current State: 88:[91, 2, 1], Operations: ['27-26=1'] Exploring Operation: 91-2=89, Resulting Numbers: [1, 89] Generated Node #0,0,0: 88:[1, 89] Operation: 91-2=89 Moving to Node #0,0,0 Current State: 88:[1, 89], Operations: ['27-26=1', '91-2=89'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 19, 34, 38, 80 ]
44
[ "38/19=2", "80-34=46", "46-2=44" ]
Current State: 44:[19, 34, 38, 80], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [34, 80, 2] Generated Node #2: [34, 80, 2] from Operation: 38/19=2 Current State: 44:[34, 80, 2], Operations: ['38/19=2'] Exploring Operation: 80-34=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 80-34=46 Current State: 44:[2, 46], Operations: ['38/19=2', '80-34=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[19, 34, 38, 80], Operations: [] Exploring Operation: 80-19=61, Resulting Numbers: [34, 38, 61] Generated Node #0,0: 44:[34, 38, 61] Operation: 80-19=61 Exploring Operation: 38-34=4, Resulting Numbers: [19, 80, 4] Generated Node #0,1: 44:[19, 80, 4] Operation: 38-34=4 Exploring Operation: 34-19=15, Resulting Numbers: [38, 80, 15] Generated Node #0,2: 44:[38, 80, 15] Operation: 34-19=15 Exploring Operation: 80-34=46, Resulting Numbers: [19, 38, 46] Generated Node #0,3: 44:[19, 38, 46] Operation: 80-34=46 Exploring Operation: 80-38=42, Resulting Numbers: [19, 34, 42] Generated Node #0,4: 44:[19, 34, 42] Operation: 80-38=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[19, 38, 46], Operations: ['80-34=46'] Exploring Operation: 38-19=19, Resulting Numbers: [46, 19] Generated Node #0,3,0: 44:[46, 19] Operation: 38-19=19 Exploring Operation: 46-19=27, Resulting Numbers: [38, 27] Generated Node #0,3,1: 44:[38, 27] Operation: 46-19=27 Exploring Operation: 38/19=2, Resulting Numbers: [46, 2] Generated Node #0,3,2: 44:[46, 2] Operation: 38/19=2 Exploring Operation: 46-38=8, Resulting Numbers: [19, 8] Generated Node #0,3,3: 44:[19, 8] Operation: 46-38=8 Exploring Operation: 19+38=57, Resulting Numbers: [46, 57] Generated Node #0,3,4: 44:[46, 57] Operation: 19+38=57 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 44:[46, 2], Operations: ['80-34=46', '38/19=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[19, 34, 38, 80], Operations: [] Exploring Operation: 80-34=46, Resulting Numbers: [19, 38, 46] Generated Node #0,3: 44:[19, 38, 46] Operation: 80-34=46 Moving to Node #0,3 Current State: 44:[19, 38, 46], Operations: ['80-34=46'] Exploring Operation: 38/19=2, Resulting Numbers: [46, 2] Generated Node #0,3,2: 44:[46, 2] Operation: 38/19=2 Moving to Node #0,3,2 Current State: 44:[46, 2], Operations: ['80-34=46', '38/19=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 31, 13, 54, 71 ]
61
[ "31+13=44", "71-54=17", "44+17=61" ]
Current State: 61:[31, 13, 54, 71], Operations: [] Exploring Operation: 31+13=44, Resulting Numbers: [54, 71, 44] Generated Node #2: [54, 71, 44] from Operation: 31+13=44 Current State: 61:[54, 71, 44], Operations: ['31+13=44'] Exploring Operation: 71-54=17, Resulting Numbers: [44, 17] Generated Node #3: [44, 17] from Operation: 71-54=17 Current State: 61:[44, 17], Operations: ['31+13=44', '71-54=17'] Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[31, 13, 54, 71], Operations: [] Exploring Operation: 31+13=44, Resulting Numbers: [54, 71, 44] Generated Node #0,0: 61:[54, 71, 44] Operation: 31+13=44 Exploring Operation: 71-13=58, Resulting Numbers: [31, 54, 58] Generated Node #0,1: 61:[31, 54, 58] Operation: 71-13=58 Exploring Operation: 13+54=67, Resulting Numbers: [31, 71, 67] Generated Node #0,2: 61:[31, 71, 67] Operation: 13+54=67 Moving to Node #0,0 Current State: 61:[54, 71, 44], Operations: ['31+13=44'] Exploring Operation: 71-44=27, Resulting Numbers: [54, 27] Generated Node #0,0,0: 61:[54, 27] Operation: 71-44=27 Exploring Operation: 54+44=98, Resulting Numbers: [71, 98] Generated Node #0,0,1: 61:[71, 98] Operation: 54+44=98 Exploring Operation: 71-54=17, Resulting Numbers: [44, 17] Generated Node #0,0,2: 61:[44, 17] Operation: 71-54=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[54, 27], Operations: ['31+13=44', '71-44=27'] Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[71, 98], Operations: ['31+13=44', '54+44=98'] Exploring Operation: 71+98=169, Resulting Numbers: [169] 169,61 unequal: No Solution Exploring Operation: 71*98=6958, Resulting Numbers: [6958] 6958,61 unequal: No Solution Exploring Operation: 98-71=27, Resulting Numbers: [27] 27,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[44, 17], Operations: ['31+13=44', '71-54=17'] Exploring Operation: 44*17=748, Resulting Numbers: [748] 748,61 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[31, 13, 54, 71], Operations: [] Exploring Operation: 31+13=44, Resulting Numbers: [54, 71, 44] Generated Node #0,0: 61:[54, 71, 44] Operation: 31+13=44 Moving to Node #0,0 Current State: 61:[54, 71, 44], Operations: ['31+13=44'] Exploring Operation: 71-54=17, Resulting Numbers: [44, 17] Generated Node #0,0,2: 61:[44, 17] Operation: 71-54=17 Moving to Node #0,0,2 Current State: 61:[44, 17], Operations: ['31+13=44', '71-54=17'] Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 24, 60, 42, 8 ]
84
[ "42-24=18", "8*18=144", "144-60=84" ]
Current State: 84:[24, 60, 42, 8], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [60, 8, 18] Generated Node #2: [60, 8, 18] from Operation: 42-24=18 Current State: 84:[60, 8, 18], Operations: ['42-24=18'] Exploring Operation: 8*18=144, Resulting Numbers: [60, 144] Generated Node #3: [60, 144] from Operation: 8*18=144 Current State: 84:[60, 144], Operations: ['42-24=18', '8*18=144'] Exploring Operation: 144-60=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[24, 60, 42, 8], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [24, 8, 18] Generated Node #0,0: 84:[24, 8, 18] Operation: 60-42=18 Exploring Operation: 24+60=84, Resulting Numbers: [42, 8, 84] Generated Node #0,1: 84:[42, 8, 84] Operation: 24+60=84 Exploring Operation: 60-24=36, Resulting Numbers: [42, 8, 36] Generated Node #0,2: 84:[42, 8, 36] Operation: 60-24=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[42, 8, 84], Operations: ['24+60=84'] Exploring Operation: 84-42=42, Resulting Numbers: [8, 42] Generated Node #0,1,0: 84:[8, 42] Operation: 84-42=42 Exploring Operation: 42-8=34, Resulting Numbers: [84, 34] Generated Node #0,1,1: 84:[84, 34] Operation: 42-8=34 Exploring Operation: 84/42=2, Resulting Numbers: [8, 2] Generated Node #0,1,2: 84:[8, 2] Operation: 84/42=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[8, 42], Operations: ['24+60=84', '84-42=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,84 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[8, 2], Operations: ['24+60=84', '84/42=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[84, 34], Operations: ['24+60=84', '42-8=34'] Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,84 unequal: No Solution Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,84 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[24, 8, 18], Operations: ['60-42=18'] Exploring Operation: 24/8=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 84:[18, 3] Operation: 24/8=3 Exploring Operation: 24+18=42, Resulting Numbers: [8, 42] Generated Node #0,0,1: 84:[8, 42] Operation: 24+18=42 Exploring Operation: 24-18=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 84:[8, 6] Operation: 24-18=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[8, 42], Operations: ['60-42=18', '24+18=42'] Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,84 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[8, 6], Operations: ['60-42=18', '24-18=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,84 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[18, 3], Operations: ['60-42=18', '24/8=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[42, 8, 36], Operations: ['60-24=36'] Exploring Operation: 8+36=44, Resulting Numbers: [42, 44] Generated Node #0,2,0: 84:[42, 44] Operation: 8+36=44 Exploring Operation: 42-36=6, Resulting Numbers: [8, 6] Generated Node #0,2,1: 84:[8, 6] Operation: 42-36=6 Exploring Operation: 36-8=28, Resulting Numbers: [42, 28] Generated Node #0,2,2: 84:[42, 28] Operation: 36-8=28 Moving to Node #0,2,2 Current State: 84:[42, 28], Operations: ['60-24=36', '36-8=28'] Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,84 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[8, 6], Operations: ['60-24=36', '42-36=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[42, 44], Operations: ['60-24=36', '8+36=44'] Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,84 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,84 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
[ 53, 30, 79, 99 ]
40
[ "53+79=132", "30*132=3960", "3960/99=40" ]
Current State: 40:[53, 30, 79, 99], Operations: [] Exploring Operation: 53+79=132, Resulting Numbers: [30, 99, 132] Generated Node #2: [30, 99, 132] from Operation: 53+79=132 Current State: 40:[30, 99, 132], Operations: ['53+79=132'] Exploring Operation: 30*132=3960, Resulting Numbers: [99, 3960] Generated Node #3: [99, 3960] from Operation: 30*132=3960 Current State: 40:[99, 3960], Operations: ['53+79=132', '30*132=3960'] Exploring Operation: 3960/99=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[53, 30, 79, 99], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [30, 79, 46] Generated Node #0,0: 40:[30, 79, 46] Operation: 99-53=46 Exploring Operation: 99-79=20, Resulting Numbers: [53, 30, 20] Generated Node #0,1: 40:[53, 30, 20] Operation: 99-79=20 Exploring Operation: 79-30=49, Resulting Numbers: [53, 99, 49] Generated Node #0,2: 40:[53, 99, 49] Operation: 79-30=49 Exploring Operation: 79-53=26, Resulting Numbers: [30, 99, 26] Generated Node #0,3: 40:[30, 99, 26] Operation: 79-53=26 Moving to Node #0,1 Current State: 40:[53, 30, 20], Operations: ['99-79=20'] Exploring Operation: 30-20=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 40:[53, 10] Operation: 30-20=10 Exploring Operation: 53-20=33, Resulting Numbers: [30, 33] Generated Node #0,1,1: 40:[30, 33] Operation: 53-20=33 Exploring Operation: 30+20=50, Resulting Numbers: [53, 50] Generated Node #0,1,2: 40:[53, 50] Operation: 30+20=50 Exploring Operation: 53-30=23, Resulting Numbers: [20, 23] Generated Node #0,1,3: 40:[20, 23] Operation: 53-30=23 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[20, 23], Operations: ['99-79=20', '53-30=23'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[53, 10], Operations: ['99-79=20', '30-20=10'] Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,40 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[30, 33], Operations: ['99-79=20', '53-20=33'] Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,40 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[53, 50], Operations: ['99-79=20', '30+20=50'] Exploring Operation: 53*50=2650, Resulting Numbers: [2650] 2650,40 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 53+50=103, Resulting Numbers: [103] 103,40 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: 40:[30, 79, 46], Operations: ['99-53=46'] Exploring Operation: 30+79=109, Resulting Numbers: [46, 109] Generated Node #0,0,0: 40:[46, 109] Operation: 30+79=109 Exploring Operation: 79-30=49, Resulting Numbers: [46, 49] Generated Node #0,0,1: 40:[46, 49] Operation: 79-30=49 Exploring Operation: 79-46=33, Resulting Numbers: [30, 33] Generated Node #0,0,2: 40:[30, 33] Operation: 79-46=33 Exploring Operation: 46-30=16, Resulting Numbers: [79, 16] Generated Node #0,0,3: 40:[79, 16] Operation: 46-30=16 Moving to Node #0,3 Current State: 40:[30, 99, 26], Operations: ['79-53=26'] Exploring Operation: 30+26=56, Resulting Numbers: [99, 56] Generated Node #0,3,0: 40:[99, 56] Operation: 30+26=56 Exploring Operation: 99-26=73, Resulting Numbers: [30, 73] Generated Node #0,3,1: 40:[30, 73] Operation: 99-26=73 Exploring Operation: 99-30=69, Resulting Numbers: [26, 69] Generated Node #0,3,2: 40:[26, 69] Operation: 99-30=69 Exploring Operation: 30-26=4, Resulting Numbers: [99, 4] Generated Node #0,3,3: 40:[99, 4] Operation: 30-26=4 Moving to Node #0,2 Current State: 40:[53, 99, 49], Operations: ['79-30=49'] Exploring Operation: 53+99=152, Resulting Numbers: [49, 152] Generated Node #0,2,0: 40:[49, 152] Operation: 53+99=152 Exploring Operation: 99-49=50, Resulting Numbers: [53, 50] Generated Node #0,2,1: 40:[53, 50] Operation: 99-49=50 Exploring Operation: 53-49=4, Resulting Numbers: [99, 4] Generated Node #0,2,2: 40:[99, 4] Operation: 53-49=4 Exploring Operation: 99-53=46, Resulting Numbers: [49, 46] Generated Node #0,2,3: 40:[49, 46] Operation: 99-53=46 Moving to Node #0,0,1 Current State: 40:[46, 49], Operations: ['99-53=46', '79-30=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,40 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,40 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[49, 46], Operations: ['79-30=49', '99-53=46'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,40 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[30, 33], Operations: ['99-53=46', '79-46=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[53, 50], Operations: ['79-30=49', '99-49=50'] Exploring Operation: 53*50=2650, Resulting Numbers: [2650] 2650,40 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 53+50=103, Resulting Numbers: [103] 103,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[26, 69], Operations: ['79-53=26', '99-30=69'] Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,40 unequal: No Solution Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,40 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[79, 16], Operations: ['99-53=46', '46-30=16'] Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,40 unequal: No Solution Exploring Operation: 79*16=1264, Resulting Numbers: [1264] 1264,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[30, 73], Operations: ['79-53=26', '99-26=73'] Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 30*73=2190, Resulting Numbers: [2190] 2190,40 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[99, 4], Operations: ['79-53=26', '30-26=4'] Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,40 unequal: No Solution Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[99, 4], Operations: ['79-30=49', '53-49=4'] Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,40 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,40 unequal: No Solution Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[99, 56], Operations: ['79-53=26', '30+26=56'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 99+56=155, Resulting Numbers: [155] 155,40 unequal: No Solution Exploring Operation: 99*56=5544, Resulting Numbers: [5544] 5544,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[46, 109], Operations: ['99-53=46', '30+79=109'] Exploring Operation: 109-46=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 46+109=155, Resulting Numbers: [155] 155,40 unequal: No Solution Exploring Operation: 46*109=5014, Resulting Numbers: [5014] 5014,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[49, 152], Operations: ['79-30=49', '53+99=152'] Exploring Operation: 49+152=201, Resulting Numbers: [201] 201,40 unequal: No Solution Exploring Operation: 152-49=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 49*152=7448, Resulting Numbers: [7448] 7448,40 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 56, 94, 25, 73 ]
67
[ "56+94=150", "150/25=6", "73-6=67" ]
Current State: 67:[56, 94, 25, 73], Operations: [] Exploring Operation: 56+94=150, Resulting Numbers: [25, 73, 150] Generated Node #2: [25, 73, 150] from Operation: 56+94=150 Current State: 67:[25, 73, 150], Operations: ['56+94=150'] Exploring Operation: 150/25=6, Resulting Numbers: [73, 6] Generated Node #3: [73, 6] from Operation: 150/25=6 Current State: 67:[73, 6], Operations: ['56+94=150', '150/25=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[56, 94, 25, 73], Operations: [] Exploring Operation: 94-25=69, Resulting Numbers: [56, 73, 69] Generated Node #0,0: 67:[56, 73, 69] Operation: 94-25=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[56, 73, 69], Operations: ['94-25=69'] Exploring Operation: 73-56=17, Resulting Numbers: [69, 17] Generated Node #0,0,0: 67:[69, 17] Operation: 73-56=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[69, 17], Operations: ['94-25=69', '73-56=17'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 16, 19, 36, 65 ]
77
[ "19-16=3", "36/3=12", "65+12=77" ]
Current State: 77:[16, 19, 36, 65], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [36, 65, 3] Generated Node #2: [36, 65, 3] from Operation: 19-16=3 Current State: 77:[36, 65, 3], Operations: ['19-16=3'] Exploring Operation: 36/3=12, Resulting Numbers: [65, 12] Generated Node #3: [65, 12] from Operation: 36/3=12 Current State: 77:[65, 12], Operations: ['19-16=3', '36/3=12'] Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[16, 19, 36, 65], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [16, 65, 17] Generated Node #0,0: 77:[16, 65, 17] Operation: 36-19=17 Exploring Operation: 36-16=20, Resulting Numbers: [19, 65, 20] Generated Node #0,1: 77:[19, 65, 20] Operation: 36-16=20 Exploring Operation: 16+65=81, Resulting Numbers: [19, 36, 81] Generated Node #0,2: 77:[19, 36, 81] Operation: 16+65=81 Exploring Operation: 65-36=29, Resulting Numbers: [16, 19, 29] Generated Node #0,3: 77:[16, 19, 29] Operation: 65-36=29 Moving to Node #0,0 Current State: 77:[16, 65, 17], Operations: ['36-19=17'] Exploring Operation: 17-16=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 77:[65, 1] Operation: 17-16=1 Exploring Operation: 65+17=82, Resulting Numbers: [16, 82] Generated Node #0,0,1: 77:[16, 82] Operation: 65+17=82 Exploring Operation: 16+65=81, Resulting Numbers: [17, 81] Generated Node #0,0,2: 77:[17, 81] Operation: 16+65=81 Exploring Operation: 65-16=49, Resulting Numbers: [17, 49] Generated Node #0,0,3: 77:[17, 49] Operation: 65-16=49 Moving to Node #0,1 Current State: 77:[19, 65, 20], Operations: ['36-16=20'] Exploring Operation: 65-19=46, Resulting Numbers: [20, 46] Generated Node #0,1,0: 77:[20, 46] Operation: 65-19=46 Exploring Operation: 65+20=85, Resulting Numbers: [19, 85] Generated Node #0,1,1: 77:[19, 85] Operation: 65+20=85 Exploring Operation: 19+65=84, Resulting Numbers: [20, 84] Generated Node #0,1,2: 77:[20, 84] Operation: 19+65=84 Exploring Operation: 20-19=1, Resulting Numbers: [65, 1] Generated Node #0,1,3: 77:[65, 1] Operation: 20-19=1 Moving to Node #0,3 Current State: 77:[16, 19, 29], Operations: ['65-36=29'] Exploring Operation: 19+29=48, Resulting Numbers: [16, 48] Generated Node #0,3,0: 77:[16, 48] Operation: 19+29=48 Exploring Operation: 19-16=3, Resulting Numbers: [29, 3] Generated Node #0,3,1: 77:[29, 3] Operation: 19-16=3 Exploring Operation: 29-16=13, Resulting Numbers: [19, 13] Generated Node #0,3,2: 77:[19, 13] Operation: 29-16=13 Exploring Operation: 29-19=10, Resulting Numbers: [16, 10] Generated Node #0,3,3: 77:[16, 10] Operation: 29-19=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[16, 10], Operations: ['65-36=29', '29-19=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,77 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[19, 13], Operations: ['65-36=29', '29-16=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,77 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[29, 3], Operations: ['65-36=29', '19-16=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[16, 48], Operations: ['65-36=29', '19+29=48'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 77:[19, 36, 81], Operations: ['16+65=81'] Exploring Operation: 36-19=17, Resulting Numbers: [81, 17] Generated Node #0,2,0: 77:[81, 17] Operation: 36-19=17 Exploring Operation: 19+36=55, Resulting Numbers: [81, 55] Generated Node #0,2,1: 77:[81, 55] Operation: 19+36=55 Exploring Operation: 81-19=62, Resulting Numbers: [36, 62] Generated Node #0,2,2: 77:[36, 62] Operation: 81-19=62 Exploring Operation: 81-36=45, Resulting Numbers: [19, 45] Generated Node #0,2,3: 77:[19, 45] Operation: 81-36=45 Moving to Node #0,0,1 Current State: 77:[16, 82], Operations: ['36-19=17', '65+17=82'] Exploring Operation: 16*82=1312, Resulting Numbers: [1312] 1312,77 unequal: No Solution Exploring Operation: 16+82=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[17, 81], Operations: ['36-19=17', '16+65=81'] Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,77 unequal: No Solution Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[81, 17], Operations: ['16+65=81', '36-19=17'] Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[20, 84], Operations: ['36-16=20', '19+65=84'] Exploring Operation: 20*84=1680, Resulting Numbers: [1680] 1680,77 unequal: No Solution Exploring Operation: 20+84=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[19, 85], Operations: ['36-16=20', '65+20=85'] Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[65, 1], Operations: ['36-16=20', '20-19=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[65, 1], Operations: ['36-19=17', '17-16=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[81, 55], Operations: ['16+65=81', '19+36=55'] Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,77 unequal: No Solution Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,77 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[17, 49], Operations: ['36-19=17', '65-16=49'] Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,77 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[20, 46], Operations: ['36-16=20', '65-19=46'] Exploring Operation: 20*46=920, Resulting Numbers: [920] 920,77 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[36, 62], Operations: ['16+65=81', '81-19=62'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,77 unequal: No Solution Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[19, 45], Operations: ['16+65=81', '81-36=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,77 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,77 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 14, 24, 13, 31 ]
77
[ "31-24=7", "13*7=91", "91-14=77" ]
Current State: 77:[14, 24, 13, 31], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [14, 13, 7] Generated Node #2: [14, 13, 7] from Operation: 31-24=7 Current State: 77:[14, 13, 7], Operations: ['31-24=7'] Exploring Operation: 13*7=91, Resulting Numbers: [14, 91] Generated Node #3: [14, 91] from Operation: 13*7=91 Current State: 77:[14, 91], Operations: ['31-24=7', '13*7=91'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[14, 24, 13, 31], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [24, 13, 17] Generated Node #0,0: 77:[24, 13, 17] Operation: 31-14=17 Exploring Operation: 24-14=10, Resulting Numbers: [13, 31, 10] Generated Node #0,1: 77:[13, 31, 10] Operation: 24-14=10 Exploring Operation: 24-13=11, Resulting Numbers: [14, 31, 11] Generated Node #0,2: 77:[14, 31, 11] Operation: 24-13=11 Exploring Operation: 31-24=7, Resulting Numbers: [14, 13, 7] Generated Node #0,3: 77:[14, 13, 7] Operation: 31-24=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[14, 13, 7], Operations: ['31-24=7'] Exploring Operation: 14/7=2, Resulting Numbers: [13, 2] Generated Node #0,3,0: 77:[13, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [13, 7] Generated Node #0,3,1: 77:[13, 7] Operation: 14-7=7 Exploring Operation: 13-7=6, Resulting Numbers: [14, 6] Generated Node #0,3,2: 77:[14, 6] Operation: 13-7=6 Exploring Operation: 14-13=1, Resulting Numbers: [7, 1] Generated Node #0,3,3: 77:[7, 1] Operation: 14-13=1 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 77:[13, 7], Operations: ['31-24=7', '14-7=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 77:[14, 6], Operations: ['31-24=7', '13-7=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 77:[7, 1], Operations: ['31-24=7', '14-13=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 77:[13, 2], Operations: ['31-24=7', '14/7=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[24, 13, 17], Operations: ['31-14=17'] Exploring Operation: 24+13=37, Resulting Numbers: [17, 37] Generated Node #0,0,0: 77:[17, 37] Operation: 24+13=37 Exploring Operation: 17-13=4, Resulting Numbers: [24, 4] Generated Node #0,0,1: 77:[24, 4] Operation: 17-13=4 Exploring Operation: 24-17=7, Resulting Numbers: [13, 7] Generated Node #0,0,2: 77:[13, 7] Operation: 24-17=7 Exploring Operation: 24-13=11, Resulting Numbers: [17, 11] Generated Node #0,0,3: 77:[17, 11] Operation: 24-13=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 77:[13, 7], Operations: ['31-14=17', '24-17=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 77:[17, 11], Operations: ['31-14=17', '24-13=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,77 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[24, 4], Operations: ['31-14=17', '17-13=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[17, 37], Operations: ['31-14=17', '24+13=37'] Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,77 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[13, 31, 10], Operations: ['24-14=10'] Exploring Operation: 31-10=21, Resulting Numbers: [13, 21] Generated Node #0,1,0: 77:[13, 21] Operation: 31-10=21 Exploring Operation: 31-13=18, Resulting Numbers: [10, 18] Generated Node #0,1,1: 77:[10, 18] Operation: 31-13=18 Exploring Operation: 13-10=3, Resulting Numbers: [31, 3] Generated Node #0,1,2: 77:[31, 3] Operation: 13-10=3 Exploring Operation: 13+10=23, Resulting Numbers: [31, 23] Generated Node #0,1,3: 77:[31, 23] Operation: 13+10=23 Moving to Node #0,1,1 Current State: 77:[10, 18], Operations: ['24-14=10', '31-13=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[13, 21], Operations: ['24-14=10', '31-10=21'] Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,77 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[31, 3], Operations: ['24-14=10', '13-10=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[31, 23], Operations: ['24-14=10', '13+10=23'] Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,77 unequal: No Solution Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[14, 31, 11], Operations: ['24-13=11'] Exploring Operation: 31-11=20, Resulting Numbers: [14, 20] Generated Node #0,2,0: 77:[14, 20] Operation: 31-11=20 Exploring Operation: 14-11=3, Resulting Numbers: [31, 3] Generated Node #0,2,1: 77:[31, 3] Operation: 14-11=3 Exploring Operation: 14+31=45, Resulting Numbers: [11, 45] Generated Node #0,2,2: 77:[11, 45] Operation: 14+31=45 Exploring Operation: 31-14=17, Resulting Numbers: [11, 17] Generated Node #0,2,3: 77:[11, 17] Operation: 31-14=17 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 77:[11, 17], Operations: ['24-13=11', '31-14=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,77 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 77:[14, 20], Operations: ['24-13=11', '31-11=20'] Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,77 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[31, 3], Operations: ['24-13=11', '14-11=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[11, 45], Operations: ['24-13=11', '14+31=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 70, 94, 65, 84 ]
16
[ "65*84=5460", "5460/70=78", "94-78=16" ]
Current State: 16:[70, 94, 65, 84], Operations: [] Exploring Operation: 65*84=5460, Resulting Numbers: [70, 94, 5460] Generated Node #2: [70, 94, 5460] from Operation: 65*84=5460 Current State: 16:[70, 94, 5460], Operations: ['65*84=5460'] Exploring Operation: 5460/70=78, Resulting Numbers: [94, 78] Generated Node #3: [94, 78] from Operation: 5460/70=78 Current State: 16:[94, 78], Operations: ['65*84=5460', '5460/70=78'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[70, 94, 65, 84], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [70, 94, 19] Generated Node #0,0: 16:[70, 94, 19] Operation: 84-65=19 Exploring Operation: 94-65=29, Resulting Numbers: [70, 84, 29] Generated Node #0,1: 16:[70, 84, 29] Operation: 94-65=29 Exploring Operation: 84-70=14, Resulting Numbers: [94, 65, 14] Generated Node #0,2: 16:[94, 65, 14] Operation: 84-70=14 Exploring Operation: 94-84=10, Resulting Numbers: [70, 65, 10] Generated Node #0,3: 16:[70, 65, 10] Operation: 94-84=10 Exploring Operation: 94-70=24, Resulting Numbers: [65, 84, 24] Generated Node #0,4: 16:[65, 84, 24] Operation: 94-70=24 Moving to Node #0,3 Current State: 16:[70, 65, 10], Operations: ['94-84=10'] Exploring Operation: 70-65=5, Resulting Numbers: [10, 5] Generated Node #0,3,0: 16:[10, 5] Operation: 70-65=5 Exploring Operation: 70+10=80, Resulting Numbers: [65, 80] Generated Node #0,3,1: 16:[65, 80] Operation: 70+10=80 Exploring Operation: 70/10=7, Resulting Numbers: [65, 7] Generated Node #0,3,2: 16:[65, 7] Operation: 70/10=7 Exploring Operation: 70-10=60, Resulting Numbers: [65, 60] Generated Node #0,3,3: 16:[65, 60] Operation: 70-10=60 Exploring Operation: 65-10=55, Resulting Numbers: [70, 55] Generated Node #0,3,4: 16:[70, 55] Operation: 65-10=55 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 16:[10, 5], Operations: ['94-84=10', '70-65=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,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:[65, 7], Operations: ['94-84=10', '70/10=7'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,16 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,16 unequal: No Solution Exploring Operation: 65+7=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,3 Current State: 16:[65, 60], Operations: ['94-84=10', '70-10=60'] Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,16 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 65*60=3900, Resulting Numbers: [3900] 3900,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,4 Current State: 16:[70, 55], Operations: ['94-84=10', '65-10=55'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,16 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,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:[65, 80], Operations: ['94-84=10', '70+10=80'] Exploring Operation: 65*80=5200, Resulting Numbers: [5200] 5200,16 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,16 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: 16:[65, 84, 24], Operations: ['94-70=24'] Exploring Operation: 84-65=19, Resulting Numbers: [24, 19] Generated Node #0,4,0: 16:[24, 19] Operation: 84-65=19 Exploring Operation: 84-24=60, Resulting Numbers: [65, 60] Generated Node #0,4,1: 16:[65, 60] Operation: 84-24=60 Exploring Operation: 65+24=89, Resulting Numbers: [84, 89] Generated Node #0,4,2: 16:[84, 89] Operation: 65+24=89 Exploring Operation: 65-24=41, Resulting Numbers: [84, 41] Generated Node #0,4,3: 16:[84, 41] Operation: 65-24=41 Exploring Operation: 65+84=149, Resulting Numbers: [24, 149] Generated Node #0,4,4: 16:[24, 149] Operation: 65+84=149 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 16:[24, 19], Operations: ['94-70=24', '84-65=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,16 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,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,4,1 Current State: 16:[65, 60], Operations: ['94-70=24', '84-24=60'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,16 unequal: No Solution Exploring Operation: 65*60=3900, Resulting Numbers: [3900] 3900,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,4,3 Current State: 16:[84, 41], Operations: ['94-70=24', '65-24=41'] Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,16 unequal: No Solution Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,16 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,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,4,2 Current State: 16:[84, 89], Operations: ['94-70=24', '65+24=89'] Exploring Operation: 84+89=173, Resulting Numbers: [173] 173,16 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 84*89=7476, Resulting Numbers: [7476] 7476,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,4,4 Current State: 16:[24, 149], Operations: ['94-70=24', '65+84=149'] Exploring Operation: 24+149=173, Resulting Numbers: [173] 173,16 unequal: No Solution Exploring Operation: 149-24=125, Resulting Numbers: [125] 125,16 unequal: No Solution Exploring Operation: 24*149=3576, Resulting Numbers: [3576] 3576,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:[94, 65, 14], Operations: ['84-70=14'] Exploring Operation: 94+14=108, Resulting Numbers: [65, 108] Generated Node #0,2,0: 16:[65, 108] Operation: 94+14=108 Exploring Operation: 94-65=29, Resulting Numbers: [14, 29] Generated Node #0,2,1: 16:[14, 29] Operation: 94-65=29 Exploring Operation: 94-14=80, Resulting Numbers: [65, 80] Generated Node #0,2,2: 16:[65, 80] Operation: 94-14=80 Exploring Operation: 65+14=79, Resulting Numbers: [94, 79] Generated Node #0,2,3: 16:[94, 79] Operation: 65+14=79 Exploring Operation: 65-14=51, Resulting Numbers: [94, 51] Generated Node #0,2,4: 16:[94, 51] Operation: 65-14=51 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[14, 29], Operations: ['84-70=14', '94-65=29'] Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,16 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,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:[65, 80], Operations: ['84-70=14', '94-14=80'] Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,16 unequal: No Solution Exploring Operation: 65*80=5200, Resulting Numbers: [5200] 5200,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,4 Current State: 16:[94, 51], Operations: ['84-70=14', '65-14=51'] Exploring Operation: 94+51=145, Resulting Numbers: [145] 145,16 unequal: No Solution Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 94*51=4794, Resulting Numbers: [4794] 4794,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:[65, 108], Operations: ['84-70=14', '94+14=108'] Exploring Operation: 65*108=7020, Resulting Numbers: [7020] 7020,16 unequal: No Solution Exploring Operation: 108-65=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 65+108=173, Resulting Numbers: [173] 173,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:[94, 79], Operations: ['84-70=14', '65+14=79'] Exploring Operation: 94*79=7426, Resulting Numbers: [7426] 7426,16 unequal: No Solution Exploring Operation: 94+79=173, Resulting Numbers: [173] 173,16 unequal: No Solution Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,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:[70, 94, 19], Operations: ['84-65=19'] Exploring Operation: 70+94=164, Resulting Numbers: [19, 164] Generated Node #0,0,0: 16:[19, 164] Operation: 70+94=164 Exploring Operation: 94-19=75, Resulting Numbers: [70, 75] Generated Node #0,0,1: 16:[70, 75] Operation: 94-19=75 Exploring Operation: 94-70=24, Resulting Numbers: [19, 24] Generated Node #0,0,2: 16:[19, 24] Operation: 94-70=24 Exploring Operation: 70+19=89, Resulting Numbers: [94, 89] Generated Node #0,0,3: 16:[94, 89] Operation: 70+19=89 Exploring Operation: 70-19=51, Resulting Numbers: [94, 51] Generated Node #0,0,4: 16:[94, 51] Operation: 70-19=51 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[19, 24], Operations: ['84-65=19', '94-70=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,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:[70, 75], Operations: ['84-65=19', '94-19=75'] Exploring Operation: 70+75=145, Resulting Numbers: [145] 145,16 unequal: No Solution Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 70*75=5250, Resulting Numbers: [5250] 5250,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,4 Current State: 16:[94, 51], Operations: ['84-65=19', '70-19=51'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 94+51=145, Resulting Numbers: [145] 145,16 unequal: No Solution Exploring Operation: 94*51=4794, Resulting Numbers: [4794] 4794,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:[19, 164], Operations: ['84-65=19', '70+94=164'] Exploring Operation: 19*164=3116, Resulting Numbers: [3116] 3116,16 unequal: No Solution Exploring Operation: 164-19=145, Resulting Numbers: [145] 145,16 unequal: No Solution Exploring Operation: 19+164=183, Resulting Numbers: [183] 183,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:[94, 89], Operations: ['84-65=19', '70+19=89'] Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 94+89=183, Resulting Numbers: [183] 183,16 unequal: No Solution Exploring Operation: 94*89=8366, Resulting Numbers: [8366] 8366,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:[70, 84, 29], Operations: ['94-65=29'] Exploring Operation: 84-70=14, Resulting Numbers: [29, 14] Generated Node #0,1,0: 16:[29, 14] Operation: 84-70=14 Exploring Operation: 84-29=55, Resulting Numbers: [70, 55] Generated Node #0,1,1: 16:[70, 55] Operation: 84-29=55 Exploring Operation: 70-29=41, Resulting Numbers: [84, 41] Generated Node #0,1,2: 16:[84, 41] Operation: 70-29=41 Exploring Operation: 70+84=154, Resulting Numbers: [29, 154] Generated Node #0,1,3: 16:[29, 154] Operation: 70+84=154 Exploring Operation: 70+29=99, Resulting Numbers: [84, 99] Generated Node #0,1,4: 16:[84, 99] Operation: 70+29=99 Moving to Node #0,1,0 Current State: 16:[29, 14], Operations: ['94-65=29', '84-70=14'] Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,16 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[84, 41], Operations: ['94-65=29', '70-29=41'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,16 unequal: No Solution Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[70, 55], Operations: ['94-65=29', '84-29=55'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,16 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[29, 154], Operations: ['94-65=29', '70+84=154'] Exploring Operation: 154-29=125, Resulting Numbers: [125] 125,16 unequal: No Solution Exploring Operation: 29+154=183, Resulting Numbers: [183] 183,16 unequal: No Solution Exploring Operation: 29*154=4466, Resulting Numbers: [4466] 4466,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[84, 99], Operations: ['94-65=29', '70+29=99'] Exploring Operation: 84*99=8316, Resulting Numbers: [8316] 8316,16 unequal: No Solution Exploring Operation: 84+99=183, Resulting Numbers: [183] 183,16 unequal: No Solution Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,16 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 7, 10, 18, 4 ]
28
[ "18-10=8", "8-4=4", "7*4=28" ]
Current State: 28:[7, 10, 18, 4], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [7, 4, 8] Generated Node #2: [7, 4, 8] from Operation: 18-10=8 Current State: 28:[7, 4, 8], Operations: ['18-10=8'] Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #3: [7, 4] from Operation: 8-4=4 Current State: 28:[7, 4], Operations: ['18-10=8', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 10, 18, 4], Operations: [] Exploring Operation: 18-4=14, Resulting Numbers: [7, 10, 14] Generated Node #0,0: 28:[7, 10, 14] Operation: 18-4=14 Exploring Operation: 10+18=28, Resulting Numbers: [7, 4, 28] Generated Node #0,1: 28:[7, 4, 28] Operation: 10+18=28 Exploring Operation: 18-10=8, Resulting Numbers: [7, 4, 8] Generated Node #0,2: 28:[7, 4, 8] Operation: 18-10=8 Exploring Operation: 10+4=14, Resulting Numbers: [7, 18, 14] Generated Node #0,3: 28:[7, 18, 14] Operation: 10+4=14 Moving to Node #0,1 Current State: 28:[7, 4, 28], Operations: ['10+18=28'] Exploring Operation: 7-4=3, Resulting Numbers: [28, 3] Generated Node #0,1,0: 28:[28, 3] Operation: 7-4=3 Exploring Operation: 7*4=28, Resulting Numbers: [28, 28] Generated Node #0,1,1: 28:[28, 28] Operation: 7*4=28 Exploring Operation: 28/4=7, Resulting Numbers: [7, 7] Generated Node #0,1,2: 28:[7, 7] Operation: 28/4=7 Exploring Operation: 28/7=4, Resulting Numbers: [4, 4] Generated Node #0,1,3: 28:[4, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[28, 28], Operations: ['10+18=28', '7*4=28'] Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,28 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[7, 7], Operations: ['10+18=28', '28/4=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[4, 4], Operations: ['10+18=28', '28/7=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[28, 3], Operations: ['10+18=28', '7-4=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,28 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,28 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: 28:[7, 4, 8], Operations: ['18-10=8'] Exploring Operation: 7*4=28, Resulting Numbers: [8, 28] Generated Node #0,2,0: 28:[8, 28] Operation: 7*4=28 Exploring Operation: 7+8=15, Resulting Numbers: [4, 15] Generated Node #0,2,1: 28:[4, 15] Operation: 7+8=15 Exploring Operation: 8/4=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 28:[7, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,2,3: 28:[7, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[7, 2], Operations: ['18-10=8', '8/4=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[7, 4], Operations: ['18-10=8', '8-4=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[7, 10, 18, 4], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [7, 4, 8] Generated Node #0,2: 28:[7, 4, 8] Operation: 18-10=8 Moving to Node #0,2 Current State: 28:[7, 4, 8], Operations: ['18-10=8'] Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,2,3: 28:[7, 4] Operation: 8-4=4 Moving to Node #0,2,3 Current State: 28:[7, 4], Operations: ['18-10=8', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 46, 13, 10, 53 ]
33
[ "46+53=99", "13-10=3", "99/3=33" ]
Current State: 33:[46, 13, 10, 53], Operations: [] Exploring Operation: 46+53=99, Resulting Numbers: [13, 10, 99] Generated Node #2: [13, 10, 99] from Operation: 46+53=99 Current State: 33:[13, 10, 99], Operations: ['46+53=99'] Exploring Operation: 13-10=3, Resulting Numbers: [99, 3] Generated Node #3: [99, 3] from Operation: 13-10=3 Current State: 33:[99, 3], Operations: ['46+53=99', '13-10=3'] Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[46, 13, 10, 53], Operations: [] Exploring Operation: 46-10=36, Resulting Numbers: [13, 53, 36] Generated Node #0,0: 33:[13, 53, 36] Operation: 46-10=36 Exploring Operation: 53-46=7, Resulting Numbers: [13, 10, 7] Generated Node #0,1: 33:[13, 10, 7] Operation: 53-46=7 Exploring Operation: 53-13=40, Resulting Numbers: [46, 10, 40] Generated Node #0,2: 33:[46, 10, 40] Operation: 53-13=40 Exploring Operation: 46-13=33, Resulting Numbers: [10, 53, 33] Generated Node #0,3: 33:[10, 53, 33] Operation: 46-13=33 Exploring Operation: 53-10=43, Resulting Numbers: [46, 13, 43] Generated Node #0,4: 33:[46, 13, 43] Operation: 53-10=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[13, 10, 7], Operations: ['53-46=7'] Exploring Operation: 13+7=20, Resulting Numbers: [10, 20] Generated Node #0,1,0: 33:[10, 20] Operation: 13+7=20 Exploring Operation: 10-7=3, Resulting Numbers: [13, 3] Generated Node #0,1,1: 33:[13, 3] Operation: 10-7=3 Exploring Operation: 10+7=17, Resulting Numbers: [13, 17] Generated Node #0,1,2: 33:[13, 17] Operation: 10+7=17 Exploring Operation: 13-7=6, Resulting Numbers: [10, 6] Generated Node #0,1,3: 33:[10, 6] Operation: 13-7=6 Exploring Operation: 13-10=3, Resulting Numbers: [7, 3] Generated Node #0,1,4: 33:[7, 3] Operation: 13-10=3 Moving to Node #0,1,1 Current State: 33:[13, 3], Operations: ['53-46=7', '10-7=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[7, 3], Operations: ['53-46=7', '13-10=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[10, 6], Operations: ['53-46=7', '13-7=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[13, 17], Operations: ['53-46=7', '10+7=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[10, 20], Operations: ['53-46=7', '13+7=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,33 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,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,2 Current State: 33:[46, 10, 40], Operations: ['53-13=40'] Exploring Operation: 46-10=36, Resulting Numbers: [40, 36] Generated Node #0,2,0: 33:[40, 36] Operation: 46-10=36 Exploring Operation: 40/10=4, Resulting Numbers: [46, 4] Generated Node #0,2,1: 33:[46, 4] Operation: 40/10=4 Exploring Operation: 46-40=6, Resulting Numbers: [10, 6] Generated Node #0,2,2: 33:[10, 6] Operation: 46-40=6 Exploring Operation: 46+10=56, Resulting Numbers: [40, 56] Generated Node #0,2,3: 33:[40, 56] Operation: 46+10=56 Exploring Operation: 40-10=30, Resulting Numbers: [46, 30] Generated Node #0,2,4: 33:[46, 30] Operation: 40-10=30 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[10, 6], Operations: ['53-13=40', '46-40=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,33 unequal: No Solution No 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: 33:[40, 36], Operations: ['53-13=40', '46-10=36'] Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,33 unequal: No Solution No 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: 33:[46, 4], Operations: ['53-13=40', '40/10=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,33 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,33 unequal: No Solution No 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: 33:[46, 30], Operations: ['53-13=40', '40-10=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,33 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,33 unequal: No Solution No 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: 33:[40, 56], Operations: ['53-13=40', '46+10=56'] Exploring Operation: 40*56=2240, Resulting Numbers: [2240] 2240,33 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 40+56=96, Resulting Numbers: [96] 96,33 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: 33:[10, 53, 33], Operations: ['46-13=33'] Exploring Operation: 53-33=20, Resulting Numbers: [10, 20] Generated Node #0,3,0: 33:[10, 20] Operation: 53-33=20 Exploring Operation: 53-10=43, Resulting Numbers: [33, 43] Generated Node #0,3,1: 33:[33, 43] Operation: 53-10=43 Exploring Operation: 33-10=23, Resulting Numbers: [53, 23] Generated Node #0,3,2: 33:[53, 23] Operation: 33-10=23 Exploring Operation: 10+33=43, Resulting Numbers: [53, 43] Generated Node #0,3,3: 33:[53, 43] Operation: 10+33=43 Exploring Operation: 10+53=63, Resulting Numbers: [33, 63] Generated Node #0,3,4: 33:[33, 63] Operation: 10+53=63 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 33:[10, 20], Operations: ['46-13=33', '53-33=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,33 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,33 unequal: No Solution No 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: 33:[33, 43], Operations: ['46-13=33', '53-10=43'] Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,33 unequal: No Solution Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,33 unequal: No Solution No 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: 33:[53, 23], Operations: ['46-13=33', '33-10=23'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,33 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,33 unequal: No Solution No 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: 33:[53, 43], Operations: ['46-13=33', '10+33=43'] Exploring Operation: 53+43=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 53*43=2279, Resulting Numbers: [2279] 2279,33 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,33 unequal: No Solution No 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: 33:[33, 63], Operations: ['46-13=33', '10+53=63'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 33+63=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 33*63=2079, Resulting Numbers: [2079] 2079,33 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: 33:[13, 53, 36], Operations: ['46-10=36'] Exploring Operation: 13+36=49, Resulting Numbers: [53, 49] Generated Node #0,0,0: 33:[53, 49] Operation: 13+36=49 Exploring Operation: 13+53=66, Resulting Numbers: [36, 66] Generated Node #0,0,1: 33:[36, 66] Operation: 13+53=66 Exploring Operation: 53-36=17, Resulting Numbers: [13, 17] Generated Node #0,0,2: 33:[13, 17] Operation: 53-36=17 Exploring Operation: 53-13=40, Resulting Numbers: [36, 40] Generated Node #0,0,3: 33:[36, 40] Operation: 53-13=40 Exploring Operation: 36-13=23, Resulting Numbers: [53, 23] Generated Node #0,0,4: 33:[53, 23] Operation: 36-13=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[13, 17], Operations: ['46-10=36', '53-36=17'] Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,33 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,33 unequal: No Solution No 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: 33:[36, 40], Operations: ['46-10=36', '53-13=40'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,33 unequal: No Solution Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,33 unequal: No Solution No 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: 33:[53, 23], Operations: ['46-10=36', '36-13=23'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,33 unequal: No Solution No 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: 33:[53, 49], Operations: ['46-10=36', '13+36=49'] Exploring Operation: 53+49=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 53*49=2597, Resulting Numbers: [2597] 2597,33 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,33 unequal: No Solution No 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: 33:[36, 66], Operations: ['46-10=36', '13+53=66'] Exploring Operation: 36*66=2376, Resulting Numbers: [2376] 2376,33 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 36+66=102, Resulting Numbers: [102] 102,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[46, 13, 43], Operations: ['53-10=43'] Exploring Operation: 46-43=3, Resulting Numbers: [13, 3] Generated Node #0,4,0: 33:[13, 3] Operation: 46-43=3 Exploring Operation: 13+43=56, Resulting Numbers: [46, 56] Generated Node #0,4,1: 33:[46, 56] Operation: 13+43=56 Exploring Operation: 46+13=59, Resulting Numbers: [43, 59] Generated Node #0,4,2: 33:[43, 59] Operation: 46+13=59 Exploring Operation: 43-13=30, Resulting Numbers: [46, 30] Generated Node #0,4,3: 33:[46, 30] Operation: 43-13=30 Exploring Operation: 46-13=33, Resulting Numbers: [43, 33] Generated Node #0,4,4: 33:[43, 33] Operation: 46-13=33 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 33:[13, 3], Operations: ['53-10=43', '46-43=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 33:[43, 33], Operations: ['53-10=43', '46-13=33'] Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 43*33=1419, Resulting Numbers: [1419] 1419,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 33:[46, 30], Operations: ['53-10=43', '43-13=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,33 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 33:[46, 56], Operations: ['53-10=43', '13+43=56'] Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,33 unequal: No Solution Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 33:[43, 59], Operations: ['53-10=43', '46+13=59'] Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,33 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 10, 81, 4, 86 ]
72
[ "4+86=90", "90/10=9", "81-9=72" ]
Current State: 72:[10, 81, 4, 86], Operations: [] Exploring Operation: 4+86=90, Resulting Numbers: [10, 81, 90] Generated Node #2: [10, 81, 90] from Operation: 4+86=90 Current State: 72:[10, 81, 90], Operations: ['4+86=90'] Exploring Operation: 90/10=9, Resulting Numbers: [81, 9] Generated Node #3: [81, 9] from Operation: 90/10=9 Current State: 72:[81, 9], Operations: ['4+86=90', '90/10=9'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[10, 81, 4, 86], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [10, 4, 5] Generated Node #0,0: 72:[10, 4, 5] Operation: 86-81=5 Exploring Operation: 86-10=76, Resulting Numbers: [81, 4, 76] Generated Node #0,1: 72:[81, 4, 76] Operation: 86-10=76 Exploring Operation: 81-10=71, Resulting Numbers: [4, 86, 71] Generated Node #0,2: 72:[4, 86, 71] Operation: 81-10=71 Moving to Node #0,0 Current State: 72:[10, 4, 5], Operations: ['86-81=5'] Exploring Operation: 10-4=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 72:[5, 6] Operation: 10-4=6 Exploring Operation: 10/5=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 72:[4, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 72:[4, 5] Operation: 10-5=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[4, 2], Operations: ['86-81=5', '10/5=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,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,0,0 Current State: 72:[5, 6], Operations: ['86-81=5', '10-4=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,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,0,2 Current State: 72:[4, 5], Operations: ['86-81=5', '10-5=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,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:[81, 4, 76], Operations: ['86-10=76'] Exploring Operation: 81-4=77, Resulting Numbers: [76, 77] Generated Node #0,1,0: 72:[76, 77] Operation: 81-4=77 Exploring Operation: 81-76=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 72:[4, 5] Operation: 81-76=5 Exploring Operation: 76-4=72, Resulting Numbers: [81, 72] Generated Node #0,1,2: 72:[81, 72] Operation: 76-4=72 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[4, 5], Operations: ['86-10=76', '81-76=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,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:[76, 77], Operations: ['86-10=76', '81-4=77'] Exploring Operation: 76*77=5852, Resulting Numbers: [5852] 5852,72 unequal: No Solution Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 76+77=153, Resulting Numbers: [153] 153,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,2 Current State: 72:[81, 72], Operations: ['86-10=76', '76-4=72'] Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,72 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,72 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: 72:[4, 86, 71], Operations: ['81-10=71'] Exploring Operation: 86-71=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 72:[4, 15] Operation: 86-71=15 Exploring Operation: 4+71=75, Resulting Numbers: [86, 75] Generated Node #0,2,1: 72:[86, 75] Operation: 4+71=75 Exploring Operation: 86-4=82, Resulting Numbers: [71, 82] Generated Node #0,2,2: 72:[71, 82] Operation: 86-4=82 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[4, 15], Operations: ['81-10=71', '86-71=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,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:[71, 82], Operations: ['81-10=71', '86-4=82'] Exploring Operation: 71*82=5822, Resulting Numbers: [5822] 5822,72 unequal: No Solution Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,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:[86, 75], Operations: ['81-10=71', '4+71=75'] Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 86+75=161, Resulting Numbers: [161] 161,72 unequal: No Solution Exploring Operation: 86*75=6450, Resulting Numbers: [6450] 6450,72 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
[ 33, 12, 83, 35 ]
89
[ "35-33=2", "12/2=6", "83+6=89" ]
Current State: 89:[33, 12, 83, 35], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [12, 83, 2] Generated Node #2: [12, 83, 2] from Operation: 35-33=2 Current State: 89:[12, 83, 2], Operations: ['35-33=2'] Exploring Operation: 12/2=6, Resulting Numbers: [83, 6] Generated Node #3: [83, 6] from Operation: 12/2=6 Current State: 89:[83, 6], Operations: ['35-33=2', '12/2=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[33, 12, 83, 35], Operations: [] Exploring Operation: 33+12=45, Resulting Numbers: [83, 35, 45] Generated Node #0,0: 89:[83, 35, 45] Operation: 33+12=45 Moving to Node #0,0 Current State: 89:[83, 35, 45], Operations: ['33+12=45'] Exploring Operation: 35+45=80, Resulting Numbers: [83, 80] Generated Node #0,0,0: 89:[83, 80] Operation: 35+45=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[83, 80], Operations: ['33+12=45', '35+45=80'] Exploring Operation: 83+80=163, Resulting Numbers: [163] 163,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 96, 76, 11, 87 ]
78
[ "96-76=20", "11+87=98", "98-20=78" ]
Current State: 78:[96, 76, 11, 87], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [11, 87, 20] Generated Node #2: [11, 87, 20] from Operation: 96-76=20 Current State: 78:[11, 87, 20], Operations: ['96-76=20'] Exploring Operation: 11+87=98, Resulting Numbers: [20, 98] Generated Node #3: [20, 98] from Operation: 11+87=98 Current State: 78:[20, 98], Operations: ['96-76=20', '11+87=98'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[96, 76, 11, 87], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [11, 87, 20] Generated Node #0,0: 78:[11, 87, 20] Operation: 96-76=20 Exploring Operation: 96-87=9, Resulting Numbers: [76, 11, 9] Generated Node #0,1: 78:[76, 11, 9] Operation: 96-87=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[76, 11, 9], Operations: ['96-87=9'] Exploring Operation: 11+9=20, Resulting Numbers: [76, 20] Generated Node #0,1,0: 78:[76, 20] Operation: 11+9=20 Exploring Operation: 11-9=2, Resulting Numbers: [76, 2] Generated Node #0,1,1: 78:[76, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[76, 2], Operations: ['96-87=9', '11-9=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[96, 76, 11, 87], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [76, 11, 9] Generated Node #0,1: 78:[76, 11, 9] Operation: 96-87=9 Moving to Node #0,1 Current State: 78:[76, 11, 9], Operations: ['96-87=9'] Exploring Operation: 11-9=2, Resulting Numbers: [76, 2] Generated Node #0,1,1: 78:[76, 2] Operation: 11-9=2 Moving to Node #0,1,1 Current State: 78:[76, 2], Operations: ['96-87=9', '11-9=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 88, 40, 52, 34 ]
20
[ "88-52=36", "36-34=2", "40/2=20" ]
Current State: 20:[88, 40, 52, 34], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [40, 34, 36] Generated Node #2: [40, 34, 36] from Operation: 88-52=36 Current State: 20:[40, 34, 36], Operations: ['88-52=36'] Exploring Operation: 36-34=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 36-34=2 Current State: 20:[40, 2], Operations: ['88-52=36', '36-34=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[88, 40, 52, 34], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [40, 34, 36] Generated Node #0,0: 20:[40, 34, 36] Operation: 88-52=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[40, 34, 36], Operations: ['88-52=36'] Exploring Operation: 40-36=4, Resulting Numbers: [34, 4] Generated Node #0,0,0: 20:[34, 4] Operation: 40-36=4 Moving to Node #0,0,0 Current State: 20:[34, 4], Operations: ['88-52=36', '40-36=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,20 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
[ 27, 16, 85, 59 ]
69
[ "27+16=43", "85-59=26", "43+26=69" ]
Current State: 69:[27, 16, 85, 59], Operations: [] Exploring Operation: 27+16=43, Resulting Numbers: [85, 59, 43] Generated Node #2: [85, 59, 43] from Operation: 27+16=43 Current State: 69:[85, 59, 43], Operations: ['27+16=43'] Exploring Operation: 85-59=26, Resulting Numbers: [43, 26] Generated Node #3: [43, 26] from Operation: 85-59=26 Current State: 69:[43, 26], Operations: ['27+16=43', '85-59=26'] Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[27, 16, 85, 59], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [27, 16, 26] Generated Node #0,0: 69:[27, 16, 26] Operation: 85-59=26 Exploring Operation: 85-27=58, Resulting Numbers: [16, 59, 58] Generated Node #0,1: 69:[16, 59, 58] Operation: 85-27=58 Exploring Operation: 59-27=32, Resulting Numbers: [16, 85, 32] Generated Node #0,2: 69:[16, 85, 32] Operation: 59-27=32 Exploring Operation: 16+59=75, Resulting Numbers: [27, 85, 75] Generated Node #0,3: 69:[27, 85, 75] Operation: 16+59=75 Exploring Operation: 85-16=69, Resulting Numbers: [27, 59, 69] Generated Node #0,4: 69:[27, 59, 69] Operation: 85-16=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[27, 16, 26], Operations: ['85-59=26'] Exploring Operation: 26-16=10, Resulting Numbers: [27, 10] Generated Node #0,0,0: 69:[27, 10] Operation: 26-16=10 Exploring Operation: 27-26=1, Resulting Numbers: [16, 1] Generated Node #0,0,1: 69:[16, 1] Operation: 27-26=1 Exploring Operation: 27-16=11, Resulting Numbers: [26, 11] Generated Node #0,0,2: 69:[26, 11] Operation: 27-16=11 Exploring Operation: 27+16=43, Resulting Numbers: [26, 43] Generated Node #0,0,3: 69:[26, 43] Operation: 27+16=43 Exploring Operation: 27+26=53, Resulting Numbers: [16, 53] Generated Node #0,0,4: 69:[16, 53] Operation: 27+26=53 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[16, 1], Operations: ['85-59=26', '27-26=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[27, 10], Operations: ['85-59=26', '26-16=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,69 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[26, 11], Operations: ['85-59=26', '27-16=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,69 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[26, 43], Operations: ['85-59=26', '27+16=43'] Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[27, 16, 85, 59], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [27, 16, 26] Generated Node #0,0: 69:[27, 16, 26] Operation: 85-59=26 Moving to Node #0,0 Current State: 69:[27, 16, 26], Operations: ['85-59=26'] Exploring Operation: 27+16=43, Resulting Numbers: [26, 43] Generated Node #0,0,3: 69:[26, 43] Operation: 27+16=43 Moving to Node #0,0,3 Current State: 69:[26, 43], Operations: ['85-59=26', '27+16=43'] Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 30, 79, 18, 5 ]
76
[ "30/5=6", "18/6=3", "79-3=76" ]
Current State: 76:[30, 79, 18, 5], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [79, 18, 6] Generated Node #2: [79, 18, 6] from Operation: 30/5=6 Current State: 76:[79, 18, 6], Operations: ['30/5=6'] Exploring Operation: 18/6=3, Resulting Numbers: [79, 3] Generated Node #3: [79, 3] from Operation: 18/6=3 Current State: 76:[79, 3], Operations: ['30/5=6', '18/6=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[30, 79, 18, 5], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [79, 18, 6] Generated Node #0,0: 76:[79, 18, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[79, 18, 6], Operations: ['30/5=6'] Exploring Operation: 79-6=73, Resulting Numbers: [18, 73] Generated Node #0,0,0: 76:[18, 73] Operation: 79-6=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[18, 73], Operations: ['30/5=6', '79-6=73'] Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 73, 4, 28, 96 ]
69
[ "73-28=45", "96/4=24", "45+24=69" ]
Current State: 69:[73, 4, 28, 96], Operations: [] Exploring Operation: 73-28=45, Resulting Numbers: [4, 96, 45] Generated Node #2: [4, 96, 45] from Operation: 73-28=45 Current State: 69:[4, 96, 45], Operations: ['73-28=45'] Exploring Operation: 96/4=24, Resulting Numbers: [45, 24] Generated Node #3: [45, 24] from Operation: 96/4=24 Current State: 69:[45, 24], Operations: ['73-28=45', '96/4=24'] Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[73, 4, 28, 96], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [73, 28, 24] Generated Node #0,0: 69:[73, 28, 24] Operation: 96/4=24 Exploring Operation: 73-4=69, Resulting Numbers: [28, 96, 69] Generated Node #0,1: 69:[28, 96, 69] Operation: 73-4=69 Exploring Operation: 96-73=23, Resulting Numbers: [4, 28, 23] Generated Node #0,2: 69:[4, 28, 23] Operation: 96-73=23 Exploring Operation: 96-28=68, Resulting Numbers: [73, 4, 68] Generated Node #0,3: 69:[73, 4, 68] Operation: 96-28=68 Moving to Node #0,2 Current State: 69:[4, 28, 23], Operations: ['96-73=23'] Exploring Operation: 4+28=32, Resulting Numbers: [23, 32] Generated Node #0,2,0: 69:[23, 32] Operation: 4+28=32 Exploring Operation: 28/4=7, Resulting Numbers: [23, 7] Generated Node #0,2,1: 69:[23, 7] Operation: 28/4=7 Exploring Operation: 28-23=5, Resulting Numbers: [4, 5] Generated Node #0,2,2: 69:[4, 5] Operation: 28-23=5 Exploring Operation: 28-4=24, Resulting Numbers: [23, 24] Generated Node #0,2,3: 69:[23, 24] Operation: 28-4=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 69:[23, 24], Operations: ['96-73=23', '28-4=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[4, 5], Operations: ['96-73=23', '28-23=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[23, 7], Operations: ['96-73=23', '28/4=7'] Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,69 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[23, 32], Operations: ['96-73=23', '4+28=32'] Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,69 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: 69:[73, 4, 68], Operations: ['96-28=68'] Exploring Operation: 4+68=72, Resulting Numbers: [73, 72] Generated Node #0,3,0: 69:[73, 72] Operation: 4+68=72 Exploring Operation: 73-4=69, Resulting Numbers: [68, 69] Generated Node #0,3,1: 69:[68, 69] Operation: 73-4=69 Exploring Operation: 73+4=77, Resulting Numbers: [68, 77] Generated Node #0,3,2: 69:[68, 77] Operation: 73+4=77 Exploring Operation: 73-68=5, Resulting Numbers: [4, 5] Generated Node #0,3,3: 69:[4, 5] Operation: 73-68=5 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[68, 69], Operations: ['96-28=68', '73-4=69'] Exploring Operation: 68*69=4692, Resulting Numbers: [4692] 4692,69 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 68+69=137, Resulting Numbers: [137] 137,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[4, 5], Operations: ['96-28=68', '73-68=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[73, 72], Operations: ['96-28=68', '4+68=72'] Exploring Operation: 73+72=145, Resulting Numbers: [145] 145,69 unequal: No Solution Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 73*72=5256, Resulting Numbers: [5256] 5256,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[68, 77], Operations: ['96-28=68', '73+4=77'] Exploring Operation: 68*77=5236, Resulting Numbers: [5236] 5236,69 unequal: No Solution Exploring Operation: 68+77=145, Resulting Numbers: [145] 145,69 unequal: No Solution Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 69:[73, 28, 24], Operations: ['96/4=24'] Exploring Operation: 73-28=45, Resulting Numbers: [24, 45] Generated Node #0,0,0: 69:[24, 45] Operation: 73-28=45 Exploring Operation: 73-24=49, Resulting Numbers: [28, 49] Generated Node #0,0,1: 69:[28, 49] Operation: 73-24=49 Exploring Operation: 28+24=52, Resulting Numbers: [73, 52] Generated Node #0,0,2: 69:[73, 52] Operation: 28+24=52 Exploring Operation: 28-24=4, Resulting Numbers: [73, 4] Generated Node #0,0,3: 69:[73, 4] Operation: 28-24=4 Moving to Node #0,1 Current State: 69:[28, 96, 69], Operations: ['73-4=69'] Exploring Operation: 69-28=41, Resulting Numbers: [96, 41] Generated Node #0,1,0: 69:[96, 41] Operation: 69-28=41 Exploring Operation: 96-28=68, Resulting Numbers: [69, 68] Generated Node #0,1,1: 69:[69, 68] Operation: 96-28=68 Exploring Operation: 96-69=27, Resulting Numbers: [28, 27] Generated Node #0,1,2: 69:[28, 27] Operation: 96-69=27 Exploring Operation: 28+96=124, Resulting Numbers: [69, 124] Generated Node #0,1,3: 69:[69, 124] Operation: 28+96=124 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[69, 68], Operations: ['73-4=69', '96-28=68'] Exploring Operation: 69*68=4692, Resulting Numbers: [4692] 4692,69 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[28, 27], Operations: ['73-4=69', '96-69=27'] Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[96, 41], Operations: ['73-4=69', '69-28=41'] Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,69 unequal: No Solution Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,69 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 69:[69, 124], Operations: ['73-4=69', '28+96=124'] Exploring Operation: 69+124=193, Resulting Numbers: [193] 193,69 unequal: No Solution Exploring Operation: 69*124=8556, Resulting Numbers: [8556] 8556,69 unequal: No Solution Exploring Operation: 124-69=55, Resulting Numbers: [55] 55,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 69:[73, 4], Operations: ['96/4=24', '28-24=4'] Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,69 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[73, 4, 28, 96], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [73, 28, 24] Generated Node #0,0: 69:[73, 28, 24] Operation: 96/4=24 Moving to Node #0,0 Current State: 69:[73, 28, 24], Operations: ['96/4=24'] Exploring Operation: 28-24=4, Resulting Numbers: [73, 4] Generated Node #0,0,3: 69:[73, 4] Operation: 28-24=4 Moving to Node #0,0,3 Current State: 69:[73, 4], Operations: ['96/4=24', '28-24=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.946181
hs_4
sum_heuristic
[ 84, 76, 44, 8 ]
92
[ "84+44=128", "128/8=16", "76+16=92" ]
Current State: 92:[84, 76, 44, 8], Operations: [] Exploring Operation: 84+44=128, Resulting Numbers: [76, 8, 128] Generated Node #2: [76, 8, 128] from Operation: 84+44=128 Current State: 92:[76, 8, 128], Operations: ['84+44=128'] Exploring Operation: 128/8=16, Resulting Numbers: [76, 16] Generated Node #3: [76, 16] from Operation: 128/8=16 Current State: 92:[76, 16], Operations: ['84+44=128', '128/8=16'] Exploring Operation: 76+16=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[84, 76, 44, 8], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [44, 8, 8] Generated Node #0,0: 92:[44, 8, 8] Operation: 84-76=8 Moving to Node #0,0 Current State: 92:[44, 8, 8], Operations: ['84-76=8'] Exploring Operation: 8/8=1, Resulting Numbers: [44, 1] Generated Node #0,0,0: 92:[44, 1] Operation: 8/8=1 Moving to Node #0,0,0 Current State: 92:[44, 1], Operations: ['84-76=8', '8/8=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,92 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 17, 20, 64, 17 ]
27
[ "20-17=3", "64+17=81", "81/3=27" ]
Current State: 27:[17, 20, 64, 17], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [64, 3] Generated Node #2: [64, 3] from Operation: 20-17=3 Current State: 27:[64, 3], Operations: ['20-17=3'] Exploring Operation: 64+17=81, Resulting Numbers: [3, 81] Generated Node #3: [3, 81] from Operation: 64+17=81 Current State: 27:[3, 81], Operations: ['20-17=3', '64+17=81'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[17, 20, 64, 17], Operations: [] Exploring Operation: 64-20=44, Resulting Numbers: [17, 17, 44] Generated Node #0,0: 27:[17, 17, 44] Operation: 64-20=44 Exploring Operation: 20-17=3, Resulting Numbers: [64, 17, 3] Generated Node #0,1: 27:[64, 17, 3] Operation: 20-17=3 Exploring Operation: 64-17=47, Resulting Numbers: [20, 17, 47] Generated Node #0,2: 27:[20, 17, 47] Operation: 64-17=47 Exploring Operation: 64-17=47, Resulting Numbers: [17, 20, 47] Generated Node #0,3: 27:[17, 20, 47] Operation: 64-17=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[17, 17, 44], Operations: ['64-20=44'] Exploring Operation: 17-17=0, Resulting Numbers: [44, 0] Generated Node #0,0,0: 27:[44, 0] Operation: 17-17=0 Exploring Operation: 44-17=27, Resulting Numbers: [17, 27] Generated Node #0,0,1: 27:[17, 27] Operation: 44-17=27 Exploring Operation: 44-17=27, Resulting Numbers: [17, 27] Generated Node #0,0,2: 27:[17, 27] Operation: 44-17=27 Exploring Operation: 17/17=1, Resulting Numbers: [44, 1] Generated Node #0,0,3: 27:[44, 1] Operation: 17/17=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[17, 27], Operations: ['64-20=44', '44-17=27'] Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,27 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,27 unequal: No Solution No 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: 27:[17, 27], Operations: ['64-20=44', '44-17=27'] Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,27 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,27 unequal: No Solution No 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: 27:[44, 1], Operations: ['64-20=44', '17/17=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,27 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,27 unequal: No Solution No 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: 27:[44, 0], Operations: ['64-20=44', '17-17=0'] Exploring Operation: 44*0=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[20, 17, 47], Operations: ['64-17=47'] Exploring Operation: 47-20=27, Resulting Numbers: [17, 27] Generated Node #0,2,0: 27:[17, 27] Operation: 47-20=27 Exploring Operation: 47-17=30, Resulting Numbers: [20, 30] Generated Node #0,2,1: 27:[20, 30] Operation: 47-17=30 Exploring Operation: 20-17=3, Resulting Numbers: [47, 3] Generated Node #0,2,2: 27:[47, 3] Operation: 20-17=3 Exploring Operation: 20+17=37, Resulting Numbers: [47, 37] Generated Node #0,2,3: 27:[47, 37] Operation: 20+17=37 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[17, 27], Operations: ['64-17=47', '47-20=27'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,27 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,27 unequal: No Solution No 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: 27:[20, 30], Operations: ['64-17=47', '47-17=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,27 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,27 unequal: No Solution No 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: 27:[47, 3], Operations: ['64-17=47', '20-17=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,27 unequal: No Solution No 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: 27:[47, 37], Operations: ['64-17=47', '20+17=37'] Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,27 unequal: No Solution Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[17, 20, 47], Operations: ['64-17=47'] Exploring Operation: 20-17=3, Resulting Numbers: [47, 3] Generated Node #0,3,0: 27:[47, 3] Operation: 20-17=3 Exploring Operation: 47-20=27, Resulting Numbers: [17, 27] Generated Node #0,3,1: 27:[17, 27] Operation: 47-20=27 Exploring Operation: 17+20=37, Resulting Numbers: [47, 37] Generated Node #0,3,2: 27:[47, 37] Operation: 17+20=37 Exploring Operation: 47-17=30, Resulting Numbers: [20, 30] Generated Node #0,3,3: 27:[20, 30] Operation: 47-17=30 Moving to Node #0,3,1 Current State: 27:[17, 27], Operations: ['64-17=47', '47-20=27'] Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,27 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[20, 30], Operations: ['64-17=47', '47-17=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[47, 3], Operations: ['64-17=47', '20-17=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[47, 37], Operations: ['64-17=47', '17+20=37'] Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,27 unequal: No Solution Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,27 unequal: No Solution No 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: 27:[64, 17, 3], Operations: ['20-17=3'] Exploring Operation: 64-3=61, Resulting Numbers: [17, 61] Generated Node #0,1,0: 27:[17, 61] Operation: 64-3=61 Exploring Operation: 17+3=20, Resulting Numbers: [64, 20] Generated Node #0,1,1: 27:[64, 20] Operation: 17+3=20 Exploring Operation: 17-3=14, Resulting Numbers: [64, 14] Generated Node #0,1,2: 27:[64, 14] Operation: 17-3=14 Exploring Operation: 64-17=47, Resulting Numbers: [3, 47] Generated Node #0,1,3: 27:[3, 47] Operation: 64-17=47 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 27:[3, 47], Operations: ['20-17=3', '64-17=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,27 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,27 unequal: No Solution No 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: 27:[17, 61], Operations: ['20-17=3', '64-3=61'] Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,27 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,27 unequal: No Solution No 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: 27:[64, 14], Operations: ['20-17=3', '17-3=14'] Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,27 unequal: No Solution No 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: 27:[64, 20], Operations: ['20-17=3', '17+3=20'] Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,27 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 17, 49, 3, 18 ]
85
[ "3*18=54", "54-49=5", "17*5=85" ]
Current State: 85:[17, 49, 3, 18], Operations: [] Exploring Operation: 3*18=54, Resulting Numbers: [17, 49, 54] Generated Node #2: [17, 49, 54] from Operation: 3*18=54 Current State: 85:[17, 49, 54], Operations: ['3*18=54'] Exploring Operation: 54-49=5, Resulting Numbers: [17, 5] Generated Node #3: [17, 5] from Operation: 54-49=5 Current State: 85:[17, 5], Operations: ['3*18=54', '54-49=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[17, 49, 3, 18], Operations: [] Exploring Operation: 49-18=31, Resulting Numbers: [17, 3, 31] Generated Node #0,0: 85:[17, 3, 31] Operation: 49-18=31 Exploring Operation: 49-17=32, Resulting Numbers: [3, 18, 32] Generated Node #0,1: 85:[3, 18, 32] Operation: 49-17=32 Exploring Operation: 17+49=66, Resulting Numbers: [3, 18, 66] Generated Node #0,2: 85:[3, 18, 66] Operation: 17+49=66 Exploring Operation: 49+18=67, Resulting Numbers: [17, 3, 67] Generated Node #0,3: 85:[17, 3, 67] Operation: 49+18=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[17, 3, 31], Operations: ['49-18=31'] Exploring Operation: 31-17=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 85:[3, 14] Operation: 31-17=14 Exploring Operation: 31-3=28, Resulting Numbers: [17, 28] Generated Node #0,0,1: 85:[17, 28] Operation: 31-3=28 Exploring Operation: 3*31=93, Resulting Numbers: [17, 93] Generated Node #0,0,2: 85:[17, 93] Operation: 3*31=93 Exploring Operation: 17+3=20, Resulting Numbers: [31, 20] Generated Node #0,0,3: 85:[31, 20] Operation: 17+3=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[3, 14], Operations: ['49-18=31', '31-17=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[17, 93], Operations: ['49-18=31', '3*31=93'] Exploring Operation: 17*93=1581, Resulting Numbers: [1581] 1581,85 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 17+93=110, Resulting Numbers: [110] 110,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[17, 28], Operations: ['49-18=31', '31-3=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 85:[31, 20], Operations: ['49-18=31', '17+3=20'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[3, 18, 32], Operations: ['49-17=32'] Exploring Operation: 18/3=6, Resulting Numbers: [32, 6] Generated Node #0,1,0: 85:[32, 6] Operation: 18/3=6 Exploring Operation: 32-18=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 85:[3, 14] Operation: 32-18=14 Exploring Operation: 32-3=29, Resulting Numbers: [18, 29] Generated Node #0,1,2: 85:[18, 29] Operation: 32-3=29 Exploring Operation: 3*32=96, Resulting Numbers: [18, 96] Generated Node #0,1,3: 85:[18, 96] Operation: 3*32=96 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[3, 14], Operations: ['49-17=32', '32-18=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,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,3 Current State: 85:[18, 96], Operations: ['49-17=32', '3*32=96'] Exploring Operation: 18*96=1728, Resulting Numbers: [1728] 1728,85 unequal: No Solution Exploring Operation: 18+96=114, Resulting Numbers: [114] 114,85 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,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,2 Current State: 85:[18, 29], Operations: ['49-17=32', '32-3=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,85 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,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:[32, 6], Operations: ['49-17=32', '18/3=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,85 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,85 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[17, 3, 67], Operations: ['49+18=67'] Exploring Operation: 17-3=14, Resulting Numbers: [67, 14] Generated Node #0,3,0: 85:[67, 14] Operation: 17-3=14 Exploring Operation: 17+67=84, Resulting Numbers: [3, 84] Generated Node #0,3,1: 85:[3, 84] Operation: 17+67=84 Exploring Operation: 17+3=20, Resulting Numbers: [67, 20] Generated Node #0,3,2: 85:[67, 20] Operation: 17+3=20 Exploring Operation: 3+67=70, Resulting Numbers: [17, 70] Generated Node #0,3,3: 85:[17, 70] Operation: 3+67=70 Moving to Node #0,3,1 Current State: 85:[3, 84], Operations: ['49+18=67', '17+67=84'] Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,85 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[17, 70], Operations: ['49+18=67', '3+67=70'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 17*70=1190, Resulting Numbers: [1190] 1190,85 unequal: No Solution Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[67, 20], Operations: ['49+18=67', '17+3=20'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,85 unequal: No Solution Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,85 unequal: No Solution Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[67, 14], Operations: ['49+18=67', '17-3=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,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 Current State: 85:[3, 18, 66], Operations: ['17+49=66'] Exploring Operation: 3+66=69, Resulting Numbers: [18, 69] Generated Node #0,2,0: 85:[18, 69] Operation: 3+66=69 Exploring Operation: 66/3=22, Resulting Numbers: [18, 22] Generated Node #0,2,1: 85:[18, 22] Operation: 66/3=22 Exploring Operation: 18/3=6, Resulting Numbers: [66, 6] Generated Node #0,2,2: 85:[66, 6] Operation: 18/3=6 Exploring Operation: 18+66=84, Resulting Numbers: [3, 84] Generated Node #0,2,3: 85:[3, 84] Operation: 18+66=84 Moving to Node #0,2,3 Current State: 85:[3, 84], Operations: ['17+49=66', '18+66=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,85 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[18, 22], Operations: ['17+49=66', '66/3=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,85 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[18, 69], Operations: ['17+49=66', '3+66=69'] Exploring Operation: 18+69=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 18*69=1242, Resulting Numbers: [1242] 1242,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[66, 6], Operations: ['17+49=66', '18/3=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,85 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
[ 8, 35, 63, 65 ]
62
[ "65-63=2", "35*2=70", "70-8=62" ]
Current State: 62:[8, 35, 63, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [8, 35, 2] Generated Node #2: [8, 35, 2] from Operation: 65-63=2 Current State: 62:[8, 35, 2], Operations: ['65-63=2'] Exploring Operation: 35*2=70, Resulting Numbers: [8, 70] Generated Node #3: [8, 70] from Operation: 35*2=70 Current State: 62:[8, 70], Operations: ['65-63=2', '35*2=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[8, 35, 63, 65], Operations: [] Exploring Operation: 35-8=27, Resulting Numbers: [63, 65, 27] Generated Node #0,0: 62:[63, 65, 27] Operation: 35-8=27 Exploring Operation: 65-63=2, Resulting Numbers: [8, 35, 2] Generated Node #0,1: 62:[8, 35, 2] Operation: 65-63=2 Exploring Operation: 63-35=28, Resulting Numbers: [8, 65, 28] Generated Node #0,2: 62:[8, 65, 28] Operation: 63-35=28 Exploring Operation: 65-8=57, Resulting Numbers: [35, 63, 57] Generated Node #0,3: 62:[35, 63, 57] Operation: 65-8=57 Exploring Operation: 65-35=30, Resulting Numbers: [8, 63, 30] Generated Node #0,4: 62:[8, 63, 30] Operation: 65-35=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[63, 65, 27], Operations: ['35-8=27'] Exploring Operation: 63+27=90, Resulting Numbers: [65, 90] Generated Node #0,0,0: 62:[65, 90] Operation: 63+27=90 Exploring Operation: 65+27=92, Resulting Numbers: [63, 92] Generated Node #0,0,1: 62:[63, 92] Operation: 65+27=92 Exploring Operation: 63-27=36, Resulting Numbers: [65, 36] Generated Node #0,0,2: 62:[65, 36] Operation: 63-27=36 Exploring Operation: 65-63=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 62:[27, 2] Operation: 65-63=2 Exploring Operation: 65-27=38, Resulting Numbers: [63, 38] Generated Node #0,0,4: 62:[63, 38] Operation: 65-27=38 Moving to Node #0,0,3 Current State: 62:[27, 2], Operations: ['35-8=27', '65-63=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,0,4 Current State: 62:[63, 38], Operations: ['35-8=27', '65-27=38'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,62 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[65, 36], Operations: ['35-8=27', '63-27=36'] Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,62 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[65, 90], Operations: ['35-8=27', '63+27=90'] Exploring Operation: 65+90=155, Resulting Numbers: [155] 155,62 unequal: No Solution Exploring Operation: 65*90=5850, Resulting Numbers: [5850] 5850,62 unequal: No Solution Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[63, 92], Operations: ['35-8=27', '65+27=92'] Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 63+92=155, Resulting Numbers: [155] 155,62 unequal: No Solution Exploring Operation: 63*92=5796, Resulting Numbers: [5796] 5796,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[8, 63, 30], Operations: ['65-35=30'] Exploring Operation: 8+63=71, Resulting Numbers: [30, 71] Generated Node #0,4,0: 62:[30, 71] Operation: 8+63=71 Exploring Operation: 63-8=55, Resulting Numbers: [30, 55] Generated Node #0,4,1: 62:[30, 55] Operation: 63-8=55 Exploring Operation: 30-8=22, Resulting Numbers: [63, 22] Generated Node #0,4,2: 62:[63, 22] Operation: 30-8=22 Exploring Operation: 63-30=33, Resulting Numbers: [8, 33] Generated Node #0,4,3: 62:[8, 33] Operation: 63-30=33 Exploring Operation: 8+30=38, Resulting Numbers: [63, 38] Generated Node #0,4,4: 62:[63, 38] Operation: 8+30=38 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 62:[30, 55], Operations: ['65-35=30', '63-8=55'] Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 62:[8, 33], Operations: ['65-35=30', '63-30=33'] Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,62 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 62:[63, 38], Operations: ['65-35=30', '8+30=38'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,62 unequal: No Solution Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 62:[30, 71], Operations: ['65-35=30', '8+63=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 30+71=101, Resulting Numbers: [101] 101,62 unequal: No Solution Exploring Operation: 30*71=2130, Resulting Numbers: [2130] 2130,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 62:[63, 22], Operations: ['65-35=30', '30-8=22'] Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,62 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[8, 35, 2], Operations: ['65-63=2'] Exploring Operation: 35-2=33, Resulting Numbers: [8, 33] Generated Node #0,1,0: 62:[8, 33] Operation: 35-2=33 Exploring Operation: 35-8=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 62:[2, 27] Operation: 35-8=27 Exploring Operation: 8+35=43, Resulting Numbers: [2, 43] Generated Node #0,1,2: 62:[2, 43] Operation: 8+35=43 Exploring Operation: 8/2=4, Resulting Numbers: [35, 4] Generated Node #0,1,3: 62:[35, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [35, 6] Generated Node #0,1,4: 62:[35, 6] Operation: 8-2=6 Moving to Node #0,1,1 Current State: 62:[2, 27], Operations: ['65-63=2', '35-8=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[35, 4], Operations: ['65-63=2', '8/2=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[8, 33], Operations: ['65-63=2', '35-2=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,62 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[35, 6], Operations: ['65-63=2', '8-2=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,62 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[2, 43], Operations: ['65-63=2', '8+35=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,62 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[35, 63, 57], Operations: ['65-8=57'] Exploring Operation: 35+57=92, Resulting Numbers: [63, 92] Generated Node #0,3,0: 62:[63, 92] Operation: 35+57=92 Exploring Operation: 35+63=98, Resulting Numbers: [57, 98] Generated Node #0,3,1: 62:[57, 98] Operation: 35+63=98 Exploring Operation: 63-35=28, Resulting Numbers: [57, 28] Generated Node #0,3,2: 62:[57, 28] Operation: 63-35=28 Exploring Operation: 57-35=22, Resulting Numbers: [63, 22] Generated Node #0,3,3: 62:[63, 22] Operation: 57-35=22 Exploring Operation: 63-57=6, Resulting Numbers: [35, 6] Generated Node #0,3,4: 62:[35, 6] Operation: 63-57=6 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[57, 28], Operations: ['65-8=57', '63-35=28'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 57*28=1596, Resulting Numbers: [1596] 1596,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 62:[35, 6], Operations: ['65-8=57', '63-57=6'] Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,62 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[63, 22], Operations: ['65-8=57', '57-35=22'] Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,62 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[63, 92], Operations: ['65-8=57', '35+57=92'] Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 63*92=5796, Resulting Numbers: [5796] 5796,62 unequal: No Solution Exploring Operation: 63+92=155, Resulting Numbers: [155] 155,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[57, 98], Operations: ['65-8=57', '35+63=98'] Exploring Operation: 98-57=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 57+98=155, Resulting Numbers: [155] 155,62 unequal: No Solution Exploring Operation: 57*98=5586, Resulting Numbers: [5586] 5586,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[8, 65, 28], Operations: ['63-35=28'] Exploring Operation: 8+28=36, Resulting Numbers: [65, 36] Generated Node #0,2,0: 62:[65, 36] Operation: 8+28=36 Exploring Operation: 28-8=20, Resulting Numbers: [65, 20] Generated Node #0,2,1: 62:[65, 20] Operation: 28-8=20 Exploring Operation: 65-8=57, Resulting Numbers: [28, 57] Generated Node #0,2,2: 62:[28, 57] Operation: 65-8=57 Exploring Operation: 65-28=37, Resulting Numbers: [8, 37] Generated Node #0,2,3: 62:[8, 37] Operation: 65-28=37 Exploring Operation: 8+65=73, Resulting Numbers: [28, 73] Generated Node #0,2,4: 62:[28, 73] Operation: 8+65=73 Moving to Node #0,2,0 Current State: 62:[65, 36], Operations: ['63-35=28', '8+28=36'] Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,62 unequal: No Solution Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,62 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[28, 57], Operations: ['63-35=28', '65-8=57'] Exploring Operation: 28+57=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 28*57=1596, Resulting Numbers: [1596] 1596,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[8, 37], Operations: ['63-35=28', '65-28=37'] Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,62 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,62 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[65, 20], Operations: ['63-35=28', '28-8=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,62 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,62 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[28, 73], Operations: ['63-35=28', '8+65=73'] Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,62 unequal: No Solution Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,62 unequal: No Solution Exploring Operation: 28*73=2044, Resulting Numbers: [2044] 2044,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 33, 45, 25, 99 ]
18
[ "33-25=8", "45+99=144", "144/8=18" ]
Current State: 18:[33, 45, 25, 99], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [45, 99, 8] Generated Node #2: [45, 99, 8] from Operation: 33-25=8 Current State: 18:[45, 99, 8], Operations: ['33-25=8'] Exploring Operation: 45+99=144, Resulting Numbers: [8, 144] Generated Node #3: [8, 144] from Operation: 45+99=144 Current State: 18:[8, 144], Operations: ['33-25=8', '45+99=144'] Exploring Operation: 144/8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[33, 45, 25, 99], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [33, 25, 54] Generated Node #0,0: 18:[33, 25, 54] Operation: 99-45=54 Exploring Operation: 99/33=3, Resulting Numbers: [45, 25, 3] Generated Node #0,1: 18:[45, 25, 3] Operation: 99/33=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[45, 25, 3], Operations: ['99/33=3'] Exploring Operation: 45/3=15, Resulting Numbers: [25, 15] Generated Node #0,1,0: 18:[25, 15] Operation: 45/3=15 Exploring Operation: 45-25=20, Resulting Numbers: [3, 20] Generated Node #0,1,1: 18:[3, 20] Operation: 45-25=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 18:[3, 20], Operations: ['99/33=3', '45-25=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 18:[25, 15], Operations: ['99/33=3', '45/3=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[33, 25, 54], Operations: ['99-45=54'] Exploring Operation: 54-25=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 18:[33, 29] Operation: 54-25=29 Exploring Operation: 54-33=21, Resulting Numbers: [25, 21] Generated Node #0,0,1: 18:[25, 21] Operation: 54-33=21 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[25, 21], Operations: ['99-45=54', '54-33=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,18 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[33, 29], Operations: ['99-45=54', '54-25=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 69, 19, 39, 3 ]
52
[ "69+19=88", "39-3=36", "88-36=52" ]
Current State: 52:[69, 19, 39, 3], Operations: [] Exploring Operation: 69+19=88, Resulting Numbers: [39, 3, 88] Generated Node #2: [39, 3, 88] from Operation: 69+19=88 Current State: 52:[39, 3, 88], Operations: ['69+19=88'] Exploring Operation: 39-3=36, Resulting Numbers: [88, 36] Generated Node #3: [88, 36] from Operation: 39-3=36 Current State: 52:[88, 36], Operations: ['69+19=88', '39-3=36'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[69, 19, 39, 3], Operations: [] Exploring Operation: 69-19=50, Resulting Numbers: [39, 3, 50] Generated Node #0,0: 52:[39, 3, 50] Operation: 69-19=50 Exploring Operation: 69-39=30, Resulting Numbers: [19, 3, 30] Generated Node #0,1: 52:[19, 3, 30] Operation: 69-39=30 Moving to Node #0,1 Current State: 52:[19, 3, 30], Operations: ['69-39=30'] Exploring Operation: 19+30=49, Resulting Numbers: [3, 49] Generated Node #0,1,0: 52:[3, 49] Operation: 19+30=49 Exploring Operation: 30-19=11, Resulting Numbers: [3, 11] Generated Node #0,1,1: 52:[3, 11] Operation: 30-19=11 Moving to Node #0,0 Current State: 52:[39, 3, 50], Operations: ['69-19=50'] Exploring Operation: 39/3=13, Resulting Numbers: [50, 13] Generated Node #0,0,0: 52:[50, 13] Operation: 39/3=13 Exploring Operation: 50-39=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 52:[3, 11] Operation: 50-39=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[50, 13], Operations: ['69-19=50', '39/3=13'] Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[3, 11], Operations: ['69-19=50', '50-39=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,52 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: 52:[3, 11], Operations: ['69-39=30', '30-19=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[3, 49], Operations: ['69-39=30', '19+30=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[69, 19, 39, 3], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [19, 3, 30] Generated Node #0,1: 52:[19, 3, 30] Operation: 69-39=30 Moving to Node #0,1 Current State: 52:[19, 3, 30], Operations: ['69-39=30'] Exploring Operation: 19+30=49, Resulting Numbers: [3, 49] Generated Node #0,1,0: 52:[3, 49] Operation: 19+30=49 Moving to Node #0,1,0 Current State: 52:[3, 49], Operations: ['69-39=30', '19+30=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 16, 48, 46, 48 ]
91
[ "48/16=3", "46+48=94", "94-3=91" ]
Current State: 91:[16, 48, 46, 48], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [46, 3] Generated Node #2: [46, 3] from Operation: 48/16=3 Current State: 91:[46, 3], Operations: ['48/16=3'] Exploring Operation: 46+48=94, Resulting Numbers: [3, 94] Generated Node #3: [3, 94] from Operation: 46+48=94 Current State: 91:[3, 94], Operations: ['48/16=3', '46+48=94'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[16, 48, 46, 48], Operations: [] Exploring Operation: 48+46=94, Resulting Numbers: [16, 48, 94] Generated Node #0,0: 91:[16, 48, 94] Operation: 48+46=94 Exploring Operation: 48+48=96, Resulting Numbers: [16, 46, 96] Generated Node #0,1: 91:[16, 46, 96] Operation: 48+48=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[16, 48, 94], Operations: ['48+46=94'] Exploring Operation: 48-16=32, Resulting Numbers: [94, 32] Generated Node #0,0,0: 91:[94, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [94, 3] Generated Node #0,0,1: 91:[94, 3] Operation: 48/16=3 Moving to Node #0,0,1 Current State: 91:[94, 3], Operations: ['48+46=94', '48/16=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[16, 48, 46, 48], Operations: [] Exploring Operation: 48+46=94, Resulting Numbers: [16, 48, 94] Generated Node #0,0: 91:[16, 48, 94] Operation: 48+46=94 Moving to Node #0,0 Current State: 91:[16, 48, 94], Operations: ['48+46=94'] Exploring Operation: 48/16=3, Resulting Numbers: [94, 3] Generated Node #0,0,1: 91:[94, 3] Operation: 48/16=3 Moving to Node #0,0,1 Current State: 91:[94, 3], Operations: ['48+46=94', '48/16=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 57, 94, 21, 59 ]
36
[ "57*59=3363", "21+3363=3384", "3384/94=36" ]
Current State: 36:[57, 94, 21, 59], Operations: [] Exploring Operation: 57*59=3363, Resulting Numbers: [94, 21, 3363] Generated Node #2: [94, 21, 3363] from Operation: 57*59=3363 Current State: 36:[94, 21, 3363], Operations: ['57*59=3363'] Exploring Operation: 21+3363=3384, Resulting Numbers: [94, 3384] Generated Node #3: [94, 3384] from Operation: 21+3363=3384 Current State: 36:[94, 3384], Operations: ['57*59=3363', '21+3363=3384'] Exploring Operation: 3384/94=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[57, 94, 21, 59], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [57, 21, 35] Generated Node #0,0: 36:[57, 21, 35] Operation: 94-59=35 Moving to Node #0,0 Current State: 36:[57, 21, 35], Operations: ['94-59=35'] Exploring Operation: 57-21=36, Resulting Numbers: [35, 36] Generated Node #0,0,0: 36:[35, 36] Operation: 57-21=36 Moving to Node #0,0,0 Current State: 36:[35, 36], Operations: ['94-59=35', '57-21=36'] Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 70, 35, 29, 38 ]
32
[ "70-35=35", "29+38=67", "67-35=32" ]
Current State: 32:[70, 35, 29, 38], Operations: [] Exploring Operation: 70-35=35, Resulting Numbers: [29, 38, 35] Generated Node #2: [29, 38, 35] from Operation: 70-35=35 Current State: 32:[29, 38, 35], Operations: ['70-35=35'] Exploring Operation: 29+38=67, Resulting Numbers: [35, 67] Generated Node #3: [35, 67] from Operation: 29+38=67 Current State: 32:[35, 67], Operations: ['70-35=35', '29+38=67'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[70, 35, 29, 38], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [29, 38, 2] Generated Node #0,0: 32:[29, 38, 2] Operation: 70/35=2 Exploring Operation: 70-38=32, Resulting Numbers: [35, 29, 32] Generated Node #0,1: 32:[35, 29, 32] Operation: 70-38=32 Moving to Node #0,1 Current State: 32:[35, 29, 32], Operations: ['70-38=32'] Exploring Operation: 35-29=6, Resulting Numbers: [32, 6] Generated Node #0,1,0: 32:[32, 6] Operation: 35-29=6 Exploring Operation: 35-32=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 32:[29, 3] Operation: 35-32=3 Moving to Node #0,0 Current State: 32:[29, 38, 2], Operations: ['70/35=2'] Exploring Operation: 38-29=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 32:[2, 9] Operation: 38-29=9 Exploring Operation: 38/2=19, Resulting Numbers: [29, 19] Generated Node #0,0,1: 32:[29, 19] Operation: 38/2=19 Moving to Node #0,0,0 Current State: 32:[2, 9], Operations: ['70/35=2', '38-29=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[32, 6], Operations: ['70-38=32', '35-29=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[29, 3], Operations: ['70-38=32', '35-32=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[70, 35, 29, 38], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [35, 29, 32] Generated Node #0,1: 32:[35, 29, 32] Operation: 70-38=32 Moving to Node #0,1 Current State: 32:[35, 29, 32], Operations: ['70-38=32'] Exploring Operation: 35-32=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 32:[29, 3] Operation: 35-32=3 Moving to Node #0,1,1 Current State: 32:[29, 3], Operations: ['70-38=32', '35-32=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 11, 24, 13, 91 ]
76
[ "11*13=143", "91-24=67", "143-67=76" ]
Current State: 76:[11, 24, 13, 91], Operations: [] Exploring Operation: 11*13=143, Resulting Numbers: [24, 91, 143] Generated Node #2: [24, 91, 143] from Operation: 11*13=143 Current State: 76:[24, 91, 143], Operations: ['11*13=143'] Exploring Operation: 91-24=67, Resulting Numbers: [143, 67] Generated Node #3: [143, 67] from Operation: 91-24=67 Current State: 76:[143, 67], Operations: ['11*13=143', '91-24=67'] Exploring Operation: 143-67=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[11, 24, 13, 91], Operations: [] Exploring Operation: 91-13=78, Resulting Numbers: [11, 24, 78] Generated Node #0,0: 76:[11, 24, 78] Operation: 91-13=78 Exploring Operation: 91-11=80, Resulting Numbers: [24, 13, 80] Generated Node #0,1: 76:[24, 13, 80] Operation: 91-11=80 Exploring Operation: 91/13=7, Resulting Numbers: [11, 24, 7] Generated Node #0,2: 76:[11, 24, 7] Operation: 91/13=7 Exploring Operation: 13-11=2, Resulting Numbers: [24, 91, 2] Generated Node #0,3: 76:[24, 91, 2] Operation: 13-11=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[11, 24, 78], Operations: ['91-13=78'] Exploring Operation: 11+78=89, Resulting Numbers: [24, 89] Generated Node #0,0,0: 76:[24, 89] Operation: 11+78=89 Exploring Operation: 78-11=67, Resulting Numbers: [24, 67] Generated Node #0,0,1: 76:[24, 67] Operation: 78-11=67 Exploring Operation: 11+24=35, Resulting Numbers: [78, 35] Generated Node #0,0,2: 76:[78, 35] Operation: 11+24=35 Exploring Operation: 24-11=13, Resulting Numbers: [78, 13] Generated Node #0,0,3: 76:[78, 13] Operation: 24-11=13 Moving to Node #0,0,2 Current State: 76:[78, 35], Operations: ['91-13=78', '11+24=35'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[78, 13], Operations: ['91-13=78', '24-11=13'] Exploring Operation: 78*13=1014, Resulting Numbers: [1014] 1014,76 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,76 unequal: No Solution Exploring Operation: 78+13=91, Resulting Numbers: [91] 91,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[24, 67], Operations: ['91-13=78', '78-11=67'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[24, 89], Operations: ['91-13=78', '11+78=89'] Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,76 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,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:[24, 13, 80], Operations: ['91-11=80'] Exploring Operation: 80-13=67, Resulting Numbers: [24, 67] Generated Node #0,1,0: 76:[24, 67] Operation: 80-13=67 Exploring Operation: 13+80=93, Resulting Numbers: [24, 93] Generated Node #0,1,1: 76:[24, 93] Operation: 13+80=93 Exploring Operation: 24+13=37, Resulting Numbers: [80, 37] Generated Node #0,1,2: 76:[80, 37] Operation: 24+13=37 Exploring Operation: 24-13=11, Resulting Numbers: [80, 11] Generated Node #0,1,3: 76:[80, 11] Operation: 24-13=11 Moving to Node #0,1,2 Current State: 76:[80, 37], Operations: ['91-11=80', '24+13=37'] Exploring Operation: 80+37=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 80*37=2960, Resulting Numbers: [2960] 2960,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[80, 11], Operations: ['91-11=80', '24-13=11'] Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,76 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[24, 67], Operations: ['91-11=80', '80-13=67'] Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[24, 93], Operations: ['91-11=80', '13+80=93'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 24*93=2232, Resulting Numbers: [2232] 2232,76 unequal: No Solution Exploring Operation: 24+93=117, Resulting Numbers: [117] 117,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:[11, 24, 7], Operations: ['91/13=7'] Exploring Operation: 11-7=4, Resulting Numbers: [24, 4] Generated Node #0,2,0: 76:[24, 4] Operation: 11-7=4 Exploring Operation: 11*7=77, Resulting Numbers: [24, 77] Generated Node #0,2,1: 76:[24, 77] Operation: 11*7=77 Exploring Operation: 11+7=18, Resulting Numbers: [24, 18] Generated Node #0,2,2: 76:[24, 18] Operation: 11+7=18 Exploring Operation: 11+24=35, Resulting Numbers: [7, 35] Generated Node #0,2,3: 76:[7, 35] Operation: 11+24=35 Moving to Node #0,2,0 Current State: 76:[24, 4], Operations: ['91/13=7', '11-7=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[24, 18], Operations: ['91/13=7', '11+7=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,76 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[24, 77], Operations: ['91/13=7', '11*7=77'] Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[7, 35], Operations: ['91/13=7', '11+24=35'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 7*35=245, Resulting Numbers: [245] 245,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[24, 91, 2], Operations: ['13-11=2'] Exploring Operation: 91-2=89, Resulting Numbers: [24, 89] Generated Node #0,3,0: 76:[24, 89] Operation: 91-2=89 Exploring Operation: 24+2=26, Resulting Numbers: [91, 26] Generated Node #0,3,1: 76:[91, 26] Operation: 24+2=26 Exploring Operation: 24-2=22, Resulting Numbers: [91, 22] Generated Node #0,3,2: 76:[91, 22] Operation: 24-2=22 Exploring Operation: 91-24=67, Resulting Numbers: [2, 67] Generated Node #0,3,3: 76:[2, 67] Operation: 91-24=67 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 76:[2, 67], Operations: ['13-11=2', '91-24=67'] Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,76 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,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,3,0 Current State: 76:[24, 89], Operations: ['13-11=2', '91-2=89'] Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,76 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,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,3,2 Current State: 76:[91, 22], Operations: ['13-11=2', '24-2=22'] Exploring Operation: 91*22=2002, Resulting Numbers: [2002] 2002,76 unequal: No Solution Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,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,3,1 Current State: 76:[91, 26], Operations: ['13-11=2', '24+2=26'] Exploring Operation: 91+26=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,76 unequal: No Solution Exploring Operation: 91*26=2366, Resulting Numbers: [2366] 2366,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 4, 6, 8, 60 ]
98
[ "4*8=32", "6+60=66", "32+66=98" ]
Current State: 98:[4, 6, 8, 60], Operations: [] Exploring Operation: 4*8=32, Resulting Numbers: [6, 60, 32] Generated Node #2: [6, 60, 32] from Operation: 4*8=32 Current State: 98:[6, 60, 32], Operations: ['4*8=32'] Exploring Operation: 6+60=66, Resulting Numbers: [32, 66] Generated Node #3: [32, 66] from Operation: 6+60=66 Current State: 98:[32, 66], Operations: ['4*8=32', '6+60=66'] Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[4, 6, 8, 60], Operations: [] Exploring Operation: 60-8=52, Resulting Numbers: [4, 6, 52] Generated Node #0,0: 98:[4, 6, 52] Operation: 60-8=52 Exploring Operation: 60-4=56, Resulting Numbers: [6, 8, 56] Generated Node #0,1: 98:[6, 8, 56] Operation: 60-4=56 Exploring Operation: 60/6=10, Resulting Numbers: [4, 8, 10] Generated Node #0,2: 98:[4, 8, 10] Operation: 60/6=10 Exploring Operation: 60-6=54, Resulting Numbers: [4, 8, 54] Generated Node #0,3: 98:[4, 8, 54] Operation: 60-6=54 Exploring Operation: 60/4=15, Resulting Numbers: [6, 8, 15] Generated Node #0,4: 98:[6, 8, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[6, 8, 15], Operations: ['60/4=15'] Exploring Operation: 15-6=9, Resulting Numbers: [8, 9] Generated Node #0,4,0: 98:[8, 9] Operation: 15-6=9 Exploring Operation: 8-6=2, Resulting Numbers: [15, 2] Generated Node #0,4,1: 98:[15, 2] Operation: 8-6=2 Exploring Operation: 6+8=14, Resulting Numbers: [15, 14] Generated Node #0,4,2: 98:[15, 14] Operation: 6+8=14 Exploring Operation: 15-8=7, Resulting Numbers: [6, 7] Generated Node #0,4,3: 98:[6, 7] Operation: 15-8=7 Exploring Operation: 6*8=48, Resulting Numbers: [15, 48] Generated Node #0,4,4: 98:[15, 48] Operation: 6*8=48 Moving to Node #0,4,1 Current State: 98:[15, 2], Operations: ['60/4=15', '8-6=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[6, 7], Operations: ['60/4=15', '15-8=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[15, 14], Operations: ['60/4=15', '6+8=14'] Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,98 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,98 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[15, 48], Operations: ['60/4=15', '6*8=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,98 unequal: No Solution Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,98 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[8, 9], Operations: ['60/4=15', '15-6=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[4, 6, 52], Operations: ['60-8=52'] Exploring Operation: 52-4=48, Resulting Numbers: [6, 48] Generated Node #0,0,0: 98:[6, 48] Operation: 52-4=48 Exploring Operation: 52-6=46, Resulting Numbers: [4, 46] Generated Node #0,0,1: 98:[4, 46] Operation: 52-6=46 Exploring Operation: 4+6=10, Resulting Numbers: [52, 10] Generated Node #0,0,2: 98:[52, 10] Operation: 4+6=10 Exploring Operation: 52/4=13, Resulting Numbers: [6, 13] Generated Node #0,0,3: 98:[6, 13] Operation: 52/4=13 Exploring Operation: 6-4=2, Resulting Numbers: [52, 2] Generated Node #0,0,4: 98:[52, 2] Operation: 6-4=2 Moving to Node #0,0,0 Current State: 98:[6, 48], Operations: ['60-8=52', '52-4=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,98 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[6, 13], Operations: ['60-8=52', '52/4=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,98 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,98 unequal: No Solution Moving to Node #0,0,4 Current State: 98:[52, 2], Operations: ['60-8=52', '6-4=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,98 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[4, 46], Operations: ['60-8=52', '52-6=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,98 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[52, 10], Operations: ['60-8=52', '4+6=10'] Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,98 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[4, 8, 10], Operations: ['60/6=10'] Exploring Operation: 4+10=14, Resulting Numbers: [8, 14] Generated Node #0,2,0: 98:[8, 14] Operation: 4+10=14 Exploring Operation: 10-4=6, Resulting Numbers: [8, 6] Generated Node #0,2,1: 98:[8, 6] Operation: 10-4=6 Exploring Operation: 4+8=12, Resulting Numbers: [10, 12] Generated Node #0,2,2: 98:[10, 12] Operation: 4+8=12 Exploring Operation: 8/4=2, Resulting Numbers: [10, 2] Generated Node #0,2,3: 98:[10, 2] Operation: 8/4=2 Exploring Operation: 10-8=2, Resulting Numbers: [4, 2] Generated Node #0,2,4: 98:[4, 2] Operation: 10-8=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[8, 14], Operations: ['60/6=10', '4+10=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,98 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,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,2,1 Current State: 98:[8, 6], Operations: ['60/6=10', '10-4=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,98 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,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,2,4 Current State: 98:[4, 2], Operations: ['60/6=10', '10-8=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 4/2=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,2,3 Current State: 98:[10, 2], Operations: ['60/6=10', '8/4=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,98 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,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,2,2 Current State: 98:[10, 12], Operations: ['60/6=10', '4+8=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,98 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,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,3 Current State: 98:[4, 8, 54], Operations: ['60-6=54'] Exploring Operation: 8-4=4, Resulting Numbers: [54, 4] Generated Node #0,3,0: 98:[54, 4] Operation: 8-4=4 Exploring Operation: 4+8=12, Resulting Numbers: [54, 12] Generated Node #0,3,1: 98:[54, 12] Operation: 4+8=12 Exploring Operation: 54-8=46, Resulting Numbers: [4, 46] Generated Node #0,3,2: 98:[4, 46] Operation: 54-8=46 Exploring Operation: 54-4=50, Resulting Numbers: [8, 50] Generated Node #0,3,3: 98:[8, 50] Operation: 54-4=50 Exploring Operation: 8/4=2, Resulting Numbers: [54, 2] Generated Node #0,3,4: 98:[54, 2] Operation: 8/4=2 Moving to Node #0,3,3 Current State: 98:[8, 50], Operations: ['60-6=54', '54-4=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,98 unequal: No Solution Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[54, 2], Operations: ['60-6=54', '8/4=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,98 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[4, 46], Operations: ['60-6=54', '54-8=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[54, 4], Operations: ['60-6=54', '8-4=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,98 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[54, 12], Operations: ['60-6=54', '4+8=12'] Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,98 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[6, 8, 56], Operations: ['60-4=56'] Exploring Operation: 8-6=2, Resulting Numbers: [56, 2] Generated Node #0,1,0: 98:[56, 2] Operation: 8-6=2 Exploring Operation: 56/8=7, Resulting Numbers: [6, 7] Generated Node #0,1,1: 98:[6, 7] Operation: 56/8=7 Exploring Operation: 56-6=50, Resulting Numbers: [8, 50] Generated Node #0,1,2: 98:[8, 50] Operation: 56-6=50 Exploring Operation: 56-8=48, Resulting Numbers: [6, 48] Generated Node #0,1,3: 98:[6, 48] Operation: 56-8=48 Exploring Operation: 6+8=14, Resulting Numbers: [56, 14] Generated Node #0,1,4: 98:[56, 14] Operation: 6+8=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[6, 7], Operations: ['60-4=56', '56/8=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,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,1,2 Current State: 98:[8, 50], Operations: ['60-4=56', '56-6=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,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,1,3 Current State: 98:[6, 48], Operations: ['60-4=56', '56-8=48'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,98 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,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,1,0 Current State: 98:[56, 2], Operations: ['60-4=56', '8-6=2'] Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,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,1,4 Current State: 98:[56, 14], Operations: ['60-4=56', '6+8=14'] Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,98 unequal: No Solution Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,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 No solution found.
0
hs_5
sum_heuristic
[ 11, 26, 58, 30 ]
34
[ "58+30=88", "88/11=8", "26+8=34" ]
Current State: 34:[11, 26, 58, 30], Operations: [] Exploring Operation: 58+30=88, Resulting Numbers: [11, 26, 88] Generated Node #2: [11, 26, 88] from Operation: 58+30=88 Current State: 34:[11, 26, 88], Operations: ['58+30=88'] Exploring Operation: 88/11=8, Resulting Numbers: [26, 8] Generated Node #3: [26, 8] from Operation: 88/11=8 Current State: 34:[26, 8], Operations: ['58+30=88', '88/11=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[11, 26, 58, 30], Operations: [] Exploring Operation: 58-30=28, Resulting Numbers: [11, 26, 28] Generated Node #0,0: 34:[11, 26, 28] Operation: 58-30=28 Exploring Operation: 58-11=47, Resulting Numbers: [26, 30, 47] Generated Node #0,1: 34:[26, 30, 47] Operation: 58-11=47 Exploring Operation: 26-11=15, Resulting Numbers: [58, 30, 15] Generated Node #0,2: 34:[58, 30, 15] Operation: 26-11=15 Exploring Operation: 58-26=32, Resulting Numbers: [11, 30, 32] Generated Node #0,3: 34:[11, 30, 32] Operation: 58-26=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[11, 30, 32], Operations: ['58-26=32'] Exploring Operation: 30-11=19, Resulting Numbers: [32, 19] Generated Node #0,3,0: 34:[32, 19] Operation: 30-11=19 Exploring Operation: 32-11=21, Resulting Numbers: [30, 21] Generated Node #0,3,1: 34:[30, 21] Operation: 32-11=21 Exploring Operation: 32-30=2, Resulting Numbers: [11, 2] Generated Node #0,3,2: 34:[11, 2] Operation: 32-30=2 Exploring Operation: 11+30=41, Resulting Numbers: [32, 41] Generated Node #0,3,3: 34:[32, 41] Operation: 11+30=41 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 34:[32, 19], Operations: ['58-26=32', '30-11=19'] Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,34 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,34 unequal: No Solution No 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: 34:[11, 2], Operations: ['58-26=32', '32-30=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,34 unequal: No Solution No 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: 34:[30, 21], Operations: ['58-26=32', '32-11=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,34 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,34 unequal: No Solution No 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: 34:[32, 41], Operations: ['58-26=32', '11+30=41'] Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,34 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,34 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: 34:[11, 26, 28], Operations: ['58-30=28'] Exploring Operation: 28-11=17, Resulting Numbers: [26, 17] Generated Node #0,0,0: 34:[26, 17] Operation: 28-11=17 Exploring Operation: 26-11=15, Resulting Numbers: [28, 15] Generated Node #0,0,1: 34:[28, 15] Operation: 26-11=15 Exploring Operation: 28-26=2, Resulting Numbers: [11, 2] Generated Node #0,0,2: 34:[11, 2] Operation: 28-26=2 Exploring Operation: 11+26=37, Resulting Numbers: [28, 37] Generated Node #0,0,3: 34:[28, 37] Operation: 11+26=37 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[11, 2], Operations: ['58-30=28', '28-26=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,34 unequal: No Solution No 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: 34:[26, 17], Operations: ['58-30=28', '28-11=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,34 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,34 unequal: No Solution No 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: 34:[28, 15], Operations: ['58-30=28', '26-11=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,34 unequal: No Solution No 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: 34:[28, 37], Operations: ['58-30=28', '11+26=37'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,34 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,34 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: 34:[26, 30, 47], Operations: ['58-11=47'] Exploring Operation: 26+30=56, Resulting Numbers: [47, 56] Generated Node #0,1,0: 34:[47, 56] Operation: 26+30=56 Exploring Operation: 30-26=4, Resulting Numbers: [47, 4] Generated Node #0,1,1: 34:[47, 4] Operation: 30-26=4 Exploring Operation: 47-30=17, Resulting Numbers: [26, 17] Generated Node #0,1,2: 34:[26, 17] Operation: 47-30=17 Exploring Operation: 47-26=21, Resulting Numbers: [30, 21] Generated Node #0,1,3: 34:[30, 21] Operation: 47-26=21 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[26, 17], Operations: ['58-11=47', '47-30=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,34 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,34 unequal: No Solution No 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: 34:[30, 21], Operations: ['58-11=47', '47-26=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,34 unequal: No Solution No 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: 34:[47, 4], Operations: ['58-11=47', '30-26=4'] Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,34 unequal: No Solution No 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: 34:[47, 56], Operations: ['58-11=47', '26+30=56'] Exploring Operation: 47*56=2632, Resulting Numbers: [2632] 2632,34 unequal: No Solution Exploring Operation: 47+56=103, Resulting Numbers: [103] 103,34 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,34 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: 34:[58, 30, 15], Operations: ['26-11=15'] Exploring Operation: 58-15=43, Resulting Numbers: [30, 43] Generated Node #0,2,0: 34:[30, 43] Operation: 58-15=43 Exploring Operation: 30/15=2, Resulting Numbers: [58, 2] Generated Node #0,2,1: 34:[58, 2] Operation: 30/15=2 Exploring Operation: 30-15=15, Resulting Numbers: [58, 15] Generated Node #0,2,2: 34:[58, 15] Operation: 30-15=15 Exploring Operation: 58-30=28, Resulting Numbers: [15, 28] Generated Node #0,2,3: 34:[15, 28] Operation: 58-30=28 Moving to Node #0,2,3 Current State: 34:[15, 28], Operations: ['26-11=15', '58-30=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,34 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[30, 43], Operations: ['26-11=15', '58-15=43'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,34 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[58, 2], Operations: ['26-11=15', '30/15=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,34 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[58, 15], Operations: ['26-11=15', '30-15=15'] Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,34 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,34 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
[ 44, 33, 58, 35 ]
12
[ "44-33=11", "58-35=23", "23-11=12" ]
Current State: 12:[44, 33, 58, 35], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [58, 35, 11] Generated Node #2: [58, 35, 11] from Operation: 44-33=11 Current State: 12:[58, 35, 11], Operations: ['44-33=11'] Exploring Operation: 58-35=23, Resulting Numbers: [11, 23] Generated Node #3: [11, 23] from Operation: 58-35=23 Current State: 12:[11, 23], Operations: ['44-33=11', '58-35=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[44, 33, 58, 35], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [44, 33, 23] Generated Node #0,0: 12:[44, 33, 23] Operation: 58-35=23 Exploring Operation: 58-44=14, Resulting Numbers: [33, 35, 14] Generated Node #0,1: 12:[33, 35, 14] Operation: 58-44=14 Exploring Operation: 58-33=25, Resulting Numbers: [44, 35, 25] Generated Node #0,2: 12:[44, 35, 25] Operation: 58-33=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[33, 35, 14], Operations: ['58-44=14'] Exploring Operation: 35-33=2, Resulting Numbers: [14, 2] Generated Node #0,1,0: 12:[14, 2] Operation: 35-33=2 Exploring Operation: 33-14=19, Resulting Numbers: [35, 19] Generated Node #0,1,1: 12:[35, 19] Operation: 33-14=19 Exploring Operation: 35-14=21, Resulting Numbers: [33, 21] Generated Node #0,1,2: 12:[33, 21] Operation: 35-14=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[14, 2], Operations: ['58-44=14', '35-33=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[44, 33, 58, 35], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [33, 35, 14] Generated Node #0,1: 12:[33, 35, 14] Operation: 58-44=14 Moving to Node #0,1 Current State: 12:[33, 35, 14], Operations: ['58-44=14'] Exploring Operation: 35-33=2, Resulting Numbers: [14, 2] Generated Node #0,1,0: 12:[14, 2] Operation: 35-33=2 Moving to Node #0,1,0 Current State: 12:[14, 2], Operations: ['58-44=14', '35-33=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 33, 10, 38, 43 ]
28
[ "33-10=23", "43-38=5", "23+5=28" ]
Current State: 28:[33, 10, 38, 43], Operations: [] Exploring Operation: 33-10=23, Resulting Numbers: [38, 43, 23] Generated Node #2: [38, 43, 23] from Operation: 33-10=23 Current State: 28:[38, 43, 23], Operations: ['33-10=23'] Exploring Operation: 43-38=5, Resulting Numbers: [23, 5] Generated Node #3: [23, 5] from Operation: 43-38=5 Current State: 28:[23, 5], Operations: ['33-10=23', '43-38=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[33, 10, 38, 43], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [10, 38, 10] Generated Node #0,0: 28:[10, 38, 10] Operation: 43-33=10 Exploring Operation: 38-33=5, Resulting Numbers: [10, 43, 5] Generated Node #0,1: 28:[10, 43, 5] Operation: 38-33=5 Exploring Operation: 43-38=5, Resulting Numbers: [33, 10, 5] Generated Node #0,2: 28:[33, 10, 5] Operation: 43-38=5 Moving to Node #0,2 Current State: 28:[33, 10, 5], Operations: ['43-38=5'] Exploring Operation: 33-5=28, Resulting Numbers: [10, 28] Generated Node #0,2,0: 28:[10, 28] Operation: 33-5=28 Exploring Operation: 33-10=23, Resulting Numbers: [5, 23] Generated Node #0,2,1: 28:[5, 23] Operation: 33-10=23 Exploring Operation: 10/5=2, Resulting Numbers: [33, 2] Generated Node #0,2,2: 28:[33, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[10, 28], Operations: ['43-38=5', '33-5=28'] Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,28 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[33, 2], Operations: ['43-38=5', '10/5=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[5, 23], Operations: ['43-38=5', '33-10=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[33, 10, 38, 43], Operations: [] Exploring Operation: 43-38=5, Resulting Numbers: [33, 10, 5] Generated Node #0,2: 28:[33, 10, 5] Operation: 43-38=5 Moving to Node #0,2 Current State: 28:[33, 10, 5], Operations: ['43-38=5'] Exploring Operation: 33-10=23, Resulting Numbers: [5, 23] Generated Node #0,2,1: 28:[5, 23] Operation: 33-10=23 Moving to Node #0,2,1 Current State: 28:[5, 23], Operations: ['43-38=5', '33-10=23'] Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 27, 57, 57, 88 ]
60
[ "88-27=61", "57/57=1", "61-1=60" ]
Current State: 60:[27, 57, 57, 88], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [57, 57, 61] Generated Node #2: [57, 57, 61] from Operation: 88-27=61 Current State: 60:[57, 57, 61], Operations: ['88-27=61'] Exploring Operation: 57/57=1, Resulting Numbers: [61, 1] Generated Node #3: [61, 1] from Operation: 57/57=1 Current State: 60:[61, 1], Operations: ['88-27=61', '57/57=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[27, 57, 57, 88], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [27, 57, 31] Generated Node #0,0: 60:[27, 57, 31] Operation: 88-57=31 Exploring Operation: 88-57=31, Resulting Numbers: [27, 57, 31] Generated Node #0,1: 60:[27, 57, 31] Operation: 88-57=31 Exploring Operation: 57-27=30, Resulting Numbers: [57, 88, 30] Generated Node #0,2: 60:[57, 88, 30] Operation: 57-27=30 Exploring Operation: 88-27=61, Resulting Numbers: [57, 57, 61] Generated Node #0,3: 60:[57, 57, 61] Operation: 88-27=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[27, 57, 31], Operations: ['88-57=31'] Exploring Operation: 31-27=4, Resulting Numbers: [57, 4] Generated Node #0,0,0: 60:[57, 4] Operation: 31-27=4 Exploring Operation: 57-27=30, Resulting Numbers: [31, 30] Generated Node #0,0,1: 60:[31, 30] Operation: 57-27=30 Exploring Operation: 57-31=26, Resulting Numbers: [27, 26] Generated Node #0,0,2: 60:[27, 26] Operation: 57-31=26 Exploring Operation: 27+31=58, Resulting Numbers: [57, 58] Generated Node #0,0,3: 60:[57, 58] Operation: 27+31=58 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[31, 30], Operations: ['88-57=31', '57-27=30'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,60 unequal: No Solution Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[57, 4], Operations: ['88-57=31', '31-27=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,60 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[57, 58], Operations: ['88-57=31', '27+31=58'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 57*58=3306, Resulting Numbers: [3306] 3306,60 unequal: No Solution Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[27, 26], Operations: ['88-57=31', '57-31=26'] Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,60 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[27, 57, 31], Operations: ['88-57=31'] Exploring Operation: 31-27=4, Resulting Numbers: [57, 4] Generated Node #0,1,0: 60:[57, 4] Operation: 31-27=4 Exploring Operation: 57-31=26, Resulting Numbers: [27, 26] Generated Node #0,1,1: 60:[27, 26] Operation: 57-31=26 Exploring Operation: 57-27=30, Resulting Numbers: [31, 30] Generated Node #0,1,2: 60:[31, 30] Operation: 57-27=30 Exploring Operation: 27+31=58, Resulting Numbers: [57, 58] Generated Node #0,1,3: 60:[57, 58] Operation: 27+31=58 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[31, 30], Operations: ['88-57=31', '57-27=30'] Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,60 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[57, 4], Operations: ['88-57=31', '31-27=4'] Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,60 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 60:[57, 58], Operations: ['88-57=31', '27+31=58'] Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,60 unequal: No Solution Exploring Operation: 57*58=3306, Resulting Numbers: [3306] 3306,60 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[27, 26], Operations: ['88-57=31', '57-31=26'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[57, 57, 61], Operations: ['88-27=61'] Exploring Operation: 57-57=0, Resulting Numbers: [61, 0] Generated Node #0,3,0: 60:[61, 0] Operation: 57-57=0 Exploring Operation: 61-57=4, Resulting Numbers: [57, 4] Generated Node #0,3,1: 60:[57, 4] Operation: 61-57=4 Exploring Operation: 57/57=1, Resulting Numbers: [61, 1] Generated Node #0,3,2: 60:[61, 1] Operation: 57/57=1 Exploring Operation: 61-57=4, Resulting Numbers: [57, 4] Generated Node #0,3,3: 60:[57, 4] Operation: 61-57=4 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 60:[61, 1], Operations: ['88-27=61', '57/57=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[27, 57, 57, 88], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [57, 57, 61] Generated Node #0,3: 60:[57, 57, 61] Operation: 88-27=61 Moving to Node #0,3 Current State: 60:[57, 57, 61], Operations: ['88-27=61'] Exploring Operation: 57/57=1, Resulting Numbers: [61, 1] Generated Node #0,3,2: 60:[61, 1] Operation: 57/57=1 Moving to Node #0,3,2 Current State: 60:[61, 1], Operations: ['88-27=61', '57/57=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_4
mult_heuristic
[ 67, 71, 22, 86 ]
60
[ "71-67=4", "86-22=64", "64-4=60" ]
Current State: 60:[67, 71, 22, 86], Operations: [] Exploring Operation: 71-67=4, Resulting Numbers: [22, 86, 4] Generated Node #2: [22, 86, 4] from Operation: 71-67=4 Current State: 60:[22, 86, 4], Operations: ['71-67=4'] Exploring Operation: 86-22=64, Resulting Numbers: [4, 64] Generated Node #3: [4, 64] from Operation: 86-22=64 Current State: 60:[4, 64], Operations: ['71-67=4', '86-22=64'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[67, 71, 22, 86], Operations: [] Exploring Operation: 86-71=15, Resulting Numbers: [67, 22, 15] Generated Node #0,0: 60:[67, 22, 15] Operation: 86-71=15 Exploring Operation: 86-67=19, Resulting Numbers: [71, 22, 19] Generated Node #0,1: 60:[71, 22, 19] Operation: 86-67=19 Exploring Operation: 86-22=64, Resulting Numbers: [67, 71, 64] Generated Node #0,2: 60:[67, 71, 64] Operation: 86-22=64 Moving to Node #0,0 Current State: 60:[67, 22, 15], Operations: ['86-71=15'] Exploring Operation: 22+15=37, Resulting Numbers: [67, 37] Generated Node #0,0,0: 60:[67, 37] Operation: 22+15=37 Exploring Operation: 67-15=52, Resulting Numbers: [22, 52] Generated Node #0,0,1: 60:[22, 52] Operation: 67-15=52 Exploring Operation: 22-15=7, Resulting Numbers: [67, 7] Generated Node #0,0,2: 60:[67, 7] Operation: 22-15=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[67, 7], Operations: ['86-71=15', '22-15=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[67, 71, 22, 86], Operations: [] Exploring Operation: 86-71=15, Resulting Numbers: [67, 22, 15] Generated Node #0,0: 60:[67, 22, 15] Operation: 86-71=15 Moving to Node #0,0 Current State: 60:[67, 22, 15], Operations: ['86-71=15'] Exploring Operation: 22-15=7, Resulting Numbers: [67, 7] Generated Node #0,0,2: 60:[67, 7] Operation: 22-15=7 Moving to Node #0,0,2 Current State: 60:[67, 7], Operations: ['86-71=15', '22-15=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 10, 87, 95, 30 ]
60
[ "10+87=97", "97-95=2", "30*2=60" ]
Current State: 60:[10, 87, 95, 30], Operations: [] Exploring Operation: 10+87=97, Resulting Numbers: [95, 30, 97] Generated Node #2: [95, 30, 97] from Operation: 10+87=97 Current State: 60:[95, 30, 97], Operations: ['10+87=97'] Exploring Operation: 97-95=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 97-95=2 Current State: 60:[30, 2], Operations: ['10+87=97', '97-95=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[10, 87, 95, 30], Operations: [] Exploring Operation: 87-30=57, Resulting Numbers: [10, 95, 57] Generated Node #0,0: 60:[10, 95, 57] Operation: 87-30=57 Exploring Operation: 95-87=8, Resulting Numbers: [10, 30, 8] Generated Node #0,1: 60:[10, 30, 8] Operation: 95-87=8 Exploring Operation: 95-30=65, Resulting Numbers: [10, 87, 65] Generated Node #0,2: 60:[10, 87, 65] Operation: 95-30=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[10, 30, 8], Operations: ['95-87=8'] Exploring Operation: 30/10=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 60:[8, 3] Operation: 30/10=3 Exploring Operation: 10-8=2, Resulting Numbers: [30, 2] Generated Node #0,1,1: 60:[30, 2] Operation: 10-8=2 Exploring Operation: 30-10=20, Resulting Numbers: [8, 20] Generated Node #0,1,2: 60:[8, 20] Operation: 30-10=20 Moving to Node #0,1,1 Current State: 60:[30, 2], Operations: ['95-87=8', '10-8=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[10, 87, 95, 30], Operations: [] Exploring Operation: 95-87=8, Resulting Numbers: [10, 30, 8] Generated Node #0,1: 60:[10, 30, 8] Operation: 95-87=8 Moving to Node #0,1 Current State: 60:[10, 30, 8], Operations: ['95-87=8'] Exploring Operation: 10-8=2, Resulting Numbers: [30, 2] Generated Node #0,1,1: 60:[30, 2] Operation: 10-8=2 Moving to Node #0,1,1 Current State: 60:[30, 2], Operations: ['95-87=8', '10-8=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 64, 56, 62, 21 ]
37
[ "64+56=120", "62+21=83", "120-83=37" ]
Current State: 37:[64, 56, 62, 21], Operations: [] Exploring Operation: 64+56=120, Resulting Numbers: [62, 21, 120] Generated Node #2: [62, 21, 120] from Operation: 64+56=120 Current State: 37:[62, 21, 120], Operations: ['64+56=120'] Exploring Operation: 62+21=83, Resulting Numbers: [120, 83] Generated Node #3: [120, 83] from Operation: 62+21=83 Current State: 37:[120, 83], Operations: ['64+56=120', '62+21=83'] Exploring Operation: 120-83=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[64, 56, 62, 21], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [56, 62, 43] Generated Node #0,0: 37:[56, 62, 43] Operation: 64-21=43 Moving to Node #0,0 Current State: 37:[56, 62, 43], Operations: ['64-21=43'] Exploring Operation: 62-56=6, Resulting Numbers: [43, 6] Generated Node #0,0,0: 37:[43, 6] Operation: 62-56=6 Moving to Node #0,0,0 Current State: 37:[43, 6], Operations: ['64-21=43', '62-56=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[64, 56, 62, 21], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [56, 62, 43] Generated Node #0,0: 37:[56, 62, 43] Operation: 64-21=43 Moving to Node #0,0 Current State: 37:[56, 62, 43], Operations: ['64-21=43'] Exploring Operation: 62-56=6, Resulting Numbers: [43, 6] Generated Node #0,0,0: 37:[43, 6] Operation: 62-56=6 Moving to Node #0,0,0 Current State: 37:[43, 6], Operations: ['64-21=43', '62-56=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 87, 24, 75, 32 ]
20
[ "87-24=63", "75-32=43", "63-43=20" ]
Current State: 20:[87, 24, 75, 32], Operations: [] Exploring Operation: 87-24=63, Resulting Numbers: [75, 32, 63] Generated Node #2: [75, 32, 63] from Operation: 87-24=63 Current State: 20:[75, 32, 63], Operations: ['87-24=63'] Exploring Operation: 75-32=43, Resulting Numbers: [63, 43] Generated Node #3: [63, 43] from Operation: 75-32=43 Current State: 20:[63, 43], Operations: ['87-24=63', '75-32=43'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[87, 24, 75, 32], Operations: [] Exploring Operation: 75-24=51, Resulting Numbers: [87, 32, 51] Generated Node #0,0: 20:[87, 32, 51] Operation: 75-24=51 Exploring Operation: 75-32=43, Resulting Numbers: [87, 24, 43] Generated Node #0,1: 20:[87, 24, 43] Operation: 75-32=43 Exploring Operation: 87-24=63, Resulting Numbers: [75, 32, 63] Generated Node #0,2: 20:[75, 32, 63] Operation: 87-24=63 Exploring Operation: 87-75=12, Resulting Numbers: [24, 32, 12] Generated Node #0,3: 20:[24, 32, 12] Operation: 87-75=12 Exploring Operation: 87-32=55, Resulting Numbers: [24, 75, 55] Generated Node #0,4: 20:[24, 75, 55] Operation: 87-32=55 Moving to Node #0,3 Current State: 20:[24, 32, 12], Operations: ['87-75=12'] Exploring Operation: 24/12=2, Resulting Numbers: [32, 2] Generated Node #0,3,0: 20:[32, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [32, 36] Generated Node #0,3,1: 20:[32, 36] Operation: 24+12=36 Exploring Operation: 24-12=12, Resulting Numbers: [32, 12] Generated Node #0,3,2: 20:[32, 12] Operation: 24-12=12 Exploring Operation: 32-24=8, Resulting Numbers: [12, 8] Generated Node #0,3,3: 20:[12, 8] Operation: 32-24=8 Exploring Operation: 32-12=20, Resulting Numbers: [24, 20] Generated Node #0,3,4: 20:[24, 20] Operation: 32-12=20 Moving to Node #0,4 Current State: 20:[24, 75, 55], Operations: ['87-32=55'] Exploring Operation: 75-24=51, Resulting Numbers: [55, 51] Generated Node #0,4,0: 20:[55, 51] Operation: 75-24=51 Exploring Operation: 75-55=20, Resulting Numbers: [24, 20] Generated Node #0,4,1: 20:[24, 20] Operation: 75-55=20 Exploring Operation: 24+55=79, Resulting Numbers: [75, 79] Generated Node #0,4,2: 20:[75, 79] Operation: 24+55=79 Exploring Operation: 55-24=31, Resulting Numbers: [75, 31] Generated Node #0,4,3: 20:[75, 31] Operation: 55-24=31 Exploring Operation: 24+75=99, Resulting Numbers: [55, 99] Generated Node #0,4,4: 20:[55, 99] Operation: 24+75=99 Moving to Node #0,1 Current State: 20:[87, 24, 43], Operations: ['75-32=43'] Exploring Operation: 87-24=63, Resulting Numbers: [43, 63] Generated Node #0,1,0: 20:[43, 63] Operation: 87-24=63 Exploring Operation: 87+43=130, Resulting Numbers: [24, 130] Generated Node #0,1,1: 20:[24, 130] Operation: 87+43=130 Exploring Operation: 87+24=111, Resulting Numbers: [43, 111] Generated Node #0,1,2: 20:[43, 111] Operation: 87+24=111 Exploring Operation: 87-43=44, Resulting Numbers: [24, 44] Generated Node #0,1,3: 20:[24, 44] Operation: 87-43=44 Exploring Operation: 43-24=19, Resulting Numbers: [87, 19] Generated Node #0,1,4: 20:[87, 19] Operation: 43-24=19 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[24, 44], Operations: ['75-32=43', '87-43=44'] Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,20 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[87, 24, 75, 32], Operations: [] Exploring Operation: 75-32=43, Resulting Numbers: [87, 24, 43] Generated Node #0,1: 20:[87, 24, 43] Operation: 75-32=43 Moving to Node #0,1 Current State: 20:[87, 24, 43], Operations: ['75-32=43'] Exploring Operation: 87-43=44, Resulting Numbers: [24, 44] Generated Node #0,1,3: 20:[24, 44] Operation: 87-43=44 Moving to Node #0,1,3 Current State: 20:[24, 44], Operations: ['75-32=43', '87-43=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 75, 8, 16, 93 ]
20
[ "93-75=18", "16/8=2", "18+2=20" ]
Current State: 20:[75, 8, 16, 93], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [8, 16, 18] Generated Node #2: [8, 16, 18] from Operation: 93-75=18 Current State: 20:[8, 16, 18], Operations: ['93-75=18'] Exploring Operation: 16/8=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 16/8=2 Current State: 20:[18, 2], Operations: ['93-75=18', '16/8=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[75, 8, 16, 93], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [75, 16, 85] Generated Node #0,0: 20:[75, 16, 85] Operation: 93-8=85 Exploring Operation: 75-8=67, Resulting Numbers: [16, 93, 67] Generated Node #0,1: 20:[16, 93, 67] Operation: 75-8=67 Exploring Operation: 93-16=77, Resulting Numbers: [75, 8, 77] Generated Node #0,2: 20:[75, 8, 77] Operation: 93-16=77 Exploring Operation: 75-16=59, Resulting Numbers: [8, 93, 59] Generated Node #0,3: 20:[8, 93, 59] Operation: 75-16=59 Exploring Operation: 93-75=18, Resulting Numbers: [8, 16, 18] Generated Node #0,4: 20:[8, 16, 18] Operation: 93-75=18 Moving to Node #0,4 Current State: 20:[8, 16, 18], Operations: ['93-75=18'] Exploring Operation: 18-16=2, Resulting Numbers: [8, 2] Generated Node #0,4,0: 20:[8, 2] Operation: 18-16=2 Exploring Operation: 16/8=2, Resulting Numbers: [18, 2] Generated Node #0,4,1: 20:[18, 2] Operation: 16/8=2 Exploring Operation: 8+16=24, Resulting Numbers: [18, 24] Generated Node #0,4,2: 20:[18, 24] Operation: 8+16=24 Exploring Operation: 18-8=10, Resulting Numbers: [16, 10] Generated Node #0,4,3: 20:[16, 10] Operation: 18-8=10 Exploring Operation: 16-8=8, Resulting Numbers: [18, 8] Generated Node #0,4,4: 20:[18, 8] Operation: 16-8=8 Moving to Node #0,3 Current State: 20:[8, 93, 59], Operations: ['75-16=59'] Exploring Operation: 93-8=85, Resulting Numbers: [59, 85] Generated Node #0,3,0: 20:[59, 85] Operation: 93-8=85 Exploring Operation: 8+59=67, Resulting Numbers: [93, 67] Generated Node #0,3,1: 20:[93, 67] Operation: 8+59=67 Exploring Operation: 59-8=51, Resulting Numbers: [93, 51] Generated Node #0,3,2: 20:[93, 51] Operation: 59-8=51 Exploring Operation: 8+93=101, Resulting Numbers: [59, 101] Generated Node #0,3,3: 20:[59, 101] Operation: 8+93=101 Exploring Operation: 93-59=34, Resulting Numbers: [8, 34] Generated Node #0,3,4: 20:[8, 34] Operation: 93-59=34 Moving to Node #0,2 Current State: 20:[75, 8, 77], Operations: ['93-16=77'] Exploring Operation: 75+8=83, Resulting Numbers: [77, 83] Generated Node #0,2,0: 20:[77, 83] Operation: 75+8=83 Exploring Operation: 8+77=85, Resulting Numbers: [75, 85] Generated Node #0,2,1: 20:[75, 85] Operation: 8+77=85 Exploring Operation: 77-8=69, Resulting Numbers: [75, 69] Generated Node #0,2,2: 20:[75, 69] Operation: 77-8=69 Exploring Operation: 75-8=67, Resulting Numbers: [77, 67] Generated Node #0,2,3: 20:[77, 67] Operation: 75-8=67 Exploring Operation: 77-75=2, Resulting Numbers: [8, 2] Generated Node #0,2,4: 20:[8, 2] Operation: 77-75=2 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 20:[8, 2], Operations: ['93-16=77', '77-75=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,20 unequal: No Solution No 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: 20:[75, 69], Operations: ['93-16=77', '77-8=69'] Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,20 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,20 unequal: No Solution No 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: 20:[77, 67], Operations: ['93-16=77', '75-8=67'] Exploring Operation: 77+67=144, Resulting Numbers: [144] 144,20 unequal: No Solution Exploring Operation: 77*67=5159, Resulting Numbers: [5159] 5159,20 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,20 unequal: No Solution No 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: 20:[77, 83], Operations: ['93-16=77', '75+8=83'] Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,20 unequal: No Solution Exploring Operation: 77*83=6391, Resulting Numbers: [6391] 6391,20 unequal: No Solution No 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: 20:[75, 85], Operations: ['93-16=77', '8+77=85'] Exploring Operation: 75*85=6375, Resulting Numbers: [6375] 6375,20 unequal: No Solution Exploring Operation: 75+85=160, Resulting Numbers: [160] 160,20 unequal: No Solution Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,20 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: 20:[75, 16, 85], Operations: ['93-8=85'] Exploring Operation: 75+16=91, Resulting Numbers: [85, 91] Generated Node #0,0,0: 20:[85, 91] Operation: 75+16=91 Exploring Operation: 85-75=10, Resulting Numbers: [16, 10] Generated Node #0,0,1: 20:[16, 10] Operation: 85-75=10 Exploring Operation: 75-16=59, Resulting Numbers: [85, 59] Generated Node #0,0,2: 20:[85, 59] Operation: 75-16=59 Exploring Operation: 16+85=101, Resulting Numbers: [75, 101] Generated Node #0,0,3: 20:[75, 101] Operation: 16+85=101 Exploring Operation: 85-16=69, Resulting Numbers: [75, 69] Generated Node #0,0,4: 20:[75, 69] Operation: 85-16=69 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[16, 10], Operations: ['93-8=85', '85-75=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,20 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,20 unequal: No Solution No 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: 20:[85, 59], Operations: ['93-8=85', '75-16=59'] Exploring Operation: 85+59=144, Resulting Numbers: [144] 144,20 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 85*59=5015, Resulting Numbers: [5015] 5015,20 unequal: No Solution No 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: 20:[75, 69], Operations: ['93-8=85', '85-16=69'] Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,20 unequal: No Solution Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,20 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,20 unequal: No Solution No 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: 20:[85, 91], Operations: ['93-8=85', '75+16=91'] Exploring Operation: 85+91=176, Resulting Numbers: [176] 176,20 unequal: No Solution Exploring Operation: 91-85=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 85*91=7735, Resulting Numbers: [7735] 7735,20 unequal: No Solution No 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: 20:[75, 101], Operations: ['93-8=85', '16+85=101'] Exploring Operation: 75*101=7575, Resulting Numbers: [7575] 7575,20 unequal: No Solution Exploring Operation: 75+101=176, Resulting Numbers: [176] 176,20 unequal: No Solution Exploring Operation: 101-75=26, Resulting Numbers: [26] 26,20 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: 20:[16, 93, 67], Operations: ['75-8=67'] Exploring Operation: 16+93=109, Resulting Numbers: [67, 109] Generated Node #0,1,0: 20:[67, 109] Operation: 16+93=109 Exploring Operation: 93-16=77, Resulting Numbers: [67, 77] Generated Node #0,1,1: 20:[67, 77] Operation: 93-16=77 Exploring Operation: 93-67=26, Resulting Numbers: [16, 26] Generated Node #0,1,2: 20:[16, 26] Operation: 93-67=26 Exploring Operation: 16+67=83, Resulting Numbers: [93, 83] Generated Node #0,1,3: 20:[93, 83] Operation: 16+67=83 Exploring Operation: 67-16=51, Resulting Numbers: [93, 51] Generated Node #0,1,4: 20:[93, 51] Operation: 67-16=51 Moving to Node #0,4,0 Current State: 20:[8, 2], Operations: ['93-75=18', '18-16=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[18, 2], Operations: ['93-75=18', '16/8=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[75, 8, 16, 93], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [8, 16, 18] Generated Node #0,4: 20:[8, 16, 18] Operation: 93-75=18 Moving to Node #0,4 Current State: 20:[8, 16, 18], Operations: ['93-75=18'] Exploring Operation: 16/8=2, Resulting Numbers: [18, 2] Generated Node #0,4,1: 20:[18, 2] Operation: 16/8=2 Moving to Node #0,4,1 Current State: 20:[18, 2], Operations: ['93-75=18', '16/8=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.936632
hs_5
sum_heuristic
[ 46, 43, 42, 4 ]
84
[ "46+42=88", "43*4=172", "172-88=84" ]
Current State: 84:[46, 43, 42, 4], Operations: [] Exploring Operation: 46+42=88, Resulting Numbers: [43, 4, 88] Generated Node #2: [43, 4, 88] from Operation: 46+42=88 Current State: 84:[43, 4, 88], Operations: ['46+42=88'] Exploring Operation: 43*4=172, Resulting Numbers: [88, 172] Generated Node #3: [88, 172] from Operation: 43*4=172 Current State: 84:[88, 172], Operations: ['46+42=88', '43*4=172'] Exploring Operation: 172-88=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[46, 43, 42, 4], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [43, 42, 42] Generated Node #0,0: 84:[43, 42, 42] Operation: 46-4=42 Exploring Operation: 46-43=3, Resulting Numbers: [42, 4, 3] Generated Node #0,1: 84:[42, 4, 3] Operation: 46-43=3 Exploring Operation: 46-42=4, Resulting Numbers: [43, 4, 4] Generated Node #0,2: 84:[43, 4, 4] Operation: 46-42=4 Exploring Operation: 46+42=88, Resulting Numbers: [43, 4, 88] Generated Node #0,3: 84:[43, 4, 88] Operation: 46+42=88 Exploring Operation: 46+43=89, Resulting Numbers: [42, 4, 89] Generated Node #0,4: 84:[42, 4, 89] Operation: 46+43=89 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[42, 4, 3], Operations: ['46-43=3'] Exploring Operation: 4*3=12, Resulting Numbers: [42, 12] Generated Node #0,1,0: 84:[42, 12] Operation: 4*3=12 Exploring Operation: 42/3=14, Resulting Numbers: [4, 14] Generated Node #0,1,1: 84:[4, 14] Operation: 42/3=14 Exploring Operation: 4+3=7, Resulting Numbers: [42, 7] Generated Node #0,1,2: 84:[42, 7] Operation: 4+3=7 Exploring Operation: 42+3=45, Resulting Numbers: [4, 45] Generated Node #0,1,3: 84:[4, 45] Operation: 42+3=45 Exploring Operation: 4-3=1, Resulting Numbers: [42, 1] Generated Node #0,1,4: 84:[42, 1] Operation: 4-3=1 Moving to Node #0,1,0 Current State: 84:[42, 12], Operations: ['46-43=3', '4*3=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,84 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[42, 7], Operations: ['46-43=3', '4+3=7'] Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,84 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[4, 14], Operations: ['46-43=3', '42/3=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[42, 1], Operations: ['46-43=3', '4-3=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[4, 45], Operations: ['46-43=3', '42+3=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[43, 42, 42], Operations: ['46-4=42'] Exploring Operation: 43-42=1, Resulting Numbers: [42, 1] Generated Node #0,0,0: 84:[42, 1] Operation: 43-42=1 Exploring Operation: 43-42=1, Resulting Numbers: [42, 1] Generated Node #0,0,1: 84:[42, 1] Operation: 43-42=1 Exploring Operation: 42+42=84, Resulting Numbers: [43, 84] Generated Node #0,0,2: 84:[43, 84] Operation: 42+42=84 Exploring Operation: 43+42=85, Resulting Numbers: [42, 85] Generated Node #0,0,3: 84:[42, 85] Operation: 43+42=85 Exploring Operation: 43+42=85, Resulting Numbers: [42, 85] Generated Node #0,0,4: 84:[42, 85] Operation: 43+42=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[42, 1], Operations: ['46-4=42', '43-42=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[42, 1], Operations: ['46-4=42', '43-42=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[43, 84], Operations: ['46-4=42', '42+42=84'] Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 43+84=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 43*84=3612, Resulting Numbers: [3612] 3612,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[42, 85], Operations: ['46-4=42', '43+42=85'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 84:[42, 85], Operations: ['46-4=42', '43+42=85'] Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[43, 4, 4], Operations: ['46-42=4'] Exploring Operation: 4+4=8, Resulting Numbers: [43, 8] Generated Node #0,2,0: 84:[43, 8] Operation: 4+4=8 Exploring Operation: 43-4=39, Resulting Numbers: [4, 39] Generated Node #0,2,1: 84:[4, 39] Operation: 43-4=39 Exploring Operation: 43-4=39, Resulting Numbers: [4, 39] Generated Node #0,2,2: 84:[4, 39] Operation: 43-4=39 Exploring Operation: 4/4=1, Resulting Numbers: [43, 1] Generated Node #0,2,3: 84:[43, 1] Operation: 4/4=1 Exploring Operation: 4*4=16, Resulting Numbers: [43, 16] Generated Node #0,2,4: 84:[43, 16] Operation: 4*4=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[43, 8], Operations: ['46-42=4', '4+4=8'] Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[43, 1], Operations: ['46-42=4', '4/4=1'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[4, 39], Operations: ['46-42=4', '43-4=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,84 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[4, 39], Operations: ['46-42=4', '43-4=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[43, 16], Operations: ['46-42=4', '4*4=16'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,84 unequal: No Solution Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,84 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[43, 4, 88], Operations: ['46+42=88'] Exploring Operation: 43-4=39, Resulting Numbers: [88, 39] Generated Node #0,3,0: 84:[88, 39] Operation: 43-4=39 Exploring Operation: 88/4=22, Resulting Numbers: [43, 22] Generated Node #0,3,1: 84:[43, 22] Operation: 88/4=22 Exploring Operation: 43+4=47, Resulting Numbers: [88, 47] Generated Node #0,3,2: 84:[88, 47] Operation: 43+4=47 Exploring Operation: 88-43=45, Resulting Numbers: [4, 45] Generated Node #0,3,3: 84:[4, 45] Operation: 88-43=45 Exploring Operation: 88-4=84, Resulting Numbers: [43, 84] Generated Node #0,3,4: 84:[43, 84] Operation: 88-4=84 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 84:[43, 84], Operations: ['46+42=88', '88-4=84'] Exploring Operation: 43*84=3612, Resulting Numbers: [3612] 3612,84 unequal: No Solution Exploring Operation: 43+84=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 84:[43, 22], Operations: ['46+42=88', '88/4=22'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 84:[4, 45], Operations: ['46+42=88', '88-43=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 84:[88, 39], Operations: ['46+42=88', '43-4=39'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 88+39=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 88*39=3432, Resulting Numbers: [3432] 3432,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 84:[88, 47], Operations: ['46+42=88', '43+4=47'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,84 unequal: No Solution Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 84:[42, 4, 89], Operations: ['46+43=89'] Exploring Operation: 89-4=85, Resulting Numbers: [42, 85] Generated Node #0,4,0: 84:[42, 85] Operation: 89-4=85 Exploring Operation: 89-42=47, Resulting Numbers: [4, 47] Generated Node #0,4,1: 84:[4, 47] Operation: 89-42=47 Exploring Operation: 42+4=46, Resulting Numbers: [89, 46] Generated Node #0,4,2: 84:[89, 46] Operation: 42+4=46 Exploring Operation: 42-4=38, Resulting Numbers: [89, 38] Generated Node #0,4,3: 84:[89, 38] Operation: 42-4=38 Exploring Operation: 4+89=93, Resulting Numbers: [42, 93] Generated Node #0,4,4: 84:[42, 93] Operation: 4+89=93 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 84:[42, 85], Operations: ['46+43=89', '89-4=85'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 84:[4, 47], Operations: ['46+43=89', '89-42=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 84:[89, 46], Operations: ['46+43=89', '42+4=46'] Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,84 unequal: No Solution Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 84:[89, 38], Operations: ['46+43=89', '42-4=38'] Exploring Operation: 89*38=3382, Resulting Numbers: [3382] 3382,84 unequal: No Solution Exploring Operation: 89+38=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 84:[42, 93], Operations: ['46+43=89', '4+89=93'] Exploring Operation: 42*93=3906, Resulting Numbers: [3906] 3906,84 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 42+93=135, Resulting Numbers: [135] 135,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 65, 26, 31, 12 ]
82
[ "65-26=39", "31+12=43", "39+43=82" ]
Current State: 82:[65, 26, 31, 12], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [31, 12, 39] Generated Node #2: [31, 12, 39] from Operation: 65-26=39 Current State: 82:[31, 12, 39], Operations: ['65-26=39'] Exploring Operation: 31+12=43, Resulting Numbers: [39, 43] Generated Node #3: [39, 43] from Operation: 31+12=43 Current State: 82:[39, 43], Operations: ['65-26=39', '31+12=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[65, 26, 31, 12], Operations: [] Exploring Operation: 65+12=77, Resulting Numbers: [26, 31, 77] Generated Node #0,0: 82:[26, 31, 77] Operation: 65+12=77 Exploring Operation: 65+26=91, Resulting Numbers: [31, 12, 91] Generated Node #0,1: 82:[31, 12, 91] Operation: 65+26=91 Exploring Operation: 65-26=39, Resulting Numbers: [31, 12, 39] Generated Node #0,2: 82:[31, 12, 39] Operation: 65-26=39 Moving to Node #0,2 Current State: 82:[31, 12, 39], Operations: ['65-26=39'] Exploring Operation: 39-31=8, Resulting Numbers: [12, 8] Generated Node #0,2,0: 82:[12, 8] Operation: 39-31=8 Exploring Operation: 31+12=43, Resulting Numbers: [39, 43] Generated Node #0,2,1: 82:[39, 43] Operation: 31+12=43 Exploring Operation: 31-12=19, Resulting Numbers: [39, 19] Generated Node #0,2,2: 82:[39, 19] Operation: 31-12=19 Moving to Node #0,1 Current State: 82:[31, 12, 91], Operations: ['65+26=91'] Exploring Operation: 31+12=43, Resulting Numbers: [91, 43] Generated Node #0,1,0: 82:[91, 43] Operation: 31+12=43 Exploring Operation: 91-12=79, Resulting Numbers: [31, 79] Generated Node #0,1,1: 82:[31, 79] Operation: 91-12=79 Exploring Operation: 31-12=19, Resulting Numbers: [91, 19] Generated Node #0,1,2: 82:[91, 19] Operation: 31-12=19 Moving to Node #0,0 Current State: 82:[26, 31, 77], Operations: ['65+12=77'] Exploring Operation: 77-31=46, Resulting Numbers: [26, 46] Generated Node #0,0,0: 82:[26, 46] Operation: 77-31=46 Exploring Operation: 31-26=5, Resulting Numbers: [77, 5] Generated Node #0,0,1: 82:[77, 5] Operation: 31-26=5 Exploring Operation: 77-26=51, Resulting Numbers: [31, 51] Generated Node #0,0,2: 82:[31, 51] Operation: 77-26=51 Moving to Node #0,2,1 Current State: 82:[39, 43], Operations: ['65-26=39', '31+12=43'] Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,82 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[65, 26, 31, 12], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [31, 12, 39] Generated Node #0,2: 82:[31, 12, 39] Operation: 65-26=39 Moving to Node #0,2 Current State: 82:[31, 12, 39], Operations: ['65-26=39'] Exploring Operation: 31+12=43, Resulting Numbers: [39, 43] Generated Node #0,2,1: 82:[39, 43] Operation: 31+12=43 Moving to Node #0,2,1 Current State: 82:[39, 43], Operations: ['65-26=39', '31+12=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 21, 99, 36, 97 ]
93
[ "99-97=2", "36*2=72", "21+72=93" ]
Current State: 93:[21, 99, 36, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [21, 36, 2] Generated Node #2: [21, 36, 2] from Operation: 99-97=2 Current State: 93:[21, 36, 2], Operations: ['99-97=2'] Exploring Operation: 36*2=72, Resulting Numbers: [21, 72] Generated Node #3: [21, 72] from Operation: 36*2=72 Current State: 93:[21, 72], Operations: ['99-97=2', '36*2=72'] Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[21, 99, 36, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [21, 36, 2] Generated Node #0,0: 93:[21, 36, 2] Operation: 99-97=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[21, 36, 2], Operations: ['99-97=2'] Exploring Operation: 36-21=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 93:[2, 15] Operation: 36-21=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[2, 15], Operations: ['99-97=2', '36-21=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 93, 3, 57, 29 ]
10
[ "93+3=96", "57+29=86", "96-86=10" ]
Current State: 10:[93, 3, 57, 29], Operations: [] Exploring Operation: 93+3=96, Resulting Numbers: [57, 29, 96] Generated Node #2: [57, 29, 96] from Operation: 93+3=96 Current State: 10:[57, 29, 96], Operations: ['93+3=96'] Exploring Operation: 57+29=86, Resulting Numbers: [96, 86] Generated Node #3: [96, 86] from Operation: 57+29=86 Current State: 10:[96, 86], Operations: ['93+3=96', '57+29=86'] Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[93, 3, 57, 29], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [57, 29, 31] Generated Node #0,0: 10:[57, 29, 31] Operation: 93/3=31 Exploring Operation: 93-57=36, Resulting Numbers: [3, 29, 36] Generated Node #0,1: 10:[3, 29, 36] Operation: 93-57=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[3, 29, 36], Operations: ['93-57=36'] Exploring Operation: 36-29=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 10:[3, 7] Operation: 36-29=7 Exploring Operation: 36/3=12, Resulting Numbers: [29, 12] Generated Node #0,1,1: 10:[29, 12] Operation: 36/3=12 Moving to Node #0,1,0 Current State: 10:[3, 7], Operations: ['93-57=36', '36-29=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[93, 3, 57, 29], Operations: [] Exploring Operation: 93-57=36, Resulting Numbers: [3, 29, 36] Generated Node #0,1: 10:[3, 29, 36] Operation: 93-57=36 Moving to Node #0,1 Current State: 10:[3, 29, 36], Operations: ['93-57=36'] Exploring Operation: 36-29=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 10:[3, 7] Operation: 36-29=7 Moving to Node #0,1,0 Current State: 10:[3, 7], Operations: ['93-57=36', '36-29=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 17, 42, 33, 44 ]
14
[ "42-17=25", "44-33=11", "25-11=14" ]
Current State: 14:[17, 42, 33, 44], Operations: [] Exploring Operation: 42-17=25, Resulting Numbers: [33, 44, 25] Generated Node #2: [33, 44, 25] from Operation: 42-17=25 Current State: 14:[33, 44, 25], Operations: ['42-17=25'] Exploring Operation: 44-33=11, Resulting Numbers: [25, 11] Generated Node #3: [25, 11] from Operation: 44-33=11 Current State: 14:[25, 11], Operations: ['42-17=25', '44-33=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[17, 42, 33, 44], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [17, 33, 2] Generated Node #0,0: 14:[17, 33, 2] Operation: 44-42=2 Exploring Operation: 42-17=25, Resulting Numbers: [33, 44, 25] Generated Node #0,1: 14:[33, 44, 25] Operation: 42-17=25 Exploring Operation: 42-33=9, Resulting Numbers: [17, 44, 9] Generated Node #0,2: 14:[17, 44, 9] Operation: 42-33=9 Exploring Operation: 33-17=16, Resulting Numbers: [42, 44, 16] Generated Node #0,3: 14:[42, 44, 16] Operation: 33-17=16 Exploring Operation: 44-33=11, Resulting Numbers: [17, 42, 11] Generated Node #0,4: 14:[17, 42, 11] Operation: 44-33=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[17, 33, 2], Operations: ['44-42=2'] Exploring Operation: 17+2=19, Resulting Numbers: [33, 19] Generated Node #0,0,0: 14:[33, 19] Operation: 17+2=19 Exploring Operation: 33+2=35, Resulting Numbers: [17, 35] Generated Node #0,0,1: 14:[17, 35] Operation: 33+2=35 Exploring Operation: 33-17=16, Resulting Numbers: [2, 16] Generated Node #0,0,2: 14:[2, 16] Operation: 33-17=16 Exploring Operation: 17-2=15, Resulting Numbers: [33, 15] Generated Node #0,0,3: 14:[33, 15] Operation: 17-2=15 Exploring Operation: 33-2=31, Resulting Numbers: [17, 31] Generated Node #0,0,4: 14:[17, 31] Operation: 33-2=31 Moving to Node #0,0,2 Current State: 14:[2, 16], Operations: ['44-42=2', '33-17=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[17, 42, 33, 44], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [17, 33, 2] Generated Node #0,0: 14:[17, 33, 2] Operation: 44-42=2 Moving to Node #0,0 Current State: 14:[17, 33, 2], Operations: ['44-42=2'] Exploring Operation: 33-17=16, Resulting Numbers: [2, 16] Generated Node #0,0,2: 14:[2, 16] Operation: 33-17=16 Moving to Node #0,0,2 Current State: 14:[2, 16], Operations: ['44-42=2', '33-17=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 81, 41, 7, 12 ]
59
[ "81-41=40", "7+12=19", "40+19=59" ]
Current State: 59:[81, 41, 7, 12], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [7, 12, 40] Generated Node #2: [7, 12, 40] from Operation: 81-41=40 Current State: 59:[7, 12, 40], Operations: ['81-41=40'] Exploring Operation: 7+12=19, Resulting Numbers: [40, 19] Generated Node #3: [40, 19] from Operation: 7+12=19 Current State: 59:[40, 19], Operations: ['81-41=40', '7+12=19'] Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[81, 41, 7, 12], Operations: [] Exploring Operation: 7*12=84, Resulting Numbers: [81, 41, 84] Generated Node #0,0: 59:[81, 41, 84] Operation: 7*12=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[81, 41, 84], Operations: ['7*12=84'] Exploring Operation: 84-41=43, Resulting Numbers: [81, 43] Generated Node #0,0,0: 59:[81, 43] Operation: 84-41=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[81, 43], Operations: ['7*12=84', '84-41=43'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 27, 96, 92, 34 ]
11
[ "96-27=69", "92-34=58", "69-58=11" ]
Current State: 11:[27, 96, 92, 34], Operations: [] Exploring Operation: 96-27=69, Resulting Numbers: [92, 34, 69] Generated Node #2: [92, 34, 69] from Operation: 96-27=69 Current State: 11:[92, 34, 69], Operations: ['96-27=69'] Exploring Operation: 92-34=58, Resulting Numbers: [69, 58] Generated Node #3: [69, 58] from Operation: 92-34=58 Current State: 11:[69, 58], Operations: ['96-27=69', '92-34=58'] Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[27, 96, 92, 34], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [27, 34, 4] Generated Node #0,0: 11:[27, 34, 4] Operation: 96-92=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[27, 34, 4], Operations: ['96-92=4'] Exploring Operation: 34-27=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 11:[4, 7] Operation: 34-27=7 Moving to Node #0,0,0 Current State: 11:[4, 7], Operations: ['96-92=4', '34-27=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[27, 96, 92, 34], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [27, 34, 4] Generated Node #0,0: 11:[27, 34, 4] Operation: 96-92=4 Moving to Node #0,0 Current State: 11:[27, 34, 4], Operations: ['96-92=4'] Exploring Operation: 34-27=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 11:[4, 7] Operation: 34-27=7 Moving to Node #0,0,0 Current State: 11:[4, 7], Operations: ['96-92=4', '34-27=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 38, 47, 67, 81 ]
71
[ "38+47=85", "81-67=14", "85-14=71" ]
Current State: 71:[38, 47, 67, 81], Operations: [] Exploring Operation: 38+47=85, Resulting Numbers: [67, 81, 85] Generated Node #2: [67, 81, 85] from Operation: 38+47=85 Current State: 71:[67, 81, 85], Operations: ['38+47=85'] Exploring Operation: 81-67=14, Resulting Numbers: [85, 14] Generated Node #3: [85, 14] from Operation: 81-67=14 Current State: 71:[85, 14], Operations: ['38+47=85', '81-67=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[38, 47, 67, 81], Operations: [] Exploring Operation: 81-38=43, Resulting Numbers: [47, 67, 43] Generated Node #0,0: 71:[47, 67, 43] Operation: 81-38=43 Exploring Operation: 38+47=85, Resulting Numbers: [67, 81, 85] Generated Node #0,1: 71:[67, 81, 85] Operation: 38+47=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[67, 81, 85], Operations: ['38+47=85'] Exploring Operation: 81-67=14, Resulting Numbers: [85, 14] Generated Node #0,1,0: 71:[85, 14] Operation: 81-67=14 Exploring Operation: 85-67=18, Resulting Numbers: [81, 18] Generated Node #0,1,1: 71:[81, 18] Operation: 85-67=18 Moving to Node #0,1,1 Current State: 71:[81, 18], Operations: ['38+47=85', '85-67=18'] Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 81+18=99, Resulting Numbers: [99] 99,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[85, 14], Operations: ['38+47=85', '81-67=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[38, 47, 67, 81], Operations: [] Exploring Operation: 38+47=85, Resulting Numbers: [67, 81, 85] Generated Node #0,1: 71:[67, 81, 85] Operation: 38+47=85 Moving to Node #0,1 Current State: 71:[67, 81, 85], Operations: ['38+47=85'] Exploring Operation: 81-67=14, Resulting Numbers: [85, 14] Generated Node #0,1,0: 71:[85, 14] Operation: 81-67=14 Moving to Node #0,1,0 Current State: 71:[85, 14], Operations: ['38+47=85', '81-67=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 55, 2, 64, 72 ]
10
[ "64-55=9", "72/9=8", "2+8=10" ]
Current State: 10:[55, 2, 64, 72], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [2, 72, 9] Generated Node #2: [2, 72, 9] from Operation: 64-55=9 Current State: 10:[2, 72, 9], Operations: ['64-55=9'] Exploring Operation: 72/9=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 72/9=8 Current State: 10:[2, 8], Operations: ['64-55=9', '72/9=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[55, 2, 64, 72], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [55, 64, 36] Generated Node #0,0: 10:[55, 64, 36] Operation: 72/2=36 Exploring Operation: 72-64=8, Resulting Numbers: [55, 2, 8] Generated Node #0,1: 10:[55, 2, 8] Operation: 72-64=8 Exploring Operation: 72-55=17, Resulting Numbers: [2, 64, 17] Generated Node #0,2: 10:[2, 64, 17] Operation: 72-55=17 Exploring Operation: 64-55=9, Resulting Numbers: [2, 72, 9] Generated Node #0,3: 10:[2, 72, 9] Operation: 64-55=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[55, 2, 8], Operations: ['72-64=8'] Exploring Operation: 55-2=53, Resulting Numbers: [8, 53] Generated Node #0,1,0: 10:[8, 53] Operation: 55-2=53 Exploring Operation: 8-2=6, Resulting Numbers: [55, 6] Generated Node #0,1,1: 10:[55, 6] Operation: 8-2=6 Exploring Operation: 2+8=10, Resulting Numbers: [55, 10] Generated Node #0,1,2: 10:[55, 10] Operation: 2+8=10 Exploring Operation: 55-8=47, Resulting Numbers: [2, 47] Generated Node #0,1,3: 10:[2, 47] Operation: 55-8=47 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 10:[2, 47], Operations: ['72-64=8', '55-8=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[8, 53], Operations: ['72-64=8', '55-2=53'] Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,10 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[55, 10], Operations: ['72-64=8', '2+8=10'] Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[55, 6], Operations: ['72-64=8', '8-2=6'] Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,10 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[2, 64, 17], Operations: ['72-55=17'] Exploring Operation: 64-17=47, Resulting Numbers: [2, 47] Generated Node #0,2,0: 10:[2, 47] Operation: 64-17=47 Exploring Operation: 64-2=62, Resulting Numbers: [17, 62] Generated Node #0,2,1: 10:[17, 62] Operation: 64-2=62 Exploring Operation: 17-2=15, Resulting Numbers: [64, 15] Generated Node #0,2,2: 10:[64, 15] Operation: 17-2=15 Exploring Operation: 64/2=32, Resulting Numbers: [17, 32] Generated Node #0,2,3: 10:[17, 32] Operation: 64/2=32 Moving to Node #0,2,3 Current State: 10:[17, 32], Operations: ['72-55=17', '64/2=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,10 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[2, 47], Operations: ['72-55=17', '64-17=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,10 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[64, 15], Operations: ['72-55=17', '17-2=15'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[17, 62], Operations: ['72-55=17', '64-2=62'] Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,10 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[2, 72, 9], Operations: ['64-55=9'] Exploring Operation: 72/9=8, Resulting Numbers: [2, 8] Generated Node #0,3,0: 10:[2, 8] Operation: 72/9=8 Exploring Operation: 72-2=70, Resulting Numbers: [9, 70] Generated Node #0,3,1: 10:[9, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [9, 36] Generated Node #0,3,2: 10:[9, 36] Operation: 72/2=36 Exploring Operation: 72-9=63, Resulting Numbers: [2, 63] Generated Node #0,3,3: 10:[2, 63] Operation: 72-9=63 Moving to Node #0,3,0 Current State: 10:[2, 8], Operations: ['64-55=9', '72/9=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[55, 2, 64, 72], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [2, 72, 9] Generated Node #0,3: 10:[2, 72, 9] Operation: 64-55=9 Moving to Node #0,3 Current State: 10:[2, 72, 9], Operations: ['64-55=9'] Exploring Operation: 72/9=8, Resulting Numbers: [2, 8] Generated Node #0,3,0: 10:[2, 8] Operation: 72/9=8 Moving to Node #0,3,0 Current State: 10:[2, 8], Operations: ['64-55=9', '72/9=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_4
mult_heuristic