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
[ 12, 21, 40, 42 ]
30
[ "40-12=28", "42/21=2", "28+2=30" ]
Current State: 30:[12, 21, 40, 42], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [21, 42, 28] Generated Node #2: [21, 42, 28] from Operation: 40-12=28 Current State: 30:[21, 42, 28], Operations: ['40-12=28'] Exploring Operation: 42/21=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 42/21=2 Current State: 30:[28, 2], Operations: ['40-12=28', '42/21=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[12, 21, 40, 42], Operations: [] Exploring Operation: 42-21=21, Resulting Numbers: [12, 40, 21] Generated Node #0,0: 30:[12, 40, 21] Operation: 42-21=21 Exploring Operation: 42-12=30, Resulting Numbers: [21, 40, 30] Generated Node #0,1: 30:[21, 40, 30] Operation: 42-12=30 Exploring Operation: 42/21=2, Resulting Numbers: [12, 40, 2] Generated Node #0,2: 30:[12, 40, 2] Operation: 42/21=2 Exploring Operation: 40-21=19, Resulting Numbers: [12, 42, 19] Generated Node #0,3: 30:[12, 42, 19] Operation: 40-21=19 Exploring Operation: 42-40=2, Resulting Numbers: [12, 21, 2] Generated Node #0,4: 30:[12, 21, 2] Operation: 42-40=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[12, 21, 2], Operations: ['42-40=2'] Exploring Operation: 21-2=19, Resulting Numbers: [12, 19] Generated Node #0,4,0: 30:[12, 19] Operation: 21-2=19 Exploring Operation: 12-2=10, Resulting Numbers: [21, 10] Generated Node #0,4,1: 30:[21, 10] Operation: 12-2=10 Exploring Operation: 12+21=33, Resulting Numbers: [2, 33] Generated Node #0,4,2: 30:[2, 33] Operation: 12+21=33 Exploring Operation: 21-12=9, Resulting Numbers: [2, 9] Generated Node #0,4,3: 30:[2, 9] Operation: 21-12=9 Exploring Operation: 12/2=6, Resulting Numbers: [21, 6] Generated Node #0,4,4: 30:[21, 6] Operation: 12/2=6 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 30:[2, 9], Operations: ['42-40=2', '21-12=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,30 unequal: No Solution No 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: 30:[2, 33], Operations: ['42-40=2', '12+21=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,30 unequal: No Solution No 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: 30:[12, 19], Operations: ['42-40=2', '21-2=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,30 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,30 unequal: No Solution No 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: 30:[21, 10], Operations: ['42-40=2', '12-2=10'] Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,30 unequal: No Solution No 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: 30:[21, 6], Operations: ['42-40=2', '12/2=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,30 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,30 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: 30:[12, 40, 2], Operations: ['42/21=2'] Exploring Operation: 40-2=38, Resulting Numbers: [12, 38] Generated Node #0,2,0: 30:[12, 38] Operation: 40-2=38 Exploring Operation: 40-12=28, Resulting Numbers: [2, 28] Generated Node #0,2,1: 30:[2, 28] Operation: 40-12=28 Exploring Operation: 12-2=10, Resulting Numbers: [40, 10] Generated Node #0,2,2: 30:[40, 10] Operation: 12-2=10 Exploring Operation: 40/2=20, Resulting Numbers: [12, 20] Generated Node #0,2,3: 30:[12, 20] Operation: 40/2=20 Exploring Operation: 12/2=6, Resulting Numbers: [40, 6] Generated Node #0,2,4: 30:[40, 6] Operation: 12/2=6 Moving to Node #0,2,1 Current State: 30:[2, 28], Operations: ['42/21=2', '40-12=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[12, 21, 40, 42], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [12, 40, 2] Generated Node #0,2: 30:[12, 40, 2] Operation: 42/21=2 Moving to Node #0,2 Current State: 30:[12, 40, 2], Operations: ['42/21=2'] Exploring Operation: 40-12=28, Resulting Numbers: [2, 28] Generated Node #0,2,1: 30:[2, 28] Operation: 40-12=28 Moving to Node #0,2,1 Current State: 30:[2, 28], Operations: ['42/21=2', '40-12=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 94, 8, 80, 34 ]
83
[ "94+8=102", "102/34=3", "80+3=83" ]
Current State: 83:[94, 8, 80, 34], Operations: [] Exploring Operation: 94+8=102, Resulting Numbers: [80, 34, 102] Generated Node #2: [80, 34, 102] from Operation: 94+8=102 Current State: 83:[80, 34, 102], Operations: ['94+8=102'] Exploring Operation: 102/34=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 102/34=3 Current State: 83:[80, 3], Operations: ['94+8=102', '102/34=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[94, 8, 80, 34], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [80, 34, 86] Generated Node #0,0: 83:[80, 34, 86] Operation: 94-8=86 Exploring Operation: 8+34=42, Resulting Numbers: [94, 80, 42] Generated Node #0,1: 83:[94, 80, 42] Operation: 8+34=42 Moving to Node #0,0 Current State: 83:[80, 34, 86], Operations: ['94-8=86'] Exploring Operation: 80+34=114, Resulting Numbers: [86, 114] Generated Node #0,0,0: 83:[86, 114] Operation: 80+34=114 Exploring Operation: 86-34=52, Resulting Numbers: [80, 52] Generated Node #0,0,1: 83:[80, 52] Operation: 86-34=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[86, 114], Operations: ['94-8=86', '80+34=114'] Exploring Operation: 114-86=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 86+114=200, Resulting Numbers: [200] 200,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[80, 52], Operations: ['94-8=86', '86-34=52'] Exploring Operation: 80+52=132, Resulting Numbers: [132] 132,83 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[94, 80, 42], Operations: ['8+34=42'] Exploring Operation: 94-42=52, Resulting Numbers: [80, 52] Generated Node #0,1,0: 83:[80, 52] Operation: 94-42=52 Exploring Operation: 80+42=122, Resulting Numbers: [94, 122] Generated Node #0,1,1: 83:[94, 122] Operation: 80+42=122 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[80, 52], Operations: ['8+34=42', '94-42=52'] Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 80+52=132, Resulting Numbers: [132] 132,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[94, 122], Operations: ['8+34=42', '80+42=122'] Exploring Operation: 122-94=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 94+122=216, Resulting Numbers: [216] 216,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 62, 95, 55, 20 ]
64
[ "95-55=40", "40/20=2", "62+2=64" ]
Current State: 64:[62, 95, 55, 20], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [62, 20, 40] Generated Node #2: [62, 20, 40] from Operation: 95-55=40 Current State: 64:[62, 20, 40], Operations: ['95-55=40'] Exploring Operation: 40/20=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 40/20=2 Current State: 64:[62, 2], Operations: ['95-55=40', '40/20=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[62, 95, 55, 20], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [62, 20, 40] Generated Node #0,0: 64:[62, 20, 40] Operation: 95-55=40 Exploring Operation: 95-62=33, Resulting Numbers: [55, 20, 33] Generated Node #0,1: 64:[55, 20, 33] Operation: 95-62=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[62, 20, 40], Operations: ['95-55=40'] Exploring Operation: 20+40=60, Resulting Numbers: [62, 60] Generated Node #0,0,0: 64:[62, 60] Operation: 20+40=60 Exploring Operation: 40/20=2, Resulting Numbers: [62, 2] Generated Node #0,0,1: 64:[62, 2] Operation: 40/20=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[62, 2], Operations: ['95-55=40', '40/20=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[62, 95, 55, 20], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [62, 20, 40] Generated Node #0,0: 64:[62, 20, 40] Operation: 95-55=40 Moving to Node #0,0 Current State: 64:[62, 20, 40], Operations: ['95-55=40'] Exploring Operation: 40/20=2, Resulting Numbers: [62, 2] Generated Node #0,0,1: 64:[62, 2] Operation: 40/20=2 Moving to Node #0,0,1 Current State: 64:[62, 2], Operations: ['95-55=40', '40/20=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 53, 11, 33, 72 ]
81
[ "53-11=42", "72-33=39", "42+39=81" ]
Current State: 81:[53, 11, 33, 72], Operations: [] Exploring Operation: 53-11=42, Resulting Numbers: [33, 72, 42] Generated Node #2: [33, 72, 42] from Operation: 53-11=42 Current State: 81:[33, 72, 42], Operations: ['53-11=42'] Exploring Operation: 72-33=39, Resulting Numbers: [42, 39] Generated Node #3: [42, 39] from Operation: 72-33=39 Current State: 81:[42, 39], Operations: ['53-11=42', '72-33=39'] Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[53, 11, 33, 72], Operations: [] Exploring Operation: 72-53=19, Resulting Numbers: [11, 33, 19] Generated Node #0,0: 81:[11, 33, 19] Operation: 72-53=19 Exploring Operation: 53+33=86, Resulting Numbers: [11, 72, 86] Generated Node #0,1: 81:[11, 72, 86] Operation: 53+33=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[11, 33, 19], Operations: ['72-53=19'] Exploring Operation: 33-19=14, Resulting Numbers: [11, 14] Generated Node #0,0,0: 81:[11, 14] Operation: 33-19=14 Exploring Operation: 19-11=8, Resulting Numbers: [33, 8] Generated Node #0,0,1: 81:[33, 8] Operation: 19-11=8 Moving to Node #0,0,0 Current State: 81:[11, 14], Operations: ['72-53=19', '33-19=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[33, 8], Operations: ['72-53=19', '19-11=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[11, 72, 86], Operations: ['53+33=86'] Exploring Operation: 86-72=14, Resulting Numbers: [11, 14] Generated Node #0,1,0: 81:[11, 14] Operation: 86-72=14 Exploring Operation: 11+72=83, Resulting Numbers: [86, 83] Generated Node #0,1,1: 81:[86, 83] Operation: 11+72=83 Moving to Node #0,1,0 Current State: 81:[11, 14], Operations: ['53+33=86', '86-72=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[86, 83], Operations: ['53+33=86', '11+72=83'] Exploring Operation: 86+83=169, Resulting Numbers: [169] 169,81 unequal: No Solution Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,81 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
[ 11, 14, 24, 33 ]
22
[ "11*24=264", "264/33=8", "14+8=22" ]
Current State: 22:[11, 14, 24, 33], Operations: [] Exploring Operation: 11*24=264, Resulting Numbers: [14, 33, 264] Generated Node #2: [14, 33, 264] from Operation: 11*24=264 Current State: 22:[14, 33, 264], Operations: ['11*24=264'] Exploring Operation: 264/33=8, Resulting Numbers: [14, 8] Generated Node #3: [14, 8] from Operation: 264/33=8 Current State: 22:[14, 8], Operations: ['11*24=264', '264/33=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[11, 14, 24, 33], Operations: [] Exploring Operation: 33-11=22, Resulting Numbers: [14, 24, 22] Generated Node #0,0: 22:[14, 24, 22] Operation: 33-11=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[14, 24, 22], Operations: ['33-11=22'] Exploring Operation: 24-14=10, Resulting Numbers: [22, 10] Generated Node #0,0,0: 22:[22, 10] Operation: 24-14=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[22, 10], Operations: ['33-11=22', '24-14=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,22 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
[ 94, 6, 12, 74 ]
28
[ "94+74=168", "12-6=6", "168/6=28" ]
Current State: 28:[94, 6, 12, 74], Operations: [] Exploring Operation: 94+74=168, Resulting Numbers: [6, 12, 168] Generated Node #2: [6, 12, 168] from Operation: 94+74=168 Current State: 28:[6, 12, 168], Operations: ['94+74=168'] Exploring Operation: 12-6=6, Resulting Numbers: [168, 6] Generated Node #3: [168, 6] from Operation: 12-6=6 Current State: 28:[168, 6], Operations: ['94+74=168', '12-6=6'] Exploring Operation: 168/6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[94, 6, 12, 74], Operations: [] Exploring Operation: 94-74=20, Resulting Numbers: [6, 12, 20] Generated Node #0,0: 28:[6, 12, 20] Operation: 94-74=20 Exploring Operation: 94-12=82, Resulting Numbers: [6, 74, 82] Generated Node #0,1: 28:[6, 74, 82] Operation: 94-12=82 Exploring Operation: 74-12=62, Resulting Numbers: [94, 6, 62] Generated Node #0,2: 28:[94, 6, 62] Operation: 74-12=62 Moving to Node #0,0 Current State: 28:[6, 12, 20], Operations: ['94-74=20'] Exploring Operation: 20-12=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 28:[6, 8] Operation: 20-12=8 Exploring Operation: 20-6=14, Resulting Numbers: [12, 14] Generated Node #0,0,1: 28:[12, 14] Operation: 20-6=14 Exploring Operation: 6+20=26, Resulting Numbers: [12, 26] Generated Node #0,0,2: 28:[12, 26] Operation: 6+20=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[6, 8], Operations: ['94-74=20', '20-12=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,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,0,1 Current State: 28:[12, 14], Operations: ['94-74=20', '20-6=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,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,0,2 Current State: 28:[12, 26], Operations: ['94-74=20', '6+20=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,28 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: 28:[6, 74, 82], Operations: ['94-12=82'] Exploring Operation: 82-6=76, Resulting Numbers: [74, 76] Generated Node #0,1,0: 28:[74, 76] Operation: 82-6=76 Exploring Operation: 74-6=68, Resulting Numbers: [82, 68] Generated Node #0,1,1: 28:[82, 68] Operation: 74-6=68 Exploring Operation: 82-74=8, Resulting Numbers: [6, 8] Generated Node #0,1,2: 28:[6, 8] Operation: 82-74=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[6, 8], Operations: ['94-12=82', '82-74=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,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:[74, 76], Operations: ['94-12=82', '82-6=76'] Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,28 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,28 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,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,1 Current State: 28:[82, 68], Operations: ['94-12=82', '74-6=68'] Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 82*68=5576, Resulting Numbers: [5576] 5576,28 unequal: No Solution Exploring Operation: 82+68=150, Resulting Numbers: [150] 150,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:[94, 6, 62], Operations: ['74-12=62'] Exploring Operation: 62-6=56, Resulting Numbers: [94, 56] Generated Node #0,2,0: 28:[94, 56] Operation: 62-6=56 Exploring Operation: 94-62=32, Resulting Numbers: [6, 32] Generated Node #0,2,1: 28:[6, 32] Operation: 94-62=32 Exploring Operation: 94-6=88, Resulting Numbers: [62, 88] Generated Node #0,2,2: 28:[62, 88] Operation: 94-6=88 Moving to Node #0,2,1 Current State: 28:[6, 32], Operations: ['74-12=62', '94-62=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[94, 56], Operations: ['74-12=62', '62-6=56'] Exploring Operation: 94+56=150, Resulting Numbers: [150] 150,28 unequal: No Solution Exploring Operation: 94*56=5264, Resulting Numbers: [5264] 5264,28 unequal: No Solution Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[62, 88], Operations: ['74-12=62', '94-6=88'] Exploring Operation: 62+88=150, Resulting Numbers: [150] 150,28 unequal: No Solution Exploring Operation: 62*88=5456, Resulting Numbers: [5456] 5456,28 unequal: No Solution Exploring Operation: 88-62=26, Resulting Numbers: [26] 26,28 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 61, 67, 2, 27 ]
50
[ "61-27=34", "34/2=17", "67-17=50" ]
Current State: 50:[61, 67, 2, 27], Operations: [] Exploring Operation: 61-27=34, Resulting Numbers: [67, 2, 34] Generated Node #2: [67, 2, 34] from Operation: 61-27=34 Current State: 50:[67, 2, 34], Operations: ['61-27=34'] Exploring Operation: 34/2=17, Resulting Numbers: [67, 17] Generated Node #3: [67, 17] from Operation: 34/2=17 Current State: 50:[67, 17], Operations: ['61-27=34', '34/2=17'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[61, 67, 2, 27], Operations: [] Exploring Operation: 61-27=34, Resulting Numbers: [67, 2, 34] Generated Node #0,0: 50:[67, 2, 34] Operation: 61-27=34 Exploring Operation: 67-27=40, Resulting Numbers: [61, 2, 40] Generated Node #0,1: 50:[61, 2, 40] Operation: 67-27=40 Exploring Operation: 67-61=6, Resulting Numbers: [2, 27, 6] Generated Node #0,2: 50:[2, 27, 6] Operation: 67-61=6 Moving to Node #0,2 Current State: 50:[2, 27, 6], Operations: ['67-61=6'] Exploring Operation: 6-2=4, Resulting Numbers: [27, 4] Generated Node #0,2,0: 50:[27, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [27, 3] Generated Node #0,2,1: 50:[27, 3] Operation: 6/2=3 Exploring Operation: 27-2=25, Resulting Numbers: [6, 25] Generated Node #0,2,2: 50:[6, 25] Operation: 27-2=25 Moving to Node #0,1 Current State: 50:[61, 2, 40], Operations: ['67-27=40'] Exploring Operation: 61-2=59, Resulting Numbers: [40, 59] Generated Node #0,1,0: 50:[40, 59] Operation: 61-2=59 Exploring Operation: 40/2=20, Resulting Numbers: [61, 20] Generated Node #0,1,1: 50:[61, 20] Operation: 40/2=20 Exploring Operation: 61-40=21, Resulting Numbers: [2, 21] Generated Node #0,1,2: 50:[2, 21] Operation: 61-40=21 Moving to Node #0,0 Current State: 50:[67, 2, 34], Operations: ['61-27=34'] Exploring Operation: 34-2=32, Resulting Numbers: [67, 32] Generated Node #0,0,0: 50:[67, 32] Operation: 34-2=32 Exploring Operation: 67-2=65, Resulting Numbers: [34, 65] Generated Node #0,0,1: 50:[34, 65] Operation: 67-2=65 Exploring Operation: 67-34=33, Resulting Numbers: [2, 33] Generated Node #0,0,2: 50:[2, 33] Operation: 67-34=33 Moving to Node #0,2,2 Current State: 50:[6, 25], Operations: ['67-61=6', '27-2=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[27, 3], Operations: ['67-61=6', '6/2=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[27, 4], Operations: ['67-61=6', '6-2=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[2, 21], Operations: ['67-27=40', '61-40=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[2, 33], Operations: ['61-27=34', '67-34=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,50 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[61, 20], Operations: ['67-27=40', '40/2=20'] Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,50 unequal: No Solution Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[40, 59], Operations: ['67-27=40', '61-2=59'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[67, 32], Operations: ['61-27=34', '34-2=32'] Exploring Operation: 67+32=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 67*32=2144, Resulting Numbers: [2144] 2144,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[34, 65], Operations: ['61-27=34', '67-2=65'] Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 34*65=2210, Resulting Numbers: [2210] 2210,50 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,50 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 86, 17, 72, 48 ]
79
[ "86+17=103", "72-48=24", "103-24=79" ]
Current State: 79:[86, 17, 72, 48], Operations: [] Exploring Operation: 86+17=103, Resulting Numbers: [72, 48, 103] Generated Node #2: [72, 48, 103] from Operation: 86+17=103 Current State: 79:[72, 48, 103], Operations: ['86+17=103'] Exploring Operation: 72-48=24, Resulting Numbers: [103, 24] Generated Node #3: [103, 24] from Operation: 72-48=24 Current State: 79:[103, 24], Operations: ['86+17=103', '72-48=24'] Exploring Operation: 103-24=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[86, 17, 72, 48], Operations: [] Exploring Operation: 86+17=103, Resulting Numbers: [72, 48, 103] Generated Node #0,0: 79:[72, 48, 103] Operation: 86+17=103 Exploring Operation: 17+72=89, Resulting Numbers: [86, 48, 89] Generated Node #0,1: 79:[86, 48, 89] Operation: 17+72=89 Exploring Operation: 86-17=69, Resulting Numbers: [72, 48, 69] Generated Node #0,2: 79:[72, 48, 69] Operation: 86-17=69 Exploring Operation: 17+48=65, Resulting Numbers: [86, 72, 65] Generated Node #0,3: 79:[86, 72, 65] Operation: 17+48=65 Exploring Operation: 72-17=55, Resulting Numbers: [86, 48, 55] Generated Node #0,4: 79:[86, 48, 55] Operation: 72-17=55 Moving to Node #0,3 Current State: 79:[86, 72, 65], Operations: ['17+48=65'] Exploring Operation: 86-65=21, Resulting Numbers: [72, 21] Generated Node #0,3,0: 79:[72, 21] Operation: 86-65=21 Exploring Operation: 72-65=7, Resulting Numbers: [86, 7] Generated Node #0,3,1: 79:[86, 7] Operation: 72-65=7 Exploring Operation: 86-72=14, Resulting Numbers: [65, 14] Generated Node #0,3,2: 79:[65, 14] Operation: 86-72=14 Exploring Operation: 72+65=137, Resulting Numbers: [86, 137] Generated Node #0,3,3: 79:[86, 137] Operation: 72+65=137 Exploring Operation: 86+65=151, Resulting Numbers: [72, 151] Generated Node #0,3,4: 79:[72, 151] Operation: 86+65=151 Moving to Node #0,2 Current State: 79:[72, 48, 69], Operations: ['86-17=69'] Exploring Operation: 48+69=117, Resulting Numbers: [72, 117] Generated Node #0,2,0: 79:[72, 117] Operation: 48+69=117 Exploring Operation: 72+69=141, Resulting Numbers: [48, 141] Generated Node #0,2,1: 79:[48, 141] Operation: 72+69=141 Exploring Operation: 72+48=120, Resulting Numbers: [69, 120] Generated Node #0,2,2: 79:[69, 120] Operation: 72+48=120 Exploring Operation: 72-48=24, Resulting Numbers: [69, 24] Generated Node #0,2,3: 79:[69, 24] Operation: 72-48=24 Exploring Operation: 69-48=21, Resulting Numbers: [72, 21] Generated Node #0,2,4: 79:[72, 21] Operation: 69-48=21 Moving to Node #0,1 Current State: 79:[86, 48, 89], Operations: ['17+72=89'] Exploring Operation: 48+89=137, Resulting Numbers: [86, 137] Generated Node #0,1,0: 79:[86, 137] Operation: 48+89=137 Exploring Operation: 89-48=41, Resulting Numbers: [86, 41] Generated Node #0,1,1: 79:[86, 41] Operation: 89-48=41 Exploring Operation: 86+48=134, Resulting Numbers: [89, 134] Generated Node #0,1,2: 79:[89, 134] Operation: 86+48=134 Exploring Operation: 89-86=3, Resulting Numbers: [48, 3] Generated Node #0,1,3: 79:[48, 3] Operation: 89-86=3 Exploring Operation: 86-48=38, Resulting Numbers: [89, 38] Generated Node #0,1,4: 79:[89, 38] Operation: 86-48=38 Moving to Node #0,0 Current State: 79:[72, 48, 103], Operations: ['86+17=103'] Exploring Operation: 72-48=24, Resulting Numbers: [103, 24] Generated Node #0,0,0: 79:[103, 24] Operation: 72-48=24 Exploring Operation: 72+48=120, Resulting Numbers: [103, 120] Generated Node #0,0,1: 79:[103, 120] Operation: 72+48=120 Exploring Operation: 103-48=55, Resulting Numbers: [72, 55] Generated Node #0,0,2: 79:[72, 55] Operation: 103-48=55 Exploring Operation: 103-72=31, Resulting Numbers: [48, 31] Generated Node #0,0,3: 79:[48, 31] Operation: 103-72=31 Exploring Operation: 48+103=151, Resulting Numbers: [72, 151] Generated Node #0,0,4: 79:[72, 151] Operation: 48+103=151 Moving to Node #0,4 Current State: 79:[86, 48, 55], Operations: ['72-17=55'] Exploring Operation: 86-48=38, Resulting Numbers: [55, 38] Generated Node #0,4,0: 79:[55, 38] Operation: 86-48=38 Exploring Operation: 48+55=103, Resulting Numbers: [86, 103] Generated Node #0,4,1: 79:[86, 103] Operation: 48+55=103 Exploring Operation: 86-55=31, Resulting Numbers: [48, 31] Generated Node #0,4,2: 79:[48, 31] Operation: 86-55=31 Exploring Operation: 55-48=7, Resulting Numbers: [86, 7] Generated Node #0,4,3: 79:[86, 7] Operation: 55-48=7 Exploring Operation: 86+48=134, Resulting Numbers: [55, 134] Generated Node #0,4,4: 79:[55, 134] Operation: 86+48=134 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[86, 103], Operations: ['72-17=55', '48+55=103'] Exploring Operation: 86*103=8858, Resulting Numbers: [8858] 8858,79 unequal: No Solution Exploring Operation: 86+103=189, Resulting Numbers: [189] 189,79 unequal: No Solution Exploring Operation: 103-86=17, Resulting Numbers: [17] 17,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[55, 38], Operations: ['72-17=55', '86-48=38'] Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,79 unequal: No Solution Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[48, 31], Operations: ['72-17=55', '86-55=31'] Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,79 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[86, 17, 72, 48], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [86, 48, 55] Generated Node #0,4: 79:[86, 48, 55] Operation: 72-17=55 Moving to Node #0,4 Current State: 79:[86, 48, 55], Operations: ['72-17=55'] Exploring Operation: 86-55=31, Resulting Numbers: [48, 31] Generated Node #0,4,2: 79:[48, 31] Operation: 86-55=31 Moving to Node #0,4,2 Current State: 79:[48, 31], Operations: ['72-17=55', '86-55=31'] Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 27, 58, 97, 86 ]
97
[ "27+58=85", "86-85=1", "97*1=97" ]
Current State: 97:[27, 58, 97, 86], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [97, 86, 85] Generated Node #2: [97, 86, 85] from Operation: 27+58=85 Current State: 97:[97, 86, 85], Operations: ['27+58=85'] Exploring Operation: 86-85=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 86-85=1 Current State: 97:[97, 1], Operations: ['27+58=85', '86-85=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[27, 58, 97, 86], Operations: [] Exploring Operation: 27+86=113, Resulting Numbers: [58, 97, 113] Generated Node #0,0: 97:[58, 97, 113] Operation: 27+86=113 Exploring Operation: 27+97=124, Resulting Numbers: [58, 86, 124] Generated Node #0,1: 97:[58, 86, 124] Operation: 27+97=124 Exploring Operation: 27+58=85, Resulting Numbers: [97, 86, 85] Generated Node #0,2: 97:[97, 86, 85] Operation: 27+58=85 Exploring Operation: 58-27=31, Resulting Numbers: [97, 86, 31] Generated Node #0,3: 97:[97, 86, 31] Operation: 58-27=31 Moving to Node #0,2 Current State: 97:[97, 86, 85], Operations: ['27+58=85'] Exploring Operation: 86+85=171, Resulting Numbers: [97, 171] Generated Node #0,2,0: 97:[97, 171] Operation: 86+85=171 Exploring Operation: 97+85=182, Resulting Numbers: [86, 182] Generated Node #0,2,1: 97:[86, 182] Operation: 97+85=182 Exploring Operation: 86-85=1, Resulting Numbers: [97, 1] Generated Node #0,2,2: 97:[97, 1] Operation: 86-85=1 Exploring Operation: 97-85=12, Resulting Numbers: [86, 12] Generated Node #0,2,3: 97:[86, 12] Operation: 97-85=12 Moving to Node #0,0 Current State: 97:[58, 97, 113], Operations: ['27+86=113'] Exploring Operation: 97-58=39, Resulting Numbers: [113, 39] Generated Node #0,0,0: 97:[113, 39] Operation: 97-58=39 Exploring Operation: 113-58=55, Resulting Numbers: [97, 55] Generated Node #0,0,1: 97:[97, 55] Operation: 113-58=55 Exploring Operation: 58+97=155, Resulting Numbers: [113, 155] Generated Node #0,0,2: 97:[113, 155] Operation: 58+97=155 Exploring Operation: 58+113=171, Resulting Numbers: [97, 171] Generated Node #0,0,3: 97:[97, 171] Operation: 58+113=171 Moving to Node #0,3 Current State: 97:[97, 86, 31], Operations: ['58-27=31'] Exploring Operation: 97+31=128, Resulting Numbers: [86, 128] Generated Node #0,3,0: 97:[86, 128] Operation: 97+31=128 Exploring Operation: 86-31=55, Resulting Numbers: [97, 55] Generated Node #0,3,1: 97:[97, 55] Operation: 86-31=55 Exploring Operation: 97-31=66, Resulting Numbers: [86, 66] Generated Node #0,3,2: 97:[86, 66] Operation: 97-31=66 Exploring Operation: 86+31=117, Resulting Numbers: [97, 117] Generated Node #0,3,3: 97:[97, 117] Operation: 86+31=117 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[97, 117], Operations: ['58-27=31', '86+31=117'] Exploring Operation: 117-97=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 97*117=11349, Resulting Numbers: [11349] 11349,97 unequal: No Solution Exploring Operation: 97+117=214, Resulting Numbers: [214] 214,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[86, 128], Operations: ['58-27=31', '97+31=128'] Exploring Operation: 86*128=11008, Resulting Numbers: [11008] 11008,97 unequal: No Solution Exploring Operation: 86+128=214, Resulting Numbers: [214] 214,97 unequal: No Solution Exploring Operation: 128-86=42, Resulting Numbers: [42] 42,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[97, 55], Operations: ['58-27=31', '86-31=55'] Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 97+55=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 97*55=5335, Resulting Numbers: [5335] 5335,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[86, 66], Operations: ['58-27=31', '97-31=66'] Exploring Operation: 86*66=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 86+66=152, Resulting Numbers: [152] 152,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[58, 86, 124], Operations: ['27+97=124'] Exploring Operation: 124-58=66, Resulting Numbers: [86, 66] Generated Node #0,1,0: 97:[86, 66] Operation: 124-58=66 Exploring Operation: 58+86=144, Resulting Numbers: [124, 144] Generated Node #0,1,1: 97:[124, 144] Operation: 58+86=144 Exploring Operation: 86-58=28, Resulting Numbers: [124, 28] Generated Node #0,1,2: 97:[124, 28] Operation: 86-58=28 Exploring Operation: 58+124=182, Resulting Numbers: [86, 182] Generated Node #0,1,3: 97:[86, 182] Operation: 58+124=182 Moving to Node #0,0,1 Current State: 97:[97, 55], Operations: ['27+86=113', '113-58=55'] Exploring Operation: 97*55=5335, Resulting Numbers: [5335] 5335,97 unequal: No Solution Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 97+55=152, Resulting Numbers: [152] 152,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[86, 66], Operations: ['27+97=124', '124-58=66'] Exploring Operation: 86*66=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 86+66=152, Resulting Numbers: [152] 152,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[113, 39], Operations: ['27+86=113', '97-58=39'] Exploring Operation: 113-39=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 113*39=4407, Resulting Numbers: [4407] 4407,97 unequal: No Solution Exploring Operation: 113+39=152, Resulting Numbers: [152] 152,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[113, 155], Operations: ['27+86=113', '58+97=155'] Exploring Operation: 155-113=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 113*155=17515, Resulting Numbers: [17515] 17515,97 unequal: No Solution Exploring Operation: 113+155=268, Resulting Numbers: [268] 268,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[124, 144], Operations: ['27+97=124', '58+86=144'] Exploring Operation: 144-124=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 124*144=17856, Resulting Numbers: [17856] 17856,97 unequal: No Solution Exploring Operation: 124+144=268, Resulting Numbers: [268] 268,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[97, 171], Operations: ['27+58=85', '86+85=171'] Exploring Operation: 171-97=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 97+171=268, Resulting Numbers: [268] 268,97 unequal: No Solution Exploring Operation: 97*171=16587, Resulting Numbers: [16587] 16587,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[97, 171], Operations: ['27+86=113', '58+113=171'] Exploring Operation: 97+171=268, Resulting Numbers: [268] 268,97 unequal: No Solution Exploring Operation: 171-97=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 97*171=16587, Resulting Numbers: [16587] 16587,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[86, 182], Operations: ['27+97=124', '58+124=182'] Exploring Operation: 182-86=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 86+182=268, Resulting Numbers: [268] 268,97 unequal: No Solution Exploring Operation: 86*182=15652, Resulting Numbers: [15652] 15652,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[97, 1], Operations: ['27+58=85', '86-85=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[27, 58, 97, 86], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [97, 86, 85] Generated Node #0,2: 97:[97, 86, 85] Operation: 27+58=85 Moving to Node #0,2 Current State: 97:[97, 86, 85], Operations: ['27+58=85'] Exploring Operation: 86-85=1, Resulting Numbers: [97, 1] Generated Node #0,2,2: 97:[97, 1] Operation: 86-85=1 Moving to Node #0,2,2 Current State: 97:[97, 1], Operations: ['27+58=85', '86-85=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 65, 5, 90, 30 ]
88
[ "65-5=60", "60/30=2", "90-2=88" ]
Current State: 88:[65, 5, 90, 30], Operations: [] Exploring Operation: 65-5=60, Resulting Numbers: [90, 30, 60] Generated Node #2: [90, 30, 60] from Operation: 65-5=60 Current State: 88:[90, 30, 60], Operations: ['65-5=60'] Exploring Operation: 60/30=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 60/30=2 Current State: 88:[90, 2], Operations: ['65-5=60', '60/30=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[65, 5, 90, 30], Operations: [] Exploring Operation: 65+30=95, Resulting Numbers: [5, 90, 95] Generated Node #0,0: 88:[5, 90, 95] Operation: 65+30=95 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[5, 90, 95], Operations: ['65+30=95'] Exploring Operation: 95-90=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 88:[5, 5] Operation: 95-90=5 Moving to Node #0,0,0 Current State: 88:[5, 5], Operations: ['65+30=95', '95-90=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,88 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
[ 88, 70, 99, 21 ]
80
[ "88+70=158", "99-21=78", "158-78=80" ]
Current State: 80:[88, 70, 99, 21], Operations: [] Exploring Operation: 88+70=158, Resulting Numbers: [99, 21, 158] Generated Node #2: [99, 21, 158] from Operation: 88+70=158 Current State: 80:[99, 21, 158], Operations: ['88+70=158'] Exploring Operation: 99-21=78, Resulting Numbers: [158, 78] Generated Node #3: [158, 78] from Operation: 99-21=78 Current State: 80:[158, 78], Operations: ['88+70=158', '99-21=78'] Exploring Operation: 158-78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[88, 70, 99, 21], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [88, 21, 29] Generated Node #0,0: 80:[88, 21, 29] Operation: 99-70=29 Exploring Operation: 99-21=78, Resulting Numbers: [88, 70, 78] Generated Node #0,1: 80:[88, 70, 78] Operation: 99-21=78 Exploring Operation: 88-70=18, Resulting Numbers: [99, 21, 18] Generated Node #0,2: 80:[99, 21, 18] Operation: 88-70=18 Exploring Operation: 99-88=11, Resulting Numbers: [70, 21, 11] Generated Node #0,3: 80:[70, 21, 11] Operation: 99-88=11 Moving to Node #0,3 Current State: 80:[70, 21, 11], Operations: ['99-88=11'] Exploring Operation: 70-21=49, Resulting Numbers: [11, 49] Generated Node #0,3,0: 80:[11, 49] Operation: 70-21=49 Exploring Operation: 21-11=10, Resulting Numbers: [70, 10] Generated Node #0,3,1: 80:[70, 10] Operation: 21-11=10 Exploring Operation: 70+11=81, Resulting Numbers: [21, 81] Generated Node #0,3,2: 80:[21, 81] Operation: 70+11=81 Exploring Operation: 70+21=91, Resulting Numbers: [11, 91] Generated Node #0,3,3: 80:[11, 91] Operation: 70+21=91 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[21, 81], Operations: ['99-88=11', '70+11=81'] Exploring Operation: 21*81=1701, Resulting Numbers: [1701] 1701,80 unequal: No Solution Exploring Operation: 21+81=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[11, 49], Operations: ['99-88=11', '70-21=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,80 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[70, 10], Operations: ['99-88=11', '21-11=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[88, 70, 99, 21], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [70, 21, 11] Generated Node #0,3: 80:[70, 21, 11] Operation: 99-88=11 Moving to Node #0,3 Current State: 80:[70, 21, 11], Operations: ['99-88=11'] Exploring Operation: 21-11=10, Resulting Numbers: [70, 10] Generated Node #0,3,1: 80:[70, 10] Operation: 21-11=10 Moving to Node #0,3,1 Current State: 80:[70, 10], Operations: ['99-88=11', '21-11=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 44, 12, 76, 25 ]
83
[ "44-12=32", "76-25=51", "32+51=83" ]
Current State: 83:[44, 12, 76, 25], Operations: [] Exploring Operation: 44-12=32, Resulting Numbers: [76, 25, 32] Generated Node #2: [76, 25, 32] from Operation: 44-12=32 Current State: 83:[76, 25, 32], Operations: ['44-12=32'] Exploring Operation: 76-25=51, Resulting Numbers: [32, 51] Generated Node #3: [32, 51] from Operation: 76-25=51 Current State: 83:[32, 51], Operations: ['44-12=32', '76-25=51'] Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[44, 12, 76, 25], Operations: [] Exploring Operation: 44+25=69, Resulting Numbers: [12, 76, 69] Generated Node #0,0: 83:[12, 76, 69] Operation: 44+25=69 Exploring Operation: 44+12=56, Resulting Numbers: [76, 25, 56] Generated Node #0,1: 83:[76, 25, 56] Operation: 44+12=56 Exploring Operation: 12+25=37, Resulting Numbers: [44, 76, 37] Generated Node #0,2: 83:[44, 76, 37] Operation: 12+25=37 Exploring Operation: 12+76=88, Resulting Numbers: [44, 25, 88] Generated Node #0,3: 83:[44, 25, 88] Operation: 12+76=88 Moving to Node #0,0 Current State: 83:[12, 76, 69], Operations: ['44+25=69'] Exploring Operation: 12+76=88, Resulting Numbers: [69, 88] Generated Node #0,0,0: 83:[69, 88] Operation: 12+76=88 Exploring Operation: 12+69=81, Resulting Numbers: [76, 81] Generated Node #0,0,1: 83:[76, 81] Operation: 12+69=81 Exploring Operation: 69-12=57, Resulting Numbers: [76, 57] Generated Node #0,0,2: 83:[76, 57] Operation: 69-12=57 Exploring Operation: 76-12=64, Resulting Numbers: [69, 64] Generated Node #0,0,3: 83:[69, 64] Operation: 76-12=64 Moving to Node #0,2 Current State: 83:[44, 76, 37], Operations: ['12+25=37'] Exploring Operation: 44-37=7, Resulting Numbers: [76, 7] Generated Node #0,2,0: 83:[76, 7] Operation: 44-37=7 Exploring Operation: 44+76=120, Resulting Numbers: [37, 120] Generated Node #0,2,1: 83:[37, 120] Operation: 44+76=120 Exploring Operation: 44+37=81, Resulting Numbers: [76, 81] Generated Node #0,2,2: 83:[76, 81] Operation: 44+37=81 Exploring Operation: 76+37=113, Resulting Numbers: [44, 113] Generated Node #0,2,3: 83:[44, 113] Operation: 76+37=113 Moving to Node #0,1 Current State: 83:[76, 25, 56], Operations: ['44+12=56'] Exploring Operation: 76-25=51, Resulting Numbers: [56, 51] Generated Node #0,1,0: 83:[56, 51] Operation: 76-25=51 Exploring Operation: 25+56=81, Resulting Numbers: [76, 81] Generated Node #0,1,1: 83:[76, 81] Operation: 25+56=81 Exploring Operation: 76+25=101, Resulting Numbers: [56, 101] Generated Node #0,1,2: 83:[56, 101] Operation: 76+25=101 Exploring Operation: 56-25=31, Resulting Numbers: [76, 31] Generated Node #0,1,3: 83:[76, 31] Operation: 56-25=31 Moving to Node #0,3 Current State: 83:[44, 25, 88], Operations: ['12+76=88'] Exploring Operation: 44-25=19, Resulting Numbers: [88, 19] Generated Node #0,3,0: 83:[88, 19] Operation: 44-25=19 Exploring Operation: 88-25=63, Resulting Numbers: [44, 63] Generated Node #0,3,1: 83:[44, 63] Operation: 88-25=63 Exploring Operation: 25+88=113, Resulting Numbers: [44, 113] Generated Node #0,3,2: 83:[44, 113] Operation: 25+88=113 Exploring Operation: 44+25=69, Resulting Numbers: [88, 69] Generated Node #0,3,3: 83:[88, 69] Operation: 44+25=69 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[88, 69], Operations: ['12+76=88', '44+25=69'] Exploring Operation: 88+69=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 88*69=6072, Resulting Numbers: [6072] 6072,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[44, 63], Operations: ['12+76=88', '88-25=63'] Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 44+63=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 44*63=2772, Resulting Numbers: [2772] 2772,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[88, 19], Operations: ['12+76=88', '44-25=19'] Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 88*19=1672, Resulting Numbers: [1672] 1672,83 unequal: No Solution Exploring Operation: 88+19=107, Resulting Numbers: [107] 107,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[44, 113], Operations: ['12+76=88', '25+88=113'] Exploring Operation: 44+113=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 44*113=4972, Resulting Numbers: [4972] 4972,83 unequal: No Solution Exploring Operation: 113-44=69, Resulting Numbers: [69] 69,83 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: 83:[76, 81], Operations: ['44+25=69', '12+69=81'] Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[76, 81], Operations: ['12+25=37', '44+37=81'] Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,83 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[76, 81], Operations: ['44+12=56', '25+56=81'] Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,83 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[69, 88], Operations: ['44+25=69', '12+76=88'] Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,83 unequal: No Solution Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[76, 57], Operations: ['44+25=69', '69-12=57'] Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 76*57=4332, Resulting Numbers: [4332] 4332,83 unequal: No Solution Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[69, 64], Operations: ['44+25=69', '76-12=64'] Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 69*64=4416, Resulting Numbers: [4416] 4416,83 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[56, 101], Operations: ['44+12=56', '76+25=101'] Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 56*101=5656, Resulting Numbers: [5656] 5656,83 unequal: No Solution Exploring Operation: 56+101=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[76, 31], Operations: ['44+12=56', '56-25=31'] Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,83 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[56, 51], Operations: ['44+12=56', '76-25=51'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 56*51=2856, Resulting Numbers: [2856] 2856,83 unequal: No Solution Exploring Operation: 56+51=107, Resulting Numbers: [107] 107,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[44, 113], Operations: ['12+25=37', '76+37=113'] Exploring Operation: 44*113=4972, Resulting Numbers: [4972] 4972,83 unequal: No Solution Exploring Operation: 113-44=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 44+113=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[76, 7], Operations: ['12+25=37', '44-37=7'] Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,83 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[44, 12, 76, 25], Operations: [] Exploring Operation: 12+25=37, Resulting Numbers: [44, 76, 37] Generated Node #0,2: 83:[44, 76, 37] Operation: 12+25=37 Moving to Node #0,2 Current State: 83:[44, 76, 37], Operations: ['12+25=37'] Exploring Operation: 44-37=7, Resulting Numbers: [76, 7] Generated Node #0,2,0: 83:[76, 7] Operation: 44-37=7 Moving to Node #0,2,0 Current State: 83:[76, 7], Operations: ['12+25=37', '44-37=7'] Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 83, 87, 20, 85 ]
43
[ "87-85=2", "20*2=40", "83-40=43" ]
Current State: 43:[83, 87, 20, 85], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [83, 20, 2] Generated Node #2: [83, 20, 2] from Operation: 87-85=2 Current State: 43:[83, 20, 2], Operations: ['87-85=2'] Exploring Operation: 20*2=40, Resulting Numbers: [83, 40] Generated Node #3: [83, 40] from Operation: 20*2=40 Current State: 43:[83, 40], Operations: ['87-85=2', '20*2=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[83, 87, 20, 85], Operations: [] Exploring Operation: 87-20=67, Resulting Numbers: [83, 85, 67] Generated Node #0,0: 43:[83, 85, 67] Operation: 87-20=67 Exploring Operation: 83-20=63, Resulting Numbers: [87, 85, 63] Generated Node #0,1: 43:[87, 85, 63] Operation: 83-20=63 Exploring Operation: 87-85=2, Resulting Numbers: [83, 20, 2] Generated Node #0,2: 43:[83, 20, 2] Operation: 87-85=2 Exploring Operation: 87-83=4, Resulting Numbers: [20, 85, 4] Generated Node #0,3: 43:[20, 85, 4] Operation: 87-83=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[83, 20, 2], Operations: ['87-85=2'] Exploring Operation: 20*2=40, Resulting Numbers: [83, 40] Generated Node #0,2,0: 43:[83, 40] Operation: 20*2=40 Exploring Operation: 83-20=63, Resulting Numbers: [2, 63] Generated Node #0,2,1: 43:[2, 63] Operation: 83-20=63 Exploring Operation: 20+2=22, Resulting Numbers: [83, 22] Generated Node #0,2,2: 43:[83, 22] Operation: 20+2=22 Exploring Operation: 83-2=81, Resulting Numbers: [20, 81] Generated Node #0,2,3: 43:[20, 81] Operation: 83-2=81 Moving to Node #0,2,0 Current State: 43:[83, 40], Operations: ['87-85=2', '20*2=40'] Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,43 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[83, 87, 20, 85], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [83, 20, 2] Generated Node #0,2: 43:[83, 20, 2] Operation: 87-85=2 Moving to Node #0,2 Current State: 43:[83, 20, 2], Operations: ['87-85=2'] Exploring Operation: 20*2=40, Resulting Numbers: [83, 40] Generated Node #0,2,0: 43:[83, 40] Operation: 20*2=40 Moving to Node #0,2,0 Current State: 43:[83, 40], Operations: ['87-85=2', '20*2=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 49, 34, 22, 80 ]
87
[ "49-34=15", "22+80=102", "102-15=87" ]
Current State: 87:[49, 34, 22, 80], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [22, 80, 15] Generated Node #2: [22, 80, 15] from Operation: 49-34=15 Current State: 87:[22, 80, 15], Operations: ['49-34=15'] Exploring Operation: 22+80=102, Resulting Numbers: [15, 102] Generated Node #3: [15, 102] from Operation: 22+80=102 Current State: 87:[15, 102], Operations: ['49-34=15', '22+80=102'] Exploring Operation: 102-15=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[49, 34, 22, 80], Operations: [] Exploring Operation: 49-22=27, Resulting Numbers: [34, 80, 27] Generated Node #0,0: 87:[34, 80, 27] Operation: 49-22=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[34, 80, 27], Operations: ['49-22=27'] Exploring Operation: 34-27=7, Resulting Numbers: [80, 7] Generated Node #0,0,0: 87:[80, 7] Operation: 34-27=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[80, 7], Operations: ['49-22=27', '34-27=7'] Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[49, 34, 22, 80], Operations: [] Exploring Operation: 49-22=27, Resulting Numbers: [34, 80, 27] Generated Node #0,0: 87:[34, 80, 27] Operation: 49-22=27 Moving to Node #0,0 Current State: 87:[34, 80, 27], Operations: ['49-22=27'] Exploring Operation: 34-27=7, Resulting Numbers: [80, 7] Generated Node #0,0,0: 87:[80, 7] Operation: 34-27=7 Moving to Node #0,0,0 Current State: 87:[80, 7], Operations: ['49-22=27', '34-27=7'] Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 85, 89, 82, 32 ]
54
[ "89-85=4", "82-32=50", "4+50=54" ]
Current State: 54:[85, 89, 82, 32], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [82, 32, 4] Generated Node #2: [82, 32, 4] from Operation: 89-85=4 Current State: 54:[82, 32, 4], Operations: ['89-85=4'] Exploring Operation: 82-32=50, Resulting Numbers: [4, 50] Generated Node #3: [4, 50] from Operation: 82-32=50 Current State: 54:[4, 50], Operations: ['89-85=4', '82-32=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[85, 89, 82, 32], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [82, 32, 4] Generated Node #0,0: 54:[82, 32, 4] Operation: 89-85=4 Exploring Operation: 89-82=7, Resulting Numbers: [85, 32, 7] Generated Node #0,1: 54:[85, 32, 7] Operation: 89-82=7 Moving to Node #0,0 Current State: 54:[82, 32, 4], Operations: ['89-85=4'] Exploring Operation: 82-32=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 54:[4, 50] Operation: 82-32=50 Exploring Operation: 82-4=78, Resulting Numbers: [32, 78] Generated Node #0,0,1: 54:[32, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[4, 50], Operations: ['89-85=4', '82-32=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[85, 89, 82, 32], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [82, 32, 4] Generated Node #0,0: 54:[82, 32, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 54:[82, 32, 4], Operations: ['89-85=4'] Exploring Operation: 82-32=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 54:[4, 50] Operation: 82-32=50 Moving to Node #0,0,0 Current State: 54:[4, 50], Operations: ['89-85=4', '82-32=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 39, 64, 30, 21 ]
62
[ "39+21=60", "60/30=2", "64-2=62" ]
Current State: 62:[39, 64, 30, 21], Operations: [] Exploring Operation: 39+21=60, Resulting Numbers: [64, 30, 60] Generated Node #2: [64, 30, 60] from Operation: 39+21=60 Current State: 62:[64, 30, 60], Operations: ['39+21=60'] Exploring Operation: 60/30=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 60/30=2 Current State: 62:[64, 2], Operations: ['39+21=60', '60/30=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[39, 64, 30, 21], Operations: [] Exploring Operation: 39+21=60, Resulting Numbers: [64, 30, 60] Generated Node #0,0: 62:[64, 30, 60] Operation: 39+21=60 Exploring Operation: 39-21=18, Resulting Numbers: [64, 30, 18] Generated Node #0,1: 62:[64, 30, 18] Operation: 39-21=18 Exploring Operation: 30-21=9, Resulting Numbers: [39, 64, 9] Generated Node #0,2: 62:[39, 64, 9] Operation: 30-21=9 Exploring Operation: 39+30=69, Resulting Numbers: [64, 21, 69] Generated Node #0,3: 62:[64, 21, 69] Operation: 39+30=69 Exploring Operation: 64-39=25, Resulting Numbers: [30, 21, 25] Generated Node #0,4: 62:[30, 21, 25] Operation: 64-39=25 Moving to Node #0,0 Current State: 62:[64, 30, 60], Operations: ['39+21=60'] Exploring Operation: 60-30=30, Resulting Numbers: [64, 30] Generated Node #0,0,0: 62:[64, 30] Operation: 60-30=30 Exploring Operation: 64-30=34, Resulting Numbers: [60, 34] Generated Node #0,0,1: 62:[60, 34] Operation: 64-30=34 Exploring Operation: 30+60=90, Resulting Numbers: [64, 90] Generated Node #0,0,2: 62:[64, 90] Operation: 30+60=90 Exploring Operation: 64-60=4, Resulting Numbers: [30, 4] Generated Node #0,0,3: 62:[30, 4] Operation: 64-60=4 Exploring Operation: 60/30=2, Resulting Numbers: [64, 2] Generated Node #0,0,4: 62:[64, 2] Operation: 60/30=2 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 62:[64, 2], Operations: ['39+21=60', '60/30=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[39, 64, 30, 21], Operations: [] Exploring Operation: 39+21=60, Resulting Numbers: [64, 30, 60] Generated Node #0,0: 62:[64, 30, 60] Operation: 39+21=60 Moving to Node #0,0 Current State: 62:[64, 30, 60], Operations: ['39+21=60'] Exploring Operation: 60/30=2, Resulting Numbers: [64, 2] Generated Node #0,0,4: 62:[64, 2] Operation: 60/30=2 Moving to Node #0,0,4 Current State: 62:[64, 2], Operations: ['39+21=60', '60/30=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 1, 52, 62, 13 ]
67
[ "1+62=63", "52/13=4", "63+4=67" ]
Current State: 67:[1, 52, 62, 13], Operations: [] Exploring Operation: 1+62=63, Resulting Numbers: [52, 13, 63] Generated Node #2: [52, 13, 63] from Operation: 1+62=63 Current State: 67:[52, 13, 63], Operations: ['1+62=63'] Exploring Operation: 52/13=4, Resulting Numbers: [63, 4] Generated Node #3: [63, 4] from Operation: 52/13=4 Current State: 67:[63, 4], Operations: ['1+62=63', '52/13=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[1, 52, 62, 13], Operations: [] Exploring Operation: 1+62=63, Resulting Numbers: [52, 13, 63] Generated Node #0,0: 67:[52, 13, 63] Operation: 1+62=63 Exploring Operation: 52+13=65, Resulting Numbers: [1, 62, 65] Generated Node #0,1: 67:[1, 62, 65] Operation: 52+13=65 Exploring Operation: 1+52=53, Resulting Numbers: [62, 13, 53] Generated Node #0,2: 67:[62, 13, 53] Operation: 1+52=53 Exploring Operation: 1+13=14, Resulting Numbers: [52, 62, 14] Generated Node #0,3: 67:[52, 62, 14] Operation: 1+13=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[52, 13, 63], Operations: ['1+62=63'] Exploring Operation: 52+13=65, Resulting Numbers: [63, 65] Generated Node #0,0,0: 67:[63, 65] Operation: 52+13=65 Exploring Operation: 13+63=76, Resulting Numbers: [52, 76] Generated Node #0,0,1: 67:[52, 76] Operation: 13+63=76 Exploring Operation: 63-13=50, Resulting Numbers: [52, 50] Generated Node #0,0,2: 67:[52, 50] Operation: 63-13=50 Exploring Operation: 52-13=39, Resulting Numbers: [63, 39] Generated Node #0,0,3: 67:[63, 39] Operation: 52-13=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[63, 65], Operations: ['1+62=63', '52+13=65'] Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,67 unequal: No Solution Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[52, 76], Operations: ['1+62=63', '13+63=76'] Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[52, 50], Operations: ['1+62=63', '63-13=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,67 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 67:[63, 39], Operations: ['1+62=63', '52-13=39'] Exploring Operation: 63+39=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 63*39=2457, Resulting Numbers: [2457] 2457,67 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[1, 62, 65], Operations: ['52+13=65'] Exploring Operation: 1*62=62, Resulting Numbers: [65, 62] Generated Node #0,1,0: 67:[65, 62] Operation: 1*62=62 Exploring Operation: 1+62=63, Resulting Numbers: [65, 63] Generated Node #0,1,1: 67:[65, 63] Operation: 1+62=63 Exploring Operation: 62/1=62, Resulting Numbers: [65, 62] Generated Node #0,1,2: 67:[65, 62] Operation: 62/1=62 Exploring Operation: 1+65=66, Resulting Numbers: [62, 66] Generated Node #0,1,3: 67:[62, 66] Operation: 1+65=66 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[65, 63], Operations: ['52+13=65', '1+62=63'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 65*63=4095, Resulting Numbers: [4095] 4095,67 unequal: No Solution Exploring Operation: 65+63=128, Resulting Numbers: [128] 128,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[62, 66], Operations: ['52+13=65', '1+65=66'] Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,67 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[65, 62], Operations: ['52+13=65', '1*62=62'] Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[65, 62], Operations: ['52+13=65', '62/1=62'] Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[62, 13, 53], Operations: ['1+52=53'] Exploring Operation: 13+53=66, Resulting Numbers: [62, 66] Generated Node #0,2,0: 67:[62, 66] Operation: 13+53=66 Exploring Operation: 53-13=40, Resulting Numbers: [62, 40] Generated Node #0,2,1: 67:[62, 40] Operation: 53-13=40 Exploring Operation: 62-13=49, Resulting Numbers: [53, 49] Generated Node #0,2,2: 67:[53, 49] Operation: 62-13=49 Exploring Operation: 62+13=75, Resulting Numbers: [53, 75] Generated Node #0,2,3: 67:[53, 75] Operation: 62+13=75 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[62, 66], Operations: ['1+52=53', '13+53=66'] Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,67 unequal: No Solution Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[53, 75], Operations: ['1+52=53', '62+13=75'] Exploring Operation: 53+75=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 53*75=3975, Resulting Numbers: [3975] 3975,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[62, 40], Operations: ['1+52=53', '53-13=40'] Exploring Operation: 62*40=2480, Resulting Numbers: [2480] 2480,67 unequal: No Solution Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 62+40=102, Resulting Numbers: [102] 102,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[53, 49], Operations: ['1+52=53', '62-13=49'] Exploring Operation: 53+49=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 53*49=2597, Resulting Numbers: [2597] 2597,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[52, 62, 14], Operations: ['1+13=14'] Exploring Operation: 62-14=48, Resulting Numbers: [52, 48] Generated Node #0,3,0: 67:[52, 48] Operation: 62-14=48 Exploring Operation: 52-14=38, Resulting Numbers: [62, 38] Generated Node #0,3,1: 67:[62, 38] Operation: 52-14=38 Exploring Operation: 52+14=66, Resulting Numbers: [62, 66] Generated Node #0,3,2: 67:[62, 66] Operation: 52+14=66 Exploring Operation: 62+14=76, Resulting Numbers: [52, 76] Generated Node #0,3,3: 67:[52, 76] Operation: 62+14=76 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[62, 66], Operations: ['1+13=14', '52+14=66'] Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,67 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[52, 76], Operations: ['1+13=14', '62+14=76'] Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[52, 48], Operations: ['1+13=14', '62-14=48'] Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,67 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[62, 38], Operations: ['1+13=14', '52-14=38'] Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,67 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,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_4
sum_heuristic
[ 51, 3, 6, 47 ]
96
[ "51-6=45", "3*47=141", "141-45=96" ]
Current State: 96:[51, 3, 6, 47], Operations: [] Exploring Operation: 51-6=45, Resulting Numbers: [3, 47, 45] Generated Node #2: [3, 47, 45] from Operation: 51-6=45 Current State: 96:[3, 47, 45], Operations: ['51-6=45'] Exploring Operation: 3*47=141, Resulting Numbers: [45, 141] Generated Node #3: [45, 141] from Operation: 3*47=141 Current State: 96:[45, 141], Operations: ['51-6=45', '3*47=141'] Exploring Operation: 141-45=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[51, 3, 6, 47], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [6, 47, 17] Generated Node #0,0: 96:[6, 47, 17] Operation: 51/3=17 Exploring Operation: 51+47=98, Resulting Numbers: [3, 6, 98] Generated Node #0,1: 96:[3, 6, 98] Operation: 51+47=98 Exploring Operation: 51-3=48, Resulting Numbers: [6, 47, 48] Generated Node #0,2: 96:[6, 47, 48] Operation: 51-3=48 Exploring Operation: 51-6=45, Resulting Numbers: [3, 47, 45] Generated Node #0,3: 96:[3, 47, 45] Operation: 51-6=45 Exploring Operation: 51-47=4, Resulting Numbers: [3, 6, 4] Generated Node #0,4: 96:[3, 6, 4] Operation: 51-47=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[3, 6, 4], Operations: ['51-47=4'] Exploring Operation: 6-4=2, Resulting Numbers: [3, 2] Generated Node #0,4,0: 96:[3, 2] Operation: 6-4=2 Exploring Operation: 6/3=2, Resulting Numbers: [4, 2] Generated Node #0,4,1: 96:[4, 2] Operation: 6/3=2 Exploring Operation: 6*4=24, Resulting Numbers: [3, 24] Generated Node #0,4,2: 96:[3, 24] Operation: 6*4=24 Exploring Operation: 3*4=12, Resulting Numbers: [6, 12] Generated Node #0,4,3: 96:[6, 12] Operation: 3*4=12 Exploring Operation: 6-3=3, Resulting Numbers: [4, 3] Generated Node #0,4,4: 96:[4, 3] Operation: 6-3=3 Moving to Node #0,4,0 Current State: 96:[3, 2], Operations: ['51-47=4', '6-4=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,96 unequal: No Solution Moving to Node #0,4,2 Current State: 96:[3, 24], Operations: ['51-47=4', '6*4=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,96 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Moving to Node #0,4,4 Current State: 96:[4, 3], Operations: ['51-47=4', '6-3=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,4,1 Current State: 96:[4, 2], Operations: ['51-47=4', '6/3=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,96 unequal: No Solution Moving to Node #0,4,3 Current State: 96:[6, 12], Operations: ['51-47=4', '3*4=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[6, 47, 48], Operations: ['51-3=48'] Exploring Operation: 47+48=95, Resulting Numbers: [6, 95] Generated Node #0,2,0: 96:[6, 95] Operation: 47+48=95 Exploring Operation: 6+47=53, Resulting Numbers: [48, 53] Generated Node #0,2,1: 96:[48, 53] Operation: 6+47=53 Exploring Operation: 48-47=1, Resulting Numbers: [6, 1] Generated Node #0,2,2: 96:[6, 1] Operation: 48-47=1 Exploring Operation: 47-6=41, Resulting Numbers: [48, 41] Generated Node #0,2,3: 96:[48, 41] Operation: 47-6=41 Exploring Operation: 48/6=8, Resulting Numbers: [47, 8] Generated Node #0,2,4: 96:[47, 8] Operation: 48/6=8 Moving to Node #0,2,0 Current State: 96:[6, 95], Operations: ['51-3=48', '47+48=95'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,96 unequal: No Solution Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,96 unequal: No Solution Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[47, 8], Operations: ['51-3=48', '48/6=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[6, 1], Operations: ['51-3=48', '48-47=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[48, 53], Operations: ['51-3=48', '6+47=53'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[48, 41], Operations: ['51-3=48', '47-6=41'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,96 unequal: No Solution Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[6, 47, 17], Operations: ['51/3=17'] Exploring Operation: 6*17=102, Resulting Numbers: [47, 102] Generated Node #0,0,0: 96:[47, 102] Operation: 6*17=102 Exploring Operation: 6+17=23, Resulting Numbers: [47, 23] Generated Node #0,0,1: 96:[47, 23] Operation: 6+17=23 Exploring Operation: 47-17=30, Resulting Numbers: [6, 30] Generated Node #0,0,2: 96:[6, 30] Operation: 47-17=30 Exploring Operation: 6+47=53, Resulting Numbers: [17, 53] Generated Node #0,0,3: 96:[17, 53] Operation: 6+47=53 Exploring Operation: 17-6=11, Resulting Numbers: [47, 11] Generated Node #0,0,4: 96:[47, 11] Operation: 17-6=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[47, 23], Operations: ['51/3=17', '6+17=23'] Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,96 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,96 unequal: No Solution No 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: 96:[6, 30], Operations: ['51/3=17', '47-17=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,96 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,96 unequal: No Solution No 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: 96:[47, 11], Operations: ['51/3=17', '17-6=11'] Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,96 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,96 unequal: No Solution No 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: 96:[17, 53], Operations: ['51/3=17', '6+47=53'] Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,96 unequal: No Solution Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,96 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,96 unequal: No Solution No 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: 96:[47, 102], Operations: ['51/3=17', '6*17=102'] Exploring Operation: 47*102=4794, Resulting Numbers: [4794] 4794,96 unequal: No Solution Exploring Operation: 47+102=149, Resulting Numbers: [149] 149,96 unequal: No Solution Exploring Operation: 102-47=55, Resulting Numbers: [55] 55,96 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: 96:[3, 6, 98], Operations: ['51+47=98'] Exploring Operation: 3*6=18, Resulting Numbers: [98, 18] Generated Node #0,1,0: 96:[98, 18] Operation: 3*6=18 Exploring Operation: 98-3=95, Resulting Numbers: [6, 95] Generated Node #0,1,1: 96:[6, 95] Operation: 98-3=95 Exploring Operation: 6-3=3, Resulting Numbers: [98, 3] Generated Node #0,1,2: 96:[98, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [98, 9] Generated Node #0,1,3: 96:[98, 9] Operation: 3+6=9 Exploring Operation: 6/3=2, Resulting Numbers: [98, 2] Generated Node #0,1,4: 96:[98, 2] Operation: 6/3=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[6, 95], Operations: ['51+47=98', '98-3=95'] Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,96 unequal: No Solution Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,96 unequal: No Solution No 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: 96:[98, 3], Operations: ['51+47=98', '6-3=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 98*3=294, Resulting Numbers: [294] 294,96 unequal: No Solution No 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: 96:[98, 2], Operations: ['51+47=98', '6/3=2'] Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,96 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[51, 3, 6, 47], Operations: [] Exploring Operation: 51+47=98, Resulting Numbers: [3, 6, 98] Generated Node #0,1: 96:[3, 6, 98] Operation: 51+47=98 Moving to Node #0,1 Current State: 96:[3, 6, 98], Operations: ['51+47=98'] Exploring Operation: 6/3=2, Resulting Numbers: [98, 2] Generated Node #0,1,4: 96:[98, 2] Operation: 6/3=2 Moving to Node #0,1,4 Current State: 96:[98, 2], Operations: ['51+47=98', '6/3=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.923611
hs_5
mult_heuristic
[ 67, 92, 90, 95 ]
97
[ "95-92=3", "90/3=30", "67+30=97" ]
Current State: 97:[67, 92, 90, 95], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [67, 90, 3] Generated Node #2: [67, 90, 3] from Operation: 95-92=3 Current State: 97:[67, 90, 3], Operations: ['95-92=3'] Exploring Operation: 90/3=30, Resulting Numbers: [67, 30] Generated Node #3: [67, 30] from Operation: 90/3=30 Current State: 97:[67, 30], Operations: ['95-92=3', '90/3=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[67, 92, 90, 95], Operations: [] Exploring Operation: 67+92=159, Resulting Numbers: [90, 95, 159] Generated Node #0,0: 97:[90, 95, 159] Operation: 67+92=159 Exploring Operation: 67+95=162, Resulting Numbers: [92, 90, 162] Generated Node #0,1: 97:[92, 90, 162] Operation: 67+95=162 Exploring Operation: 67+90=157, Resulting Numbers: [92, 95, 157] Generated Node #0,2: 97:[92, 95, 157] Operation: 67+90=157 Exploring Operation: 92-67=25, Resulting Numbers: [90, 95, 25] Generated Node #0,3: 97:[90, 95, 25] Operation: 92-67=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[92, 95, 157], Operations: ['67+90=157'] Exploring Operation: 157-95=62, Resulting Numbers: [92, 62] Generated Node #0,2,0: 97:[92, 62] Operation: 157-95=62 Exploring Operation: 95-92=3, Resulting Numbers: [157, 3] Generated Node #0,2,1: 97:[157, 3] Operation: 95-92=3 Exploring Operation: 157-92=65, Resulting Numbers: [95, 65] Generated Node #0,2,2: 97:[95, 65] Operation: 157-92=65 Exploring Operation: 92+95=187, Resulting Numbers: [157, 187] Generated Node #0,2,3: 97:[157, 187] Operation: 92+95=187 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[95, 65], Operations: ['67+90=157', '157-92=65'] Exploring Operation: 95*65=6175, Resulting Numbers: [6175] 6175,97 unequal: No Solution Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 95+65=160, Resulting Numbers: [160] 160,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[92, 62], Operations: ['67+90=157', '157-95=62'] Exploring Operation: 92+62=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 92*62=5704, Resulting Numbers: [5704] 5704,97 unequal: No Solution Exploring Operation: 92-62=30, Resulting Numbers: [30] 30,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[157, 187], Operations: ['67+90=157', '92+95=187'] Exploring Operation: 157*187=29359, Resulting Numbers: [29359] 29359,97 unequal: No Solution Exploring Operation: 157+187=344, Resulting Numbers: [344] 344,97 unequal: No Solution Exploring Operation: 187-157=30, Resulting Numbers: [30] 30,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[157, 3], Operations: ['67+90=157', '95-92=3'] Exploring Operation: 157+3=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 157*3=471, Resulting Numbers: [471] 471,97 unequal: No Solution Exploring Operation: 157-3=154, Resulting Numbers: [154] 154,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[90, 95, 159], Operations: ['67+92=159'] Exploring Operation: 159-90=69, Resulting Numbers: [95, 69] Generated Node #0,0,0: 97:[95, 69] Operation: 159-90=69 Exploring Operation: 159-95=64, Resulting Numbers: [90, 64] Generated Node #0,0,1: 97:[90, 64] Operation: 159-95=64 Exploring Operation: 95-90=5, Resulting Numbers: [159, 5] Generated Node #0,0,2: 97:[159, 5] Operation: 95-90=5 Exploring Operation: 90+95=185, Resulting Numbers: [159, 185] Generated Node #0,0,3: 97:[159, 185] Operation: 90+95=185 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[95, 69], Operations: ['67+92=159', '159-90=69'] Exploring Operation: 95+69=164, Resulting Numbers: [164] 164,97 unequal: No Solution Exploring Operation: 95*69=6555, Resulting Numbers: [6555] 6555,97 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[90, 64], Operations: ['67+92=159', '159-95=64'] Exploring Operation: 90*64=5760, Resulting Numbers: [5760] 5760,97 unequal: No Solution Exploring Operation: 90-64=26, Resulting Numbers: [26] 26,97 unequal: No Solution Exploring Operation: 90+64=154, Resulting Numbers: [154] 154,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[159, 185], Operations: ['67+92=159', '90+95=185'] Exploring Operation: 159+185=344, Resulting Numbers: [344] 344,97 unequal: No Solution Exploring Operation: 159*185=29415, Resulting Numbers: [29415] 29415,97 unequal: No Solution Exploring Operation: 185-159=26, Resulting Numbers: [26] 26,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[159, 5], Operations: ['67+92=159', '95-90=5'] Exploring Operation: 159+5=164, Resulting Numbers: [164] 164,97 unequal: No Solution Exploring Operation: 159*5=795, Resulting Numbers: [795] 795,97 unequal: No Solution Exploring Operation: 159-5=154, Resulting Numbers: [154] 154,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[92, 90, 162], Operations: ['67+95=162'] Exploring Operation: 92-90=2, Resulting Numbers: [162, 2] Generated Node #0,1,0: 97:[162, 2] Operation: 92-90=2 Exploring Operation: 162-92=70, Resulting Numbers: [90, 70] Generated Node #0,1,1: 97:[90, 70] Operation: 162-92=70 Exploring Operation: 92+90=182, Resulting Numbers: [162, 182] Generated Node #0,1,2: 97:[162, 182] Operation: 92+90=182 Exploring Operation: 162-90=72, Resulting Numbers: [92, 72] Generated Node #0,1,3: 97:[92, 72] Operation: 162-90=72 Moving to Node #0,1,3 Current State: 97:[92, 72], Operations: ['67+95=162', '162-90=72'] Exploring Operation: 92*72=6624, Resulting Numbers: [6624] 6624,97 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 92+72=164, Resulting Numbers: [164] 164,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[90, 70], Operations: ['67+95=162', '162-92=70'] Exploring Operation: 90+70=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 90*70=6300, Resulting Numbers: [6300] 6300,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[162, 182], Operations: ['67+95=162', '92+90=182'] Exploring Operation: 182-162=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 162*182=29484, Resulting Numbers: [29484] 29484,97 unequal: No Solution Exploring Operation: 162+182=344, Resulting Numbers: [344] 344,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[162, 2], Operations: ['67+95=162', '92-90=2'] Exploring Operation: 162/2=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 162-2=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 162+2=164, Resulting Numbers: [164] 164,97 unequal: No Solution Exploring Operation: 162*2=324, Resulting Numbers: [324] 324,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[90, 95, 25], Operations: ['92-67=25'] Exploring Operation: 95-25=70, Resulting Numbers: [90, 70] Generated Node #0,3,0: 97:[90, 70] Operation: 95-25=70 Exploring Operation: 90-25=65, Resulting Numbers: [95, 65] Generated Node #0,3,1: 97:[95, 65] Operation: 90-25=65 Exploring Operation: 95+25=120, Resulting Numbers: [90, 120] Generated Node #0,3,2: 97:[90, 120] Operation: 95+25=120 Exploring Operation: 90+25=115, Resulting Numbers: [95, 115] Generated Node #0,3,3: 97:[95, 115] Operation: 90+25=115 Moving to Node #0,3,3 Current State: 97:[95, 115], Operations: ['92-67=25', '90+25=115'] Exploring Operation: 115-95=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 95*115=10925, Resulting Numbers: [10925] 10925,97 unequal: No Solution Exploring Operation: 95+115=210, Resulting Numbers: [210] 210,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[90, 120], Operations: ['92-67=25', '95+25=120'] Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 90+120=210, Resulting Numbers: [210] 210,97 unequal: No Solution Exploring Operation: 90*120=10800, Resulting Numbers: [10800] 10800,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[95, 65], Operations: ['92-67=25', '90-25=65'] Exploring Operation: 95+65=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 95*65=6175, Resulting Numbers: [6175] 6175,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[90, 70], Operations: ['92-67=25', '95-25=70'] Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 90+70=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 90*70=6300, Resulting Numbers: [6300] 6300,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 30, 24, 53, 12 ]
55
[ "30-24=6", "12/6=2", "53+2=55" ]
Current State: 55:[30, 24, 53, 12], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [53, 12, 6] Generated Node #2: [53, 12, 6] from Operation: 30-24=6 Current State: 55:[53, 12, 6], Operations: ['30-24=6'] Exploring Operation: 12/6=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 12/6=2 Current State: 55:[53, 2], Operations: ['30-24=6', '12/6=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[30, 24, 53, 12], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [53, 12, 6] Generated Node #0,0: 55:[53, 12, 6] Operation: 30-24=6 Exploring Operation: 30+24=54, Resulting Numbers: [53, 12, 54] Generated Node #0,1: 55:[53, 12, 54] Operation: 30+24=54 Exploring Operation: 30-12=18, Resulting Numbers: [24, 53, 18] Generated Node #0,2: 55:[24, 53, 18] Operation: 30-12=18 Moving to Node #0,0 Current State: 55:[53, 12, 6], Operations: ['30-24=6'] Exploring Operation: 12-6=6, Resulting Numbers: [53, 6] Generated Node #0,0,0: 55:[53, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [53, 2] Generated Node #0,0,1: 55:[53, 2] Operation: 12/6=2 Exploring Operation: 53+6=59, Resulting Numbers: [12, 59] Generated Node #0,0,2: 55:[12, 59] Operation: 53+6=59 Moving to Node #0,1 Current State: 55:[53, 12, 54], Operations: ['30+24=54'] Exploring Operation: 53+12=65, Resulting Numbers: [54, 65] Generated Node #0,1,0: 55:[54, 65] Operation: 53+12=65 Exploring Operation: 12+54=66, Resulting Numbers: [53, 66] Generated Node #0,1,1: 55:[53, 66] Operation: 12+54=66 Exploring Operation: 54-53=1, Resulting Numbers: [12, 1] Generated Node #0,1,2: 55:[12, 1] Operation: 54-53=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[12, 1], Operations: ['30+24=54', '54-53=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[54, 65], Operations: ['30+24=54', '53+12=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,55 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[53, 66], Operations: ['30+24=54', '12+54=66'] Exploring Operation: 53*66=3498, Resulting Numbers: [3498] 3498,55 unequal: No Solution Exploring Operation: 53+66=119, Resulting Numbers: [119] 119,55 unequal: No Solution Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,55 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: 55:[24, 53, 18], Operations: ['30-12=18'] Exploring Operation: 24+18=42, Resulting Numbers: [53, 42] Generated Node #0,2,0: 55:[53, 42] Operation: 24+18=42 Exploring Operation: 24-18=6, Resulting Numbers: [53, 6] Generated Node #0,2,1: 55:[53, 6] Operation: 24-18=6 Exploring Operation: 53-24=29, Resulting Numbers: [18, 29] Generated Node #0,2,2: 55:[18, 29] Operation: 53-24=29 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[53, 6], Operations: ['30-12=18', '24-18=6'] Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,55 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[53, 42], Operations: ['30-12=18', '24+18=42'] Exploring Operation: 53*42=2226, Resulting Numbers: [2226] 2226,55 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 53+42=95, Resulting Numbers: [95] 95,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[18, 29], Operations: ['30-12=18', '53-24=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 55:[53, 6], Operations: ['30-24=6', '12-6=6'] Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[53, 2], Operations: ['30-24=6', '12/6=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[30, 24, 53, 12], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [53, 12, 6] Generated Node #0,0: 55:[53, 12, 6] Operation: 30-24=6 Moving to Node #0,0 Current State: 55:[53, 12, 6], Operations: ['30-24=6'] Exploring Operation: 12/6=2, Resulting Numbers: [53, 2] Generated Node #0,0,1: 55:[53, 2] Operation: 12/6=2 Moving to Node #0,0,1 Current State: 55:[53, 2], Operations: ['30-24=6', '12/6=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 16, 35, 38, 2 ]
16
[ "16+38=54", "35*2=70", "70-54=16" ]
Current State: 16:[16, 35, 38, 2], Operations: [] Exploring Operation: 16+38=54, Resulting Numbers: [35, 2, 54] Generated Node #2: [35, 2, 54] from Operation: 16+38=54 Current State: 16:[35, 2, 54], Operations: ['16+38=54'] Exploring Operation: 35*2=70, Resulting Numbers: [54, 70] Generated Node #3: [54, 70] from Operation: 35*2=70 Current State: 16:[54, 70], Operations: ['16+38=54', '35*2=70'] Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[16, 35, 38, 2], Operations: [] Exploring Operation: 35-16=19, Resulting Numbers: [38, 2, 19] Generated Node #0,0: 16:[38, 2, 19] Operation: 35-16=19 Exploring Operation: 38-16=22, Resulting Numbers: [35, 2, 22] Generated Node #0,1: 16:[35, 2, 22] Operation: 38-16=22 Exploring Operation: 38/2=19, Resulting Numbers: [16, 35, 19] Generated Node #0,2: 16:[16, 35, 19] Operation: 38/2=19 Exploring Operation: 35-2=33, Resulting Numbers: [16, 38, 33] Generated Node #0,3: 16:[16, 38, 33] Operation: 35-2=33 Exploring Operation: 38-35=3, Resulting Numbers: [16, 2, 3] Generated Node #0,4: 16:[16, 2, 3] Operation: 38-35=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[16, 2, 3], Operations: ['38-35=3'] Exploring Operation: 3-2=1, Resulting Numbers: [16, 1] Generated Node #0,4,0: 16:[16, 1] Operation: 3-2=1 Exploring Operation: 2+3=5, Resulting Numbers: [16, 5] Generated Node #0,4,1: 16:[16, 5] Operation: 2+3=5 Exploring Operation: 16/2=8, Resulting Numbers: [3, 8] Generated Node #0,4,2: 16:[3, 8] Operation: 16/2=8 Exploring Operation: 2*3=6, Resulting Numbers: [16, 6] Generated Node #0,4,3: 16:[16, 6] Operation: 2*3=6 Exploring Operation: 16+2=18, Resulting Numbers: [3, 18] Generated Node #0,4,4: 16:[3, 18] Operation: 16+2=18 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 16:[16, 1], Operations: ['38-35=3', '3-2=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[16, 35, 38, 2], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [16, 2, 3] Generated Node #0,4: 16:[16, 2, 3] Operation: 38-35=3 Moving to Node #0,4 Current State: 16:[16, 2, 3], Operations: ['38-35=3'] Exploring Operation: 3-2=1, Resulting Numbers: [16, 1] Generated Node #0,4,0: 16:[16, 1] Operation: 3-2=1 Moving to Node #0,4,0 Current State: 16:[16, 1], Operations: ['38-35=3', '3-2=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 62, 92, 55, 31 ]
55
[ "92-62=30", "31-30=1", "55*1=55" ]
Current State: 55:[62, 92, 55, 31], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [55, 31, 30] Generated Node #2: [55, 31, 30] from Operation: 92-62=30 Current State: 55:[55, 31, 30], Operations: ['92-62=30'] Exploring Operation: 31-30=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 31-30=1 Current State: 55:[55, 1], Operations: ['92-62=30', '31-30=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[62, 92, 55, 31], Operations: [] Exploring Operation: 92-31=61, Resulting Numbers: [62, 55, 61] Generated Node #0,0: 55:[62, 55, 61] Operation: 92-31=61 Moving to Node #0,0 Current State: 55:[62, 55, 61], Operations: ['92-31=61'] Exploring Operation: 62-61=1, Resulting Numbers: [55, 1] Generated Node #0,0,0: 55:[55, 1] Operation: 62-61=1 Moving to Node #0,0,0 Current State: 55:[55, 1], Operations: ['92-31=61', '62-61=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[62, 92, 55, 31], Operations: [] Exploring Operation: 92-31=61, Resulting Numbers: [62, 55, 61] Generated Node #0,0: 55:[62, 55, 61] Operation: 92-31=61 Moving to Node #0,0 Current State: 55:[62, 55, 61], Operations: ['92-31=61'] Exploring Operation: 62-61=1, Resulting Numbers: [55, 1] Generated Node #0,0,0: 55:[55, 1] Operation: 62-61=1 Moving to Node #0,0,0 Current State: 55:[55, 1], Operations: ['92-31=61', '62-61=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 12, 73, 10, 34 ]
61
[ "12+73=85", "34-10=24", "85-24=61" ]
Current State: 61:[12, 73, 10, 34], Operations: [] Exploring Operation: 12+73=85, Resulting Numbers: [10, 34, 85] Generated Node #2: [10, 34, 85] from Operation: 12+73=85 Current State: 61:[10, 34, 85], Operations: ['12+73=85'] Exploring Operation: 34-10=24, Resulting Numbers: [85, 24] Generated Node #3: [85, 24] from Operation: 34-10=24 Current State: 61:[85, 24], Operations: ['12+73=85', '34-10=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[12, 73, 10, 34], Operations: [] Exploring Operation: 73-12=61, Resulting Numbers: [10, 34, 61] Generated Node #0,0: 61:[10, 34, 61] Operation: 73-12=61 Exploring Operation: 12+10=22, Resulting Numbers: [73, 34, 22] Generated Node #0,1: 61:[73, 34, 22] Operation: 12+10=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[10, 34, 61], Operations: ['73-12=61'] Exploring Operation: 10+34=44, Resulting Numbers: [61, 44] Generated Node #0,0,0: 61:[61, 44] Operation: 10+34=44 Exploring Operation: 34-10=24, Resulting Numbers: [61, 24] Generated Node #0,0,1: 61:[61, 24] Operation: 34-10=24 Moving to Node #0,0,0 Current State: 61:[61, 44], Operations: ['73-12=61', '10+34=44'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[61, 24], Operations: ['73-12=61', '34-10=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[73, 34, 22], Operations: ['12+10=22'] Exploring Operation: 73-22=51, Resulting Numbers: [34, 51] Generated Node #0,1,0: 61:[34, 51] Operation: 73-22=51 Exploring Operation: 34+22=56, Resulting Numbers: [73, 56] Generated Node #0,1,1: 61:[73, 56] Operation: 34+22=56 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[73, 56], Operations: ['12+10=22', '34+22=56'] Exploring Operation: 73+56=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 73-56=17, Resulting Numbers: [17] 17,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[34, 51], Operations: ['12+10=22', '73-22=51'] Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 61, 66, 2, 31 ]
94
[ "61+66=127", "2+31=33", "127-33=94" ]
Current State: 94:[61, 66, 2, 31], Operations: [] Exploring Operation: 61+66=127, Resulting Numbers: [2, 31, 127] Generated Node #2: [2, 31, 127] from Operation: 61+66=127 Current State: 94:[2, 31, 127], Operations: ['61+66=127'] Exploring Operation: 2+31=33, Resulting Numbers: [127, 33] Generated Node #3: [127, 33] from Operation: 2+31=33 Current State: 94:[127, 33], Operations: ['61+66=127', '2+31=33'] Exploring Operation: 127-33=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[61, 66, 2, 31], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [61, 2, 35] Generated Node #0,0: 94:[61, 2, 35] Operation: 66-31=35 Exploring Operation: 66-61=5, Resulting Numbers: [2, 31, 5] Generated Node #0,1: 94:[2, 31, 5] Operation: 66-61=5 Exploring Operation: 61+31=92, Resulting Numbers: [66, 2, 92] Generated Node #0,2: 94:[66, 2, 92] Operation: 61+31=92 Exploring Operation: 66+31=97, Resulting Numbers: [61, 2, 97] Generated Node #0,3: 94:[61, 2, 97] Operation: 66+31=97 Moving to Node #0,3 Current State: 94:[61, 2, 97], Operations: ['66+31=97'] Exploring Operation: 61-2=59, Resulting Numbers: [97, 59] Generated Node #0,3,0: 94:[97, 59] Operation: 61-2=59 Exploring Operation: 97-2=95, Resulting Numbers: [61, 95] Generated Node #0,3,1: 94:[61, 95] Operation: 97-2=95 Exploring Operation: 97-61=36, Resulting Numbers: [2, 36] Generated Node #0,3,2: 94:[2, 36] Operation: 97-61=36 Exploring Operation: 61+2=63, Resulting Numbers: [97, 63] Generated Node #0,3,3: 94:[97, 63] Operation: 61+2=63 Moving to Node #0,1 Current State: 94:[2, 31, 5], Operations: ['66-61=5'] Exploring Operation: 5-2=3, Resulting Numbers: [31, 3] Generated Node #0,1,0: 94:[31, 3] Operation: 5-2=3 Exploring Operation: 2*31=62, Resulting Numbers: [5, 62] Generated Node #0,1,1: 94:[5, 62] Operation: 2*31=62 Exploring Operation: 2+31=33, Resulting Numbers: [5, 33] Generated Node #0,1,2: 94:[5, 33] Operation: 2+31=33 Exploring Operation: 31+5=36, Resulting Numbers: [2, 36] Generated Node #0,1,3: 94:[2, 36] Operation: 31+5=36 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[2, 36], Operations: ['66-61=5', '31+5=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[31, 3], Operations: ['66-61=5', '5-2=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[5, 33], Operations: ['66-61=5', '2+31=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,94 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[5, 62], Operations: ['66-61=5', '2*31=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,94 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: 94:[66, 2, 92], Operations: ['61+31=92'] Exploring Operation: 2+92=94, Resulting Numbers: [66, 94] Generated Node #0,2,0: 94:[66, 94] Operation: 2+92=94 Exploring Operation: 92/2=46, Resulting Numbers: [66, 46] Generated Node #0,2,1: 94:[66, 46] Operation: 92/2=46 Exploring Operation: 66-2=64, Resulting Numbers: [92, 64] Generated Node #0,2,2: 94:[92, 64] Operation: 66-2=64 Exploring Operation: 66/2=33, Resulting Numbers: [92, 33] Generated Node #0,2,3: 94:[92, 33] Operation: 66/2=33 Moving to Node #0,0 Current State: 94:[61, 2, 35], Operations: ['66-31=35'] Exploring Operation: 61-35=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 94:[2, 26] Operation: 61-35=26 Exploring Operation: 61+35=96, Resulting Numbers: [2, 96] Generated Node #0,0,1: 94:[2, 96] Operation: 61+35=96 Exploring Operation: 2+35=37, Resulting Numbers: [61, 37] Generated Node #0,0,2: 94:[61, 37] Operation: 2+35=37 Exploring Operation: 61-2=59, Resulting Numbers: [35, 59] Generated Node #0,0,3: 94:[35, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[2, 96], Operations: ['66-31=35', '61+35=96'] Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[61, 66, 2, 31], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [61, 2, 35] Generated Node #0,0: 94:[61, 2, 35] Operation: 66-31=35 Moving to Node #0,0 Current State: 94:[61, 2, 35], Operations: ['66-31=35'] Exploring Operation: 61+35=96, Resulting Numbers: [2, 96] Generated Node #0,0,1: 94:[2, 96] Operation: 61+35=96 Moving to Node #0,0,1 Current State: 94:[2, 96], Operations: ['66-31=35', '61+35=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 20, 39, 96, 97 ]
18
[ "39-20=19", "97-96=1", "19-1=18" ]
Current State: 18:[20, 39, 96, 97], Operations: [] Exploring Operation: 39-20=19, Resulting Numbers: [96, 97, 19] Generated Node #2: [96, 97, 19] from Operation: 39-20=19 Current State: 18:[96, 97, 19], Operations: ['39-20=19'] Exploring Operation: 97-96=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 97-96=1 Current State: 18:[19, 1], Operations: ['39-20=19', '97-96=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[20, 39, 96, 97], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [20, 39, 1] Generated Node #0,0: 18:[20, 39, 1] Operation: 97-96=1 Exploring Operation: 97-39=58, Resulting Numbers: [20, 96, 58] Generated Node #0,1: 18:[20, 96, 58] Operation: 97-39=58 Exploring Operation: 96-39=57, Resulting Numbers: [20, 97, 57] Generated Node #0,2: 18:[20, 97, 57] Operation: 96-39=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[20, 39, 1], Operations: ['97-96=1'] Exploring Operation: 39-1=38, Resulting Numbers: [20, 38] Generated Node #0,0,0: 18:[20, 38] Operation: 39-1=38 Exploring Operation: 39-20=19, Resulting Numbers: [1, 19] Generated Node #0,0,1: 18:[1, 19] Operation: 39-20=19 Exploring Operation: 20-1=19, Resulting Numbers: [39, 19] Generated Node #0,0,2: 18:[39, 19] Operation: 20-1=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[1, 19], Operations: ['97-96=1', '39-20=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[20, 39, 96, 97], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [20, 39, 1] Generated Node #0,0: 18:[20, 39, 1] Operation: 97-96=1 Moving to Node #0,0 Current State: 18:[20, 39, 1], Operations: ['97-96=1'] Exploring Operation: 39-20=19, Resulting Numbers: [1, 19] Generated Node #0,0,1: 18:[1, 19] Operation: 39-20=19 Moving to Node #0,0,1 Current State: 18:[1, 19], Operations: ['97-96=1', '39-20=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 52, 9, 2, 44 ]
39
[ "52+9=61", "44/2=22", "61-22=39" ]
Current State: 39:[52, 9, 2, 44], Operations: [] Exploring Operation: 52+9=61, Resulting Numbers: [2, 44, 61] Generated Node #2: [2, 44, 61] from Operation: 52+9=61 Current State: 39:[2, 44, 61], Operations: ['52+9=61'] Exploring Operation: 44/2=22, Resulting Numbers: [61, 22] Generated Node #3: [61, 22] from Operation: 44/2=22 Current State: 39:[61, 22], Operations: ['52+9=61', '44/2=22'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[52, 9, 2, 44], Operations: [] Exploring Operation: 52-44=8, Resulting Numbers: [9, 2, 8] Generated Node #0,0: 39:[9, 2, 8] Operation: 52-44=8 Exploring Operation: 52-9=43, Resulting Numbers: [2, 44, 43] Generated Node #0,1: 39:[2, 44, 43] Operation: 52-9=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[9, 2, 8], Operations: ['52-44=8'] Exploring Operation: 9-8=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 39:[2, 1] Operation: 9-8=1 Exploring Operation: 9+8=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 39:[2, 17] Operation: 9+8=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[2, 1], Operations: ['52-44=8', '9-8=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,39 unequal: No Solution No 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: 39:[2, 17], Operations: ['52-44=8', '9+8=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[2, 44, 43], Operations: ['52-9=43'] Exploring Operation: 44-43=1, Resulting Numbers: [2, 1] Generated Node #0,1,0: 39:[2, 1] Operation: 44-43=1 Exploring Operation: 44-2=42, Resulting Numbers: [43, 42] Generated Node #0,1,1: 39:[43, 42] Operation: 44-2=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[2, 1], Operations: ['52-9=43', '44-43=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,39 unequal: No Solution No 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: 39:[43, 42], Operations: ['52-9=43', '44-2=42'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 69, 54, 86 ]
23
[ "48+69=117", "54+86=140", "140-117=23" ]
Current State: 23:[48, 69, 54, 86], Operations: [] Exploring Operation: 48+69=117, Resulting Numbers: [54, 86, 117] Generated Node #2: [54, 86, 117] from Operation: 48+69=117 Current State: 23:[54, 86, 117], Operations: ['48+69=117'] Exploring Operation: 54+86=140, Resulting Numbers: [117, 140] Generated Node #3: [117, 140] from Operation: 54+86=140 Current State: 23:[117, 140], Operations: ['48+69=117', '54+86=140'] Exploring Operation: 140-117=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[48, 69, 54, 86], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [48, 69, 32] Generated Node #0,0: 23:[48, 69, 32] Operation: 86-54=32 Exploring Operation: 86-48=38, Resulting Numbers: [69, 54, 38] Generated Node #0,1: 23:[69, 54, 38] Operation: 86-48=38 Exploring Operation: 86-69=17, Resulting Numbers: [48, 54, 17] Generated Node #0,2: 23:[48, 54, 17] Operation: 86-69=17 Moving to Node #0,2 Current State: 23:[48, 54, 17], Operations: ['86-69=17'] Exploring Operation: 48-17=31, Resulting Numbers: [54, 31] Generated Node #0,2,0: 23:[54, 31] Operation: 48-17=31 Exploring Operation: 54-48=6, Resulting Numbers: [17, 6] Generated Node #0,2,1: 23:[17, 6] Operation: 54-48=6 Exploring Operation: 54-17=37, Resulting Numbers: [48, 37] Generated Node #0,2,2: 23:[48, 37] Operation: 54-17=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[17, 6], Operations: ['86-69=17', '54-48=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[48, 69, 54, 86], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [48, 54, 17] Generated Node #0,2: 23:[48, 54, 17] Operation: 86-69=17 Moving to Node #0,2 Current State: 23:[48, 54, 17], Operations: ['86-69=17'] Exploring Operation: 54-48=6, Resulting Numbers: [17, 6] Generated Node #0,2,1: 23:[17, 6] Operation: 54-48=6 Moving to Node #0,2,1 Current State: 23:[17, 6], Operations: ['86-69=17', '54-48=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 31, 17, 14, 38 ]
38
[ "31-17=14", "14+38=52", "52-14=38" ]
Current State: 38:[31, 17, 14, 38], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [14, 38, 14] Generated Node #2: [14, 38, 14] from Operation: 31-17=14 Current State: 38:[14, 38, 14], Operations: ['31-17=14'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,38 equal: Goal Reached Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[31, 17, 14, 38], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [17, 38, 17] Generated Node #0,0: 38:[17, 38, 17] Operation: 31-14=17 Exploring Operation: 17-14=3, Resulting Numbers: [31, 38, 3] Generated Node #0,1: 38:[31, 38, 3] Operation: 17-14=3 Moving to Node #0,0 Current State: 38:[17, 38, 17], Operations: ['31-14=17'] Exploring Operation: 17/17=1, Resulting Numbers: [38, 1] Generated Node #0,0,0: 38:[38, 1] Operation: 17/17=1 Exploring Operation: 17-17=0, Resulting Numbers: [38, 0] Generated Node #0,0,1: 38:[38, 0] Operation: 17-17=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[38, 1], Operations: ['31-14=17', '17/17=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[31, 17, 14, 38], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [17, 38, 17] Generated Node #0,0: 38:[17, 38, 17] Operation: 31-14=17 Moving to Node #0,0 Current State: 38:[17, 38, 17], Operations: ['31-14=17'] Exploring Operation: 17/17=1, Resulting Numbers: [38, 1] Generated Node #0,0,0: 38:[38, 1] Operation: 17/17=1 Moving to Node #0,0,0 Current State: 38:[38, 1], Operations: ['31-14=17', '17/17=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 9, 5, 5, 45 ]
15
[ "45/9=5", "5+5=10", "5+10=15" ]
Current State: 15:[9, 5, 5, 45], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [5, 5, 5] Generated Node #2: [5, 5, 5] from Operation: 45/9=5 Current State: 15:[5, 5, 5], Operations: ['45/9=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,15 equal: Goal Reached Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[9, 5, 5, 45], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [5, 5, 5] Generated Node #0,0: 15:[5, 5, 5] Operation: 45/9=5 Exploring Operation: 45/5=9, Resulting Numbers: [9, 5, 9] Generated Node #0,1: 15:[9, 5, 9] Operation: 45/5=9 Exploring Operation: 45/5=9, Resulting Numbers: [9, 5, 9] Generated Node #0,2: 15:[9, 5, 9] Operation: 45/5=9 Exploring Operation: 45-9=36, Resulting Numbers: [5, 5, 36] Generated Node #0,3: 15:[5, 5, 36] Operation: 45-9=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[5, 5, 5], Operations: ['45/9=5'] Exploring Operation: 5/5=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 15:[5, 1] Operation: 5/5=1 Exploring Operation: 5/5=1, Resulting Numbers: [5, 1] Generated Node #0,0,1: 15:[5, 1] Operation: 5/5=1 Exploring Operation: 5/5=1, Resulting Numbers: [5, 1] Generated Node #0,0,2: 15:[5, 1] Operation: 5/5=1 Exploring Operation: 5-5=0, Resulting Numbers: [5, 0] Generated Node #0,0,3: 15:[5, 0] Operation: 5-5=0 Moving to Node #0,0,0 Current State: 15:[5, 1], Operations: ['45/9=5', '5/5=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[5, 1], Operations: ['45/9=5', '5/5=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[5, 1], Operations: ['45/9=5', '5/5=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[5, 0], Operations: ['45/9=5', '5-5=0'] Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,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,1 Current State: 15:[9, 5, 9], Operations: ['45/5=9'] Exploring Operation: 9+5=14, Resulting Numbers: [9, 14] Generated Node #0,1,0: 15:[9, 14] Operation: 9+5=14 Exploring Operation: 9-9=0, Resulting Numbers: [5, 0] Generated Node #0,1,1: 15:[5, 0] Operation: 9-9=0 Exploring Operation: 9/9=1, Resulting Numbers: [5, 1] Generated Node #0,1,2: 15:[5, 1] Operation: 9/9=1 Exploring Operation: 9+9=18, Resulting Numbers: [5, 18] Generated Node #0,1,3: 15:[5, 18] Operation: 9+9=18 Moving to Node #0,1,2 Current State: 15:[5, 1], Operations: ['45/5=9', '9/9=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[5, 18], Operations: ['45/5=9', '9+9=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[5, 0], Operations: ['45/5=9', '9-9=0'] Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[9, 14], Operations: ['45/5=9', '9+5=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,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,2 Current State: 15:[9, 5, 9], Operations: ['45/5=9'] Exploring Operation: 9-9=0, Resulting Numbers: [5, 0] Generated Node #0,2,0: 15:[5, 0] Operation: 9-9=0 Exploring Operation: 9+9=18, Resulting Numbers: [5, 18] Generated Node #0,2,1: 15:[5, 18] Operation: 9+9=18 Exploring Operation: 9/9=1, Resulting Numbers: [5, 1] Generated Node #0,2,2: 15:[5, 1] Operation: 9/9=1 Exploring Operation: 9+5=14, Resulting Numbers: [9, 14] Generated Node #0,2,3: 15:[9, 14] Operation: 9+5=14 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[5, 1], Operations: ['45/5=9', '9/9=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[5, 0], Operations: ['45/5=9', '9-9=0'] Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[5, 18], Operations: ['45/5=9', '9+9=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[9, 14], Operations: ['45/5=9', '9+5=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[5, 5, 36], Operations: ['45-9=36'] Exploring Operation: 36-5=31, Resulting Numbers: [5, 31] Generated Node #0,3,0: 15:[5, 31] Operation: 36-5=31 Exploring Operation: 5/5=1, Resulting Numbers: [36, 1] Generated Node #0,3,1: 15:[36, 1] Operation: 5/5=1 Exploring Operation: 5-5=0, Resulting Numbers: [36, 0] Generated Node #0,3,2: 15:[36, 0] Operation: 5-5=0 Exploring Operation: 36-5=31, Resulting Numbers: [5, 31] Generated Node #0,3,3: 15:[5, 31] Operation: 36-5=31 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[5, 31], Operations: ['45-9=36', '36-5=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,15 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 15:[5, 31], Operations: ['45-9=36', '36-5=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,15 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 15:[36, 1], Operations: ['45-9=36', '5/5=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[36, 0], Operations: ['45-9=36', '5-5=0'] Exploring Operation: 36-0=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 36*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 36+0=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 10, 47, 26, 45 ]
76
[ "10+47=57", "45-26=19", "57+19=76" ]
Current State: 76:[10, 47, 26, 45], Operations: [] Exploring Operation: 10+47=57, Resulting Numbers: [26, 45, 57] Generated Node #2: [26, 45, 57] from Operation: 10+47=57 Current State: 76:[26, 45, 57], Operations: ['10+47=57'] Exploring Operation: 45-26=19, Resulting Numbers: [57, 19] Generated Node #3: [57, 19] from Operation: 45-26=19 Current State: 76:[57, 19], Operations: ['10+47=57', '45-26=19'] Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[10, 47, 26, 45], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [10, 26, 2] Generated Node #0,0: 76:[10, 26, 2] Operation: 47-45=2 Moving to Node #0,0 Current State: 76:[10, 26, 2], Operations: ['47-45=2'] Exploring Operation: 10+26=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 76:[2, 36] Operation: 10+26=36 Moving to Node #0,0,0 Current State: 76:[2, 36], Operations: ['47-45=2', '10+26=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 37, 26, 37, 45 ]
19
[ "37+26=63", "37+45=82", "82-63=19" ]
Current State: 19:[37, 26, 37, 45], Operations: [] Exploring Operation: 37+26=63, Resulting Numbers: [45, 63] Generated Node #2: [45, 63] from Operation: 37+26=63 Current State: 19:[45, 63], Operations: ['37+26=63'] Exploring Operation: 37+45=82, Resulting Numbers: [63, 82] Generated Node #3: [63, 82] from Operation: 37+45=82 Current State: 19:[63, 82], Operations: ['37+26=63', '37+45=82'] Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[37, 26, 37, 45], Operations: [] Exploring Operation: 45-26=19, Resulting Numbers: [37, 37, 19] Generated Node #0,0: 19:[37, 37, 19] Operation: 45-26=19 Exploring Operation: 45-37=8, Resulting Numbers: [26, 37, 8] Generated Node #0,1: 19:[26, 37, 8] Operation: 45-37=8 Moving to Node #0,0 Current State: 19:[37, 37, 19], Operations: ['45-26=19'] Exploring Operation: 37/37=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 19:[19, 1] Operation: 37/37=1 Exploring Operation: 37-37=0, Resulting Numbers: [19, 0] Generated Node #0,0,1: 19:[19, 0] Operation: 37-37=0 Moving to Node #0,1 Current State: 19:[26, 37, 8], Operations: ['45-37=8'] Exploring Operation: 37-26=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 19:[8, 11] Operation: 37-26=11 Exploring Operation: 37-8=29, Resulting Numbers: [26, 29] Generated Node #0,1,1: 19:[26, 29] Operation: 37-8=29 Moving to Node #0,1,1 Current State: 19:[26, 29], Operations: ['45-37=8', '37-8=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[19, 1], Operations: ['45-26=19', '37/37=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[37, 26, 37, 45], Operations: [] Exploring Operation: 45-26=19, Resulting Numbers: [37, 37, 19] Generated Node #0,0: 19:[37, 37, 19] Operation: 45-26=19 Moving to Node #0,0 Current State: 19:[37, 37, 19], Operations: ['45-26=19'] Exploring Operation: 37/37=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 19:[19, 1] Operation: 37/37=1 Moving to Node #0,0,0 Current State: 19:[19, 1], Operations: ['45-26=19', '37/37=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 80, 1, 69, 2 ]
75
[ "80+1=81", "69+81=150", "150/2=75" ]
Current State: 75:[80, 1, 69, 2], Operations: [] Exploring Operation: 80+1=81, Resulting Numbers: [69, 2, 81] Generated Node #2: [69, 2, 81] from Operation: 80+1=81 Current State: 75:[69, 2, 81], Operations: ['80+1=81'] Exploring Operation: 69+81=150, Resulting Numbers: [2, 150] Generated Node #3: [2, 150] from Operation: 69+81=150 Current State: 75:[2, 150], Operations: ['80+1=81', '69+81=150'] Exploring Operation: 150/2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[80, 1, 69, 2], Operations: [] Exploring Operation: 1+2=3, Resulting Numbers: [80, 69, 3] Generated Node #0,0: 75:[80, 69, 3] Operation: 1+2=3 Exploring Operation: 1+69=70, Resulting Numbers: [80, 2, 70] Generated Node #0,1: 75:[80, 2, 70] Operation: 1+69=70 Exploring Operation: 80-2=78, Resulting Numbers: [1, 69, 78] Generated Node #0,2: 75:[1, 69, 78] Operation: 80-2=78 Exploring Operation: 80-1=79, Resulting Numbers: [69, 2, 79] Generated Node #0,3: 75:[69, 2, 79] Operation: 80-1=79 Exploring Operation: 80-69=11, Resulting Numbers: [1, 2, 11] Generated Node #0,4: 75:[1, 2, 11] Operation: 80-69=11 Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[1, 2, 11], Operations: ['80-69=11'] Exploring Operation: 2+11=13, Resulting Numbers: [1, 13] Generated Node #0,4,0: 75:[1, 13] Operation: 2+11=13 Exploring Operation: 2/1=2, Resulting Numbers: [11, 2] Generated Node #0,4,1: 75:[11, 2] Operation: 2/1=2 Exploring Operation: 1*2=2, Resulting Numbers: [11, 2] Generated Node #0,4,2: 75:[11, 2] Operation: 1*2=2 Exploring Operation: 1+11=12, Resulting Numbers: [2, 12] Generated Node #0,4,3: 75:[2, 12] Operation: 1+11=12 Exploring Operation: 1+2=3, Resulting Numbers: [11, 3] Generated Node #0,4,4: 75:[11, 3] Operation: 1+2=3 Moving to Node #0,4,0 Current State: 75:[1, 13], Operations: ['80-69=11', '2+11=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,75 unequal: No Solution Moving to Node #0,4,4 Current State: 75:[11, 3], Operations: ['80-69=11', '1+2=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,75 unequal: No Solution Moving to Node #0,4,3 Current State: 75:[2, 12], Operations: ['80-69=11', '1+11=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,75 unequal: No Solution Moving to Node #0,4,1 Current State: 75:[11, 2], Operations: ['80-69=11', '2/1=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,75 unequal: No Solution Moving to Node #0,4,2 Current State: 75:[11, 2], Operations: ['80-69=11', '1*2=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[80, 69, 3], Operations: ['1+2=3'] Exploring Operation: 80+3=83, Resulting Numbers: [69, 83] Generated Node #0,0,0: 75:[69, 83] Operation: 80+3=83 Exploring Operation: 69/3=23, Resulting Numbers: [80, 23] Generated Node #0,0,1: 75:[80, 23] Operation: 69/3=23 Exploring Operation: 80-3=77, Resulting Numbers: [69, 77] Generated Node #0,0,2: 75:[69, 77] Operation: 80-3=77 Exploring Operation: 69+3=72, Resulting Numbers: [80, 72] Generated Node #0,0,3: 75:[80, 72] Operation: 69+3=72 Exploring Operation: 80-69=11, Resulting Numbers: [3, 11] Generated Node #0,0,4: 75:[3, 11] Operation: 80-69=11 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 75:[3, 11], Operations: ['1+2=3', '80-69=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[80, 23], Operations: ['1+2=3', '69/3=23'] Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,75 unequal: No Solution Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[69, 77], Operations: ['1+2=3', '80-3=77'] Exploring Operation: 69*77=5313, Resulting Numbers: [5313] 5313,75 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[80, 72], Operations: ['1+2=3', '69+3=72'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,75 unequal: No Solution Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[69, 83], Operations: ['1+2=3', '80+3=83'] Exploring Operation: 83-69=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 69*83=5727, Resulting Numbers: [5727] 5727,75 unequal: No Solution Exploring Operation: 69+83=152, Resulting Numbers: [152] 152,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[80, 2, 70], Operations: ['1+69=70'] Exploring Operation: 80+2=82, Resulting Numbers: [70, 82] Generated Node #0,1,0: 75:[70, 82] Operation: 80+2=82 Exploring Operation: 2+70=72, Resulting Numbers: [80, 72] Generated Node #0,1,1: 75:[80, 72] Operation: 2+70=72 Exploring Operation: 80-2=78, Resulting Numbers: [70, 78] Generated Node #0,1,2: 75:[70, 78] Operation: 80-2=78 Exploring Operation: 80-70=10, Resulting Numbers: [2, 10] Generated Node #0,1,3: 75:[2, 10] Operation: 80-70=10 Exploring Operation: 70-2=68, Resulting Numbers: [80, 68] Generated Node #0,1,4: 75:[80, 68] Operation: 70-2=68 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[2, 10], Operations: ['1+69=70', '80-70=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[80, 72], Operations: ['1+69=70', '2+70=72'] Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,75 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[70, 78], Operations: ['1+69=70', '80-2=78'] Exploring Operation: 70+78=148, Resulting Numbers: [148] 148,75 unequal: No Solution Exploring Operation: 70*78=5460, Resulting Numbers: [5460] 5460,75 unequal: No Solution Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[70, 82], Operations: ['1+69=70', '80+2=82'] Exploring Operation: 70*82=5740, Resulting Numbers: [5740] 5740,75 unequal: No Solution Exploring Operation: 70+82=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 75:[80, 68], Operations: ['1+69=70', '70-2=68'] Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,75 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[1, 69, 78], Operations: ['80-2=78'] Exploring Operation: 69/1=69, Resulting Numbers: [78, 69] Generated Node #0,2,0: 75:[78, 69] Operation: 69/1=69 Exploring Operation: 1*69=69, Resulting Numbers: [78, 69] Generated Node #0,2,1: 75:[78, 69] Operation: 1*69=69 Exploring Operation: 1+69=70, Resulting Numbers: [78, 70] Generated Node #0,2,2: 75:[78, 70] Operation: 1+69=70 Exploring Operation: 78-69=9, Resulting Numbers: [1, 9] Generated Node #0,2,3: 75:[1, 9] Operation: 78-69=9 Exploring Operation: 78-1=77, Resulting Numbers: [69, 77] Generated Node #0,2,4: 75:[69, 77] Operation: 78-1=77 Moving to Node #0,2,3 Current State: 75:[1, 9], Operations: ['80-2=78', '78-69=9'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[69, 77], Operations: ['80-2=78', '78-1=77'] Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 69*77=5313, Resulting Numbers: [5313] 5313,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[78, 70], Operations: ['80-2=78', '1+69=70'] Exploring Operation: 78+70=148, Resulting Numbers: [148] 148,75 unequal: No Solution Exploring Operation: 78*70=5460, Resulting Numbers: [5460] 5460,75 unequal: No Solution Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[78, 69], Operations: ['80-2=78', '69/1=69'] Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,75 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 78*69=5382, Resulting Numbers: [5382] 5382,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[78, 69], Operations: ['80-2=78', '1*69=69'] Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 78*69=5382, Resulting Numbers: [5382] 5382,75 unequal: No Solution Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[69, 2, 79], Operations: ['80-1=79'] Exploring Operation: 69-2=67, Resulting Numbers: [79, 67] Generated Node #0,3,0: 75:[79, 67] Operation: 69-2=67 Exploring Operation: 79-69=10, Resulting Numbers: [2, 10] Generated Node #0,3,1: 75:[2, 10] Operation: 79-69=10 Exploring Operation: 2+79=81, Resulting Numbers: [69, 81] Generated Node #0,3,2: 75:[69, 81] Operation: 2+79=81 Exploring Operation: 79-2=77, Resulting Numbers: [69, 77] Generated Node #0,3,3: 75:[69, 77] Operation: 79-2=77 Exploring Operation: 69+2=71, Resulting Numbers: [79, 71] Generated Node #0,3,4: 75:[79, 71] Operation: 69+2=71 Moving to Node #0,3,1 Current State: 75:[2, 10], Operations: ['80-1=79', '79-69=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,75 unequal: No Solution Moving to Node #0,3,4 Current State: 75:[79, 71], Operations: ['80-1=79', '69+2=71'] Exploring Operation: 79*71=5609, Resulting Numbers: [5609] 5609,75 unequal: No Solution Exploring Operation: 79+71=150, Resulting Numbers: [150] 150,75 unequal: No Solution Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[69, 77], Operations: ['80-1=79', '79-2=77'] Exploring Operation: 69*77=5313, Resulting Numbers: [5313] 5313,75 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[79, 67], Operations: ['80-1=79', '69-2=67'] Exploring Operation: 79*67=5293, Resulting Numbers: [5293] 5293,75 unequal: No Solution Exploring Operation: 79+67=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[69, 81], Operations: ['80-1=79', '2+79=81'] Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 69*81=5589, Resulting Numbers: [5589] 5589,75 unequal: No Solution Exploring Operation: 69+81=150, Resulting Numbers: [150] 150,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 88, 40, 13, 3 ]
22
[ "13-3=10", "88*10=880", "880/40=22" ]
Current State: 22:[88, 40, 13, 3], Operations: [] Exploring Operation: 13-3=10, Resulting Numbers: [88, 40, 10] Generated Node #2: [88, 40, 10] from Operation: 13-3=10 Current State: 22:[88, 40, 10], Operations: ['13-3=10'] Exploring Operation: 88*10=880, Resulting Numbers: [40, 880] Generated Node #3: [40, 880] from Operation: 88*10=880 Current State: 22:[40, 880], Operations: ['13-3=10', '88*10=880'] Exploring Operation: 880/40=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[88, 40, 13, 3], Operations: [] Exploring Operation: 88-13=75, Resulting Numbers: [40, 3, 75] Generated Node #0,0: 22:[40, 3, 75] Operation: 88-13=75 Exploring Operation: 88-40=48, Resulting Numbers: [13, 3, 48] Generated Node #0,1: 22:[13, 3, 48] Operation: 88-40=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[13, 3, 48], Operations: ['88-40=48'] Exploring Operation: 48/3=16, Resulting Numbers: [13, 16] Generated Node #0,1,0: 22:[13, 16] Operation: 48/3=16 Exploring Operation: 48-13=35, Resulting Numbers: [3, 35] Generated Node #0,1,1: 22:[3, 35] Operation: 48-13=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[13, 16], Operations: ['88-40=48', '48/3=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,22 unequal: No Solution No 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: 22:[3, 35], Operations: ['88-40=48', '48-13=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,22 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: 22:[40, 3, 75], Operations: ['88-13=75'] Exploring Operation: 75-40=35, Resulting Numbers: [3, 35] Generated Node #0,0,0: 22:[3, 35] Operation: 75-40=35 Exploring Operation: 75/3=25, Resulting Numbers: [40, 25] Generated Node #0,0,1: 22:[40, 25] Operation: 75/3=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[3, 35], Operations: ['88-13=75', '75-40=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,22 unequal: No Solution No 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: 22:[40, 25], Operations: ['88-13=75', '75/3=25'] Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 75, 12, 69, 35 ]
29
[ "75-12=63", "69-35=34", "63-34=29" ]
Current State: 29:[75, 12, 69, 35], Operations: [] Exploring Operation: 75-12=63, Resulting Numbers: [69, 35, 63] Generated Node #2: [69, 35, 63] from Operation: 75-12=63 Current State: 29:[69, 35, 63], Operations: ['75-12=63'] Exploring Operation: 69-35=34, Resulting Numbers: [63, 34] Generated Node #3: [63, 34] from Operation: 69-35=34 Current State: 29:[63, 34], Operations: ['75-12=63', '69-35=34'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[75, 12, 69, 35], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [12, 35, 6] Generated Node #0,0: 29:[12, 35, 6] Operation: 75-69=6 Moving to Node #0,0 Current State: 29:[12, 35, 6], Operations: ['75-69=6'] Exploring Operation: 12+6=18, Resulting Numbers: [35, 18] Generated Node #0,0,0: 29:[35, 18] Operation: 12+6=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[35, 18], Operations: ['75-69=6', '12+6=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,29 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
[ 27, 1, 59, 28 ]
59
[ "27+1=28", "59+28=87", "87-28=59" ]
Current State: 59:[27, 1, 59, 28], Operations: [] Exploring Operation: 27+1=28, Resulting Numbers: [59, 28, 28] Generated Node #2: [59, 28, 28] from Operation: 27+1=28 Current State: 59:[59, 28, 28], Operations: ['27+1=28'] Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,59 equal: Goal Reached Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[27, 1, 59, 28], Operations: [] Exploring Operation: 27+1=28, Resulting Numbers: [59, 28, 28] Generated Node #0,0: 59:[59, 28, 28] Operation: 27+1=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[59, 28, 28], Operations: ['27+1=28'] Exploring Operation: 28+28=56, Resulting Numbers: [59, 56] Generated Node #0,0,0: 59:[59, 56] Operation: 28+28=56 Moving to Node #0,0,0 Current State: 59:[59, 56], Operations: ['27+1=28', '28+28=56'] Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,59 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
[ 9, 47, 76, 7 ]
13
[ "9+47=56", "76-7=69", "69-56=13" ]
Current State: 13:[9, 47, 76, 7], Operations: [] Exploring Operation: 9+47=56, Resulting Numbers: [76, 7, 56] Generated Node #2: [76, 7, 56] from Operation: 9+47=56 Current State: 13:[76, 7, 56], Operations: ['9+47=56'] Exploring Operation: 76-7=69, Resulting Numbers: [56, 69] Generated Node #3: [56, 69] from Operation: 76-7=69 Current State: 13:[56, 69], Operations: ['9+47=56', '76-7=69'] Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[9, 47, 76, 7], Operations: [] Exploring Operation: 76-9=67, Resulting Numbers: [47, 7, 67] Generated Node #0,0: 13:[47, 7, 67] Operation: 76-9=67 Exploring Operation: 47-9=38, Resulting Numbers: [76, 7, 38] Generated Node #0,1: 13:[76, 7, 38] Operation: 47-9=38 Exploring Operation: 76-47=29, Resulting Numbers: [9, 7, 29] Generated Node #0,2: 13:[9, 7, 29] Operation: 76-47=29 Moving to Node #0,2 Current State: 13:[9, 7, 29], Operations: ['76-47=29'] Exploring Operation: 29-7=22, Resulting Numbers: [9, 22] Generated Node #0,2,0: 13:[9, 22] Operation: 29-7=22 Exploring Operation: 29-9=20, Resulting Numbers: [7, 20] Generated Node #0,2,1: 13:[7, 20] Operation: 29-9=20 Exploring Operation: 9+7=16, Resulting Numbers: [29, 16] Generated Node #0,2,2: 13:[29, 16] Operation: 9+7=16 Moving to Node #0,0 Current State: 13:[47, 7, 67], Operations: ['76-9=67'] Exploring Operation: 67-7=60, Resulting Numbers: [47, 60] Generated Node #0,0,0: 13:[47, 60] Operation: 67-7=60 Exploring Operation: 67-47=20, Resulting Numbers: [7, 20] Generated Node #0,0,1: 13:[7, 20] Operation: 67-47=20 Exploring Operation: 47-7=40, Resulting Numbers: [67, 40] Generated Node #0,0,2: 13:[67, 40] Operation: 47-7=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[7, 20], Operations: ['76-9=67', '67-47=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[9, 47, 76, 7], Operations: [] Exploring Operation: 76-9=67, Resulting Numbers: [47, 7, 67] Generated Node #0,0: 13:[47, 7, 67] Operation: 76-9=67 Moving to Node #0,0 Current State: 13:[47, 7, 67], Operations: ['76-9=67'] Exploring Operation: 67-47=20, Resulting Numbers: [7, 20] Generated Node #0,0,1: 13:[7, 20] Operation: 67-47=20 Moving to Node #0,0,1 Current State: 13:[7, 20], Operations: ['76-9=67', '67-47=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 96, 73, 46, 70 ]
69
[ "70-46=24", "96/24=4", "73-4=69" ]
Current State: 69:[96, 73, 46, 70], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [96, 73, 24] Generated Node #2: [96, 73, 24] from Operation: 70-46=24 Current State: 69:[96, 73, 24], Operations: ['70-46=24'] Exploring Operation: 96/24=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 96/24=4 Current State: 69:[73, 4], Operations: ['70-46=24', '96/24=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[96, 73, 46, 70], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [96, 73, 24] Generated Node #0,0: 69:[96, 73, 24] Operation: 70-46=24 Exploring Operation: 73-46=27, Resulting Numbers: [96, 70, 27] Generated Node #0,1: 69:[96, 70, 27] Operation: 73-46=27 Exploring Operation: 96-70=26, Resulting Numbers: [73, 46, 26] Generated Node #0,2: 69:[73, 46, 26] Operation: 96-70=26 Exploring Operation: 96-46=50, Resulting Numbers: [73, 70, 50] Generated Node #0,3: 69:[73, 70, 50] Operation: 96-46=50 Exploring Operation: 96-73=23, Resulting Numbers: [46, 70, 23] Generated Node #0,4: 69:[46, 70, 23] Operation: 96-73=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[73, 70, 50], Operations: ['96-46=50'] Exploring Operation: 73-50=23, Resulting Numbers: [70, 23] Generated Node #0,3,0: 69:[70, 23] Operation: 73-50=23 Exploring Operation: 70-50=20, Resulting Numbers: [73, 20] Generated Node #0,3,1: 69:[73, 20] Operation: 70-50=20 Exploring Operation: 70+50=120, Resulting Numbers: [73, 120] Generated Node #0,3,2: 69:[73, 120] Operation: 70+50=120 Exploring Operation: 73+50=123, Resulting Numbers: [70, 123] Generated Node #0,3,3: 69:[70, 123] Operation: 73+50=123 Exploring Operation: 73-70=3, Resulting Numbers: [50, 3] Generated Node #0,3,4: 69:[50, 3] Operation: 73-70=3 Moving to Node #0,3,0 Current State: 69:[70, 23], Operations: ['96-46=50', '73-50=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,69 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[73, 20], Operations: ['96-46=50', '70-50=20'] Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[50, 3], Operations: ['96-46=50', '73-70=3'] Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,69 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[73, 120], Operations: ['96-46=50', '70+50=120'] Exploring Operation: 73+120=193, Resulting Numbers: [193] 193,69 unequal: No Solution Exploring Operation: 73*120=8760, Resulting Numbers: [8760] 8760,69 unequal: No Solution Exploring Operation: 120-73=47, Resulting Numbers: [47] 47,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[70, 123], Operations: ['96-46=50', '73+50=123'] Exploring Operation: 70+123=193, Resulting Numbers: [193] 193,69 unequal: No Solution Exploring Operation: 70*123=8610, Resulting Numbers: [8610] 8610,69 unequal: No Solution Exploring Operation: 123-70=53, Resulting Numbers: [53] 53,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,4 Current State: 69:[46, 70, 23], Operations: ['96-73=23'] Exploring Operation: 46/23=2, Resulting Numbers: [70, 2] Generated Node #0,4,0: 69:[70, 2] Operation: 46/23=2 Exploring Operation: 70-46=24, Resulting Numbers: [23, 24] Generated Node #0,4,1: 69:[23, 24] Operation: 70-46=24 Exploring Operation: 46-23=23, Resulting Numbers: [70, 23] Generated Node #0,4,2: 69:[70, 23] Operation: 46-23=23 Exploring Operation: 70-23=47, Resulting Numbers: [46, 47] Generated Node #0,4,3: 69:[46, 47] Operation: 70-23=47 Exploring Operation: 46+23=69, Resulting Numbers: [70, 69] Generated Node #0,4,4: 69:[70, 69] Operation: 46+23=69 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 69:[23, 24], Operations: ['96-73=23', '70-46=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,69 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,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,4,2 Current State: 69:[70, 23], Operations: ['96-73=23', '46-23=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,69 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,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,4,4 Current State: 69:[70, 69], Operations: ['96-73=23', '46+23=69'] Exploring Operation: 70*69=4830, Resulting Numbers: [4830] 4830,69 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,69 unequal: No Solution Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,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,4,0 Current State: 69:[70, 2], Operations: ['96-73=23', '46/23=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,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,4,3 Current State: 69:[46, 47], Operations: ['96-73=23', '70-23=47'] Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,69 unequal: No Solution Exploring Operation: 46+47=93, Resulting Numbers: [93] 93,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[73, 46, 26], Operations: ['96-70=26'] Exploring Operation: 46-26=20, Resulting Numbers: [73, 20] Generated Node #0,2,0: 69:[73, 20] Operation: 46-26=20 Exploring Operation: 73+46=119, Resulting Numbers: [26, 119] Generated Node #0,2,1: 69:[26, 119] Operation: 73+46=119 Exploring Operation: 46+26=72, Resulting Numbers: [73, 72] Generated Node #0,2,2: 69:[73, 72] Operation: 46+26=72 Exploring Operation: 73-26=47, Resulting Numbers: [46, 47] Generated Node #0,2,3: 69:[46, 47] Operation: 73-26=47 Exploring Operation: 73-46=27, Resulting Numbers: [26, 27] Generated Node #0,2,4: 69:[26, 27] Operation: 73-46=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[73, 20], Operations: ['96-70=26', '46-26=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[73, 72], Operations: ['96-70=26', '46+26=72'] 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 Exploring Operation: 73+72=145, Resulting Numbers: [145] 145,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 69:[26, 27], Operations: ['96-70=26', '73-46=27'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 69:[46, 47], Operations: ['96-70=26', '73-26=47'] Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,69 unequal: No Solution Exploring Operation: 46+47=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[26, 119], Operations: ['96-70=26', '73+46=119'] Exploring Operation: 26*119=3094, Resulting Numbers: [3094] 3094,69 unequal: No Solution Exploring Operation: 119-26=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 26+119=145, Resulting Numbers: [145] 145,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[96, 73, 24], Operations: ['70-46=24'] Exploring Operation: 96/24=4, Resulting Numbers: [73, 4] Generated Node #0,0,0: 69:[73, 4] Operation: 96/24=4 Exploring Operation: 96-24=72, Resulting Numbers: [73, 72] Generated Node #0,0,1: 69:[73, 72] Operation: 96-24=72 Exploring Operation: 73-24=49, Resulting Numbers: [96, 49] Generated Node #0,0,2: 69:[96, 49] Operation: 73-24=49 Exploring Operation: 96-73=23, Resulting Numbers: [24, 23] Generated Node #0,0,3: 69:[24, 23] Operation: 96-73=23 Exploring Operation: 96+24=120, Resulting Numbers: [73, 120] Generated Node #0,0,4: 69:[73, 120] Operation: 96+24=120 Moving to Node #0,0,3 Current State: 69:[24, 23], Operations: ['70-46=24', '96-73=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,69 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[73, 4], Operations: ['70-46=24', '96/24=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[96, 73, 46, 70], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [96, 73, 24] Generated Node #0,0: 69:[96, 73, 24] Operation: 70-46=24 Moving to Node #0,0 Current State: 69:[96, 73, 24], Operations: ['70-46=24'] Exploring Operation: 96/24=4, Resulting Numbers: [73, 4] Generated Node #0,0,0: 69:[73, 4] Operation: 96/24=4 Moving to Node #0,0,0 Current State: 69:[73, 4], Operations: ['70-46=24', '96/24=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.931424
hs_5
mult_heuristic
[ 50, 34, 73, 8 ]
75
[ "50-34=16", "16/8=2", "73+2=75" ]
Current State: 75:[50, 34, 73, 8], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [73, 8, 16] Generated Node #2: [73, 8, 16] from Operation: 50-34=16 Current State: 75:[73, 8, 16], Operations: ['50-34=16'] Exploring Operation: 16/8=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 16/8=2 Current State: 75:[73, 2], Operations: ['50-34=16', '16/8=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[50, 34, 73, 8], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [73, 8, 16] Generated Node #0,0: 75:[73, 8, 16] Operation: 50-34=16 Exploring Operation: 50+34=84, Resulting Numbers: [73, 8, 84] Generated Node #0,1: 75:[73, 8, 84] Operation: 50+34=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[73, 8, 16], Operations: ['50-34=16'] Exploring Operation: 16/8=2, Resulting Numbers: [73, 2] Generated Node #0,0,0: 75:[73, 2] Operation: 16/8=2 Exploring Operation: 8+16=24, Resulting Numbers: [73, 24] Generated Node #0,0,1: 75:[73, 24] Operation: 8+16=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[73, 2], Operations: ['50-34=16', '16/8=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[50, 34, 73, 8], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [73, 8, 16] Generated Node #0,0: 75:[73, 8, 16] Operation: 50-34=16 Moving to Node #0,0 Current State: 75:[73, 8, 16], Operations: ['50-34=16'] Exploring Operation: 16/8=2, Resulting Numbers: [73, 2] Generated Node #0,0,0: 75:[73, 2] Operation: 16/8=2 Moving to Node #0,0,0 Current State: 75:[73, 2], Operations: ['50-34=16', '16/8=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 87, 48, 93, 4 ]
46
[ "87+48=135", "93-4=89", "135-89=46" ]
Current State: 46:[87, 48, 93, 4], Operations: [] Exploring Operation: 87+48=135, Resulting Numbers: [93, 4, 135] Generated Node #2: [93, 4, 135] from Operation: 87+48=135 Current State: 46:[93, 4, 135], Operations: ['87+48=135'] Exploring Operation: 93-4=89, Resulting Numbers: [135, 89] Generated Node #3: [135, 89] from Operation: 93-4=89 Current State: 46:[135, 89], Operations: ['87+48=135', '93-4=89'] Exploring Operation: 135-89=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[87, 48, 93, 4], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [87, 4, 45] Generated Node #0,0: 46:[87, 4, 45] Operation: 93-48=45 Exploring Operation: 93-87=6, Resulting Numbers: [48, 4, 6] Generated Node #0,1: 46:[48, 4, 6] Operation: 93-87=6 Exploring Operation: 87-48=39, Resulting Numbers: [93, 4, 39] Generated Node #0,2: 46:[93, 4, 39] Operation: 87-48=39 Moving to Node #0,1 Current State: 46:[48, 4, 6], Operations: ['93-87=6'] Exploring Operation: 6-4=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 46:[48, 2] Operation: 6-4=2 Exploring Operation: 48-4=44, Resulting Numbers: [6, 44] Generated Node #0,1,1: 46:[6, 44] Operation: 48-4=44 Exploring Operation: 4*6=24, Resulting Numbers: [48, 24] Generated Node #0,1,2: 46:[48, 24] Operation: 4*6=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[48, 2], Operations: ['93-87=6', '6-4=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[87, 48, 93, 4], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [48, 4, 6] Generated Node #0,1: 46:[48, 4, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 46:[48, 4, 6], Operations: ['93-87=6'] Exploring Operation: 6-4=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 46:[48, 2] Operation: 6-4=2 Moving to Node #0,1,0 Current State: 46:[48, 2], Operations: ['93-87=6', '6-4=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 44, 27, 75, 35 ]
57
[ "44-27=17", "75-35=40", "17+40=57" ]
Current State: 57:[44, 27, 75, 35], Operations: [] Exploring Operation: 44-27=17, Resulting Numbers: [75, 35, 17] Generated Node #2: [75, 35, 17] from Operation: 44-27=17 Current State: 57:[75, 35, 17], Operations: ['44-27=17'] Exploring Operation: 75-35=40, Resulting Numbers: [17, 40] Generated Node #3: [17, 40] from Operation: 75-35=40 Current State: 57:[17, 40], Operations: ['44-27=17', '75-35=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[44, 27, 75, 35], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [27, 35, 31] Generated Node #0,0: 57:[27, 35, 31] Operation: 75-44=31 Exploring Operation: 44-27=17, Resulting Numbers: [75, 35, 17] Generated Node #0,1: 57:[75, 35, 17] Operation: 44-27=17 Exploring Operation: 44-35=9, Resulting Numbers: [27, 75, 9] Generated Node #0,2: 57:[27, 75, 9] Operation: 44-35=9 Moving to Node #0,2 Current State: 57:[27, 75, 9], Operations: ['44-35=9'] Exploring Operation: 75-9=66, Resulting Numbers: [27, 66] Generated Node #0,2,0: 57:[27, 66] Operation: 75-9=66 Exploring Operation: 27/9=3, Resulting Numbers: [75, 3] Generated Node #0,2,1: 57:[75, 3] Operation: 27/9=3 Exploring Operation: 75-27=48, Resulting Numbers: [9, 48] Generated Node #0,2,2: 57:[9, 48] Operation: 75-27=48 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[9, 48], Operations: ['44-35=9', '75-27=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[44, 27, 75, 35], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [27, 75, 9] Generated Node #0,2: 57:[27, 75, 9] Operation: 44-35=9 Moving to Node #0,2 Current State: 57:[27, 75, 9], Operations: ['44-35=9'] Exploring Operation: 75-27=48, Resulting Numbers: [9, 48] Generated Node #0,2,2: 57:[9, 48] Operation: 75-27=48 Moving to Node #0,2,2 Current State: 57:[9, 48], Operations: ['44-35=9', '75-27=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 29, 65, 35, 55 ]
24
[ "29*55=1595", "1595-35=1560", "1560/65=24" ]
Current State: 24:[29, 65, 35, 55], Operations: [] Exploring Operation: 29*55=1595, Resulting Numbers: [65, 35, 1595] Generated Node #2: [65, 35, 1595] from Operation: 29*55=1595 Current State: 24:[65, 35, 1595], Operations: ['29*55=1595'] Exploring Operation: 1595-35=1560, Resulting Numbers: [65, 1560] Generated Node #3: [65, 1560] from Operation: 1595-35=1560 Current State: 24:[65, 1560], Operations: ['29*55=1595', '1595-35=1560'] Exploring Operation: 1560/65=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[29, 65, 35, 55], Operations: [] Exploring Operation: 65-35=30, Resulting Numbers: [29, 55, 30] Generated Node #0,0: 24:[29, 55, 30] Operation: 65-35=30 Exploring Operation: 65-29=36, Resulting Numbers: [35, 55, 36] Generated Node #0,1: 24:[35, 55, 36] Operation: 65-29=36 Exploring Operation: 65-55=10, Resulting Numbers: [29, 35, 10] Generated Node #0,2: 24:[29, 35, 10] Operation: 65-55=10 Exploring Operation: 55-35=20, Resulting Numbers: [29, 65, 20] Generated Node #0,3: 24:[29, 65, 20] Operation: 55-35=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[29, 35, 10], Operations: ['65-55=10'] Exploring Operation: 29-10=19, Resulting Numbers: [35, 19] Generated Node #0,2,0: 24:[35, 19] Operation: 29-10=19 Exploring Operation: 29+10=39, Resulting Numbers: [35, 39] Generated Node #0,2,1: 24:[35, 39] Operation: 29+10=39 Exploring Operation: 35-10=25, Resulting Numbers: [29, 25] Generated Node #0,2,2: 24:[29, 25] Operation: 35-10=25 Exploring Operation: 35-29=6, Resulting Numbers: [10, 6] Generated Node #0,2,3: 24:[10, 6] Operation: 35-29=6 Moving to Node #0,2,3 Current State: 24:[10, 6], Operations: ['65-55=10', '35-29=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[29, 25], Operations: ['65-55=10', '35-10=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[35, 19], Operations: ['65-55=10', '29-10=19'] Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[35, 39], Operations: ['65-55=10', '29+10=39'] Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,24 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,24 unequal: No Solution No 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: 24:[29, 55, 30], Operations: ['65-35=30'] Exploring Operation: 30-29=1, Resulting Numbers: [55, 1] Generated Node #0,0,0: 24:[55, 1] Operation: 30-29=1 Exploring Operation: 55-29=26, Resulting Numbers: [30, 26] Generated Node #0,0,1: 24:[30, 26] Operation: 55-29=26 Exploring Operation: 29+55=84, Resulting Numbers: [30, 84] Generated Node #0,0,2: 24:[30, 84] Operation: 29+55=84 Exploring Operation: 55-30=25, Resulting Numbers: [29, 25] Generated Node #0,0,3: 24:[29, 25] Operation: 55-30=25 Moving to Node #0,0,3 Current State: 24:[29, 25], Operations: ['65-35=30', '55-30=25'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,24 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[30, 26], Operations: ['65-35=30', '55-29=26'] Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,24 unequal: No Solution Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[55, 1], Operations: ['65-35=30', '30-29=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[30, 84], Operations: ['65-35=30', '29+55=84'] Exploring Operation: 30*84=2520, Resulting Numbers: [2520] 2520,24 unequal: No Solution Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 30+84=114, Resulting Numbers: [114] 114,24 unequal: No Solution No 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: 24:[29, 65, 20], Operations: ['55-35=20'] Exploring Operation: 65-20=45, Resulting Numbers: [29, 45] Generated Node #0,3,0: 24:[29, 45] Operation: 65-20=45 Exploring Operation: 65-29=36, Resulting Numbers: [20, 36] Generated Node #0,3,1: 24:[20, 36] Operation: 65-29=36 Exploring Operation: 29-20=9, Resulting Numbers: [65, 9] Generated Node #0,3,2: 24:[65, 9] Operation: 29-20=9 Exploring Operation: 29+20=49, Resulting Numbers: [65, 49] Generated Node #0,3,3: 24:[65, 49] Operation: 29+20=49 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 24:[20, 36], Operations: ['55-35=20', '65-29=36'] Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,24 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,24 unequal: No Solution No 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: 24:[29, 45], Operations: ['55-35=20', '65-20=45'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,24 unequal: No Solution No 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: 24:[65, 9], Operations: ['55-35=20', '29-20=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,24 unequal: No Solution No 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: 24:[65, 49], Operations: ['55-35=20', '29+20=49'] Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,24 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,24 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,24 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: 24:[35, 55, 36], Operations: ['65-29=36'] Exploring Operation: 55-36=19, Resulting Numbers: [35, 19] Generated Node #0,1,0: 24:[35, 19] Operation: 55-36=19 Exploring Operation: 35+55=90, Resulting Numbers: [36, 90] Generated Node #0,1,1: 24:[36, 90] Operation: 35+55=90 Exploring Operation: 36-35=1, Resulting Numbers: [55, 1] Generated Node #0,1,2: 24:[55, 1] Operation: 36-35=1 Exploring Operation: 55-35=20, Resulting Numbers: [36, 20] Generated Node #0,1,3: 24:[36, 20] Operation: 55-35=20 Moving to Node #0,1,0 Current State: 24:[35, 19], Operations: ['65-29=36', '55-36=19'] Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,24 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[36, 20], Operations: ['65-29=36', '55-35=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[55, 1], Operations: ['65-29=36', '36-35=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[36, 90], Operations: ['65-29=36', '35+55=90'] Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,24 unequal: No Solution Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,24 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 88, 49, 96, 96 ]
37
[ "96-88=8", "96/8=12", "49-12=37" ]
Current State: 37:[88, 49, 96, 96], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [49, 8] Generated Node #2: [49, 8] from Operation: 96-88=8 Current State: 37:[49, 8], Operations: ['96-88=8'] Exploring Operation: 96/8=12, Resulting Numbers: [49, 12] Generated Node #3: [49, 12] from Operation: 96/8=12 Current State: 37:[49, 12], Operations: ['96-88=8', '96/8=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[88, 49, 96, 96], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [49, 96, 8] Generated Node #0,0: 37:[49, 96, 8] Operation: 96-88=8 Exploring Operation: 96-96=0, Resulting Numbers: [88, 49, 0] Generated Node #0,1: 37:[88, 49, 0] Operation: 96-96=0 Exploring Operation: 96/96=1, Resulting Numbers: [88, 49, 1] Generated Node #0,2: 37:[88, 49, 1] Operation: 96/96=1 Exploring Operation: 96-88=8, Resulting Numbers: [49, 96, 8] Generated Node #0,3: 37:[49, 96, 8] Operation: 96-88=8 Exploring Operation: 88-49=39, Resulting Numbers: [96, 96, 39] Generated Node #0,4: 37:[96, 96, 39] Operation: 88-49=39 Moving to Node #0,2 Current State: 37:[88, 49, 1], Operations: ['96/96=1'] Exploring Operation: 49-1=48, Resulting Numbers: [88, 48] Generated Node #0,2,0: 37:[88, 48] Operation: 49-1=48 Exploring Operation: 88-49=39, Resulting Numbers: [1, 39] Generated Node #0,2,1: 37:[1, 39] Operation: 88-49=39 Exploring Operation: 88-1=87, Resulting Numbers: [49, 87] Generated Node #0,2,2: 37:[49, 87] Operation: 88-1=87 Exploring Operation: 88*1=88, Resulting Numbers: [49, 88] Generated Node #0,2,3: 37:[49, 88] Operation: 88*1=88 Exploring Operation: 88/1=88, Resulting Numbers: [49, 88] Generated Node #0,2,4: 37:[49, 88] Operation: 88/1=88 Moving to Node #0,1 Current State: 37:[88, 49, 0], Operations: ['96-96=0'] Exploring Operation: 88+0=88, Resulting Numbers: [49, 88] Generated Node #0,1,0: 37:[49, 88] Operation: 88+0=88 Exploring Operation: 88*0=0, Resulting Numbers: [49, 0] Generated Node #0,1,1: 37:[49, 0] Operation: 88*0=0 Exploring Operation: 88-49=39, Resulting Numbers: [0, 39] Generated Node #0,1,2: 37:[0, 39] Operation: 88-49=39 Exploring Operation: 88-0=88, Resulting Numbers: [49, 88] Generated Node #0,1,3: 37:[49, 88] Operation: 88-0=88 Exploring Operation: 49+0=49, Resulting Numbers: [88, 49] Generated Node #0,1,4: 37:[88, 49] Operation: 49+0=49 Moving to Node #0,0 Current State: 37:[49, 96, 8], Operations: ['96-88=8'] Exploring Operation: 96/8=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 37:[49, 12] Operation: 96/8=12 Exploring Operation: 49-8=41, Resulting Numbers: [96, 41] Generated Node #0,0,1: 37:[96, 41] Operation: 49-8=41 Exploring Operation: 96-8=88, Resulting Numbers: [49, 88] Generated Node #0,0,2: 37:[49, 88] Operation: 96-8=88 Exploring Operation: 96-49=47, Resulting Numbers: [8, 47] Generated Node #0,0,3: 37:[8, 47] Operation: 96-49=47 Exploring Operation: 49+8=57, Resulting Numbers: [96, 57] Generated Node #0,0,4: 37:[96, 57] Operation: 49+8=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[49, 12], Operations: ['96-88=8', '96/8=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,37 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[88, 49, 96, 96], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [49, 96, 8] Generated Node #0,0: 37:[49, 96, 8] Operation: 96-88=8 Moving to Node #0,0 Current State: 37:[49, 96, 8], Operations: ['96-88=8'] Exploring Operation: 96/8=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 37:[49, 12] Operation: 96/8=12 Moving to Node #0,0,0 Current State: 37:[49, 12], Operations: ['96-88=8', '96/8=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 95, 73, 99, 80 ]
53
[ "99-95=4", "80/4=20", "73-20=53" ]
Current State: 53:[95, 73, 99, 80], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [73, 80, 4] Generated Node #2: [73, 80, 4] from Operation: 99-95=4 Current State: 53:[73, 80, 4], Operations: ['99-95=4'] Exploring Operation: 80/4=20, Resulting Numbers: [73, 20] Generated Node #3: [73, 20] from Operation: 80/4=20 Current State: 53:[73, 20], Operations: ['99-95=4', '80/4=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[95, 73, 99, 80], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [95, 73, 19] Generated Node #0,0: 53:[95, 73, 19] Operation: 99-80=19 Exploring Operation: 99-95=4, Resulting Numbers: [73, 80, 4] Generated Node #0,1: 53:[73, 80, 4] Operation: 99-95=4 Exploring Operation: 99-73=26, Resulting Numbers: [95, 80, 26] Generated Node #0,2: 53:[95, 80, 26] Operation: 99-73=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[95, 73, 19], Operations: ['99-80=19'] Exploring Operation: 73-19=54, Resulting Numbers: [95, 54] Generated Node #0,0,0: 53:[95, 54] Operation: 73-19=54 Exploring Operation: 95-19=76, Resulting Numbers: [73, 76] Generated Node #0,0,1: 53:[73, 76] Operation: 95-19=76 Exploring Operation: 95-73=22, Resulting Numbers: [19, 22] Generated Node #0,0,2: 53:[19, 22] Operation: 95-73=22 Moving to Node #0,0,0 Current State: 53:[95, 54], Operations: ['99-80=19', '73-19=54'] Exploring Operation: 95*54=5130, Resulting Numbers: [5130] 5130,53 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 95+54=149, Resulting Numbers: [149] 149,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[73, 76], Operations: ['99-80=19', '95-19=76'] Exploring Operation: 73*76=5548, Resulting Numbers: [5548] 5548,53 unequal: No Solution Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,53 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[19, 22], Operations: ['99-80=19', '95-73=22'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,53 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[73, 80, 4], Operations: ['99-95=4'] Exploring Operation: 73+4=77, Resulting Numbers: [80, 77] Generated Node #0,1,0: 53:[80, 77] Operation: 73+4=77 Exploring Operation: 80-4=76, Resulting Numbers: [73, 76] Generated Node #0,1,1: 53:[73, 76] Operation: 80-4=76 Exploring Operation: 73-4=69, Resulting Numbers: [80, 69] Generated Node #0,1,2: 53:[80, 69] Operation: 73-4=69 Moving to Node #0,1,1 Current State: 53:[73, 76], Operations: ['99-95=4', '80-4=76'] Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 73*76=5548, Resulting Numbers: [5548] 5548,53 unequal: No Solution Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[80, 69], Operations: ['99-95=4', '73-4=69'] Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,53 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[80, 77], Operations: ['99-95=4', '73+4=77'] Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,53 unequal: No Solution Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[95, 80, 26], Operations: ['99-73=26'] Exploring Operation: 95-80=15, Resulting Numbers: [26, 15] Generated Node #0,2,0: 53:[26, 15] Operation: 95-80=15 Exploring Operation: 95-26=69, Resulting Numbers: [80, 69] Generated Node #0,2,1: 53:[80, 69] Operation: 95-26=69 Exploring Operation: 80-26=54, Resulting Numbers: [95, 54] Generated Node #0,2,2: 53:[95, 54] Operation: 80-26=54 Moving to Node #0,2,1 Current State: 53:[80, 69], Operations: ['99-73=26', '95-26=69'] Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,53 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[95, 54], Operations: ['99-73=26', '80-26=54'] Exploring Operation: 95+54=149, Resulting Numbers: [149] 149,53 unequal: No Solution Exploring Operation: 95*54=5130, Resulting Numbers: [5130] 5130,53 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[26, 15], Operations: ['99-73=26', '95-80=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,53 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
[ 65, 11, 49, 68 ]
41
[ "65+11=76", "49+68=117", "117-76=41" ]
Current State: 41:[65, 11, 49, 68], Operations: [] Exploring Operation: 65+11=76, Resulting Numbers: [49, 68, 76] Generated Node #2: [49, 68, 76] from Operation: 65+11=76 Current State: 41:[49, 68, 76], Operations: ['65+11=76'] Exploring Operation: 49+68=117, Resulting Numbers: [76, 117] Generated Node #3: [76, 117] from Operation: 49+68=117 Current State: 41:[76, 117], Operations: ['65+11=76', '49+68=117'] Exploring Operation: 117-76=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[65, 11, 49, 68], Operations: [] Exploring Operation: 65+11=76, Resulting Numbers: [49, 68, 76] Generated Node #0,0: 41:[49, 68, 76] Operation: 65+11=76 Exploring Operation: 65-11=54, Resulting Numbers: [49, 68, 54] Generated Node #0,1: 41:[49, 68, 54] Operation: 65-11=54 Exploring Operation: 49-11=38, Resulting Numbers: [65, 68, 38] Generated Node #0,2: 41:[65, 68, 38] Operation: 49-11=38 Exploring Operation: 68-11=57, Resulting Numbers: [65, 49, 57] Generated Node #0,3: 41:[65, 49, 57] Operation: 68-11=57 Moving to Node #0,1 Current State: 41:[49, 68, 54], Operations: ['65-11=54'] Exploring Operation: 68-49=19, Resulting Numbers: [54, 19] Generated Node #0,1,0: 41:[54, 19] Operation: 68-49=19 Exploring Operation: 49+68=117, Resulting Numbers: [54, 117] Generated Node #0,1,1: 41:[54, 117] Operation: 49+68=117 Exploring Operation: 54-49=5, Resulting Numbers: [68, 5] Generated Node #0,1,2: 41:[68, 5] Operation: 54-49=5 Exploring Operation: 68-54=14, Resulting Numbers: [49, 14] Generated Node #0,1,3: 41:[49, 14] Operation: 68-54=14 Moving to Node #0,3 Current State: 41:[65, 49, 57], Operations: ['68-11=57'] Exploring Operation: 65-49=16, Resulting Numbers: [57, 16] Generated Node #0,3,0: 41:[57, 16] Operation: 65-49=16 Exploring Operation: 65-57=8, Resulting Numbers: [49, 8] Generated Node #0,3,1: 41:[49, 8] Operation: 65-57=8 Exploring Operation: 65+49=114, Resulting Numbers: [57, 114] Generated Node #0,3,2: 41:[57, 114] Operation: 65+49=114 Exploring Operation: 57-49=8, Resulting Numbers: [65, 8] Generated Node #0,3,3: 41:[65, 8] Operation: 57-49=8 Moving to Node #0,2 Current State: 41:[65, 68, 38], Operations: ['49-11=38'] Exploring Operation: 68-65=3, Resulting Numbers: [38, 3] Generated Node #0,2,0: 41:[38, 3] Operation: 68-65=3 Exploring Operation: 65-38=27, Resulting Numbers: [68, 27] Generated Node #0,2,1: 41:[68, 27] Operation: 65-38=27 Exploring Operation: 68-38=30, Resulting Numbers: [65, 30] Generated Node #0,2,2: 41:[65, 30] Operation: 68-38=30 Exploring Operation: 65+38=103, Resulting Numbers: [68, 103] Generated Node #0,2,3: 41:[68, 103] Operation: 65+38=103 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[65, 30], Operations: ['49-11=38', '68-38=30'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[38, 3], Operations: ['49-11=38', '68-65=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[65, 11, 49, 68], Operations: [] Exploring Operation: 49-11=38, Resulting Numbers: [65, 68, 38] Generated Node #0,2: 41:[65, 68, 38] Operation: 49-11=38 Moving to Node #0,2 Current State: 41:[65, 68, 38], Operations: ['49-11=38'] Exploring Operation: 68-65=3, Resulting Numbers: [38, 3] Generated Node #0,2,0: 41:[38, 3] Operation: 68-65=3 Moving to Node #0,2,0 Current State: 41:[38, 3], Operations: ['49-11=38', '68-65=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 1, 19, 17, 24 ]
46
[ "24-1=23", "19-17=2", "23*2=46" ]
Current State: 46:[1, 19, 17, 24], Operations: [] Exploring Operation: 24-1=23, Resulting Numbers: [19, 17, 23] Generated Node #2: [19, 17, 23] from Operation: 24-1=23 Current State: 46:[19, 17, 23], Operations: ['24-1=23'] Exploring Operation: 19-17=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 19-17=2 Current State: 46:[23, 2], Operations: ['24-1=23', '19-17=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[1, 19, 17, 24], Operations: [] Exploring Operation: 1+17=18, Resulting Numbers: [19, 24, 18] Generated Node #0,0: 46:[19, 24, 18] Operation: 1+17=18 Exploring Operation: 19-17=2, Resulting Numbers: [1, 24, 2] Generated Node #0,1: 46:[1, 24, 2] Operation: 19-17=2 Exploring Operation: 1+19=20, Resulting Numbers: [17, 24, 20] Generated Node #0,2: 46:[17, 24, 20] Operation: 1+19=20 Moving to Node #0,1 Current State: 46:[1, 24, 2], Operations: ['19-17=2'] Exploring Operation: 1*24=24, Resulting Numbers: [2, 24] Generated Node #0,1,0: 46:[2, 24] Operation: 1*24=24 Exploring Operation: 24/1=24, Resulting Numbers: [2, 24] Generated Node #0,1,1: 46:[2, 24] Operation: 24/1=24 Exploring Operation: 24-1=23, Resulting Numbers: [2, 23] Generated Node #0,1,2: 46:[2, 23] Operation: 24-1=23 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[2, 23], Operations: ['19-17=2', '24-1=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[1, 19, 17, 24], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [1, 24, 2] Generated Node #0,1: 46:[1, 24, 2] Operation: 19-17=2 Moving to Node #0,1 Current State: 46:[1, 24, 2], Operations: ['19-17=2'] Exploring Operation: 24-1=23, Resulting Numbers: [2, 23] Generated Node #0,1,2: 46:[2, 23] Operation: 24-1=23 Moving to Node #0,1,2 Current State: 46:[2, 23], Operations: ['19-17=2', '24-1=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 60, 12, 95, 72 ]
29
[ "95-60=35", "72/12=6", "35-6=29" ]
Current State: 29:[60, 12, 95, 72], Operations: [] Exploring Operation: 95-60=35, Resulting Numbers: [12, 72, 35] Generated Node #2: [12, 72, 35] from Operation: 95-60=35 Current State: 29:[12, 72, 35], Operations: ['95-60=35'] Exploring Operation: 72/12=6, Resulting Numbers: [35, 6] Generated Node #3: [35, 6] from Operation: 72/12=6 Current State: 29:[35, 6], Operations: ['95-60=35', '72/12=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[60, 12, 95, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [60, 95, 6] Generated Node #0,0: 29:[60, 95, 6] Operation: 72/12=6 Exploring Operation: 95-72=23, Resulting Numbers: [60, 12, 23] Generated Node #0,1: 29:[60, 12, 23] Operation: 95-72=23 Exploring Operation: 72-60=12, Resulting Numbers: [12, 95, 12] Generated Node #0,2: 29:[12, 95, 12] Operation: 72-60=12 Exploring Operation: 60-12=48, Resulting Numbers: [95, 72, 48] Generated Node #0,3: 29:[95, 72, 48] Operation: 60-12=48 Exploring Operation: 95-60=35, Resulting Numbers: [12, 72, 35] Generated Node #0,4: 29:[12, 72, 35] Operation: 95-60=35 Moving to Node #0,1 Current State: 29:[60, 12, 23], Operations: ['95-72=23'] Exploring Operation: 60-12=48, Resulting Numbers: [23, 48] Generated Node #0,1,0: 29:[23, 48] Operation: 60-12=48 Exploring Operation: 12+23=35, Resulting Numbers: [60, 35] Generated Node #0,1,1: 29:[60, 35] Operation: 12+23=35 Exploring Operation: 60+12=72, Resulting Numbers: [23, 72] Generated Node #0,1,2: 29:[23, 72] Operation: 60+12=72 Exploring Operation: 60-23=37, Resulting Numbers: [12, 37] Generated Node #0,1,3: 29:[12, 37] Operation: 60-23=37 Exploring Operation: 60/12=5, Resulting Numbers: [23, 5] Generated Node #0,1,4: 29:[23, 5] Operation: 60/12=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[23, 48], Operations: ['95-72=23', '60-12=48'] Exploring Operation: 23*48=1104, Resulting Numbers: [1104] 1104,29 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 23+48=71, Resulting Numbers: [71] 71,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,1,3 Current State: 29:[12, 37], Operations: ['95-72=23', '60-23=37'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,29 unequal: No Solution Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,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,1,4 Current State: 29:[23, 5], Operations: ['95-72=23', '60/12=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,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,1,1 Current State: 29:[60, 35], Operations: ['95-72=23', '12+23=35'] Exploring Operation: 60*35=2100, Resulting Numbers: [2100] 2100,29 unequal: No Solution Exploring Operation: 60+35=95, Resulting Numbers: [95] 95,29 unequal: No Solution Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,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,1,2 Current State: 29:[23, 72], Operations: ['95-72=23', '60+12=72'] Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,29 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,29 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,29 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: 29:[12, 72, 35], Operations: ['95-60=35'] Exploring Operation: 72-12=60, Resulting Numbers: [35, 60] Generated Node #0,4,0: 29:[35, 60] Operation: 72-12=60 Exploring Operation: 72-35=37, Resulting Numbers: [12, 37] Generated Node #0,4,1: 29:[12, 37] Operation: 72-35=37 Exploring Operation: 72/12=6, Resulting Numbers: [35, 6] Generated Node #0,4,2: 29:[35, 6] Operation: 72/12=6 Exploring Operation: 35-12=23, Resulting Numbers: [72, 23] Generated Node #0,4,3: 29:[72, 23] Operation: 35-12=23 Exploring Operation: 12+72=84, Resulting Numbers: [35, 84] Generated Node #0,4,4: 29:[35, 84] Operation: 12+72=84 Moving to Node #0,2 Current State: 29:[12, 95, 12], Operations: ['72-60=12'] Exploring Operation: 12/12=1, Resulting Numbers: [95, 1] Generated Node #0,2,0: 29:[95, 1] Operation: 12/12=1 Exploring Operation: 95-12=83, Resulting Numbers: [12, 83] Generated Node #0,2,1: 29:[12, 83] Operation: 95-12=83 Exploring Operation: 12+95=107, Resulting Numbers: [12, 107] Generated Node #0,2,2: 29:[12, 107] Operation: 12+95=107 Exploring Operation: 95-12=83, Resulting Numbers: [12, 83] Generated Node #0,2,3: 29:[12, 83] Operation: 95-12=83 Exploring Operation: 12+12=24, Resulting Numbers: [95, 24] Generated Node #0,2,4: 29:[95, 24] Operation: 12+12=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[12, 83], Operations: ['72-60=12', '95-12=83'] Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,29 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,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,2,3 Current State: 29:[12, 83], Operations: ['72-60=12', '95-12=83'] Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,29 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,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,2,4 Current State: 29:[95, 24], Operations: ['72-60=12', '12+12=24'] Exploring Operation: 95*24=2280, Resulting Numbers: [2280] 2280,29 unequal: No Solution Exploring Operation: 95+24=119, Resulting Numbers: [119] 119,29 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,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,2,0 Current State: 29:[95, 1], Operations: ['72-60=12', '12/12=1'] Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,29 unequal: No Solution Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,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,2,2 Current State: 29:[12, 107], Operations: ['72-60=12', '12+95=107'] Exploring Operation: 12*107=1284, Resulting Numbers: [1284] 1284,29 unequal: No Solution Exploring Operation: 12+107=119, Resulting Numbers: [119] 119,29 unequal: No Solution Exploring Operation: 107-12=95, Resulting Numbers: [95] 95,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:[60, 95, 6], Operations: ['72/12=6'] Exploring Operation: 95-60=35, Resulting Numbers: [6, 35] Generated Node #0,0,0: 29:[6, 35] Operation: 95-60=35 Exploring Operation: 95-6=89, Resulting Numbers: [60, 89] Generated Node #0,0,1: 29:[60, 89] Operation: 95-6=89 Exploring Operation: 60/6=10, Resulting Numbers: [95, 10] Generated Node #0,0,2: 29:[95, 10] Operation: 60/6=10 Exploring Operation: 60-6=54, Resulting Numbers: [95, 54] Generated Node #0,0,3: 29:[95, 54] Operation: 60-6=54 Exploring Operation: 60+6=66, Resulting Numbers: [95, 66] Generated Node #0,0,4: 29:[95, 66] Operation: 60+6=66 Moving to Node #0,3 Current State: 29:[95, 72, 48], Operations: ['60-12=48'] Exploring Operation: 95-72=23, Resulting Numbers: [48, 23] Generated Node #0,3,0: 29:[48, 23] Operation: 95-72=23 Exploring Operation: 95-48=47, Resulting Numbers: [72, 47] Generated Node #0,3,1: 29:[72, 47] Operation: 95-48=47 Exploring Operation: 95+48=143, Resulting Numbers: [72, 143] Generated Node #0,3,2: 29:[72, 143] Operation: 95+48=143 Exploring Operation: 72-48=24, Resulting Numbers: [95, 24] Generated Node #0,3,3: 29:[95, 24] Operation: 72-48=24 Exploring Operation: 95+72=167, Resulting Numbers: [48, 167] Generated Node #0,3,4: 29:[48, 167] Operation: 95+72=167 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[48, 23], Operations: ['60-12=48', '95-72=23'] Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,29 unequal: No Solution Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,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:[72, 47], Operations: ['60-12=48', '95-48=47'] Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,29 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,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:[95, 24], Operations: ['60-12=48', '72-48=24'] Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,29 unequal: No Solution Exploring Operation: 95+24=119, Resulting Numbers: [119] 119,29 unequal: No Solution Exploring Operation: 95*24=2280, Resulting Numbers: [2280] 2280,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,2 Current State: 29:[72, 143], Operations: ['60-12=48', '95+48=143'] Exploring Operation: 72*143=10296, Resulting Numbers: [10296] 10296,29 unequal: No Solution Exploring Operation: 72+143=215, Resulting Numbers: [215] 215,29 unequal: No Solution Exploring Operation: 143-72=71, Resulting Numbers: [71] 71,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:[48, 167], Operations: ['60-12=48', '95+72=167'] Exploring Operation: 167-48=119, Resulting Numbers: [119] 119,29 unequal: No Solution Exploring Operation: 48+167=215, Resulting Numbers: [215] 215,29 unequal: No Solution Exploring Operation: 48*167=8016, Resulting Numbers: [8016] 8016,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 29:[12, 37], Operations: ['95-60=35', '72-35=37'] Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[6, 35], Operations: ['72/12=6', '95-60=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[60, 12, 95, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [60, 95, 6] Generated Node #0,0: 29:[60, 95, 6] Operation: 72/12=6 Moving to Node #0,0 Current State: 29:[60, 95, 6], Operations: ['72/12=6'] Exploring Operation: 95-60=35, Resulting Numbers: [6, 35] Generated Node #0,0,0: 29:[6, 35] Operation: 95-60=35 Moving to Node #0,0,0 Current State: 29:[6, 35], Operations: ['72/12=6', '95-60=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.927083
hs_5
sum_heuristic
[ 10, 29, 52, 29 ]
10
[ "29-29=0", "52*0=0", "10+0=10" ]
Current State: 10:[10, 29, 52, 29], Operations: [] Exploring Operation: 29-29=0, Resulting Numbers: [10, 52, 0] Generated Node #2: [10, 52, 0] from Operation: 29-29=0 Current State: 10:[10, 52, 0], Operations: ['29-29=0'] Exploring Operation: 52*0=0, Resulting Numbers: [10, 0] Generated Node #3: [10, 0] from Operation: 52*0=0 Current State: 10:[10, 0], Operations: ['29-29=0', '52*0=0'] Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[10, 29, 52, 29], Operations: [] Exploring Operation: 29/29=1, Resulting Numbers: [10, 52, 1] Generated Node #0,0: 10:[10, 52, 1] Operation: 29/29=1 Exploring Operation: 52-29=23, Resulting Numbers: [10, 29, 23] Generated Node #0,1: 10:[10, 29, 23] Operation: 52-29=23 Exploring Operation: 52-29=23, Resulting Numbers: [10, 29, 23] Generated Node #0,2: 10:[10, 29, 23] Operation: 52-29=23 Moving to Node #0,1 Current State: 10:[10, 29, 23], Operations: ['52-29=23'] Exploring Operation: 29-23=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 10:[10, 6] Operation: 29-23=6 Exploring Operation: 29-10=19, Resulting Numbers: [23, 19] Generated Node #0,1,1: 10:[23, 19] Operation: 29-10=19 Exploring Operation: 23-10=13, Resulting Numbers: [29, 13] Generated Node #0,1,2: 10:[29, 13] Operation: 23-10=13 Moving to Node #0,2 Current State: 10:[10, 29, 23], Operations: ['52-29=23'] Exploring Operation: 23-10=13, Resulting Numbers: [29, 13] Generated Node #0,2,0: 10:[29, 13] Operation: 23-10=13 Exploring Operation: 29-10=19, Resulting Numbers: [23, 19] Generated Node #0,2,1: 10:[23, 19] Operation: 29-10=19 Exploring Operation: 29-23=6, Resulting Numbers: [10, 6] Generated Node #0,2,2: 10:[10, 6] Operation: 29-23=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[10, 6], Operations: ['52-29=23', '29-23=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,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,2,0 Current State: 10:[29, 13], Operations: ['52-29=23', '23-10=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,10 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,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,2,1 Current State: 10:[23, 19], Operations: ['52-29=23', '29-10=19'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,10 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,10 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: 10:[10, 52, 1], Operations: ['29/29=1'] Exploring Operation: 52-1=51, Resulting Numbers: [10, 51] Generated Node #0,0,0: 10:[10, 51] Operation: 52-1=51 Exploring Operation: 52-10=42, Resulting Numbers: [1, 42] Generated Node #0,0,1: 10:[1, 42] Operation: 52-10=42 Exploring Operation: 10*1=10, Resulting Numbers: [52, 10] Generated Node #0,0,2: 10:[52, 10] Operation: 10*1=10 Moving to Node #0,1,0 Current State: 10:[10, 6], Operations: ['52-29=23', '29-23=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[29, 13], Operations: ['52-29=23', '23-10=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,10 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[23, 19], Operations: ['52-29=23', '29-10=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,10 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[1, 42], Operations: ['29/29=1', '52-10=42'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[10, 51], Operations: ['29/29=1', '52-1=51'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,10 unequal: No Solution Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[52, 10], Operations: ['29/29=1', '10*1=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,10 unequal: No Solution Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,10 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 90, 8, 89, 52 ]
43
[ "90+8=98", "89+52=141", "141-98=43" ]
Current State: 43:[90, 8, 89, 52], Operations: [] Exploring Operation: 90+8=98, Resulting Numbers: [89, 52, 98] Generated Node #2: [89, 52, 98] from Operation: 90+8=98 Current State: 43:[89, 52, 98], Operations: ['90+8=98'] Exploring Operation: 89+52=141, Resulting Numbers: [98, 141] Generated Node #3: [98, 141] from Operation: 89+52=141 Current State: 43:[98, 141], Operations: ['90+8=98', '89+52=141'] Exploring Operation: 141-98=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[90, 8, 89, 52], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [8, 52, 1] Generated Node #0,0: 43:[8, 52, 1] Operation: 90-89=1 Exploring Operation: 89-52=37, Resulting Numbers: [90, 8, 37] Generated Node #0,1: 43:[90, 8, 37] Operation: 89-52=37 Exploring Operation: 90-52=38, Resulting Numbers: [8, 89, 38] Generated Node #0,2: 43:[8, 89, 38] Operation: 90-52=38 Moving to Node #0,0 Current State: 43:[8, 52, 1], Operations: ['90-89=1'] Exploring Operation: 52-1=51, Resulting Numbers: [8, 51] Generated Node #0,0,0: 43:[8, 51] Operation: 52-1=51 Exploring Operation: 52-8=44, Resulting Numbers: [1, 44] Generated Node #0,0,1: 43:[1, 44] Operation: 52-8=44 Exploring Operation: 8+1=9, Resulting Numbers: [52, 9] Generated Node #0,0,2: 43:[52, 9] Operation: 8+1=9 Moving to Node #0,2 Current State: 43:[8, 89, 38], Operations: ['90-52=38'] Exploring Operation: 89-38=51, Resulting Numbers: [8, 51] Generated Node #0,2,0: 43:[8, 51] Operation: 89-38=51 Exploring Operation: 8+38=46, Resulting Numbers: [89, 46] Generated Node #0,2,1: 43:[89, 46] Operation: 8+38=46 Exploring Operation: 89-8=81, Resulting Numbers: [38, 81] Generated Node #0,2,2: 43:[38, 81] Operation: 89-8=81 Moving to Node #0,1 Current State: 43:[90, 8, 37], Operations: ['89-52=37'] Exploring Operation: 8+37=45, Resulting Numbers: [90, 45] Generated Node #0,1,0: 43:[90, 45] Operation: 8+37=45 Exploring Operation: 90-37=53, Resulting Numbers: [8, 53] Generated Node #0,1,1: 43:[8, 53] Operation: 90-37=53 Exploring Operation: 90-8=82, Resulting Numbers: [37, 82] Generated Node #0,1,2: 43:[37, 82] Operation: 90-8=82 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[8, 53], Operations: ['89-52=37', '90-37=53'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,43 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,43 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[37, 82], Operations: ['89-52=37', '90-8=82'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,43 unequal: No Solution Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,43 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[90, 45], Operations: ['89-52=37', '8+37=45'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,43 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 43:[8, 51], Operations: ['90-89=1', '52-1=51'] Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,43 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[90, 8, 89, 52], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [8, 52, 1] Generated Node #0,0: 43:[8, 52, 1] Operation: 90-89=1 Moving to Node #0,0 Current State: 43:[8, 52, 1], Operations: ['90-89=1'] Exploring Operation: 52-1=51, Resulting Numbers: [8, 51] Generated Node #0,0,0: 43:[8, 51] Operation: 52-1=51 Moving to Node #0,0,0 Current State: 43:[8, 51], Operations: ['90-89=1', '52-1=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 66, 73, 51, 94 ]
91
[ "73-51=22", "66/22=3", "94-3=91" ]
Current State: 91:[66, 73, 51, 94], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [66, 94, 22] Generated Node #2: [66, 94, 22] from Operation: 73-51=22 Current State: 91:[66, 94, 22], Operations: ['73-51=22'] Exploring Operation: 66/22=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 66/22=3 Current State: 91:[94, 3], Operations: ['73-51=22', '66/22=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[66, 73, 51, 94], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [66, 94, 22] Generated Node #0,0: 91:[66, 94, 22] Operation: 73-51=22 Exploring Operation: 66-51=15, Resulting Numbers: [73, 94, 15] Generated Node #0,1: 91:[73, 94, 15] Operation: 66-51=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[73, 94, 15], Operations: ['66-51=15'] Exploring Operation: 94-73=21, Resulting Numbers: [15, 21] Generated Node #0,1,0: 91:[15, 21] Operation: 94-73=21 Exploring Operation: 73+15=88, Resulting Numbers: [94, 88] Generated Node #0,1,1: 91:[94, 88] Operation: 73+15=88 Moving to Node #0,1,1 Current State: 91:[94, 88], Operations: ['66-51=15', '73+15=88'] Exploring Operation: 94+88=182, Resulting Numbers: [182] 182,91 unequal: No Solution Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[15, 21], Operations: ['66-51=15', '94-73=21'] Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[66, 94, 22], Operations: ['73-51=22'] Exploring Operation: 66+22=88, Resulting Numbers: [94, 88] Generated Node #0,0,0: 91:[94, 88] Operation: 66+22=88 Exploring Operation: 66/22=3, Resulting Numbers: [94, 3] Generated Node #0,0,1: 91:[94, 3] Operation: 66/22=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[94, 88], Operations: ['73-51=22', '66+22=88'] Exploring Operation: 94+88=182, Resulting Numbers: [182] 182,91 unequal: No Solution Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[94, 3], Operations: ['73-51=22', '66/22=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[66, 73, 51, 94], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [66, 94, 22] Generated Node #0,0: 91:[66, 94, 22] Operation: 73-51=22 Moving to Node #0,0 Current State: 91:[66, 94, 22], Operations: ['73-51=22'] Exploring Operation: 66/22=3, Resulting Numbers: [94, 3] Generated Node #0,0,1: 91:[94, 3] Operation: 66/22=3 Moving to Node #0,0,1 Current State: 91:[94, 3], Operations: ['73-51=22', '66/22=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 67, 47, 8, 93 ]
27
[ "67+93=160", "160/8=20", "47-20=27" ]
Current State: 27:[67, 47, 8, 93], Operations: [] Exploring Operation: 67+93=160, Resulting Numbers: [47, 8, 160] Generated Node #2: [47, 8, 160] from Operation: 67+93=160 Current State: 27:[47, 8, 160], Operations: ['67+93=160'] Exploring Operation: 160/8=20, Resulting Numbers: [47, 20] Generated Node #3: [47, 20] from Operation: 160/8=20 Current State: 27:[47, 20], Operations: ['67+93=160', '160/8=20'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[67, 47, 8, 93], Operations: [] Exploring Operation: 47-8=39, Resulting Numbers: [67, 93, 39] Generated Node #0,0: 27:[67, 93, 39] Operation: 47-8=39 Exploring Operation: 93-67=26, Resulting Numbers: [47, 8, 26] Generated Node #0,1: 27:[47, 8, 26] Operation: 93-67=26 Exploring Operation: 67-47=20, Resulting Numbers: [8, 93, 20] Generated Node #0,2: 27:[8, 93, 20] Operation: 67-47=20 Exploring Operation: 93-47=46, Resulting Numbers: [67, 8, 46] Generated Node #0,3: 27:[67, 8, 46] Operation: 93-47=46 Exploring Operation: 67-8=59, Resulting Numbers: [47, 93, 59] Generated Node #0,4: 27:[47, 93, 59] Operation: 67-8=59 Moving to Node #0,1 Current State: 27:[47, 8, 26], Operations: ['93-67=26'] Exploring Operation: 26-8=18, Resulting Numbers: [47, 18] Generated Node #0,1,0: 27:[47, 18] Operation: 26-8=18 Exploring Operation: 47+8=55, Resulting Numbers: [26, 55] Generated Node #0,1,1: 27:[26, 55] Operation: 47+8=55 Exploring Operation: 47-26=21, Resulting Numbers: [8, 21] Generated Node #0,1,2: 27:[8, 21] Operation: 47-26=21 Exploring Operation: 8+26=34, Resulting Numbers: [47, 34] Generated Node #0,1,3: 27:[47, 34] Operation: 8+26=34 Exploring Operation: 47-8=39, Resulting Numbers: [26, 39] Generated Node #0,1,4: 27:[26, 39] Operation: 47-8=39 Moving to Node #0,3 Current State: 27:[67, 8, 46], Operations: ['93-47=46'] Exploring Operation: 8+46=54, Resulting Numbers: [67, 54] Generated Node #0,3,0: 27:[67, 54] Operation: 8+46=54 Exploring Operation: 67-8=59, Resulting Numbers: [46, 59] Generated Node #0,3,1: 27:[46, 59] Operation: 67-8=59 Exploring Operation: 46-8=38, Resulting Numbers: [67, 38] Generated Node #0,3,2: 27:[67, 38] Operation: 46-8=38 Exploring Operation: 67-46=21, Resulting Numbers: [8, 21] Generated Node #0,3,3: 27:[8, 21] Operation: 67-46=21 Exploring Operation: 67+8=75, Resulting Numbers: [46, 75] Generated Node #0,3,4: 27:[46, 75] Operation: 67+8=75 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[8, 21], Operations: ['93-47=46', '67-46=21'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,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,3,1 Current State: 27:[46, 59], Operations: ['93-47=46', '67-8=59'] Exploring Operation: 46*59=2714, Resulting Numbers: [2714] 2714,27 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 46+59=105, Resulting Numbers: [105] 105,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,3,2 Current State: 27:[67, 38], Operations: ['93-47=46', '46-8=38'] Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,27 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,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,3,0 Current State: 27:[67, 54], Operations: ['93-47=46', '8+46=54'] Exploring Operation: 67*54=3618, Resulting Numbers: [3618] 3618,27 unequal: No Solution Exploring Operation: 67+54=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,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,3,4 Current State: 27:[46, 75], Operations: ['93-47=46', '67+8=75'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 46*75=3450, Resulting Numbers: [3450] 3450,27 unequal: No Solution Exploring Operation: 46+75=121, Resulting Numbers: [121] 121,27 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: 27:[8, 93, 20], Operations: ['67-47=20'] Exploring Operation: 8+20=28, Resulting Numbers: [93, 28] Generated Node #0,2,0: 27:[93, 28] Operation: 8+20=28 Exploring Operation: 20-8=12, Resulting Numbers: [93, 12] Generated Node #0,2,1: 27:[93, 12] Operation: 20-8=12 Exploring Operation: 8+93=101, Resulting Numbers: [20, 101] Generated Node #0,2,2: 27:[20, 101] Operation: 8+93=101 Exploring Operation: 93-20=73, Resulting Numbers: [8, 73] Generated Node #0,2,3: 27:[8, 73] Operation: 93-20=73 Exploring Operation: 93-8=85, Resulting Numbers: [20, 85] Generated Node #0,2,4: 27:[20, 85] Operation: 93-8=85 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[8, 73], Operations: ['67-47=20', '93-20=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 8*73=584, Resulting Numbers: [584] 584,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,2,4 Current State: 27:[20, 85], Operations: ['67-47=20', '93-8=85'] Exploring Operation: 20+85=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 20*85=1700, Resulting Numbers: [1700] 1700,27 unequal: No Solution Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,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,2,0 Current State: 27:[93, 28], Operations: ['67-47=20', '8+20=28'] Exploring Operation: 93+28=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 93*28=2604, Resulting Numbers: [2604] 2604,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,2,1 Current State: 27:[93, 12], Operations: ['67-47=20', '20-8=12'] Exploring Operation: 93+12=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 93*12=1116, Resulting Numbers: [1116] 1116,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,2,2 Current State: 27:[20, 101], Operations: ['67-47=20', '8+93=101'] Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 20*101=2020, Resulting Numbers: [2020] 2020,27 unequal: No Solution Exploring Operation: 20+101=121, Resulting Numbers: [121] 121,27 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: 27:[67, 93, 39], Operations: ['47-8=39'] Exploring Operation: 67+39=106, Resulting Numbers: [93, 106] Generated Node #0,0,0: 27:[93, 106] Operation: 67+39=106 Exploring Operation: 67-39=28, Resulting Numbers: [93, 28] Generated Node #0,0,1: 27:[93, 28] Operation: 67-39=28 Exploring Operation: 93-67=26, Resulting Numbers: [39, 26] Generated Node #0,0,2: 27:[39, 26] Operation: 93-67=26 Exploring Operation: 93-39=54, Resulting Numbers: [67, 54] Generated Node #0,0,3: 27:[67, 54] Operation: 93-39=54 Exploring Operation: 67+93=160, Resulting Numbers: [39, 160] Generated Node #0,0,4: 27:[39, 160] Operation: 67+93=160 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[39, 26], Operations: ['47-8=39', '93-67=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,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,0,1 Current State: 27:[93, 28], Operations: ['47-8=39', '67-39=28'] Exploring Operation: 93+28=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 93*28=2604, Resulting Numbers: [2604] 2604,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,0,3 Current State: 27:[67, 54], Operations: ['47-8=39', '93-39=54'] Exploring Operation: 67+54=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 67*54=3618, Resulting Numbers: [3618] 3618,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,0,0 Current State: 27:[93, 106], Operations: ['47-8=39', '67+39=106'] Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,27 unequal: No Solution Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,27 unequal: No Solution Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,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,0,4 Current State: 27:[39, 160], Operations: ['47-8=39', '67+93=160'] Exploring Operation: 160-39=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 39+160=199, Resulting Numbers: [199] 199,27 unequal: No Solution Exploring Operation: 39*160=6240, Resulting Numbers: [6240] 6240,27 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: 27:[47, 93, 59], Operations: ['67-8=59'] Exploring Operation: 59-47=12, Resulting Numbers: [93, 12] Generated Node #0,4,0: 27:[93, 12] Operation: 59-47=12 Exploring Operation: 47+93=140, Resulting Numbers: [59, 140] Generated Node #0,4,1: 27:[59, 140] Operation: 47+93=140 Exploring Operation: 93-47=46, Resulting Numbers: [59, 46] Generated Node #0,4,2: 27:[59, 46] Operation: 93-47=46 Exploring Operation: 47+59=106, Resulting Numbers: [93, 106] Generated Node #0,4,3: 27:[93, 106] Operation: 47+59=106 Exploring Operation: 93-59=34, Resulting Numbers: [47, 34] Generated Node #0,4,4: 27:[47, 34] Operation: 93-59=34 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 27:[47, 34], Operations: ['67-8=59', '93-59=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,27 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,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,4,2 Current State: 27:[59, 46], Operations: ['67-8=59', '93-47=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,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,4,0 Current State: 27:[93, 12], Operations: ['67-8=59', '59-47=12'] Exploring Operation: 93*12=1116, Resulting Numbers: [1116] 1116,27 unequal: No Solution Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 93+12=105, Resulting Numbers: [105] 105,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,4,1 Current State: 27:[59, 140], Operations: ['67-8=59', '47+93=140'] Exploring Operation: 59+140=199, Resulting Numbers: [199] 199,27 unequal: No Solution Exploring Operation: 140-59=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 59*140=8260, Resulting Numbers: [8260] 8260,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,4,3 Current State: 27:[93, 106], Operations: ['67-8=59', '47+59=106'] Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,27 unequal: No Solution Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 27:[8, 21], Operations: ['93-67=26', '47-26=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,27 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[26, 39], Operations: ['93-67=26', '47-8=39'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[47, 34], Operations: ['93-67=26', '8+26=34'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,27 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[47, 18], Operations: ['93-67=26', '26-8=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[26, 55], Operations: ['93-67=26', '47+8=55'] Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,27 unequal: No Solution Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,27 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 63, 20, 5, 9 ]
93
[ "63/9=7", "20*5=100", "100-7=93" ]
Current State: 93:[63, 20, 5, 9], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [20, 5, 7] Generated Node #2: [20, 5, 7] from Operation: 63/9=7 Current State: 93:[20, 5, 7], Operations: ['63/9=7'] Exploring Operation: 20*5=100, Resulting Numbers: [7, 100] Generated Node #3: [7, 100] from Operation: 20*5=100 Current State: 93:[7, 100], Operations: ['63/9=7', '20*5=100'] Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[63, 20, 5, 9], Operations: [] Exploring Operation: 63+9=72, Resulting Numbers: [20, 5, 72] Generated Node #0,0: 93:[20, 5, 72] Operation: 63+9=72 Exploring Operation: 63/9=7, Resulting Numbers: [20, 5, 7] Generated Node #0,1: 93:[20, 5, 7] Operation: 63/9=7 Exploring Operation: 63-20=43, Resulting Numbers: [5, 9, 43] Generated Node #0,2: 93:[5, 9, 43] Operation: 63-20=43 Exploring Operation: 20+9=29, Resulting Numbers: [63, 5, 29] Generated Node #0,3: 93:[63, 5, 29] Operation: 20+9=29 Exploring Operation: 63+20=83, Resulting Numbers: [5, 9, 83] Generated Node #0,4: 93:[5, 9, 83] Operation: 63+20=83 Moving to Node #0,1 Current State: 93:[20, 5, 7], Operations: ['63/9=7'] Exploring Operation: 20-7=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 93:[5, 13] Operation: 20-7=13 Exploring Operation: 20+5=25, Resulting Numbers: [7, 25] Generated Node #0,1,1: 93:[7, 25] Operation: 20+5=25 Exploring Operation: 20*5=100, Resulting Numbers: [7, 100] Generated Node #0,1,2: 93:[7, 100] Operation: 20*5=100 Exploring Operation: 20+7=27, Resulting Numbers: [5, 27] Generated Node #0,1,3: 93:[5, 27] Operation: 20+7=27 Exploring Operation: 20/5=4, Resulting Numbers: [7, 4] Generated Node #0,1,4: 93:[7, 4] Operation: 20/5=4 Moving to Node #0,4 Current State: 93:[5, 9, 83], Operations: ['63+20=83'] Exploring Operation: 5+9=14, Resulting Numbers: [83, 14] Generated Node #0,4,0: 93:[83, 14] Operation: 5+9=14 Exploring Operation: 5+83=88, Resulting Numbers: [9, 88] Generated Node #0,4,1: 93:[9, 88] Operation: 5+83=88 Exploring Operation: 9-5=4, Resulting Numbers: [83, 4] Generated Node #0,4,2: 93:[83, 4] Operation: 9-5=4 Exploring Operation: 9+83=92, Resulting Numbers: [5, 92] Generated Node #0,4,3: 93:[5, 92] Operation: 9+83=92 Exploring Operation: 83-5=78, Resulting Numbers: [9, 78] Generated Node #0,4,4: 93:[9, 78] Operation: 83-5=78 Moving to Node #0,2 Current State: 93:[5, 9, 43], Operations: ['63-20=43'] Exploring Operation: 43-9=34, Resulting Numbers: [5, 34] Generated Node #0,2,0: 93:[5, 34] Operation: 43-9=34 Exploring Operation: 5+43=48, Resulting Numbers: [9, 48] Generated Node #0,2,1: 93:[9, 48] Operation: 5+43=48 Exploring Operation: 5+9=14, Resulting Numbers: [43, 14] Generated Node #0,2,2: 93:[43, 14] Operation: 5+9=14 Exploring Operation: 43-5=38, Resulting Numbers: [9, 38] Generated Node #0,2,3: 93:[9, 38] Operation: 43-5=38 Exploring Operation: 9-5=4, Resulting Numbers: [43, 4] Generated Node #0,2,4: 93:[43, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[5, 34], Operations: ['63-20=43', '43-9=34'] Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[9, 38], Operations: ['63-20=43', '43-5=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 93:[43, 4], Operations: ['63-20=43', '9-5=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[9, 48], Operations: ['63-20=43', '5+43=48'] Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,93 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[43, 14], Operations: ['63-20=43', '5+9=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,93 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,93 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: 93:[20, 5, 72], Operations: ['63+9=72'] Exploring Operation: 72-20=52, Resulting Numbers: [5, 52] Generated Node #0,0,0: 93:[5, 52] Operation: 72-20=52 Exploring Operation: 20+5=25, Resulting Numbers: [72, 25] Generated Node #0,0,1: 93:[72, 25] Operation: 20+5=25 Exploring Operation: 20/5=4, Resulting Numbers: [72, 4] Generated Node #0,0,2: 93:[72, 4] Operation: 20/5=4 Exploring Operation: 20+72=92, Resulting Numbers: [5, 92] Generated Node #0,0,3: 93:[5, 92] Operation: 20+72=92 Exploring Operation: 5+72=77, Resulting Numbers: [20, 77] Generated Node #0,0,4: 93:[20, 77] Operation: 5+72=77 Moving to Node #0,3 Current State: 93:[63, 5, 29], Operations: ['20+9=29'] Exploring Operation: 63-5=58, Resulting Numbers: [29, 58] Generated Node #0,3,0: 93:[29, 58] Operation: 63-5=58 Exploring Operation: 63+29=92, Resulting Numbers: [5, 92] Generated Node #0,3,1: 93:[5, 92] Operation: 63+29=92 Exploring Operation: 63+5=68, Resulting Numbers: [29, 68] Generated Node #0,3,2: 93:[29, 68] Operation: 63+5=68 Exploring Operation: 5+29=34, Resulting Numbers: [63, 34] Generated Node #0,3,3: 93:[63, 34] Operation: 5+29=34 Exploring Operation: 63-29=34, Resulting Numbers: [5, 34] Generated Node #0,3,4: 93:[5, 34] Operation: 63-29=34 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[5, 92], Operations: ['20+9=29', '63+29=92'] Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 93:[5, 34], Operations: ['20+9=29', '63-29=34'] Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,93 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[29, 68], Operations: ['20+9=29', '63+5=68'] Exploring Operation: 29*68=1972, Resulting Numbers: [1972] 1972,93 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[29, 58], Operations: ['20+9=29', '63-5=58'] Exploring Operation: 29*58=1682, Resulting Numbers: [1682] 1682,93 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 29+58=87, Resulting Numbers: [87] 87,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[63, 34], Operations: ['20+9=29', '5+29=34'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,93 unequal: No Solution Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 93:[5, 92], Operations: ['63+20=83', '9+83=92'] Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,93 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[5, 92], Operations: ['63+9=72', '20+72=92'] Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,93 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[7, 4], Operations: ['63/9=7', '20/5=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[5, 27], Operations: ['63/9=7', '20+7=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[7, 25], Operations: ['63/9=7', '20+5=25'] Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,93 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,93 unequal: No Solution Moving to Node #0,4,1 Current State: 93:[9, 88], Operations: ['63+20=83', '5+83=88'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,93 unequal: No Solution Exploring Operation: 9+88=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 9*88=792, Resulting Numbers: [792] 792,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[7, 100], Operations: ['63/9=7', '20*5=100'] Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[63, 20, 5, 9], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [20, 5, 7] Generated Node #0,1: 93:[20, 5, 7] Operation: 63/9=7 Moving to Node #0,1 Current State: 93:[20, 5, 7], Operations: ['63/9=7'] Exploring Operation: 20*5=100, Resulting Numbers: [7, 100] Generated Node #0,1,2: 93:[7, 100] Operation: 20*5=100 Moving to Node #0,1,2 Current State: 93:[7, 100], Operations: ['63/9=7', '20*5=100'] Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.927083
hs_5
sum_heuristic
[ 5, 80, 9, 44 ]
19
[ "80/5=16", "44-9=35", "35-16=19" ]
Current State: 19:[5, 80, 9, 44], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [9, 44, 16] Generated Node #2: [9, 44, 16] from Operation: 80/5=16 Current State: 19:[9, 44, 16], Operations: ['80/5=16'] Exploring Operation: 44-9=35, Resulting Numbers: [16, 35] Generated Node #3: [16, 35] from Operation: 44-9=35 Current State: 19:[16, 35], Operations: ['80/5=16', '44-9=35'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[5, 80, 9, 44], Operations: [] Exploring Operation: 80-44=36, Resulting Numbers: [5, 9, 36] Generated Node #0,0: 19:[5, 9, 36] Operation: 80-44=36 Exploring Operation: 80-5=75, Resulting Numbers: [9, 44, 75] Generated Node #0,1: 19:[9, 44, 75] Operation: 80-5=75 Exploring Operation: 80/5=16, Resulting Numbers: [9, 44, 16] Generated Node #0,2: 19:[9, 44, 16] Operation: 80/5=16 Moving to Node #0,2 Current State: 19:[9, 44, 16], Operations: ['80/5=16'] Exploring Operation: 44-16=28, Resulting Numbers: [9, 28] Generated Node #0,2,0: 19:[9, 28] Operation: 44-16=28 Exploring Operation: 44-9=35, Resulting Numbers: [16, 35] Generated Node #0,2,1: 19:[16, 35] Operation: 44-9=35 Exploring Operation: 9+16=25, Resulting Numbers: [44, 25] Generated Node #0,2,2: 19:[44, 25] Operation: 9+16=25 Moving to Node #0,0 Current State: 19:[5, 9, 36], Operations: ['80-44=36'] Exploring Operation: 36-9=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 19:[5, 27] Operation: 36-9=27 Exploring Operation: 5+9=14, Resulting Numbers: [36, 14] Generated Node #0,0,1: 19:[36, 14] Operation: 5+9=14 Exploring Operation: 36-5=31, Resulting Numbers: [9, 31] Generated Node #0,0,2: 19:[9, 31] Operation: 36-5=31 Moving to Node #0,1 Current State: 19:[9, 44, 75], Operations: ['80-5=75'] Exploring Operation: 44-9=35, Resulting Numbers: [75, 35] Generated Node #0,1,0: 19:[75, 35] Operation: 44-9=35 Exploring Operation: 75-9=66, Resulting Numbers: [44, 66] Generated Node #0,1,1: 19:[44, 66] Operation: 75-9=66 Exploring Operation: 75-44=31, Resulting Numbers: [9, 31] Generated Node #0,1,2: 19:[9, 31] Operation: 75-44=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[9, 31], Operations: ['80-5=75', '75-44=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,19 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[75, 35], Operations: ['80-5=75', '44-9=35'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,19 unequal: No Solution Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[44, 66], Operations: ['80-5=75', '75-9=66'] Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,19 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,19 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 19:[9, 28], Operations: ['80/5=16', '44-16=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,19 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[5, 80, 9, 44], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [9, 44, 16] Generated Node #0,2: 19:[9, 44, 16] Operation: 80/5=16 Moving to Node #0,2 Current State: 19:[9, 44, 16], Operations: ['80/5=16'] Exploring Operation: 44-16=28, Resulting Numbers: [9, 28] Generated Node #0,2,0: 19:[9, 28] Operation: 44-16=28 Moving to Node #0,2,0 Current State: 19:[9, 28], Operations: ['80/5=16', '44-16=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 3, 69, 29, 2 ]
75
[ "69/3=23", "2*23=46", "29+46=75" ]
Current State: 75:[3, 69, 29, 2], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [29, 2, 23] Generated Node #2: [29, 2, 23] from Operation: 69/3=23 Current State: 75:[29, 2, 23], Operations: ['69/3=23'] Exploring Operation: 2*23=46, Resulting Numbers: [29, 46] Generated Node #3: [29, 46] from Operation: 2*23=46 Current State: 75:[29, 46], Operations: ['69/3=23', '2*23=46'] Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[3, 69, 29, 2], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [29, 2, 23] Generated Node #0,0: 75:[29, 2, 23] Operation: 69/3=23 Exploring Operation: 3+69=72, Resulting Numbers: [29, 2, 72] Generated Node #0,1: 75:[29, 2, 72] Operation: 3+69=72 Moving to Node #0,0 Current State: 75:[29, 2, 23], Operations: ['69/3=23'] Exploring Operation: 29-23=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 75:[2, 6] Operation: 29-23=6 Exploring Operation: 29-2=27, Resulting Numbers: [23, 27] Generated Node #0,0,1: 75:[23, 27] Operation: 29-2=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[2, 6], Operations: ['69/3=23', '29-23=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution No 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: 75:[23, 27], Operations: ['69/3=23', '29-2=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,75 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: 75:[29, 2, 72], Operations: ['3+69=72'] Exploring Operation: 29-2=27, Resulting Numbers: [72, 27] Generated Node #0,1,0: 75:[72, 27] Operation: 29-2=27 Exploring Operation: 2+72=74, Resulting Numbers: [29, 74] Generated Node #0,1,1: 75:[29, 74] Operation: 2+72=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[72, 27], Operations: ['3+69=72', '29-2=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[29, 74], Operations: ['3+69=72', '2+72=74'] Exploring Operation: 29+74=103, Resulting Numbers: [103] 103,75 unequal: No Solution Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 20, 53, 48, 68 ]
43
[ "20+53=73", "48+68=116", "116-73=43" ]
Current State: 43:[20, 53, 48, 68], Operations: [] Exploring Operation: 20+53=73, Resulting Numbers: [48, 68, 73] Generated Node #2: [48, 68, 73] from Operation: 20+53=73 Current State: 43:[48, 68, 73], Operations: ['20+53=73'] Exploring Operation: 48+68=116, Resulting Numbers: [73, 116] Generated Node #3: [73, 116] from Operation: 48+68=116 Current State: 43:[73, 116], Operations: ['20+53=73', '48+68=116'] Exploring Operation: 116-73=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[20, 53, 48, 68], Operations: [] Exploring Operation: 68-20=48, Resulting Numbers: [53, 48, 48] Generated Node #0,0: 43:[53, 48, 48] Operation: 68-20=48 Exploring Operation: 53-20=33, Resulting Numbers: [48, 68, 33] Generated Node #0,1: 43:[48, 68, 33] Operation: 53-20=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[53, 48, 48], Operations: ['68-20=48'] Exploring Operation: 53-48=5, Resulting Numbers: [48, 5] Generated Node #0,0,0: 43:[48, 5] Operation: 53-48=5 Exploring Operation: 53-48=5, Resulting Numbers: [48, 5] Generated Node #0,0,1: 43:[48, 5] Operation: 53-48=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[48, 5], Operations: ['68-20=48', '53-48=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[20, 53, 48, 68], Operations: [] Exploring Operation: 68-20=48, Resulting Numbers: [53, 48, 48] Generated Node #0,0: 43:[53, 48, 48] Operation: 68-20=48 Moving to Node #0,0 Current State: 43:[53, 48, 48], Operations: ['68-20=48'] Exploring Operation: 53-48=5, Resulting Numbers: [48, 5] Generated Node #0,0,0: 43:[48, 5] Operation: 53-48=5 Moving to Node #0,0,0 Current State: 43:[48, 5], Operations: ['68-20=48', '53-48=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 7, 91, 12, 29 ]
28
[ "91/7=13", "12+29=41", "41-13=28" ]
Current State: 28:[7, 91, 12, 29], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [12, 29, 13] Generated Node #2: [12, 29, 13] from Operation: 91/7=13 Current State: 28:[12, 29, 13], Operations: ['91/7=13'] Exploring Operation: 12+29=41, Resulting Numbers: [13, 41] Generated Node #3: [13, 41] from Operation: 12+29=41 Current State: 28:[13, 41], Operations: ['91/7=13', '12+29=41'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 91, 12, 29], Operations: [] Exploring Operation: 91-12=79, Resulting Numbers: [7, 29, 79] Generated Node #0,0: 28:[7, 29, 79] Operation: 91-12=79 Exploring Operation: 91-29=62, Resulting Numbers: [7, 12, 62] Generated Node #0,1: 28:[7, 12, 62] Operation: 91-29=62 Exploring Operation: 91/7=13, Resulting Numbers: [12, 29, 13] Generated Node #0,2: 28:[12, 29, 13] Operation: 91/7=13 Moving to Node #0,2 Current State: 28:[12, 29, 13], Operations: ['91/7=13'] Exploring Operation: 29-12=17, Resulting Numbers: [13, 17] Generated Node #0,2,0: 28:[13, 17] Operation: 29-12=17 Exploring Operation: 13-12=1, Resulting Numbers: [29, 1] Generated Node #0,2,1: 28:[29, 1] Operation: 13-12=1 Exploring Operation: 12+13=25, Resulting Numbers: [29, 25] Generated Node #0,2,2: 28:[29, 25] Operation: 12+13=25 Moving to Node #0,1 Current State: 28:[7, 12, 62], Operations: ['91-29=62'] Exploring Operation: 62-12=50, Resulting Numbers: [7, 50] Generated Node #0,1,0: 28:[7, 50] Operation: 62-12=50 Exploring Operation: 12-7=5, Resulting Numbers: [62, 5] Generated Node #0,1,1: 28:[62, 5] Operation: 12-7=5 Exploring Operation: 62-7=55, Resulting Numbers: [12, 55] Generated Node #0,1,2: 28:[12, 55] Operation: 62-7=55 Moving to Node #0,0 Current State: 28:[7, 29, 79], Operations: ['91-12=79'] Exploring Operation: 79-29=50, Resulting Numbers: [7, 50] Generated Node #0,0,0: 28:[7, 50] Operation: 79-29=50 Exploring Operation: 29-7=22, Resulting Numbers: [79, 22] Generated Node #0,0,1: 28:[79, 22] Operation: 29-7=22 Exploring Operation: 79-7=72, Resulting Numbers: [29, 72] Generated Node #0,0,2: 28:[29, 72] Operation: 79-7=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[7, 50], Operations: ['91-12=79', '79-29=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,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,0,2 Current State: 28:[29, 72], Operations: ['91-12=79', '79-7=72'] Exploring Operation: 29*72=2088, Resulting Numbers: [2088] 2088,28 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 29+72=101, Resulting Numbers: [101] 101,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,0,1 Current State: 28:[79, 22], Operations: ['91-12=79', '29-7=22'] Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,28 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 28:[29, 1], Operations: ['91/7=13', '13-12=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[7, 91, 12, 29], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [12, 29, 13] Generated Node #0,2: 28:[12, 29, 13] Operation: 91/7=13 Moving to Node #0,2 Current State: 28:[12, 29, 13], Operations: ['91/7=13'] Exploring Operation: 13-12=1, Resulting Numbers: [29, 1] Generated Node #0,2,1: 28:[29, 1] Operation: 13-12=1 Moving to Node #0,2,1 Current State: 28:[29, 1], Operations: ['91/7=13', '13-12=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 27, 81, 40, 88 ]
16
[ "81/27=3", "88-40=48", "48/3=16" ]
Current State: 16:[27, 81, 40, 88], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [40, 88, 3] Generated Node #2: [40, 88, 3] from Operation: 81/27=3 Current State: 16:[40, 88, 3], Operations: ['81/27=3'] Exploring Operation: 88-40=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 88-40=48 Current State: 16:[3, 48], Operations: ['81/27=3', '88-40=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[27, 81, 40, 88], Operations: [] Exploring Operation: 81-40=41, Resulting Numbers: [27, 88, 41] Generated Node #0,0: 16:[27, 88, 41] Operation: 81-40=41 Exploring Operation: 81/27=3, Resulting Numbers: [40, 88, 3] Generated Node #0,1: 16:[40, 88, 3] Operation: 81/27=3 Exploring Operation: 88-40=48, Resulting Numbers: [27, 81, 48] Generated Node #0,2: 16:[27, 81, 48] Operation: 88-40=48 Exploring Operation: 81-27=54, Resulting Numbers: [40, 88, 54] Generated Node #0,3: 16:[40, 88, 54] Operation: 81-27=54 Exploring Operation: 88-81=7, Resulting Numbers: [27, 40, 7] Generated Node #0,4: 16:[27, 40, 7] Operation: 88-81=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[27, 40, 7], Operations: ['88-81=7'] Exploring Operation: 27-7=20, Resulting Numbers: [40, 20] Generated Node #0,4,0: 16:[40, 20] Operation: 27-7=20 Exploring Operation: 40-27=13, Resulting Numbers: [7, 13] Generated Node #0,4,1: 16:[7, 13] Operation: 40-27=13 Exploring Operation: 40+7=47, Resulting Numbers: [27, 47] Generated Node #0,4,2: 16:[27, 47] Operation: 40+7=47 Exploring Operation: 40-7=33, Resulting Numbers: [27, 33] Generated Node #0,4,3: 16:[27, 33] Operation: 40-7=33 Exploring Operation: 27+7=34, Resulting Numbers: [40, 34] Generated Node #0,4,4: 16:[40, 34] Operation: 27+7=34 Moving to Node #0,4,1 Current State: 16:[7, 13], Operations: ['88-81=7', '40-27=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,16 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[27, 33], Operations: ['88-81=7', '40-7=33'] Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,16 unequal: No Solution Moving to Node #0,4,0 Current State: 16:[40, 20], Operations: ['88-81=7', '27-7=20'] Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,16 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[27, 47], Operations: ['88-81=7', '40+7=47'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,16 unequal: No Solution Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[40, 34], Operations: ['88-81=7', '27+7=34'] Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,16 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[40, 88, 3], Operations: ['81/27=3'] Exploring Operation: 88-3=85, Resulting Numbers: [40, 85] Generated Node #0,1,0: 16:[40, 85] Operation: 88-3=85 Exploring Operation: 40-3=37, Resulting Numbers: [88, 37] Generated Node #0,1,1: 16:[88, 37] Operation: 40-3=37 Exploring Operation: 40+3=43, Resulting Numbers: [88, 43] Generated Node #0,1,2: 16:[88, 43] Operation: 40+3=43 Exploring Operation: 88-40=48, Resulting Numbers: [3, 48] Generated Node #0,1,3: 16:[3, 48] Operation: 88-40=48 Exploring Operation: 88+3=91, Resulting Numbers: [40, 91] Generated Node #0,1,4: 16:[40, 91] Operation: 88+3=91 Moving to Node #0,1,3 Current State: 16:[3, 48], Operations: ['81/27=3', '88-40=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[27, 81, 40, 88], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [40, 88, 3] Generated Node #0,1: 16:[40, 88, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 16:[40, 88, 3], Operations: ['81/27=3'] Exploring Operation: 88-40=48, Resulting Numbers: [3, 48] Generated Node #0,1,3: 16:[3, 48] Operation: 88-40=48 Moving to Node #0,1,3 Current State: 16:[3, 48], Operations: ['81/27=3', '88-40=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 7, 9, 33, 22 ]
28
[ "9+33=42", "42/7=6", "22+6=28" ]
Current State: 28:[7, 9, 33, 22], Operations: [] Exploring Operation: 9+33=42, Resulting Numbers: [7, 22, 42] Generated Node #2: [7, 22, 42] from Operation: 9+33=42 Current State: 28:[7, 22, 42], Operations: ['9+33=42'] Exploring Operation: 42/7=6, Resulting Numbers: [22, 6] Generated Node #3: [22, 6] from Operation: 42/7=6 Current State: 28:[22, 6], Operations: ['9+33=42', '42/7=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 9, 33, 22], Operations: [] Exploring Operation: 22-9=13, Resulting Numbers: [7, 33, 13] Generated Node #0,0: 28:[7, 33, 13] Operation: 22-9=13 Exploring Operation: 33-22=11, Resulting Numbers: [7, 9, 11] Generated Node #0,1: 28:[7, 9, 11] Operation: 33-22=11 Exploring Operation: 22-7=15, Resulting Numbers: [9, 33, 15] Generated Node #0,2: 28:[9, 33, 15] Operation: 22-7=15 Exploring Operation: 7+22=29, Resulting Numbers: [9, 33, 29] Generated Node #0,3: 28:[9, 33, 29] Operation: 7+22=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[7, 9, 11], Operations: ['33-22=11'] Exploring Operation: 11-7=4, Resulting Numbers: [9, 4] Generated Node #0,1,0: 28:[9, 4] Operation: 11-7=4 Exploring Operation: 9-7=2, Resulting Numbers: [11, 2] Generated Node #0,1,1: 28:[11, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [11, 16] Generated Node #0,1,2: 28:[11, 16] Operation: 7+9=16 Exploring Operation: 11-9=2, Resulting Numbers: [7, 2] Generated Node #0,1,3: 28:[7, 2] Operation: 11-9=2 Moving to Node #0,1,3 Current State: 28:[7, 2], Operations: ['33-22=11', '11-9=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 Moving to Node #0,1,0 Current State: 28:[9, 4], Operations: ['33-22=11', '11-7=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[11, 2], Operations: ['33-22=11', '9-7=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[11, 16], Operations: ['33-22=11', '7+9=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,28 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,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,0 Current State: 28:[7, 33, 13], Operations: ['22-9=13'] Exploring Operation: 7+13=20, Resulting Numbers: [33, 20] Generated Node #0,0,0: 28:[33, 20] Operation: 7+13=20 Exploring Operation: 13-7=6, Resulting Numbers: [33, 6] Generated Node #0,0,1: 28:[33, 6] Operation: 13-7=6 Exploring Operation: 33-13=20, Resulting Numbers: [7, 20] Generated Node #0,0,2: 28:[7, 20] Operation: 33-13=20 Exploring Operation: 33-7=26, Resulting Numbers: [13, 26] Generated Node #0,0,3: 28:[13, 26] Operation: 33-7=26 Moving to Node #0,0,3 Current State: 28:[13, 26], Operations: ['22-9=13', '33-7=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[7, 20], Operations: ['22-9=13', '33-13=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,28 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[33, 6], Operations: ['22-9=13', '13-7=6'] Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,28 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[33, 20], Operations: ['22-9=13', '7+13=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,28 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,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 Current State: 28:[9, 33, 15], Operations: ['22-7=15'] Exploring Operation: 33-15=18, Resulting Numbers: [9, 18] Generated Node #0,2,0: 28:[9, 18] Operation: 33-15=18 Exploring Operation: 15-9=6, Resulting Numbers: [33, 6] Generated Node #0,2,1: 28:[33, 6] Operation: 15-9=6 Exploring Operation: 33-9=24, Resulting Numbers: [15, 24] Generated Node #0,2,2: 28:[15, 24] Operation: 33-9=24 Exploring Operation: 9+15=24, Resulting Numbers: [33, 24] Generated Node #0,2,3: 28:[33, 24] Operation: 9+15=24 Moving to Node #0,2,2 Current State: 28:[15, 24], Operations: ['22-7=15', '33-9=24'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[33, 6], Operations: ['22-7=15', '15-9=6'] Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,28 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[9, 18], Operations: ['22-7=15', '33-15=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,28 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[33, 24], Operations: ['22-7=15', '9+15=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,28 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,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,3 Current State: 28:[9, 33, 29], Operations: ['7+22=29'] Exploring Operation: 29-9=20, Resulting Numbers: [33, 20] Generated Node #0,3,0: 28:[33, 20] Operation: 29-9=20 Exploring Operation: 9+33=42, Resulting Numbers: [29, 42] Generated Node #0,3,1: 28:[29, 42] Operation: 9+33=42 Exploring Operation: 33-29=4, Resulting Numbers: [9, 4] Generated Node #0,3,2: 28:[9, 4] Operation: 33-29=4 Exploring Operation: 33-9=24, Resulting Numbers: [29, 24] Generated Node #0,3,3: 28:[29, 24] Operation: 33-9=24 Moving to Node #0,3,2 Current State: 28:[9, 4], Operations: ['7+22=29', '33-29=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[29, 24], Operations: ['7+22=29', '33-9=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,28 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[33, 20], Operations: ['7+22=29', '29-9=20'] Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,28 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[29, 42], Operations: ['7+22=29', '9+33=42'] Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,28 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,28 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
[ 99, 74, 55, 39 ]
79
[ "99+74=173", "55+39=94", "173-94=79" ]
Current State: 79:[99, 74, 55, 39], Operations: [] Exploring Operation: 99+74=173, Resulting Numbers: [55, 39, 173] Generated Node #2: [55, 39, 173] from Operation: 99+74=173 Current State: 79:[55, 39, 173], Operations: ['99+74=173'] Exploring Operation: 55+39=94, Resulting Numbers: [173, 94] Generated Node #3: [173, 94] from Operation: 55+39=94 Current State: 79:[173, 94], Operations: ['99+74=173', '55+39=94'] Exploring Operation: 173-94=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[99, 74, 55, 39], Operations: [] Exploring Operation: 55+39=94, Resulting Numbers: [99, 74, 94] Generated Node #0,0: 79:[99, 74, 94] Operation: 55+39=94 Exploring Operation: 99-39=60, Resulting Numbers: [74, 55, 60] Generated Node #0,1: 79:[74, 55, 60] Operation: 99-39=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[99, 74, 94], Operations: ['55+39=94'] Exploring Operation: 99-94=5, Resulting Numbers: [74, 5] Generated Node #0,0,0: 79:[74, 5] Operation: 99-94=5 Exploring Operation: 99-74=25, Resulting Numbers: [94, 25] Generated Node #0,0,1: 79:[94, 25] Operation: 99-74=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[94, 25], Operations: ['55+39=94', '99-74=25'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[74, 5], Operations: ['55+39=94', '99-94=5'] Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[99, 74, 55, 39], Operations: [] Exploring Operation: 55+39=94, Resulting Numbers: [99, 74, 94] Generated Node #0,0: 79:[99, 74, 94] Operation: 55+39=94 Moving to Node #0,0 Current State: 79:[99, 74, 94], Operations: ['55+39=94'] Exploring Operation: 99-94=5, Resulting Numbers: [74, 5] Generated Node #0,0,0: 79:[74, 5] Operation: 99-94=5 Moving to Node #0,0,0 Current State: 79:[74, 5], Operations: ['55+39=94', '99-94=5'] Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 36, 6, 68, 7 ]
31
[ "36-6=30", "68-7=61", "61-30=31" ]
Current State: 31:[36, 6, 68, 7], Operations: [] Exploring Operation: 36-6=30, Resulting Numbers: [68, 7, 30] Generated Node #2: [68, 7, 30] from Operation: 36-6=30 Current State: 31:[68, 7, 30], Operations: ['36-6=30'] Exploring Operation: 68-7=61, Resulting Numbers: [30, 61] Generated Node #3: [30, 61] from Operation: 68-7=61 Current State: 31:[30, 61], Operations: ['36-6=30', '68-7=61'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[36, 6, 68, 7], Operations: [] Exploring Operation: 68-7=61, Resulting Numbers: [36, 6, 61] Generated Node #0,0: 31:[36, 6, 61] Operation: 68-7=61 Exploring Operation: 6+7=13, Resulting Numbers: [36, 68, 13] Generated Node #0,1: 31:[36, 68, 13] Operation: 6+7=13 Exploring Operation: 68-6=62, Resulting Numbers: [36, 7, 62] Generated Node #0,2: 31:[36, 7, 62] Operation: 68-6=62 Exploring Operation: 68-36=32, Resulting Numbers: [6, 7, 32] Generated Node #0,3: 31:[6, 7, 32] Operation: 68-36=32 Exploring Operation: 6*7=42, Resulting Numbers: [36, 68, 42] Generated Node #0,4: 31:[36, 68, 42] Operation: 6*7=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[6, 7, 32], Operations: ['68-36=32'] Exploring Operation: 6*7=42, Resulting Numbers: [32, 42] Generated Node #0,3,0: 31:[32, 42] Operation: 6*7=42 Exploring Operation: 7-6=1, Resulting Numbers: [32, 1] Generated Node #0,3,1: 31:[32, 1] Operation: 7-6=1 Exploring Operation: 6+7=13, Resulting Numbers: [32, 13] Generated Node #0,3,2: 31:[32, 13] Operation: 6+7=13 Exploring Operation: 32-6=26, Resulting Numbers: [7, 26] Generated Node #0,3,3: 31:[7, 26] Operation: 32-6=26 Exploring Operation: 6+32=38, Resulting Numbers: [7, 38] Generated Node #0,3,4: 31:[7, 38] Operation: 6+32=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[32, 42], Operations: ['68-36=32', '6*7=42'] Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,31 unequal: No Solution Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,31 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,31 unequal: No Solution No 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: 31:[32, 13], Operations: ['68-36=32', '6+7=13'] Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,31 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,31 unequal: No Solution No 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: 31:[7, 26], Operations: ['68-36=32', '32-6=26'] Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,31 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,31 unequal: No Solution No 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: 31:[32, 1], Operations: ['68-36=32', '7-6=1'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[36, 6, 68, 7], Operations: [] Exploring Operation: 68-36=32, Resulting Numbers: [6, 7, 32] Generated Node #0,3: 31:[6, 7, 32] Operation: 68-36=32 Moving to Node #0,3 Current State: 31:[6, 7, 32], Operations: ['68-36=32'] Exploring Operation: 7-6=1, Resulting Numbers: [32, 1] Generated Node #0,3,1: 31:[32, 1] Operation: 7-6=1 Moving to Node #0,3,1 Current State: 31:[32, 1], Operations: ['68-36=32', '7-6=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 77, 49, 98, 53 ]
84
[ "98-77=21", "53-49=4", "21*4=84" ]
Current State: 84:[77, 49, 98, 53], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [49, 53, 21] Generated Node #2: [49, 53, 21] from Operation: 98-77=21 Current State: 84:[49, 53, 21], Operations: ['98-77=21'] Exploring Operation: 53-49=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 53-49=4 Current State: 84:[21, 4], Operations: ['98-77=21', '53-49=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[77, 49, 98, 53], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [49, 53, 21] Generated Node #0,0: 84:[49, 53, 21] Operation: 98-77=21 Exploring Operation: 98-53=45, Resulting Numbers: [77, 49, 45] Generated Node #0,1: 84:[77, 49, 45] Operation: 98-53=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[77, 49, 45], Operations: ['98-53=45'] Exploring Operation: 49-45=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 84:[77, 4] Operation: 49-45=4 Exploring Operation: 77-49=28, Resulting Numbers: [45, 28] Generated Node #0,1,1: 84:[45, 28] Operation: 77-49=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[45, 28], Operations: ['98-53=45', '77-49=28'] Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,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,0 Current State: 84:[77, 4], Operations: ['98-53=45', '49-45=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,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:[49, 53, 21], Operations: ['98-77=21'] Exploring Operation: 53-49=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 84:[21, 4] Operation: 53-49=4 Exploring Operation: 49-21=28, Resulting Numbers: [53, 28] Generated Node #0,0,1: 84:[53, 28] Operation: 49-21=28 Moving to Node #0,0,0 Current State: 84:[21, 4], Operations: ['98-77=21', '53-49=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[77, 49, 98, 53], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [49, 53, 21] Generated Node #0,0: 84:[49, 53, 21] Operation: 98-77=21 Moving to Node #0,0 Current State: 84:[49, 53, 21], Operations: ['98-77=21'] Exploring Operation: 53-49=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 84:[21, 4] Operation: 53-49=4 Moving to Node #0,0,0 Current State: 84:[21, 4], Operations: ['98-77=21', '53-49=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 12, 21, 48, 28 ]
36
[ "28-21=7", "12*7=84", "84-48=36" ]
Current State: 36:[12, 21, 48, 28], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [12, 48, 7] Generated Node #2: [12, 48, 7] from Operation: 28-21=7 Current State: 36:[12, 48, 7], Operations: ['28-21=7'] Exploring Operation: 12*7=84, Resulting Numbers: [48, 84] Generated Node #3: [48, 84] from Operation: 12*7=84 Current State: 36:[48, 84], Operations: ['28-21=7', '12*7=84'] Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[12, 21, 48, 28], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [12, 48, 7] Generated Node #0,0: 36:[12, 48, 7] Operation: 28-21=7 Exploring Operation: 48-28=20, Resulting Numbers: [12, 21, 20] Generated Node #0,1: 36:[12, 21, 20] Operation: 48-28=20 Exploring Operation: 28-12=16, Resulting Numbers: [21, 48, 16] Generated Node #0,2: 36:[21, 48, 16] Operation: 28-12=16 Exploring Operation: 48/12=4, Resulting Numbers: [21, 28, 4] Generated Node #0,3: 36:[21, 28, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [21, 28, 36] Generated Node #0,4: 36:[21, 28, 36] Operation: 48-12=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[12, 21, 20], Operations: ['48-28=20'] Exploring Operation: 21-12=9, Resulting Numbers: [20, 9] Generated Node #0,1,0: 36:[20, 9] Operation: 21-12=9 Exploring Operation: 21-20=1, Resulting Numbers: [12, 1] Generated Node #0,1,1: 36:[12, 1] Operation: 21-20=1 Exploring Operation: 21+20=41, Resulting Numbers: [12, 41] Generated Node #0,1,2: 36:[12, 41] Operation: 21+20=41 Exploring Operation: 20-12=8, Resulting Numbers: [21, 8] Generated Node #0,1,3: 36:[21, 8] Operation: 20-12=8 Exploring Operation: 12+21=33, Resulting Numbers: [20, 33] Generated Node #0,1,4: 36:[20, 33] Operation: 12+21=33 Moving to Node #0,1,1 Current State: 36:[12, 1], Operations: ['48-28=20', '21-20=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[20, 9], Operations: ['48-28=20', '21-12=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,36 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[21, 8], Operations: ['48-28=20', '20-12=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,36 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[12, 41], Operations: ['48-28=20', '21+20=41'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,36 unequal: No Solution Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[20, 33], Operations: ['48-28=20', '12+21=33'] Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,36 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[21, 28, 4], Operations: ['48/12=4'] Exploring Operation: 28-4=24, Resulting Numbers: [21, 24] Generated Node #0,3,0: 36:[21, 24] Operation: 28-4=24 Exploring Operation: 21-4=17, Resulting Numbers: [28, 17] Generated Node #0,3,1: 36:[28, 17] Operation: 21-4=17 Exploring Operation: 28+4=32, Resulting Numbers: [21, 32] Generated Node #0,3,2: 36:[21, 32] Operation: 28+4=32 Exploring Operation: 28/4=7, Resulting Numbers: [21, 7] Generated Node #0,3,3: 36:[21, 7] Operation: 28/4=7 Exploring Operation: 28-21=7, Resulting Numbers: [4, 7] Generated Node #0,3,4: 36:[4, 7] Operation: 28-21=7 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 36:[4, 7], Operations: ['48/12=4', '28-21=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 36:[21, 7], Operations: ['48/12=4', '28/4=7'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 36:[21, 32], Operations: ['48/12=4', '28+4=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 36:[21, 24], Operations: ['48/12=4', '28-4=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 36:[28, 17], Operations: ['48/12=4', '21-4=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[21, 28, 36], Operations: ['48-12=36'] Exploring Operation: 21+36=57, Resulting Numbers: [28, 57] Generated Node #0,4,0: 36:[28, 57] Operation: 21+36=57 Exploring Operation: 21+28=49, Resulting Numbers: [36, 49] Generated Node #0,4,1: 36:[36, 49] Operation: 21+28=49 Exploring Operation: 36-28=8, Resulting Numbers: [21, 8] Generated Node #0,4,2: 36:[21, 8] Operation: 36-28=8 Exploring Operation: 36-21=15, Resulting Numbers: [28, 15] Generated Node #0,4,3: 36:[28, 15] Operation: 36-21=15 Exploring Operation: 28-21=7, Resulting Numbers: [36, 7] Generated Node #0,4,4: 36:[36, 7] Operation: 28-21=7 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 36:[36, 7], Operations: ['48-12=36', '28-21=7'] Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,36 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 36:[21, 8], Operations: ['48-12=36', '36-28=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,36 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 36:[28, 15], Operations: ['48-12=36', '36-21=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 36:[36, 49], Operations: ['48-12=36', '21+28=49'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,36 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 36:[28, 57], Operations: ['48-12=36', '21+36=57'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 28+57=85, Resulting Numbers: [85] 85,36 unequal: No Solution Exploring Operation: 28*57=1596, Resulting Numbers: [1596] 1596,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[12, 48, 7], Operations: ['28-21=7'] Exploring Operation: 12+7=19, Resulting Numbers: [48, 19] Generated Node #0,0,0: 36:[48, 19] Operation: 12+7=19 Exploring Operation: 48-12=36, Resulting Numbers: [7, 36] Generated Node #0,0,1: 36:[7, 36] Operation: 48-12=36 Exploring Operation: 12-7=5, Resulting Numbers: [48, 5] Generated Node #0,0,2: 36:[48, 5] Operation: 12-7=5 Exploring Operation: 48-7=41, Resulting Numbers: [12, 41] Generated Node #0,0,3: 36:[12, 41] Operation: 48-7=41 Exploring Operation: 48/12=4, Resulting Numbers: [7, 4] Generated Node #0,0,4: 36:[7, 4] Operation: 48/12=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[7, 36], Operations: ['28-21=7', '48-12=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 36:[7, 4], Operations: ['28-21=7', '48/12=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 36:[12, 41], Operations: ['28-21=7', '48-7=41'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,36 unequal: No Solution Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[48, 19], Operations: ['28-21=7', '12+7=19'] Exploring Operation: 48*19=912, Resulting Numbers: [912] 912,36 unequal: No Solution Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 36:[48, 5], Operations: ['28-21=7', '12-7=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,36 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[21, 48, 16], Operations: ['28-12=16'] Exploring Operation: 21-16=5, Resulting Numbers: [48, 5] Generated Node #0,2,0: 36:[48, 5] Operation: 21-16=5 Exploring Operation: 21+16=37, Resulting Numbers: [48, 37] Generated Node #0,2,1: 36:[48, 37] Operation: 21+16=37 Exploring Operation: 48-16=32, Resulting Numbers: [21, 32] Generated Node #0,2,2: 36:[21, 32] Operation: 48-16=32 Exploring Operation: 48-21=27, Resulting Numbers: [16, 27] Generated Node #0,2,3: 36:[16, 27] Operation: 48-21=27 Exploring Operation: 48/16=3, Resulting Numbers: [21, 3] Generated Node #0,2,4: 36:[21, 3] Operation: 48/16=3 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 36:[21, 3], Operations: ['28-12=16', '48/16=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[21, 32], Operations: ['28-12=16', '48-16=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,36 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 36:[16, 27], Operations: ['28-12=16', '48-21=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[48, 5], Operations: ['28-12=16', '21-16=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,36 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[48, 37], Operations: ['28-12=16', '21+16=37'] Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,36 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 68, 9, 81, 75 ]
14
[ "81-75=6", "9*6=54", "68-54=14" ]
Current State: 14:[68, 9, 81, 75], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [68, 9, 6] Generated Node #2: [68, 9, 6] from Operation: 81-75=6 Current State: 14:[68, 9, 6], Operations: ['81-75=6'] Exploring Operation: 9*6=54, Resulting Numbers: [68, 54] Generated Node #3: [68, 54] from Operation: 9*6=54 Current State: 14:[68, 54], Operations: ['81-75=6', '9*6=54'] Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[68, 9, 81, 75], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [68, 9, 6] Generated Node #0,0: 14:[68, 9, 6] Operation: 81-75=6 Exploring Operation: 75-68=7, Resulting Numbers: [9, 81, 7] Generated Node #0,1: 14:[9, 81, 7] Operation: 75-68=7 Exploring Operation: 81-68=13, Resulting Numbers: [9, 75, 13] Generated Node #0,2: 14:[9, 75, 13] Operation: 81-68=13 Exploring Operation: 81/9=9, Resulting Numbers: [68, 75, 9] Generated Node #0,3: 14:[68, 75, 9] Operation: 81/9=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[68, 9, 6], Operations: ['81-75=6'] Exploring Operation: 9-6=3, Resulting Numbers: [68, 3] Generated Node #0,0,0: 14:[68, 3] Operation: 9-6=3 Exploring Operation: 68-9=59, Resulting Numbers: [6, 59] Generated Node #0,0,1: 14:[6, 59] Operation: 68-9=59 Exploring Operation: 9+6=15, Resulting Numbers: [68, 15] Generated Node #0,0,2: 14:[68, 15] Operation: 9+6=15 Exploring Operation: 68-6=62, Resulting Numbers: [9, 62] Generated Node #0,0,3: 14:[9, 62] Operation: 68-6=62 Moving to Node #0,0,1 Current State: 14:[6, 59], Operations: ['81-75=6', '68-9=59'] Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[9, 62], Operations: ['81-75=6', '68-6=62'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[68, 15], Operations: ['81-75=6', '9+6=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,14 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[68, 3], Operations: ['81-75=6', '9-6=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,14 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[9, 75, 13], Operations: ['81-68=13'] Exploring Operation: 9+13=22, Resulting Numbers: [75, 22] Generated Node #0,2,0: 14:[75, 22] Operation: 9+13=22 Exploring Operation: 75-9=66, Resulting Numbers: [13, 66] Generated Node #0,2,1: 14:[13, 66] Operation: 75-9=66 Exploring Operation: 75-13=62, Resulting Numbers: [9, 62] Generated Node #0,2,2: 14:[9, 62] Operation: 75-13=62 Exploring Operation: 13-9=4, Resulting Numbers: [75, 4] Generated Node #0,2,3: 14:[75, 4] Operation: 13-9=4 Moving to Node #0,2,2 Current State: 14:[9, 62], Operations: ['81-68=13', '75-13=62'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,14 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[13, 66], Operations: ['81-68=13', '75-9=66'] Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 13*66=858, Resulting Numbers: [858] 858,14 unequal: No Solution Exploring Operation: 13+66=79, Resulting Numbers: [79] 79,14 unequal: No Solution Moving to Node #0,2,3 Current State: 14:[75, 4], Operations: ['81-68=13', '13-9=4'] Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,14 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[75, 22], Operations: ['81-68=13', '9+13=22'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,14 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[9, 81, 7], Operations: ['75-68=7'] Exploring Operation: 9-7=2, Resulting Numbers: [81, 2] Generated Node #0,1,0: 14:[81, 2] Operation: 9-7=2 Exploring Operation: 81-9=72, Resulting Numbers: [7, 72] Generated Node #0,1,1: 14:[7, 72] Operation: 81-9=72 Exploring Operation: 81-7=74, Resulting Numbers: [9, 74] Generated Node #0,1,2: 14:[9, 74] Operation: 81-7=74 Exploring Operation: 81/9=9, Resulting Numbers: [7, 9] Generated Node #0,1,3: 14:[7, 9] Operation: 81/9=9 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 14:[7, 9], Operations: ['75-68=7', '81/9=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,14 unequal: No Solution No 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: 14:[7, 72], Operations: ['75-68=7', '81-9=72'] Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,14 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,14 unequal: No Solution No 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: 14:[9, 74], Operations: ['75-68=7', '81-7=74'] Exploring Operation: 9*74=666, Resulting Numbers: [666] 666,14 unequal: No Solution Exploring Operation: 9+74=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,14 unequal: No Solution No 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: 14:[81, 2], Operations: ['75-68=7', '9-7=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,14 unequal: No Solution Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,14 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: 14:[68, 75, 9], Operations: ['81/9=9'] Exploring Operation: 68-9=59, Resulting Numbers: [75, 59] Generated Node #0,3,0: 14:[75, 59] Operation: 68-9=59 Exploring Operation: 75-68=7, Resulting Numbers: [9, 7] Generated Node #0,3,1: 14:[9, 7] Operation: 75-68=7 Exploring Operation: 75-9=66, Resulting Numbers: [68, 66] Generated Node #0,3,2: 14:[68, 66] Operation: 75-9=66 Exploring Operation: 68+9=77, Resulting Numbers: [75, 77] Generated Node #0,3,3: 14:[75, 77] Operation: 68+9=77 Moving to Node #0,3,1 Current State: 14:[9, 7], Operations: ['81/9=9', '75-68=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[68, 66], Operations: ['81/9=9', '75-9=66'] Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,14 unequal: No Solution Exploring Operation: 68*66=4488, Resulting Numbers: [4488] 4488,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[75, 59], Operations: ['81/9=9', '68-9=59'] Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 75*59=4425, Resulting Numbers: [4425] 4425,14 unequal: No Solution Exploring Operation: 75+59=134, Resulting Numbers: [134] 134,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[75, 77], Operations: ['81/9=9', '68+9=77'] Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 75+77=152, Resulting Numbers: [152] 152,14 unequal: No Solution Exploring Operation: 75*77=5775, Resulting Numbers: [5775] 5775,14 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
[ 37, 24, 40, 50 ]
42
[ "40-37=3", "24/3=8", "50-8=42" ]
Current State: 42:[37, 24, 40, 50], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [24, 50, 3] Generated Node #2: [24, 50, 3] from Operation: 40-37=3 Current State: 42:[24, 50, 3], Operations: ['40-37=3'] Exploring Operation: 24/3=8, Resulting Numbers: [50, 8] Generated Node #3: [50, 8] from Operation: 24/3=8 Current State: 42:[50, 8], Operations: ['40-37=3', '24/3=8'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[37, 24, 40, 50], Operations: [] Exploring Operation: 50-37=13, Resulting Numbers: [24, 40, 13] Generated Node #0,0: 42:[24, 40, 13] Operation: 50-37=13 Moving to Node #0,0 Current State: 42:[24, 40, 13], Operations: ['50-37=13'] Exploring Operation: 40-24=16, Resulting Numbers: [13, 16] Generated Node #0,0,0: 42:[13, 16] Operation: 40-24=16 Moving to Node #0,0,0 Current State: 42:[13, 16], Operations: ['50-37=13', '40-24=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 13, 65, 19, 7 ]
21
[ "65/13=5", "19+7=26", "26-5=21" ]
Current State: 21:[13, 65, 19, 7], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [19, 7, 5] Generated Node #2: [19, 7, 5] from Operation: 65/13=5 Current State: 21:[19, 7, 5], Operations: ['65/13=5'] Exploring Operation: 19+7=26, Resulting Numbers: [5, 26] Generated Node #3: [5, 26] from Operation: 19+7=26 Current State: 21:[5, 26], Operations: ['65/13=5', '19+7=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[13, 65, 19, 7], Operations: [] Exploring Operation: 65-19=46, Resulting Numbers: [13, 7, 46] Generated Node #0,0: 21:[13, 7, 46] Operation: 65-19=46 Exploring Operation: 65-13=52, Resulting Numbers: [19, 7, 52] Generated Node #0,1: 21:[19, 7, 52] Operation: 65-13=52 Exploring Operation: 65/13=5, Resulting Numbers: [19, 7, 5] Generated Node #0,2: 21:[19, 7, 5] Operation: 65/13=5 Moving to Node #0,2 Current State: 21:[19, 7, 5], Operations: ['65/13=5'] Exploring Operation: 19+5=24, Resulting Numbers: [7, 24] Generated Node #0,2,0: 21:[7, 24] Operation: 19+5=24 Exploring Operation: 19+7=26, Resulting Numbers: [5, 26] Generated Node #0,2,1: 21:[5, 26] Operation: 19+7=26 Exploring Operation: 7-5=2, Resulting Numbers: [19, 2] Generated Node #0,2,2: 21:[19, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[7, 24], Operations: ['65/13=5', '19+5=24'] Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,21 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[19, 2], Operations: ['65/13=5', '7-5=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[13, 65, 19, 7], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [19, 7, 5] Generated Node #0,2: 21:[19, 7, 5] Operation: 65/13=5 Moving to Node #0,2 Current State: 21:[19, 7, 5], Operations: ['65/13=5'] Exploring Operation: 7-5=2, Resulting Numbers: [19, 2] Generated Node #0,2,2: 21:[19, 2] Operation: 7-5=2 Moving to Node #0,2,2 Current State: 21:[19, 2], Operations: ['65/13=5', '7-5=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 77, 4, 5, 24 ]
73
[ "77-24=53", "4*5=20", "53+20=73" ]
Current State: 73:[77, 4, 5, 24], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [4, 5, 53] Generated Node #2: [4, 5, 53] from Operation: 77-24=53 Current State: 73:[4, 5, 53], Operations: ['77-24=53'] Exploring Operation: 4*5=20, Resulting Numbers: [53, 20] Generated Node #3: [53, 20] from Operation: 4*5=20 Current State: 73:[53, 20], Operations: ['77-24=53', '4*5=20'] Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[77, 4, 5, 24], Operations: [] Exploring Operation: 77-4=73, Resulting Numbers: [5, 24, 73] Generated Node #0,0: 73:[5, 24, 73] Operation: 77-4=73 Exploring Operation: 4*5=20, Resulting Numbers: [77, 24, 20] Generated Node #0,1: 73:[77, 24, 20] Operation: 4*5=20 Exploring Operation: 4+5=9, Resulting Numbers: [77, 24, 9] Generated Node #0,2: 73:[77, 24, 9] Operation: 4+5=9 Exploring Operation: 4+24=28, Resulting Numbers: [77, 5, 28] Generated Node #0,3: 73:[77, 5, 28] Operation: 4+24=28 Exploring Operation: 4*24=96, Resulting Numbers: [77, 5, 96] Generated Node #0,4: 73:[77, 5, 96] Operation: 4*24=96 Moving to Node #0,4 Current State: 73:[77, 5, 96], Operations: ['4*24=96'] Exploring Operation: 96-77=19, Resulting Numbers: [5, 19] Generated Node #0,4,0: 73:[5, 19] Operation: 96-77=19 Exploring Operation: 77-5=72, Resulting Numbers: [96, 72] Generated Node #0,4,1: 73:[96, 72] Operation: 77-5=72 Exploring Operation: 96-5=91, Resulting Numbers: [77, 91] Generated Node #0,4,2: 73:[77, 91] Operation: 96-5=91 Exploring Operation: 77+5=82, Resulting Numbers: [96, 82] Generated Node #0,4,3: 73:[96, 82] Operation: 77+5=82 Exploring Operation: 5+96=101, Resulting Numbers: [77, 101] Generated Node #0,4,4: 73:[77, 101] Operation: 5+96=101 Moving to Node #0,1 Current State: 73:[77, 24, 20], Operations: ['4*5=20'] Exploring Operation: 24+20=44, Resulting Numbers: [77, 44] Generated Node #0,1,0: 73:[77, 44] Operation: 24+20=44 Exploring Operation: 77+20=97, Resulting Numbers: [24, 97] Generated Node #0,1,1: 73:[24, 97] Operation: 77+20=97 Exploring Operation: 77-24=53, Resulting Numbers: [20, 53] Generated Node #0,1,2: 73:[20, 53] Operation: 77-24=53 Exploring Operation: 24-20=4, Resulting Numbers: [77, 4] Generated Node #0,1,3: 73:[77, 4] Operation: 24-20=4 Exploring Operation: 77-20=57, Resulting Numbers: [24, 57] Generated Node #0,1,4: 73:[24, 57] Operation: 77-20=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[77, 44], Operations: ['4*5=20', '24+20=44'] Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,73 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 73:[24, 57], Operations: ['4*5=20', '77-20=57'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 24*57=1368, Resulting Numbers: [1368] 1368,73 unequal: No Solution Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,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,1,1 Current State: 73:[24, 97], Operations: ['4*5=20', '77+20=97'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[77, 4, 5, 24], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [77, 24, 20] Generated Node #0,1: 73:[77, 24, 20] Operation: 4*5=20 Moving to Node #0,1 Current State: 73:[77, 24, 20], Operations: ['4*5=20'] Exploring Operation: 77+20=97, Resulting Numbers: [24, 97] Generated Node #0,1,1: 73:[24, 97] Operation: 77+20=97 Moving to Node #0,1,1 Current State: 73:[24, 97], Operations: ['4*5=20', '77+20=97'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 51, 32, 96, 1 ]
49
[ "51+1=52", "96/32=3", "52-3=49" ]
Current State: 49:[51, 32, 96, 1], Operations: [] Exploring Operation: 51+1=52, Resulting Numbers: [32, 96, 52] Generated Node #2: [32, 96, 52] from Operation: 51+1=52 Current State: 49:[32, 96, 52], Operations: ['51+1=52'] Exploring Operation: 96/32=3, Resulting Numbers: [52, 3] Generated Node #3: [52, 3] from Operation: 96/32=3 Current State: 49:[52, 3], Operations: ['51+1=52', '96/32=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[51, 32, 96, 1], Operations: [] Exploring Operation: 51-32=19, Resulting Numbers: [96, 1, 19] Generated Node #0,0: 49:[96, 1, 19] Operation: 51-32=19 Exploring Operation: 96/32=3, Resulting Numbers: [51, 1, 3] Generated Node #0,1: 49:[51, 1, 3] Operation: 96/32=3 Exploring Operation: 96-32=64, Resulting Numbers: [51, 1, 64] Generated Node #0,2: 49:[51, 1, 64] Operation: 96-32=64 Exploring Operation: 96-51=45, Resulting Numbers: [32, 1, 45] Generated Node #0,3: 49:[32, 1, 45] Operation: 96-51=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[51, 1, 3], Operations: ['96/32=3'] Exploring Operation: 51-1=50, Resulting Numbers: [3, 50] Generated Node #0,1,0: 49:[3, 50] Operation: 51-1=50 Exploring Operation: 1+3=4, Resulting Numbers: [51, 4] Generated Node #0,1,1: 49:[51, 4] Operation: 1+3=4 Exploring Operation: 51*1=51, Resulting Numbers: [3, 51] Generated Node #0,1,2: 49:[3, 51] Operation: 51*1=51 Exploring Operation: 51/1=51, Resulting Numbers: [3, 51] Generated Node #0,1,3: 49:[3, 51] Operation: 51/1=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[3, 50], Operations: ['96/32=3', '51-1=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[51, 4], Operations: ['96/32=3', '1+3=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[3, 51], Operations: ['96/32=3', '51*1=51'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[3, 51], Operations: ['96/32=3', '51/1=51'] Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[51, 1, 64], Operations: ['96-32=64'] Exploring Operation: 51-1=50, Resulting Numbers: [64, 50] Generated Node #0,2,0: 49:[64, 50] Operation: 51-1=50 Exploring Operation: 64-1=63, Resulting Numbers: [51, 63] Generated Node #0,2,1: 49:[51, 63] Operation: 64-1=63 Exploring Operation: 51*1=51, Resulting Numbers: [64, 51] Generated Node #0,2,2: 49:[64, 51] Operation: 51*1=51 Exploring Operation: 64-51=13, Resulting Numbers: [1, 13] Generated Node #0,2,3: 49:[1, 13] Operation: 64-51=13 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[1, 13], Operations: ['96-32=64', '64-51=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[64, 50], Operations: ['96-32=64', '51-1=50'] Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 64*50=3200, Resulting Numbers: [3200] 3200,49 unequal: No Solution Exploring Operation: 64+50=114, Resulting Numbers: [114] 114,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[51, 63], Operations: ['96-32=64', '64-1=63'] Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,49 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[64, 51], Operations: ['96-32=64', '51*1=51'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[32, 1, 45], Operations: ['96-51=45'] Exploring Operation: 1+45=46, Resulting Numbers: [32, 46] Generated Node #0,3,0: 49:[32, 46] Operation: 1+45=46 Exploring Operation: 32+1=33, Resulting Numbers: [45, 33] Generated Node #0,3,1: 49:[45, 33] Operation: 32+1=33 Exploring Operation: 32*1=32, Resulting Numbers: [45, 32] Generated Node #0,3,2: 49:[45, 32] Operation: 32*1=32 Exploring Operation: 45-32=13, Resulting Numbers: [1, 13] Generated Node #0,3,3: 49:[1, 13] Operation: 45-32=13 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[1, 13], Operations: ['96-51=45', '45-32=13'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[32, 46], Operations: ['96-51=45', '1+45=46'] Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,49 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[45, 33], Operations: ['96-51=45', '32+1=33'] Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,49 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[45, 32], Operations: ['96-51=45', '32*1=32'] Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,49 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[96, 1, 19], Operations: ['51-32=19'] Exploring Operation: 19-1=18, Resulting Numbers: [96, 18] Generated Node #0,0,0: 49:[96, 18] Operation: 19-1=18 Exploring Operation: 96*1=96, Resulting Numbers: [19, 96] Generated Node #0,0,1: 49:[19, 96] Operation: 96*1=96 Exploring Operation: 96-19=77, Resulting Numbers: [1, 77] Generated Node #0,0,2: 49:[1, 77] Operation: 96-19=77 Exploring Operation: 96-1=95, Resulting Numbers: [19, 95] Generated Node #0,0,3: 49:[19, 95] Operation: 96-1=95 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[1, 77], Operations: ['51-32=19', '96-19=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,49 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[96, 18], Operations: ['51-32=19', '19-1=18'] Exploring Operation: 96+18=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,49 unequal: No Solution Exploring Operation: 96*18=1728, Resulting Numbers: [1728] 1728,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[19, 95], Operations: ['51-32=19', '96-1=95'] Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 19+95=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 19*95=1805, Resulting Numbers: [1805] 1805,49 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[19, 96], Operations: ['51-32=19', '96*1=96'] Exploring Operation: 19+96=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 19*96=1824, Resulting Numbers: [1824] 1824,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 35, 90, 60, 37 ]
75
[ "35+37=72", "90*60=5400", "5400/72=75" ]
Current State: 75:[35, 90, 60, 37], Operations: [] Exploring Operation: 35+37=72, Resulting Numbers: [90, 60, 72] Generated Node #2: [90, 60, 72] from Operation: 35+37=72 Current State: 75:[90, 60, 72], Operations: ['35+37=72'] Exploring Operation: 90*60=5400, Resulting Numbers: [72, 5400] Generated Node #3: [72, 5400] from Operation: 90*60=5400 Current State: 75:[72, 5400], Operations: ['35+37=72', '90*60=5400'] Exploring Operation: 5400/72=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[35, 90, 60, 37], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [90, 37, 25] Generated Node #0,0: 75:[90, 37, 25] Operation: 60-35=25 Exploring Operation: 90-60=30, Resulting Numbers: [35, 37, 30] Generated Node #0,1: 75:[35, 37, 30] Operation: 90-60=30 Exploring Operation: 60-37=23, Resulting Numbers: [35, 90, 23] Generated Node #0,2: 75:[35, 90, 23] Operation: 60-37=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[90, 37, 25], Operations: ['60-35=25'] Exploring Operation: 37-25=12, Resulting Numbers: [90, 12] Generated Node #0,0,0: 75:[90, 12] Operation: 37-25=12 Exploring Operation: 90-37=53, Resulting Numbers: [25, 53] Generated Node #0,0,1: 75:[25, 53] Operation: 90-37=53 Exploring Operation: 90-25=65, Resulting Numbers: [37, 65] Generated Node #0,0,2: 75:[37, 65] Operation: 90-25=65 Moving to Node #0,0,0 Current State: 75:[90, 12], Operations: ['60-35=25', '37-25=12'] Exploring Operation: 90*12=1080, Resulting Numbers: [1080] 1080,75 unequal: No Solution Exploring Operation: 90+12=102, Resulting Numbers: [102] 102,75 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[25, 53], Operations: ['60-35=25', '90-37=53'] Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,75 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[37, 65], Operations: ['60-35=25', '90-25=65'] Exploring Operation: 37*65=2405, Resulting Numbers: [2405] 2405,75 unequal: No Solution Exploring Operation: 37+65=102, Resulting Numbers: [102] 102,75 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[35, 37, 30], Operations: ['90-60=30'] Exploring Operation: 37-35=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 75:[30, 2] Operation: 37-35=2 Exploring Operation: 35-30=5, Resulting Numbers: [37, 5] Generated Node #0,1,1: 75:[37, 5] Operation: 35-30=5 Exploring Operation: 35+37=72, Resulting Numbers: [30, 72] Generated Node #0,1,2: 75:[30, 72] Operation: 35+37=72 Moving to Node #0,1,0 Current State: 75:[30, 2], Operations: ['90-60=30', '37-35=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[30, 72], Operations: ['90-60=30', '35+37=72'] Exploring Operation: 30*72=2160, Resulting Numbers: [2160] 2160,75 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 30+72=102, Resulting Numbers: [102] 102,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[37, 5], Operations: ['90-60=30', '35-30=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[35, 90, 23], Operations: ['60-37=23'] Exploring Operation: 35-23=12, Resulting Numbers: [90, 12] Generated Node #0,2,0: 75:[90, 12] Operation: 35-23=12 Exploring Operation: 90-23=67, Resulting Numbers: [35, 67] Generated Node #0,2,1: 75:[35, 67] Operation: 90-23=67 Exploring Operation: 90-35=55, Resulting Numbers: [23, 55] Generated Node #0,2,2: 75:[23, 55] Operation: 90-35=55 Moving to Node #0,2,0 Current State: 75:[90, 12], Operations: ['60-37=23', '35-23=12'] Exploring Operation: 90+12=102, Resulting Numbers: [102] 102,75 unequal: No Solution Exploring Operation: 90*12=1080, Resulting Numbers: [1080] 1080,75 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[35, 67], Operations: ['60-37=23', '90-23=67'] Exploring Operation: 35*67=2345, Resulting Numbers: [2345] 2345,75 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 35+67=102, Resulting Numbers: [102] 102,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[23, 55], Operations: ['60-37=23', '90-35=55'] Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,75 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,75 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
[ 69, 85, 81, 24 ]
27
[ "85-81=4", "24*4=96", "96-69=27" ]
Current State: 27:[69, 85, 81, 24], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [69, 24, 4] Generated Node #2: [69, 24, 4] from Operation: 85-81=4 Current State: 27:[69, 24, 4], Operations: ['85-81=4'] Exploring Operation: 24*4=96, Resulting Numbers: [69, 96] Generated Node #3: [69, 96] from Operation: 24*4=96 Current State: 27:[69, 96], Operations: ['85-81=4', '24*4=96'] Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[69, 85, 81, 24], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [69, 24, 4] Generated Node #0,0: 27:[69, 24, 4] Operation: 85-81=4 Exploring Operation: 85-24=61, Resulting Numbers: [69, 81, 61] Generated Node #0,1: 27:[69, 81, 61] Operation: 85-24=61 Exploring Operation: 69-24=45, Resulting Numbers: [85, 81, 45] Generated Node #0,2: 27:[85, 81, 45] Operation: 69-24=45 Exploring Operation: 85-69=16, Resulting Numbers: [81, 24, 16] Generated Node #0,3: 27:[81, 24, 16] Operation: 85-69=16 Exploring Operation: 81-69=12, Resulting Numbers: [85, 24, 12] Generated Node #0,4: 27:[85, 24, 12] Operation: 81-69=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[69, 24, 4], Operations: ['85-81=4'] Exploring Operation: 69+4=73, Resulting Numbers: [24, 73] Generated Node #0,0,0: 27:[24, 73] Operation: 69+4=73 Exploring Operation: 69-24=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 27:[4, 45] Operation: 69-24=45 Exploring Operation: 24/4=6, Resulting Numbers: [69, 6] Generated Node #0,0,2: 27:[69, 6] Operation: 24/4=6 Exploring Operation: 24+4=28, Resulting Numbers: [69, 28] Generated Node #0,0,3: 27:[69, 28] Operation: 24+4=28 Exploring Operation: 69-4=65, Resulting Numbers: [24, 65] Generated Node #0,0,4: 27:[24, 65] Operation: 69-4=65 Moving to Node #0,0,1 Current State: 27:[4, 45], Operations: ['85-81=4', '69-24=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[24, 65], Operations: ['85-81=4', '69-4=65'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,27 unequal: No Solution Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[69, 28], Operations: ['85-81=4', '24+4=28'] Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,27 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[69, 6], Operations: ['85-81=4', '24/4=6'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,27 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,27 unequal: No Solution Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[24, 73], Operations: ['85-81=4', '69+4=73'] Exploring Operation: 24+73=97, Resulting Numbers: [97] 97,27 unequal: No Solution Exploring Operation: 24*73=1752, Resulting Numbers: [1752] 1752,27 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,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,3 Current State: 27:[81, 24, 16], Operations: ['85-69=16'] Exploring Operation: 81+16=97, Resulting Numbers: [24, 97] Generated Node #0,3,0: 27:[24, 97] Operation: 81+16=97 Exploring Operation: 24-16=8, Resulting Numbers: [81, 8] Generated Node #0,3,1: 27:[81, 8] Operation: 24-16=8 Exploring Operation: 81-24=57, Resulting Numbers: [16, 57] Generated Node #0,3,2: 27:[16, 57] Operation: 81-24=57 Exploring Operation: 81-16=65, Resulting Numbers: [24, 65] Generated Node #0,3,3: 27:[24, 65] Operation: 81-16=65 Exploring Operation: 24+16=40, Resulting Numbers: [81, 40] Generated Node #0,3,4: 27:[81, 40] Operation: 24+16=40 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 27:[16, 57], Operations: ['85-69=16', '81-24=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,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,3,3 Current State: 27:[24, 65], Operations: ['85-69=16', '81-16=65'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,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,3,1 Current State: 27:[81, 8], Operations: ['85-69=16', '24-16=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,27 unequal: No Solution Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,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,3,4 Current State: 27:[81, 40], Operations: ['85-69=16', '24+16=40'] Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 81+40=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 81*40=3240, Resulting Numbers: [3240] 3240,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,3,0 Current State: 27:[24, 97], Operations: ['85-69=16', '81+16=97'] Exploring Operation: 24*97=2328, Resulting Numbers: [2328] 2328,27 unequal: No Solution Exploring Operation: 24+97=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,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,4 Current State: 27:[85, 24, 12], Operations: ['81-69=12'] Exploring Operation: 85-12=73, Resulting Numbers: [24, 73] Generated Node #0,4,0: 27:[24, 73] Operation: 85-12=73 Exploring Operation: 24-12=12, Resulting Numbers: [85, 12] Generated Node #0,4,1: 27:[85, 12] Operation: 24-12=12 Exploring Operation: 85-24=61, Resulting Numbers: [12, 61] Generated Node #0,4,2: 27:[12, 61] Operation: 85-24=61 Exploring Operation: 24/12=2, Resulting Numbers: [85, 2] Generated Node #0,4,3: 27:[85, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [85, 36] Generated Node #0,4,4: 27:[85, 36] Operation: 24+12=36 Moving to Node #0,4,2 Current State: 27:[12, 61], Operations: ['81-69=12', '85-24=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,27 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,27 unequal: No Solution Moving to Node #0,4,0 Current State: 27:[24, 73], Operations: ['81-69=12', '85-12=73'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 24+73=97, Resulting Numbers: [97] 97,27 unequal: No Solution Exploring Operation: 24*73=1752, Resulting Numbers: [1752] 1752,27 unequal: No Solution Moving to Node #0,4,3 Current State: 27:[85, 2], Operations: ['81-69=12', '24/12=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,27 unequal: No Solution Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,27 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,27 unequal: No Solution Moving to Node #0,4,1 Current State: 27:[85, 12], Operations: ['81-69=12', '24-12=12'] Exploring Operation: 85*12=1020, Resulting Numbers: [1020] 1020,27 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,27 unequal: No Solution Moving to Node #0,4,4 Current State: 27:[85, 36], Operations: ['81-69=12', '24+12=36'] Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,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:[69, 81, 61], Operations: ['85-24=61'] Exploring Operation: 81-61=20, Resulting Numbers: [69, 20] Generated Node #0,1,0: 27:[69, 20] Operation: 81-61=20 Exploring Operation: 69+61=130, Resulting Numbers: [81, 130] Generated Node #0,1,1: 27:[81, 130] Operation: 69+61=130 Exploring Operation: 69-61=8, Resulting Numbers: [81, 8] Generated Node #0,1,2: 27:[81, 8] Operation: 69-61=8 Exploring Operation: 69+81=150, Resulting Numbers: [61, 150] Generated Node #0,1,3: 27:[61, 150] Operation: 69+81=150 Exploring Operation: 81-69=12, Resulting Numbers: [61, 12] Generated Node #0,1,4: 27:[61, 12] Operation: 81-69=12 Moving to Node #0,1,4 Current State: 27:[61, 12], Operations: ['85-24=61', '81-69=12'] Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,27 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[69, 20], Operations: ['85-24=61', '81-61=20'] Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,27 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[81, 8], Operations: ['85-24=61', '69-61=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,27 unequal: No Solution Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[81, 130], Operations: ['85-24=61', '69+61=130'] Exploring Operation: 130-81=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 81*130=10530, Resulting Numbers: [10530] 10530,27 unequal: No Solution Exploring Operation: 81+130=211, Resulting Numbers: [211] 211,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[61, 150], Operations: ['85-24=61', '69+81=150'] Exploring Operation: 61*150=9150, Resulting Numbers: [9150] 9150,27 unequal: No Solution Exploring Operation: 150-61=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 61+150=211, Resulting Numbers: [211] 211,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,2 Current State: 27:[85, 81, 45], Operations: ['69-24=45'] Exploring Operation: 85+81=166, Resulting Numbers: [45, 166] Generated Node #0,2,0: 27:[45, 166] Operation: 85+81=166 Exploring Operation: 85-81=4, Resulting Numbers: [45, 4] Generated Node #0,2,1: 27:[45, 4] Operation: 85-81=4 Exploring Operation: 85+45=130, Resulting Numbers: [81, 130] Generated Node #0,2,2: 27:[81, 130] Operation: 85+45=130 Exploring Operation: 85-45=40, Resulting Numbers: [81, 40] Generated Node #0,2,3: 27:[81, 40] Operation: 85-45=40 Exploring Operation: 81-45=36, Resulting Numbers: [85, 36] Generated Node #0,2,4: 27:[85, 36] Operation: 81-45=36 Moving to Node #0,2,1 Current State: 27:[45, 4], Operations: ['69-24=45', '85-81=4'] Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,27 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,27 unequal: No Solution Moving to Node #0,2,4 Current State: 27:[85, 36], Operations: ['69-24=45', '81-45=36'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,27 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[81, 40], Operations: ['69-24=45', '85-45=40'] Exploring Operation: 81+40=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 81*40=3240, Resulting Numbers: [3240] 3240,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[45, 166], Operations: ['69-24=45', '85+81=166'] Exploring Operation: 45+166=211, Resulting Numbers: [211] 211,27 unequal: No Solution Exploring Operation: 45*166=7470, Resulting Numbers: [7470] 7470,27 unequal: No Solution Exploring Operation: 166-45=121, Resulting Numbers: [121] 121,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[81, 130], Operations: ['69-24=45', '85+45=130'] Exploring Operation: 81+130=211, Resulting Numbers: [211] 211,27 unequal: No Solution Exploring Operation: 81*130=10530, Resulting Numbers: [10530] 10530,27 unequal: No Solution Exploring Operation: 130-81=49, Resulting Numbers: [49] 49,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 40, 7, 49, 98 ]
63
[ "40+49=89", "98-89=9", "7*9=63" ]
Current State: 63:[40, 7, 49, 98], Operations: [] Exploring Operation: 40+49=89, Resulting Numbers: [7, 98, 89] Generated Node #2: [7, 98, 89] from Operation: 40+49=89 Current State: 63:[7, 98, 89], Operations: ['40+49=89'] Exploring Operation: 98-89=9, Resulting Numbers: [7, 9] Generated Node #3: [7, 9] from Operation: 98-89=9 Current State: 63:[7, 9], Operations: ['40+49=89', '98-89=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[40, 7, 49, 98], Operations: [] Exploring Operation: 98-40=58, Resulting Numbers: [7, 49, 58] Generated Node #0,0: 63:[7, 49, 58] Operation: 98-40=58 Exploring Operation: 98/49=2, Resulting Numbers: [40, 7, 2] Generated Node #0,1: 63:[40, 7, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [40, 7, 49] Generated Node #0,2: 63:[40, 7, 49] Operation: 98-49=49 Exploring Operation: 49-40=9, Resulting Numbers: [7, 98, 9] Generated Node #0,3: 63:[7, 98, 9] Operation: 49-40=9 Moving to Node #0,0 Current State: 63:[7, 49, 58], Operations: ['98-40=58'] Exploring Operation: 7+49=56, Resulting Numbers: [58, 56] Generated Node #0,0,0: 63:[58, 56] Operation: 7+49=56 Exploring Operation: 7+58=65, Resulting Numbers: [49, 65] Generated Node #0,0,1: 63:[49, 65] Operation: 7+58=65 Exploring Operation: 49/7=7, Resulting Numbers: [58, 7] Generated Node #0,0,2: 63:[58, 7] Operation: 49/7=7 Exploring Operation: 58-49=9, Resulting Numbers: [7, 9] Generated Node #0,0,3: 63:[7, 9] Operation: 58-49=9 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[7, 9], Operations: ['98-40=58', '58-49=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[40, 7, 49, 98], Operations: [] Exploring Operation: 98-40=58, Resulting Numbers: [7, 49, 58] Generated Node #0,0: 63:[7, 49, 58] Operation: 98-40=58 Moving to Node #0,0 Current State: 63:[7, 49, 58], Operations: ['98-40=58'] Exploring Operation: 58-49=9, Resulting Numbers: [7, 9] Generated Node #0,0,3: 63:[7, 9] Operation: 58-49=9 Moving to Node #0,0,3 Current State: 63:[7, 9], Operations: ['98-40=58', '58-49=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 27, 35, 23, 81 ]
54
[ "81-35=46", "27*46=1242", "1242/23=54" ]
Current State: 54:[27, 35, 23, 81], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [27, 23, 46] Generated Node #2: [27, 23, 46] from Operation: 81-35=46 Current State: 54:[27, 23, 46], Operations: ['81-35=46'] Exploring Operation: 27*46=1242, Resulting Numbers: [23, 1242] Generated Node #3: [23, 1242] from Operation: 27*46=1242 Current State: 54:[23, 1242], Operations: ['81-35=46', '27*46=1242'] Exploring Operation: 1242/23=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[27, 35, 23, 81], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [35, 23, 54] Generated Node #0,0: 54:[35, 23, 54] Operation: 81-27=54 Exploring Operation: 81-35=46, Resulting Numbers: [27, 23, 46] Generated Node #0,1: 54:[27, 23, 46] Operation: 81-35=46 Exploring Operation: 81/27=3, Resulting Numbers: [35, 23, 3] Generated Node #0,2: 54:[35, 23, 3] Operation: 81/27=3 Moving to Node #0,0 Current State: 54:[35, 23, 54], Operations: ['81-27=54'] Exploring Operation: 35-23=12, Resulting Numbers: [54, 12] Generated Node #0,0,0: 54:[54, 12] Operation: 35-23=12 Exploring Operation: 35+23=58, Resulting Numbers: [54, 58] Generated Node #0,0,1: 54:[54, 58] Operation: 35+23=58 Exploring Operation: 54-35=19, Resulting Numbers: [23, 19] Generated Node #0,0,2: 54:[23, 19] Operation: 54-35=19 Moving to Node #0,1 Current State: 54:[27, 23, 46], Operations: ['81-35=46'] Exploring Operation: 46-23=23, Resulting Numbers: [27, 23] Generated Node #0,1,0: 54:[27, 23] Operation: 46-23=23 Exploring Operation: 46/23=2, Resulting Numbers: [27, 2] Generated Node #0,1,1: 54:[27, 2] Operation: 46/23=2 Exploring Operation: 46-27=19, Resulting Numbers: [23, 19] Generated Node #0,1,2: 54:[23, 19] Operation: 46-27=19 Moving to Node #0,2 Current State: 54:[35, 23, 3], Operations: ['81/27=3'] Exploring Operation: 35-23=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 54:[3, 12] Operation: 35-23=12 Exploring Operation: 35+23=58, Resulting Numbers: [3, 58] Generated Node #0,2,1: 54:[3, 58] Operation: 35+23=58 Exploring Operation: 35-3=32, Resulting Numbers: [23, 32] Generated Node #0,2,2: 54:[23, 32] Operation: 35-3=32 Moving to Node #0,1,1 Current State: 54:[27, 2], Operations: ['81-35=46', '46/23=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[27, 35, 23, 81], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [27, 23, 46] Generated Node #0,1: 54:[27, 23, 46] Operation: 81-35=46 Moving to Node #0,1 Current State: 54:[27, 23, 46], Operations: ['81-35=46'] Exploring Operation: 46/23=2, Resulting Numbers: [27, 2] Generated Node #0,1,1: 54:[27, 2] Operation: 46/23=2 Moving to Node #0,1,1 Current State: 54:[27, 2], Operations: ['81-35=46', '46/23=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 40, 93, 18, 95 ]
44
[ "40-18=22", "95-93=2", "22*2=44" ]
Current State: 44:[40, 93, 18, 95], Operations: [] Exploring Operation: 40-18=22, Resulting Numbers: [93, 95, 22] Generated Node #2: [93, 95, 22] from Operation: 40-18=22 Current State: 44:[93, 95, 22], Operations: ['40-18=22'] Exploring Operation: 95-93=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 95-93=2 Current State: 44:[22, 2], Operations: ['40-18=22', '95-93=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[40, 93, 18, 95], Operations: [] Exploring Operation: 93-40=53, Resulting Numbers: [18, 95, 53] Generated Node #0,0: 44:[18, 95, 53] Operation: 93-40=53 Exploring Operation: 95-93=2, Resulting Numbers: [40, 18, 2] Generated Node #0,1: 44:[40, 18, 2] Operation: 95-93=2 Moving to Node #0,1 Current State: 44:[40, 18, 2], Operations: ['95-93=2'] Exploring Operation: 40+2=42, Resulting Numbers: [18, 42] Generated Node #0,1,0: 44:[18, 42] Operation: 40+2=42 Exploring Operation: 40-18=22, Resulting Numbers: [2, 22] Generated Node #0,1,1: 44:[2, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[2, 22], Operations: ['95-93=2', '40-18=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[40, 93, 18, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [40, 18, 2] Generated Node #0,1: 44:[40, 18, 2] Operation: 95-93=2 Moving to Node #0,1 Current State: 44:[40, 18, 2], Operations: ['95-93=2'] Exploring Operation: 40-18=22, Resulting Numbers: [2, 22] Generated Node #0,1,1: 44:[2, 22] Operation: 40-18=22 Moving to Node #0,1,1 Current State: 44:[2, 22], Operations: ['95-93=2', '40-18=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 52, 68, 44, 77 ]
17
[ "68-52=16", "77-44=33", "33-16=17" ]
Current State: 17:[52, 68, 44, 77], Operations: [] Exploring Operation: 68-52=16, Resulting Numbers: [44, 77, 16] Generated Node #2: [44, 77, 16] from Operation: 68-52=16 Current State: 17:[44, 77, 16], Operations: ['68-52=16'] Exploring Operation: 77-44=33, Resulting Numbers: [16, 33] Generated Node #3: [16, 33] from Operation: 77-44=33 Current State: 17:[16, 33], Operations: ['68-52=16', '77-44=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[52, 68, 44, 77], Operations: [] Exploring Operation: 77-44=33, Resulting Numbers: [52, 68, 33] Generated Node #0,0: 17:[52, 68, 33] Operation: 77-44=33 Exploring Operation: 68-44=24, Resulting Numbers: [52, 77, 24] Generated Node #0,1: 17:[52, 77, 24] Operation: 68-44=24 Exploring Operation: 77-52=25, Resulting Numbers: [68, 44, 25] Generated Node #0,2: 17:[68, 44, 25] Operation: 77-52=25 Exploring Operation: 68-52=16, Resulting Numbers: [44, 77, 16] Generated Node #0,3: 17:[44, 77, 16] Operation: 68-52=16 Exploring Operation: 77-68=9, Resulting Numbers: [52, 44, 9] Generated Node #0,4: 17:[52, 44, 9] Operation: 77-68=9 Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[52, 44, 9], Operations: ['77-68=9'] Exploring Operation: 44-9=35, Resulting Numbers: [52, 35] Generated Node #0,4,0: 17:[52, 35] Operation: 44-9=35 Exploring Operation: 52-9=43, Resulting Numbers: [44, 43] Generated Node #0,4,1: 17:[44, 43] Operation: 52-9=43 Exploring Operation: 52+9=61, Resulting Numbers: [44, 61] Generated Node #0,4,2: 17:[44, 61] Operation: 52+9=61 Exploring Operation: 44+9=53, Resulting Numbers: [52, 53] Generated Node #0,4,3: 17:[52, 53] Operation: 44+9=53 Exploring Operation: 52-44=8, Resulting Numbers: [9, 8] Generated Node #0,4,4: 17:[9, 8] Operation: 52-44=8 Moving to Node #0,4,4 Current State: 17:[9, 8], Operations: ['77-68=9', '52-44=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[52, 68, 44, 77], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [52, 44, 9] Generated Node #0,4: 17:[52, 44, 9] Operation: 77-68=9 Moving to Node #0,4 Current State: 17:[52, 44, 9], Operations: ['77-68=9'] Exploring Operation: 52-44=8, Resulting Numbers: [9, 8] Generated Node #0,4,4: 17:[9, 8] Operation: 52-44=8 Moving to Node #0,4,4 Current State: 17:[9, 8], Operations: ['77-68=9', '52-44=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 64, 26, 18, 3 ]
75
[ "64+26=90", "18-3=15", "90-15=75" ]
Current State: 75:[64, 26, 18, 3], Operations: [] Exploring Operation: 64+26=90, Resulting Numbers: [18, 3, 90] Generated Node #2: [18, 3, 90] from Operation: 64+26=90 Current State: 75:[18, 3, 90], Operations: ['64+26=90'] Exploring Operation: 18-3=15, Resulting Numbers: [90, 15] Generated Node #3: [90, 15] from Operation: 18-3=15 Current State: 75:[90, 15], Operations: ['64+26=90', '18-3=15'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[64, 26, 18, 3], Operations: [] Exploring Operation: 18/3=6, Resulting Numbers: [64, 26, 6] Generated Node #0,0: 75:[64, 26, 6] Operation: 18/3=6 Exploring Operation: 64+3=67, Resulting Numbers: [26, 18, 67] Generated Node #0,1: 75:[26, 18, 67] Operation: 64+3=67 Exploring Operation: 64+18=82, Resulting Numbers: [26, 3, 82] Generated Node #0,2: 75:[26, 3, 82] Operation: 64+18=82 Exploring Operation: 18-3=15, Resulting Numbers: [64, 26, 15] Generated Node #0,3: 75:[64, 26, 15] Operation: 18-3=15 Moving to Node #0,2 Current State: 75:[26, 3, 82], Operations: ['64+18=82'] Exploring Operation: 82-3=79, Resulting Numbers: [26, 79] Generated Node #0,2,0: 75:[26, 79] Operation: 82-3=79 Exploring Operation: 26-3=23, Resulting Numbers: [82, 23] Generated Node #0,2,1: 75:[82, 23] Operation: 26-3=23 Exploring Operation: 26+3=29, Resulting Numbers: [82, 29] Generated Node #0,2,2: 75:[82, 29] Operation: 26+3=29 Exploring Operation: 26*3=78, Resulting Numbers: [82, 78] Generated Node #0,2,3: 75:[82, 78] Operation: 26*3=78 Moving to Node #0,3 Current State: 75:[64, 26, 15], Operations: ['18-3=15'] Exploring Operation: 26-15=11, Resulting Numbers: [64, 11] Generated Node #0,3,0: 75:[64, 11] Operation: 26-15=11 Exploring Operation: 64+26=90, Resulting Numbers: [15, 90] Generated Node #0,3,1: 75:[15, 90] Operation: 64+26=90 Exploring Operation: 64-26=38, Resulting Numbers: [15, 38] Generated Node #0,3,2: 75:[15, 38] Operation: 64-26=38 Exploring Operation: 64+15=79, Resulting Numbers: [26, 79] Generated Node #0,3,3: 75:[26, 79] Operation: 64+15=79 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[26, 79], Operations: ['18-3=15', '64+15=79'] Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[15, 38], Operations: ['18-3=15', '64-26=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,75 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 75:[64, 11], Operations: ['18-3=15', '26-15=11'] Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,75 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[64, 26, 18, 3], Operations: [] Exploring Operation: 18-3=15, Resulting Numbers: [64, 26, 15] Generated Node #0,3: 75:[64, 26, 15] Operation: 18-3=15 Moving to Node #0,3 Current State: 75:[64, 26, 15], Operations: ['18-3=15'] Exploring Operation: 26-15=11, Resulting Numbers: [64, 11] Generated Node #0,3,0: 75:[64, 11] Operation: 26-15=11 Moving to Node #0,3,0 Current State: 75:[64, 11], Operations: ['18-3=15', '26-15=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 58, 72, 15, 69 ]
76
[ "58+72=130", "69-15=54", "130-54=76" ]
Current State: 76:[58, 72, 15, 69], Operations: [] Exploring Operation: 58+72=130, Resulting Numbers: [15, 69, 130] Generated Node #2: [15, 69, 130] from Operation: 58+72=130 Current State: 76:[15, 69, 130], Operations: ['58+72=130'] Exploring Operation: 69-15=54, Resulting Numbers: [130, 54] Generated Node #3: [130, 54] from Operation: 69-15=54 Current State: 76:[130, 54], Operations: ['58+72=130', '69-15=54'] Exploring Operation: 130-54=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[58, 72, 15, 69], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [15, 69, 14] Generated Node #0,0: 76:[15, 69, 14] Operation: 72-58=14 Exploring Operation: 58-15=43, Resulting Numbers: [72, 69, 43] Generated Node #0,1: 76:[72, 69, 43] Operation: 58-15=43 Exploring Operation: 72-69=3, Resulting Numbers: [58, 15, 3] Generated Node #0,2: 76:[58, 15, 3] Operation: 72-69=3 Exploring Operation: 58+15=73, Resulting Numbers: [72, 69, 73] Generated Node #0,3: 76:[72, 69, 73] Operation: 58+15=73 Exploring Operation: 69-58=11, Resulting Numbers: [72, 15, 11] Generated Node #0,4: 76:[72, 15, 11] Operation: 69-58=11 Moving to Node #0,3 Current State: 76:[72, 69, 73], Operations: ['58+15=73'] Exploring Operation: 73-72=1, Resulting Numbers: [69, 1] Generated Node #0,3,0: 76:[69, 1] Operation: 73-72=1 Exploring Operation: 72-69=3, Resulting Numbers: [73, 3] Generated Node #0,3,1: 76:[73, 3] Operation: 72-69=3 Exploring Operation: 69+73=142, Resulting Numbers: [72, 142] Generated Node #0,3,2: 76:[72, 142] Operation: 69+73=142 Exploring Operation: 73-69=4, Resulting Numbers: [72, 4] Generated Node #0,3,3: 76:[72, 4] Operation: 73-69=4 Exploring Operation: 72+69=141, Resulting Numbers: [73, 141] Generated Node #0,3,4: 76:[73, 141] Operation: 72+69=141 Moving to Node #0,4 Current State: 76:[72, 15, 11], Operations: ['69-58=11'] Exploring Operation: 72+11=83, Resulting Numbers: [15, 83] Generated Node #0,4,0: 76:[15, 83] Operation: 72+11=83 Exploring Operation: 15-11=4, Resulting Numbers: [72, 4] Generated Node #0,4,1: 76:[72, 4] Operation: 15-11=4 Exploring Operation: 72+15=87, Resulting Numbers: [11, 87] Generated Node #0,4,2: 76:[11, 87] Operation: 72+15=87 Exploring Operation: 72-11=61, Resulting Numbers: [15, 61] Generated Node #0,4,3: 76:[15, 61] Operation: 72-11=61 Exploring Operation: 15+11=26, Resulting Numbers: [72, 26] Generated Node #0,4,4: 76:[72, 26] Operation: 15+11=26 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[72, 4], Operations: ['69-58=11', '15-11=4'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,76 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[58, 72, 15, 69], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [72, 15, 11] Generated Node #0,4: 76:[72, 15, 11] Operation: 69-58=11 Moving to Node #0,4 Current State: 76:[72, 15, 11], Operations: ['69-58=11'] Exploring Operation: 15-11=4, Resulting Numbers: [72, 4] Generated Node #0,4,1: 76:[72, 4] Operation: 15-11=4 Moving to Node #0,4,1 Current State: 76:[72, 4], Operations: ['69-58=11', '15-11=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 44, 70, 99, 88 ]
27
[ "88/44=2", "99-70=29", "29-2=27" ]
Current State: 27:[44, 70, 99, 88], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [70, 99, 2] Generated Node #2: [70, 99, 2] from Operation: 88/44=2 Current State: 27:[70, 99, 2], Operations: ['88/44=2'] Exploring Operation: 99-70=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 99-70=29 Current State: 27:[2, 29], Operations: ['88/44=2', '99-70=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[44, 70, 99, 88], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [44, 99, 18] Generated Node #0,0: 27:[44, 99, 18] Operation: 88-70=18 Exploring Operation: 99-88=11, Resulting Numbers: [44, 70, 11] Generated Node #0,1: 27:[44, 70, 11] Operation: 99-88=11 Exploring Operation: 88/44=2, Resulting Numbers: [70, 99, 2] Generated Node #0,2: 27:[70, 99, 2] Operation: 88/44=2 Exploring Operation: 99-70=29, Resulting Numbers: [44, 88, 29] Generated Node #0,3: 27:[44, 88, 29] Operation: 99-70=29 Exploring Operation: 99-44=55, Resulting Numbers: [70, 88, 55] Generated Node #0,4: 27:[70, 88, 55] Operation: 99-44=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[44, 70, 11], Operations: ['99-88=11'] Exploring Operation: 70-44=26, Resulting Numbers: [11, 26] Generated Node #0,1,0: 27:[11, 26] Operation: 70-44=26 Exploring Operation: 70-11=59, Resulting Numbers: [44, 59] Generated Node #0,1,1: 27:[44, 59] Operation: 70-11=59 Exploring Operation: 44-11=33, Resulting Numbers: [70, 33] Generated Node #0,1,2: 27:[70, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [70, 4] Generated Node #0,1,3: 27:[70, 4] Operation: 44/11=4 Exploring Operation: 44+11=55, Resulting Numbers: [70, 55] Generated Node #0,1,4: 27:[70, 55] Operation: 44+11=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[11, 26], Operations: ['99-88=11', '70-44=26'] Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,27 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,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:[70, 4], Operations: ['99-88=11', '44/11=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,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:[44, 59], Operations: ['99-88=11', '70-11=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 44*59=2596, Resulting Numbers: [2596] 2596,27 unequal: No Solution Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,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:[70, 33], Operations: ['99-88=11', '44-11=33'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 70*33=2310, Resulting Numbers: [2310] 2310,27 unequal: No Solution Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,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,4 Current State: 27:[70, 55], Operations: ['99-88=11', '44+11=55'] Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,27 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,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:[44, 88, 29], Operations: ['99-70=29'] Exploring Operation: 88-29=59, Resulting Numbers: [44, 59] Generated Node #0,3,0: 27:[44, 59] Operation: 88-29=59 Exploring Operation: 88-44=44, Resulting Numbers: [29, 44] Generated Node #0,3,1: 27:[29, 44] Operation: 88-44=44 Exploring Operation: 44+88=132, Resulting Numbers: [29, 132] Generated Node #0,3,2: 27:[29, 132] Operation: 44+88=132 Exploring Operation: 44-29=15, Resulting Numbers: [88, 15] Generated Node #0,3,3: 27:[88, 15] Operation: 44-29=15 Exploring Operation: 88/44=2, Resulting Numbers: [29, 2] Generated Node #0,3,4: 27:[29, 2] Operation: 88/44=2 Moving to Node #0,3,4 Current State: 27:[29, 2], Operations: ['99-70=29', '88/44=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[44, 70, 99, 88], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [44, 88, 29] Generated Node #0,3: 27:[44, 88, 29] Operation: 99-70=29 Moving to Node #0,3 Current State: 27:[44, 88, 29], Operations: ['99-70=29'] Exploring Operation: 88/44=2, Resulting Numbers: [29, 2] Generated Node #0,3,4: 27:[29, 2] Operation: 88/44=2 Moving to Node #0,3,4 Current State: 27:[29, 2], Operations: ['99-70=29', '88/44=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 28, 21, 28, 30 ]
34
[ "28-21=7", "28/7=4", "30+4=34" ]
Current State: 34:[28, 21, 28, 30], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [30, 7] Generated Node #2: [30, 7] from Operation: 28-21=7 Current State: 34:[30, 7], Operations: ['28-21=7'] Exploring Operation: 28/7=4, Resulting Numbers: [30, 4] Generated Node #3: [30, 4] from Operation: 28/7=4 Current State: 34:[30, 4], Operations: ['28-21=7', '28/7=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[28, 21, 28, 30], Operations: [] Exploring Operation: 28/28=1, Resulting Numbers: [21, 30, 1] Generated Node #0,0: 34:[21, 30, 1] Operation: 28/28=1 Moving to Node #0,0 Current State: 34:[21, 30, 1], Operations: ['28/28=1'] Exploring Operation: 21-1=20, Resulting Numbers: [30, 20] Generated Node #0,0,0: 34:[30, 20] Operation: 21-1=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[30, 20], Operations: ['28/28=1', '21-1=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,34 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
[ 62, 30, 16, 38 ]
40
[ "62-30=32", "32/16=2", "38+2=40" ]
Current State: 40:[62, 30, 16, 38], Operations: [] Exploring Operation: 62-30=32, Resulting Numbers: [16, 38, 32] Generated Node #2: [16, 38, 32] from Operation: 62-30=32 Current State: 40:[16, 38, 32], Operations: ['62-30=32'] Exploring Operation: 32/16=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 32/16=2 Current State: 40:[38, 2], Operations: ['62-30=32', '32/16=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[62, 30, 16, 38], Operations: [] Exploring Operation: 62-30=32, Resulting Numbers: [16, 38, 32] Generated Node #0,0: 40:[16, 38, 32] Operation: 62-30=32 Exploring Operation: 30-16=14, Resulting Numbers: [62, 38, 14] Generated Node #0,1: 40:[62, 38, 14] Operation: 30-16=14 Exploring Operation: 62-38=24, Resulting Numbers: [30, 16, 24] Generated Node #0,2: 40:[30, 16, 24] Operation: 62-38=24 Exploring Operation: 62-16=46, Resulting Numbers: [30, 38, 46] Generated Node #0,3: 40:[30, 38, 46] Operation: 62-16=46 Exploring Operation: 38-30=8, Resulting Numbers: [62, 16, 8] Generated Node #0,4: 40:[62, 16, 8] Operation: 38-30=8 Moving to Node #0,0 Current State: 40:[16, 38, 32], Operations: ['62-30=32'] Exploring Operation: 38-16=22, Resulting Numbers: [32, 22] Generated Node #0,0,0: 40:[32, 22] Operation: 38-16=22 Exploring Operation: 16+32=48, Resulting Numbers: [38, 48] Generated Node #0,0,1: 40:[38, 48] Operation: 16+32=48 Exploring Operation: 32/16=2, Resulting Numbers: [38, 2] Generated Node #0,0,2: 40:[38, 2] Operation: 32/16=2 Exploring Operation: 38-32=6, Resulting Numbers: [16, 6] Generated Node #0,0,3: 40:[16, 6] Operation: 38-32=6 Exploring Operation: 32-16=16, Resulting Numbers: [38, 16] Generated Node #0,0,4: 40:[38, 16] Operation: 32-16=16 Moving to Node #0,3 Current State: 40:[30, 38, 46], Operations: ['62-16=46'] Exploring Operation: 30+38=68, Resulting Numbers: [46, 68] Generated Node #0,3,0: 40:[46, 68] Operation: 30+38=68 Exploring Operation: 30+46=76, Resulting Numbers: [38, 76] Generated Node #0,3,1: 40:[38, 76] Operation: 30+46=76 Exploring Operation: 38-30=8, Resulting Numbers: [46, 8] Generated Node #0,3,2: 40:[46, 8] Operation: 38-30=8 Exploring Operation: 46-38=8, Resulting Numbers: [30, 8] Generated Node #0,3,3: 40:[30, 8] Operation: 46-38=8 Exploring Operation: 46-30=16, Resulting Numbers: [38, 16] Generated Node #0,3,4: 40:[38, 16] Operation: 46-30=16 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[46, 8], Operations: ['62-16=46', '38-30=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,40 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,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,3,4 Current State: 40:[38, 16], Operations: ['62-16=46', '46-30=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,40 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,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,3,3 Current State: 40:[30, 8], Operations: ['62-16=46', '46-38=8'] Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,40 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,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,3,0 Current State: 40:[46, 68], Operations: ['62-16=46', '30+38=68'] Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,40 unequal: No Solution Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,40 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,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,3,1 Current State: 40:[38, 76], Operations: ['62-16=46', '30+46=76'] Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,40 unequal: No Solution Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,40 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: 40:[30, 16, 24], Operations: ['62-38=24'] Exploring Operation: 16+24=40, Resulting Numbers: [30, 40] Generated Node #0,2,0: 40:[30, 40] Operation: 16+24=40 Exploring Operation: 30-24=6, Resulting Numbers: [16, 6] Generated Node #0,2,1: 40:[16, 6] Operation: 30-24=6 Exploring Operation: 24-16=8, Resulting Numbers: [30, 8] Generated Node #0,2,2: 40:[30, 8] Operation: 24-16=8 Exploring Operation: 30-16=14, Resulting Numbers: [24, 14] Generated Node #0,2,3: 40:[24, 14] Operation: 30-16=14 Exploring Operation: 30+16=46, Resulting Numbers: [24, 46] Generated Node #0,2,4: 40:[24, 46] Operation: 30+16=46 Moving to Node #0,4 Current State: 40:[62, 16, 8], Operations: ['38-30=8'] Exploring Operation: 16-8=8, Resulting Numbers: [62, 8] Generated Node #0,4,0: 40:[62, 8] Operation: 16-8=8 Exploring Operation: 62-16=46, Resulting Numbers: [8, 46] Generated Node #0,4,1: 40:[8, 46] Operation: 62-16=46 Exploring Operation: 16/8=2, Resulting Numbers: [62, 2] Generated Node #0,4,2: 40:[62, 2] Operation: 16/8=2 Exploring Operation: 16+8=24, Resulting Numbers: [62, 24] Generated Node #0,4,3: 40:[62, 24] Operation: 16+8=24 Exploring Operation: 62-8=54, Resulting Numbers: [16, 54] Generated Node #0,4,4: 40:[16, 54] Operation: 62-8=54 Moving to Node #0,1 Current State: 40:[62, 38, 14], Operations: ['30-16=14'] Exploring Operation: 62-14=48, Resulting Numbers: [38, 48] Generated Node #0,1,0: 40:[38, 48] Operation: 62-14=48 Exploring Operation: 62+14=76, Resulting Numbers: [38, 76] Generated Node #0,1,1: 40:[38, 76] Operation: 62+14=76 Exploring Operation: 38-14=24, Resulting Numbers: [62, 24] Generated Node #0,1,2: 40:[62, 24] Operation: 38-14=24 Exploring Operation: 62-38=24, Resulting Numbers: [14, 24] Generated Node #0,1,3: 40:[14, 24] Operation: 62-38=24 Exploring Operation: 38+14=52, Resulting Numbers: [62, 52] Generated Node #0,1,4: 40:[62, 52] Operation: 38+14=52 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[14, 24], Operations: ['30-16=14', '62-38=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,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:[38, 48], Operations: ['30-16=14', '62-14=48'] Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,40 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,40 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,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:[62, 24], Operations: ['30-16=14', '38-14=24'] Exploring Operation: 62*24=1488, Resulting Numbers: [1488] 1488,40 unequal: No Solution Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,40 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,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,4 Current State: 40:[62, 52], Operations: ['30-16=14', '38+14=52'] Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 62*52=3224, Resulting Numbers: [3224] 3224,40 unequal: No Solution Exploring Operation: 62+52=114, Resulting Numbers: [114] 114,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:[38, 76], Operations: ['30-16=14', '62+14=76'] Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,40 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,40 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 40:[38, 2], Operations: ['62-30=32', '32/16=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[62, 30, 16, 38], Operations: [] Exploring Operation: 62-30=32, Resulting Numbers: [16, 38, 32] Generated Node #0,0: 40:[16, 38, 32] Operation: 62-30=32 Moving to Node #0,0 Current State: 40:[16, 38, 32], Operations: ['62-30=32'] Exploring Operation: 32/16=2, Resulting Numbers: [38, 2] Generated Node #0,0,2: 40:[38, 2] Operation: 32/16=2 Moving to Node #0,0,2 Current State: 40:[38, 2], Operations: ['62-30=32', '32/16=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 42, 96, 20, 16 ]
50
[ "96-42=54", "20-16=4", "54-4=50" ]
Current State: 50:[42, 96, 20, 16], Operations: [] Exploring Operation: 96-42=54, Resulting Numbers: [20, 16, 54] Generated Node #2: [20, 16, 54] from Operation: 96-42=54 Current State: 50:[20, 16, 54], Operations: ['96-42=54'] Exploring Operation: 20-16=4, Resulting Numbers: [54, 4] Generated Node #3: [54, 4] from Operation: 20-16=4 Current State: 50:[54, 4], Operations: ['96-42=54', '20-16=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[42, 96, 20, 16], Operations: [] Exploring Operation: 96-16=80, Resulting Numbers: [42, 20, 80] Generated Node #0,0: 50:[42, 20, 80] Operation: 96-16=80 Exploring Operation: 96-42=54, Resulting Numbers: [20, 16, 54] Generated Node #0,1: 50:[20, 16, 54] Operation: 96-42=54 Exploring Operation: 96-20=76, Resulting Numbers: [42, 16, 76] Generated Node #0,2: 50:[42, 16, 76] Operation: 96-20=76 Exploring Operation: 96/16=6, Resulting Numbers: [42, 20, 6] Generated Node #0,3: 50:[42, 20, 6] Operation: 96/16=6 Moving to Node #0,3 Current State: 50:[42, 20, 6], Operations: ['96/16=6'] Exploring Operation: 20+6=26, Resulting Numbers: [42, 26] Generated Node #0,3,0: 50:[42, 26] Operation: 20+6=26 Exploring Operation: 42+6=48, Resulting Numbers: [20, 48] Generated Node #0,3,1: 50:[20, 48] Operation: 42+6=48 Exploring Operation: 42-20=22, Resulting Numbers: [6, 22] Generated Node #0,3,2: 50:[6, 22] Operation: 42-20=22 Exploring Operation: 42/6=7, Resulting Numbers: [20, 7] Generated Node #0,3,3: 50:[20, 7] Operation: 42/6=7 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[6, 22], Operations: ['96/16=6', '42-20=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[20, 48], Operations: ['96/16=6', '42+6=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,50 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[20, 7], Operations: ['96/16=6', '42/6=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,50 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[42, 26], Operations: ['96/16=6', '20+6=26'] Exploring Operation: 42*26=1092, Resulting Numbers: [1092] 1092,50 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 50:[20, 16, 54], Operations: ['96-42=54'] Exploring Operation: 20+16=36, Resulting Numbers: [54, 36] Generated Node #0,1,0: 50:[54, 36] Operation: 20+16=36 Exploring Operation: 20-16=4, Resulting Numbers: [54, 4] Generated Node #0,1,1: 50:[54, 4] Operation: 20-16=4 Exploring Operation: 54-16=38, Resulting Numbers: [20, 38] Generated Node #0,1,2: 50:[20, 38] Operation: 54-16=38 Exploring Operation: 54-20=34, Resulting Numbers: [16, 34] Generated Node #0,1,3: 50:[16, 34] Operation: 54-20=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[54, 4], Operations: ['96-42=54', '20-16=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[42, 96, 20, 16], Operations: [] Exploring Operation: 96-42=54, Resulting Numbers: [20, 16, 54] Generated Node #0,1: 50:[20, 16, 54] Operation: 96-42=54 Moving to Node #0,1 Current State: 50:[20, 16, 54], Operations: ['96-42=54'] Exploring Operation: 20-16=4, Resulting Numbers: [54, 4] Generated Node #0,1,1: 50:[54, 4] Operation: 20-16=4 Moving to Node #0,1,1 Current State: 50:[54, 4], Operations: ['96-42=54', '20-16=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 45, 37, 3, 65 ]
70
[ "45-37=8", "65-3=62", "8+62=70" ]
Current State: 70:[45, 37, 3, 65], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [3, 65, 8] Generated Node #2: [3, 65, 8] from Operation: 45-37=8 Current State: 70:[3, 65, 8], Operations: ['45-37=8'] Exploring Operation: 65-3=62, Resulting Numbers: [8, 62] Generated Node #3: [8, 62] from Operation: 65-3=62 Current State: 70:[8, 62], Operations: ['45-37=8', '65-3=62'] Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[45, 37, 3, 65], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [3, 65, 8] Generated Node #0,0: 70:[3, 65, 8] Operation: 45-37=8 Moving to Node #0,0 Current State: 70:[3, 65, 8], Operations: ['45-37=8'] Exploring Operation: 3+65=68, Resulting Numbers: [8, 68] Generated Node #0,0,0: 70:[8, 68] Operation: 3+65=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[8, 68], Operations: ['45-37=8', '3+65=68'] Exploring Operation: 8+68=76, Resulting Numbers: [76] 76,70 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
[ 32, 15, 89, 29 ]
36
[ "89-29=60", "60/15=4", "32+4=36" ]
Current State: 36:[32, 15, 89, 29], Operations: [] Exploring Operation: 89-29=60, Resulting Numbers: [32, 15, 60] Generated Node #2: [32, 15, 60] from Operation: 89-29=60 Current State: 36:[32, 15, 60], Operations: ['89-29=60'] Exploring Operation: 60/15=4, Resulting Numbers: [32, 4] Generated Node #3: [32, 4] from Operation: 60/15=4 Current State: 36:[32, 4], Operations: ['89-29=60', '60/15=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[32, 15, 89, 29], Operations: [] Exploring Operation: 89-15=74, Resulting Numbers: [32, 29, 74] Generated Node #0,0: 36:[32, 29, 74] Operation: 89-15=74 Exploring Operation: 89-32=57, Resulting Numbers: [15, 29, 57] Generated Node #0,1: 36:[15, 29, 57] Operation: 89-32=57 Exploring Operation: 89-29=60, Resulting Numbers: [32, 15, 60] Generated Node #0,2: 36:[32, 15, 60] Operation: 89-29=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[15, 29, 57], Operations: ['89-32=57'] Exploring Operation: 57-29=28, Resulting Numbers: [15, 28] Generated Node #0,1,0: 36:[15, 28] Operation: 57-29=28 Exploring Operation: 29-15=14, Resulting Numbers: [57, 14] Generated Node #0,1,1: 36:[57, 14] Operation: 29-15=14 Exploring Operation: 57-15=42, Resulting Numbers: [29, 42] Generated Node #0,1,2: 36:[29, 42] Operation: 57-15=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[15, 28], Operations: ['89-32=57', '57-29=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,36 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[29, 42], Operations: ['89-32=57', '57-15=42'] Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[57, 14], Operations: ['89-32=57', '29-15=14'] Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,36 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[32, 15, 60], Operations: ['89-29=60'] Exploring Operation: 60-15=45, Resulting Numbers: [32, 45] Generated Node #0,2,0: 36:[32, 45] Operation: 60-15=45 Exploring Operation: 60/15=4, Resulting Numbers: [32, 4] Generated Node #0,2,1: 36:[32, 4] Operation: 60/15=4 Exploring Operation: 60-32=28, Resulting Numbers: [15, 28] Generated Node #0,2,2: 36:[15, 28] Operation: 60-32=28 Moving to Node #0,2,1 Current State: 36:[32, 4], Operations: ['89-29=60', '60/15=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[32, 15, 89, 29], Operations: [] Exploring Operation: 89-29=60, Resulting Numbers: [32, 15, 60] Generated Node #0,2: 36:[32, 15, 60] Operation: 89-29=60 Moving to Node #0,2 Current State: 36:[32, 15, 60], Operations: ['89-29=60'] Exploring Operation: 60/15=4, Resulting Numbers: [32, 4] Generated Node #0,2,1: 36:[32, 4] Operation: 60/15=4 Moving to Node #0,2,1 Current State: 36:[32, 4], Operations: ['89-29=60', '60/15=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 70, 7, 36, 2 ]
25
[ "70-7=63", "36+2=38", "63-38=25" ]
Current State: 25:[70, 7, 36, 2], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [36, 2, 63] Generated Node #2: [36, 2, 63] from Operation: 70-7=63 Current State: 25:[36, 2, 63], Operations: ['70-7=63'] Exploring Operation: 36+2=38, Resulting Numbers: [63, 38] Generated Node #3: [63, 38] from Operation: 36+2=38 Current State: 25:[63, 38], Operations: ['70-7=63', '36+2=38'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[70, 7, 36, 2], Operations: [] Exploring Operation: 70-36=34, Resulting Numbers: [7, 2, 34] Generated Node #0,0: 25:[7, 2, 34] Operation: 70-36=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[7, 2, 34], Operations: ['70-36=34'] Exploring Operation: 34-7=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 25:[2, 27] Operation: 34-7=27 Moving to Node #0,0,0 Current State: 25:[2, 27], Operations: ['70-36=34', '34-7=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[70, 7, 36, 2], Operations: [] Exploring Operation: 70-36=34, Resulting Numbers: [7, 2, 34] Generated Node #0,0: 25:[7, 2, 34] Operation: 70-36=34 Moving to Node #0,0 Current State: 25:[7, 2, 34], Operations: ['70-36=34'] Exploring Operation: 34-7=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 25:[2, 27] Operation: 34-7=27 Moving to Node #0,0,0 Current State: 25:[2, 27], Operations: ['70-36=34', '34-7=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 59, 91, 40, 46 ]
25
[ "59+91=150", "46-40=6", "150/6=25" ]
Current State: 25:[59, 91, 40, 46], Operations: [] Exploring Operation: 59+91=150, Resulting Numbers: [40, 46, 150] Generated Node #2: [40, 46, 150] from Operation: 59+91=150 Current State: 25:[40, 46, 150], Operations: ['59+91=150'] Exploring Operation: 46-40=6, Resulting Numbers: [150, 6] Generated Node #3: [150, 6] from Operation: 46-40=6 Current State: 25:[150, 6], Operations: ['59+91=150', '46-40=6'] Exploring Operation: 150/6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[59, 91, 40, 46], Operations: [] Exploring Operation: 91-46=45, Resulting Numbers: [59, 40, 45] Generated Node #0,0: 25:[59, 40, 45] Operation: 91-46=45 Exploring Operation: 91-40=51, Resulting Numbers: [59, 46, 51] Generated Node #0,1: 25:[59, 46, 51] Operation: 91-40=51 Exploring Operation: 59-46=13, Resulting Numbers: [91, 40, 13] Generated Node #0,2: 25:[91, 40, 13] Operation: 59-46=13 Exploring Operation: 91-59=32, Resulting Numbers: [40, 46, 32] Generated Node #0,3: 25:[40, 46, 32] Operation: 91-59=32 Exploring Operation: 59-40=19, Resulting Numbers: [91, 46, 19] Generated Node #0,4: 25:[91, 46, 19] Operation: 59-40=19 Moving to Node #0,3 Current State: 25:[40, 46, 32], Operations: ['91-59=32'] Exploring Operation: 46-40=6, Resulting Numbers: [32, 6] Generated Node #0,3,0: 25:[32, 6] Operation: 46-40=6 Exploring Operation: 46-32=14, Resulting Numbers: [40, 14] Generated Node #0,3,1: 25:[40, 14] Operation: 46-32=14 Exploring Operation: 40+46=86, Resulting Numbers: [32, 86] Generated Node #0,3,2: 25:[32, 86] Operation: 40+46=86 Exploring Operation: 40-32=8, Resulting Numbers: [46, 8] Generated Node #0,3,3: 25:[46, 8] Operation: 40-32=8 Exploring Operation: 40+32=72, Resulting Numbers: [46, 72] Generated Node #0,3,4: 25:[46, 72] Operation: 40+32=72 Moving to Node #0,0 Current State: 25:[59, 40, 45], Operations: ['91-46=45'] Exploring Operation: 59-45=14, Resulting Numbers: [40, 14] Generated Node #0,0,0: 25:[40, 14] Operation: 59-45=14 Exploring Operation: 59+45=104, Resulting Numbers: [40, 104] Generated Node #0,0,1: 25:[40, 104] Operation: 59+45=104 Exploring Operation: 59+40=99, Resulting Numbers: [45, 99] Generated Node #0,0,2: 25:[45, 99] Operation: 59+40=99 Exploring Operation: 45-40=5, Resulting Numbers: [59, 5] Generated Node #0,0,3: 25:[59, 5] Operation: 45-40=5 Exploring Operation: 59-40=19, Resulting Numbers: [45, 19] Generated Node #0,0,4: 25:[45, 19] Operation: 59-40=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[40, 14], Operations: ['91-46=45', '59-45=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 25:[45, 19], Operations: ['91-46=45', '59-40=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,25 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[59, 5], Operations: ['91-46=45', '45-40=5'] Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,25 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[40, 104], Operations: ['91-46=45', '59+45=104'] Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 40*104=4160, Resulting Numbers: [4160] 4160,25 unequal: No Solution Exploring Operation: 40+104=144, Resulting Numbers: [144] 144,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[45, 99], Operations: ['91-46=45', '59+40=99'] Exploring Operation: 45+99=144, Resulting Numbers: [144] 144,25 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 45*99=4455, Resulting Numbers: [4455] 4455,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:[59, 46, 51], Operations: ['91-40=51'] Exploring Operation: 59+46=105, Resulting Numbers: [51, 105] Generated Node #0,1,0: 25:[51, 105] Operation: 59+46=105 Exploring Operation: 59-46=13, Resulting Numbers: [51, 13] Generated Node #0,1,1: 25:[51, 13] Operation: 59-46=13 Exploring Operation: 51-46=5, Resulting Numbers: [59, 5] Generated Node #0,1,2: 25:[59, 5] Operation: 51-46=5 Exploring Operation: 59-51=8, Resulting Numbers: [46, 8] Generated Node #0,1,3: 25:[46, 8] Operation: 59-51=8 Exploring Operation: 59+51=110, Resulting Numbers: [46, 110] Generated Node #0,1,4: 25:[46, 110] Operation: 59+51=110 Moving to Node #0,2 Current State: 25:[91, 40, 13], Operations: ['59-46=13'] Exploring Operation: 91/13=7, Resulting Numbers: [40, 7] Generated Node #0,2,0: 25:[40, 7] Operation: 91/13=7 Exploring Operation: 91-40=51, Resulting Numbers: [13, 51] Generated Node #0,2,1: 25:[13, 51] Operation: 91-40=51 Exploring Operation: 91-13=78, Resulting Numbers: [40, 78] Generated Node #0,2,2: 25:[40, 78] Operation: 91-13=78 Exploring Operation: 40-13=27, Resulting Numbers: [91, 27] Generated Node #0,2,3: 25:[91, 27] Operation: 40-13=27 Exploring Operation: 91+13=104, Resulting Numbers: [40, 104] Generated Node #0,2,4: 25:[40, 104] Operation: 91+13=104 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[40, 7], Operations: ['59-46=13', '91/13=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,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,2,1 Current State: 25:[13, 51], Operations: ['59-46=13', '91-40=51'] Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,25 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,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,2,2 Current State: 25:[40, 78], Operations: ['59-46=13', '91-13=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,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,2,3 Current State: 25:[91, 27], Operations: ['59-46=13', '40-13=27'] Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,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,2,4 Current State: 25:[40, 104], Operations: ['59-46=13', '91+13=104'] Exploring Operation: 40+104=144, Resulting Numbers: [144] 144,25 unequal: No Solution Exploring Operation: 40*104=4160, Resulting Numbers: [4160] 4160,25 unequal: No Solution Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 25:[91, 46, 19], Operations: ['59-40=19'] Exploring Operation: 46-19=27, Resulting Numbers: [91, 27] Generated Node #0,4,0: 25:[91, 27] Operation: 46-19=27 Exploring Operation: 46+19=65, Resulting Numbers: [91, 65] Generated Node #0,4,1: 25:[91, 65] Operation: 46+19=65 Exploring Operation: 91-19=72, Resulting Numbers: [46, 72] Generated Node #0,4,2: 25:[46, 72] Operation: 91-19=72 Exploring Operation: 91-46=45, Resulting Numbers: [19, 45] Generated Node #0,4,3: 25:[19, 45] Operation: 91-46=45 Exploring Operation: 91+19=110, Resulting Numbers: [46, 110] Generated Node #0,4,4: 25:[46, 110] Operation: 91+19=110 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[19, 45], Operations: ['59-40=19', '91-46=45'] Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,25 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,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:[91, 27], Operations: ['59-40=19', '46-19=27'] Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,25 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,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,2 Current State: 25:[46, 72], Operations: ['59-40=19', '91-19=72'] Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,25 unequal: No Solution Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,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:[91, 65], Operations: ['59-40=19', '46+19=65'] Exploring Operation: 91*65=5915, Resulting Numbers: [5915] 5915,25 unequal: No Solution Exploring Operation: 91-65=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 91+65=156, Resulting Numbers: [156] 156,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:[46, 110], Operations: ['59-40=19', '91+19=110'] Exploring Operation: 46*110=5060, Resulting Numbers: [5060] 5060,25 unequal: No Solution Exploring Operation: 110-46=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 46+110=156, Resulting Numbers: [156] 156,25 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: 25:[32, 6], Operations: ['91-59=32', '46-40=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[46, 8], Operations: ['91-59=32', '40-32=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,25 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[46, 8], Operations: ['91-40=51', '59-51=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,25 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[40, 14], Operations: ['91-59=32', '46-32=14'] Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[51, 13], Operations: ['91-40=51', '59-46=13'] Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,25 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[59, 5], Operations: ['91-40=51', '51-46=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[46, 72], Operations: ['91-59=32', '40+32=72'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[32, 86], Operations: ['91-59=32', '40+46=86'] Exploring Operation: 32+86=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 32*86=2752, Resulting Numbers: [2752] 2752,25 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[51, 105], Operations: ['91-40=51', '59+46=105'] Exploring Operation: 51*105=5355, Resulting Numbers: [5355] 5355,25 unequal: No Solution Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,25 unequal: No Solution Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,25 unequal: No Solution Moving to Node #0,1,4 Current State: 25:[46, 110], Operations: ['91-40=51', '59+51=110'] Exploring Operation: 46*110=5060, Resulting Numbers: [5060] 5060,25 unequal: No Solution Exploring Operation: 110-46=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 46+110=156, Resulting Numbers: [156] 156,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 88, 83, 94, 57 ]
49
[ "94-83=11", "88/11=8", "57-8=49" ]
Current State: 49:[88, 83, 94, 57], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [88, 57, 11] Generated Node #2: [88, 57, 11] from Operation: 94-83=11 Current State: 49:[88, 57, 11], Operations: ['94-83=11'] Exploring Operation: 88/11=8, Resulting Numbers: [57, 8] Generated Node #3: [57, 8] from Operation: 88/11=8 Current State: 49:[57, 8], Operations: ['94-83=11', '88/11=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[88, 83, 94, 57], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [88, 57, 11] Generated Node #0,0: 49:[88, 57, 11] Operation: 94-83=11 Exploring Operation: 94-88=6, Resulting Numbers: [83, 57, 6] Generated Node #0,1: 49:[83, 57, 6] Operation: 94-88=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[83, 57, 6], Operations: ['94-88=6'] Exploring Operation: 83-57=26, Resulting Numbers: [6, 26] Generated Node #0,1,0: 49:[6, 26] Operation: 83-57=26 Exploring Operation: 83-6=77, Resulting Numbers: [57, 77] Generated Node #0,1,1: 49:[57, 77] Operation: 83-6=77 Moving to Node #0,1,0 Current State: 49:[6, 26], Operations: ['94-88=6', '83-57=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[57, 77], Operations: ['94-88=6', '83-6=77'] Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 57+77=134, Resulting Numbers: [134] 134,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[88, 57, 11], Operations: ['94-83=11'] Exploring Operation: 88/11=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 49:[57, 8] Operation: 88/11=8 Exploring Operation: 88-57=31, Resulting Numbers: [11, 31] Generated Node #0,0,1: 49:[11, 31] Operation: 88-57=31 Moving to Node #0,0,0 Current State: 49:[57, 8], Operations: ['94-83=11', '88/11=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[88, 83, 94, 57], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [88, 57, 11] Generated Node #0,0: 49:[88, 57, 11] Operation: 94-83=11 Moving to Node #0,0 Current State: 49:[88, 57, 11], Operations: ['94-83=11'] Exploring Operation: 88/11=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 49:[57, 8] Operation: 88/11=8 Moving to Node #0,0,0 Current State: 49:[57, 8], Operations: ['94-83=11', '88/11=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 37, 22, 47, 42 ]
54
[ "37+22=59", "47-42=5", "59-5=54" ]
Current State: 54:[37, 22, 47, 42], Operations: [] Exploring Operation: 37+22=59, Resulting Numbers: [47, 42, 59] Generated Node #2: [47, 42, 59] from Operation: 37+22=59 Current State: 54:[47, 42, 59], Operations: ['37+22=59'] Exploring Operation: 47-42=5, Resulting Numbers: [59, 5] Generated Node #3: [59, 5] from Operation: 47-42=5 Current State: 54:[59, 5], Operations: ['37+22=59', '47-42=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[37, 22, 47, 42], Operations: [] Exploring Operation: 42-37=5, Resulting Numbers: [22, 47, 5] Generated Node #0,0: 54:[22, 47, 5] Operation: 42-37=5 Exploring Operation: 47-42=5, Resulting Numbers: [37, 22, 5] Generated Node #0,1: 54:[37, 22, 5] Operation: 47-42=5 Exploring Operation: 47-37=10, Resulting Numbers: [22, 42, 10] Generated Node #0,2: 54:[22, 42, 10] Operation: 47-37=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[22, 47, 5], Operations: ['42-37=5'] Exploring Operation: 47-22=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 54:[5, 25] Operation: 47-22=25 Exploring Operation: 22+5=27, Resulting Numbers: [47, 27] Generated Node #0,0,1: 54:[47, 27] Operation: 22+5=27 Exploring Operation: 47+5=52, Resulting Numbers: [22, 52] Generated Node #0,0,2: 54:[22, 52] Operation: 47+5=52 Moving to Node #0,0,0 Current State: 54:[5, 25], Operations: ['42-37=5', '47-22=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[22, 52], Operations: ['42-37=5', '47+5=52'] Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,54 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[47, 27], Operations: ['42-37=5', '22+5=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,54 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[37, 22, 5], Operations: ['47-42=5'] Exploring Operation: 37+22=59, Resulting Numbers: [5, 59] Generated Node #0,1,0: 54:[5, 59] Operation: 37+22=59 Exploring Operation: 37-22=15, Resulting Numbers: [5, 15] Generated Node #0,1,1: 54:[5, 15] Operation: 37-22=15 Exploring Operation: 37-5=32, Resulting Numbers: [22, 32] Generated Node #0,1,2: 54:[22, 32] Operation: 37-5=32 Moving to Node #0,1,1 Current State: 54:[5, 15], Operations: ['47-42=5', '37-22=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[5, 59], Operations: ['47-42=5', '37+22=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[37, 22, 47, 42], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [37, 22, 5] Generated Node #0,1: 54:[37, 22, 5] Operation: 47-42=5 Moving to Node #0,1 Current State: 54:[37, 22, 5], Operations: ['47-42=5'] Exploring Operation: 37+22=59, Resulting Numbers: [5, 59] Generated Node #0,1,0: 54:[5, 59] Operation: 37+22=59 Moving to Node #0,1,0 Current State: 54:[5, 59], Operations: ['47-42=5', '37+22=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 11, 74, 94, 91 ]
66
[ "74-11=63", "94-91=3", "63+3=66" ]
Current State: 66:[11, 74, 94, 91], Operations: [] Exploring Operation: 74-11=63, Resulting Numbers: [94, 91, 63] Generated Node #2: [94, 91, 63] from Operation: 74-11=63 Current State: 66:[94, 91, 63], Operations: ['74-11=63'] Exploring Operation: 94-91=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 94-91=3 Current State: 66:[63, 3], Operations: ['74-11=63', '94-91=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[11, 74, 94, 91], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [11, 74, 3] Generated Node #0,0: 66:[11, 74, 3] Operation: 94-91=3 Exploring Operation: 91-74=17, Resulting Numbers: [11, 94, 17] Generated Node #0,1: 66:[11, 94, 17] Operation: 91-74=17 Exploring Operation: 94-74=20, Resulting Numbers: [11, 91, 20] Generated Node #0,2: 66:[11, 91, 20] Operation: 94-74=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[11, 74, 3], Operations: ['94-91=3'] Exploring Operation: 74-3=71, Resulting Numbers: [11, 71] Generated Node #0,0,0: 66:[11, 71] Operation: 74-3=71 Exploring Operation: 74-11=63, Resulting Numbers: [3, 63] Generated Node #0,0,1: 66:[3, 63] Operation: 74-11=63 Exploring Operation: 11*3=33, Resulting Numbers: [74, 33] Generated Node #0,0,2: 66:[74, 33] Operation: 11*3=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[3, 63], Operations: ['94-91=3', '74-11=63'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[11, 74, 94, 91], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [11, 74, 3] Generated Node #0,0: 66:[11, 74, 3] Operation: 94-91=3 Moving to Node #0,0 Current State: 66:[11, 74, 3], Operations: ['94-91=3'] Exploring Operation: 74-11=63, Resulting Numbers: [3, 63] Generated Node #0,0,1: 66:[3, 63] Operation: 74-11=63 Moving to Node #0,0,1 Current State: 66:[3, 63], Operations: ['94-91=3', '74-11=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 4, 88, 69, 95 ]
72
[ "4+88=92", "69+95=164", "164-92=72" ]
Current State: 72:[4, 88, 69, 95], Operations: [] Exploring Operation: 4+88=92, Resulting Numbers: [69, 95, 92] Generated Node #2: [69, 95, 92] from Operation: 4+88=92 Current State: 72:[69, 95, 92], Operations: ['4+88=92'] Exploring Operation: 69+95=164, Resulting Numbers: [92, 164] Generated Node #3: [92, 164] from Operation: 69+95=164 Current State: 72:[92, 164], Operations: ['4+88=92', '69+95=164'] Exploring Operation: 164-92=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[4, 88, 69, 95], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [4, 88, 26] Generated Node #0,0: 72:[4, 88, 26] Operation: 95-69=26 Exploring Operation: 88-69=19, Resulting Numbers: [4, 95, 19] Generated Node #0,1: 72:[4, 95, 19] Operation: 88-69=19 Exploring Operation: 95-88=7, Resulting Numbers: [4, 69, 7] Generated Node #0,2: 72:[4, 69, 7] Operation: 95-88=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[4, 69, 7], Operations: ['95-88=7'] Exploring Operation: 7-4=3, Resulting Numbers: [69, 3] Generated Node #0,2,0: 72:[69, 3] Operation: 7-4=3 Exploring Operation: 4+69=73, Resulting Numbers: [7, 73] Generated Node #0,2,1: 72:[7, 73] Operation: 4+69=73 Exploring Operation: 4+7=11, Resulting Numbers: [69, 11] Generated Node #0,2,2: 72:[69, 11] Operation: 4+7=11 Moving to Node #0,2,1 Current State: 72:[7, 73], Operations: ['95-88=7', '4+69=73'] Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,72 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[69, 3], Operations: ['95-88=7', '7-4=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[4, 88, 69, 95], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [4, 69, 7] Generated Node #0,2: 72:[4, 69, 7] Operation: 95-88=7 Moving to Node #0,2 Current State: 72:[4, 69, 7], Operations: ['95-88=7'] Exploring Operation: 7-4=3, Resulting Numbers: [69, 3] Generated Node #0,2,0: 72:[69, 3] Operation: 7-4=3 Moving to Node #0,2,0 Current State: 72:[69, 3], Operations: ['95-88=7', '7-4=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 86, 73, 49, 47 ]
83
[ "86-73=13", "49+47=96", "96-13=83" ]
Current State: 83:[86, 73, 49, 47], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [49, 47, 13] Generated Node #2: [49, 47, 13] from Operation: 86-73=13 Current State: 83:[49, 47, 13], Operations: ['86-73=13'] Exploring Operation: 49+47=96, Resulting Numbers: [13, 96] Generated Node #3: [13, 96] from Operation: 49+47=96 Current State: 83:[13, 96], Operations: ['86-73=13', '49+47=96'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[86, 73, 49, 47], Operations: [] Exploring Operation: 49+47=96, Resulting Numbers: [86, 73, 96] Generated Node #0,0: 83:[86, 73, 96] Operation: 49+47=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[86, 73, 96], Operations: ['49+47=96'] Exploring Operation: 96-73=23, Resulting Numbers: [86, 23] Generated Node #0,0,0: 83:[86, 23] Operation: 96-73=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[86, 23], Operations: ['49+47=96', '96-73=23'] Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 45, 6, 9, 6 ]
48
[ "45+6=51", "9-6=3", "51-3=48" ]
Current State: 48:[45, 6, 9, 6], Operations: [] Exploring Operation: 45+6=51, Resulting Numbers: [9, 51] Generated Node #2: [9, 51] from Operation: 45+6=51 Current State: 48:[9, 51], Operations: ['45+6=51'] Exploring Operation: 9-6=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 9-6=3 Current State: 48:[51, 3], Operations: ['45+6=51', '9-6=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[45, 6, 9, 6], Operations: [] Exploring Operation: 45+6=51, Resulting Numbers: [6, 9, 51] Generated Node #0,0: 48:[6, 9, 51] Operation: 45+6=51 Exploring Operation: 9-6=3, Resulting Numbers: [45, 6, 3] Generated Node #0,1: 48:[45, 6, 3] Operation: 9-6=3 Exploring Operation: 45+6=51, Resulting Numbers: [9, 6, 51] Generated Node #0,2: 48:[9, 6, 51] Operation: 45+6=51 Exploring Operation: 9-6=3, Resulting Numbers: [45, 6, 3] Generated Node #0,3: 48:[45, 6, 3] Operation: 9-6=3 Exploring Operation: 45/9=5, Resulting Numbers: [6, 6, 5] Generated Node #0,4: 48:[6, 6, 5] Operation: 45/9=5 Moving to Node #0,4 Current State: 48:[6, 6, 5], Operations: ['45/9=5'] Exploring Operation: 6+5=11, Resulting Numbers: [6, 11] Generated Node #0,4,0: 48:[6, 11] Operation: 6+5=11 Exploring Operation: 6+5=11, Resulting Numbers: [6, 11] Generated Node #0,4,1: 48:[6, 11] Operation: 6+5=11 Exploring Operation: 6-5=1, Resulting Numbers: [6, 1] Generated Node #0,4,2: 48:[6, 1] Operation: 6-5=1 Exploring Operation: 6-5=1, Resulting Numbers: [6, 1] Generated Node #0,4,3: 48:[6, 1] Operation: 6-5=1 Exploring Operation: 6+6=12, Resulting Numbers: [5, 12] Generated Node #0,4,4: 48:[5, 12] Operation: 6+6=12 Moving to Node #0,3 Current State: 48:[45, 6, 3], Operations: ['9-6=3'] Exploring Operation: 45/3=15, Resulting Numbers: [6, 15] Generated Node #0,3,0: 48:[6, 15] Operation: 45/3=15 Exploring Operation: 6/3=2, Resulting Numbers: [45, 2] Generated Node #0,3,1: 48:[45, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [45, 3] Generated Node #0,3,2: 48:[45, 3] Operation: 6-3=3 Exploring Operation: 45+3=48, Resulting Numbers: [6, 48] Generated Node #0,3,3: 48:[6, 48] Operation: 45+3=48 Exploring Operation: 45+6=51, Resulting Numbers: [3, 51] Generated Node #0,3,4: 48:[3, 51] Operation: 45+6=51 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[6, 48], Operations: ['9-6=3', '45+3=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[6, 15], Operations: ['9-6=3', '45/3=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[45, 2], Operations: ['9-6=3', '6/3=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[45, 3], Operations: ['9-6=3', '6-3=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[45, 6, 9, 6], Operations: [] Exploring Operation: 9-6=3, Resulting Numbers: [45, 6, 3] Generated Node #0,3: 48:[45, 6, 3] Operation: 9-6=3 Moving to Node #0,3 Current State: 48:[45, 6, 3], Operations: ['9-6=3'] Exploring Operation: 6-3=3, Resulting Numbers: [45, 3] Generated Node #0,3,2: 48:[45, 3] Operation: 6-3=3 Moving to Node #0,3,2 Current State: 48:[45, 3], Operations: ['9-6=3', '6-3=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_5
sum_heuristic
[ 32, 52, 61, 56 ]
25
[ "52-32=20", "61-56=5", "20+5=25" ]
Current State: 25:[32, 52, 61, 56], Operations: [] Exploring Operation: 52-32=20, Resulting Numbers: [61, 56, 20] Generated Node #2: [61, 56, 20] from Operation: 52-32=20 Current State: 25:[61, 56, 20], Operations: ['52-32=20'] Exploring Operation: 61-56=5, Resulting Numbers: [20, 5] Generated Node #3: [20, 5] from Operation: 61-56=5 Current State: 25:[20, 5], Operations: ['52-32=20', '61-56=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[32, 52, 61, 56], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [32, 52, 5] Generated Node #0,0: 25:[32, 52, 5] Operation: 61-56=5 Exploring Operation: 61-52=9, Resulting Numbers: [32, 56, 9] Generated Node #0,1: 25:[32, 56, 9] Operation: 61-52=9 Exploring Operation: 56-52=4, Resulting Numbers: [32, 61, 4] Generated Node #0,2: 25:[32, 61, 4] Operation: 56-52=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[32, 52, 5], Operations: ['61-56=5'] Exploring Operation: 32-5=27, Resulting Numbers: [52, 27] Generated Node #0,0,0: 25:[52, 27] Operation: 32-5=27 Exploring Operation: 52-5=47, Resulting Numbers: [32, 47] Generated Node #0,0,1: 25:[32, 47] Operation: 52-5=47 Exploring Operation: 52-32=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 25:[5, 20] Operation: 52-32=20 Moving to Node #0,0,2 Current State: 25:[5, 20], Operations: ['61-56=5', '52-32=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[32, 52, 61, 56], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [32, 52, 5] Generated Node #0,0: 25:[32, 52, 5] Operation: 61-56=5 Moving to Node #0,0 Current State: 25:[32, 52, 5], Operations: ['61-56=5'] Exploring Operation: 52-32=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 25:[5, 20] Operation: 52-32=20 Moving to Node #0,0,2 Current State: 25:[5, 20], Operations: ['61-56=5', '52-32=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 71, 2, 46, 71 ]
92
[ "71+2=73", "73-71=2", "46*2=92" ]
Current State: 92:[71, 2, 46, 71], Operations: [] Exploring Operation: 71+2=73, Resulting Numbers: [46, 73] Generated Node #2: [46, 73] from Operation: 71+2=73 Current State: 92:[46, 73], Operations: ['71+2=73'] Exploring Operation: 73-71=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 73-71=2 Current State: 92:[46, 2], Operations: ['71+2=73', '73-71=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[71, 2, 46, 71], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [2, 46, 1] Generated Node #0,0: 92:[2, 46, 1] Operation: 71/71=1 Exploring Operation: 71-46=25, Resulting Numbers: [2, 71, 25] Generated Node #0,1: 92:[2, 71, 25] Operation: 71-46=25 Exploring Operation: 71-71=0, Resulting Numbers: [2, 46, 0] Generated Node #0,2: 92:[2, 46, 0] Operation: 71-71=0 Moving to Node #0,0 Current State: 92:[2, 46, 1], Operations: ['71/71=1'] Exploring Operation: 2/1=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 92:[46, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 92:[46, 2] Operation: 2*1=2 Exploring Operation: 46*1=46, Resulting Numbers: [2, 46] Generated Node #0,0,2: 92:[2, 46] Operation: 46*1=46 Moving to Node #0,2 Current State: 92:[2, 46, 0], Operations: ['71-71=0'] Exploring Operation: 46+0=46, Resulting Numbers: [2, 46] Generated Node #0,2,0: 92:[2, 46] Operation: 46+0=46 Exploring Operation: 2-0=2, Resulting Numbers: [46, 2] Generated Node #0,2,1: 92:[46, 2] Operation: 2-0=2 Exploring Operation: 2+0=2, Resulting Numbers: [46, 2] Generated Node #0,2,2: 92:[46, 2] Operation: 2+0=2 Moving to Node #0,1 Current State: 92:[2, 71, 25], Operations: ['71-46=25'] Exploring Operation: 71+25=96, Resulting Numbers: [2, 96] Generated Node #0,1,0: 92:[2, 96] Operation: 71+25=96 Exploring Operation: 2+71=73, Resulting Numbers: [25, 73] Generated Node #0,1,1: 92:[25, 73] Operation: 2+71=73 Exploring Operation: 71-25=46, Resulting Numbers: [2, 46] Generated Node #0,1,2: 92:[2, 46] Operation: 71-25=46 Moving to Node #0,0,0 Current State: 92:[46, 2], Operations: ['71/71=1', '2/1=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,92 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[71, 2, 46, 71], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [2, 46, 1] Generated Node #0,0: 92:[2, 46, 1] Operation: 71/71=1 Moving to Node #0,0 Current State: 92:[2, 46, 1], Operations: ['71/71=1'] Exploring Operation: 2/1=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 92:[46, 2] Operation: 2/1=2 Moving to Node #0,0,0 Current State: 92:[46, 2], Operations: ['71/71=1', '2/1=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 9, 11, 12, 25 ]
44
[ "9+12=21", "25-21=4", "11*4=44" ]
Current State: 44:[9, 11, 12, 25], Operations: [] Exploring Operation: 9+12=21, Resulting Numbers: [11, 25, 21] Generated Node #2: [11, 25, 21] from Operation: 9+12=21 Current State: 44:[11, 25, 21], Operations: ['9+12=21'] Exploring Operation: 25-21=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 25-21=4 Current State: 44:[11, 4], Operations: ['9+12=21', '25-21=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[9, 11, 12, 25], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [12, 25, 2] Generated Node #0,0: 44:[12, 25, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[12, 25, 2], Operations: ['11-9=2'] Exploring Operation: 25-12=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 44:[2, 13] Operation: 25-12=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[2, 13], Operations: ['11-9=2', '25-12=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 96, 7, 38, 83 ]
18
[ "96+7=103", "38+83=121", "121-103=18" ]
Current State: 18:[96, 7, 38, 83], Operations: [] Exploring Operation: 96+7=103, Resulting Numbers: [38, 83, 103] Generated Node #2: [38, 83, 103] from Operation: 96+7=103 Current State: 18:[38, 83, 103], Operations: ['96+7=103'] Exploring Operation: 38+83=121, Resulting Numbers: [103, 121] Generated Node #3: [103, 121] from Operation: 38+83=121 Current State: 18:[103, 121], Operations: ['96+7=103', '38+83=121'] Exploring Operation: 121-103=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[96, 7, 38, 83], Operations: [] Exploring Operation: 96-7=89, Resulting Numbers: [38, 83, 89] Generated Node #0,0: 18:[38, 83, 89] Operation: 96-7=89 Exploring Operation: 96-83=13, Resulting Numbers: [7, 38, 13] Generated Node #0,1: 18:[7, 38, 13] Operation: 96-83=13 Exploring Operation: 83-38=45, Resulting Numbers: [96, 7, 45] Generated Node #0,2: 18:[96, 7, 45] Operation: 83-38=45 Exploring Operation: 96-38=58, Resulting Numbers: [7, 83, 58] Generated Node #0,3: 18:[7, 83, 58] Operation: 96-38=58 Exploring Operation: 38-7=31, Resulting Numbers: [96, 83, 31] Generated Node #0,4: 18:[96, 83, 31] Operation: 38-7=31 Moving to Node #0,1 Current State: 18:[7, 38, 13], Operations: ['96-83=13'] Exploring Operation: 13-7=6, Resulting Numbers: [38, 6] Generated Node #0,1,0: 18:[38, 6] Operation: 13-7=6 Exploring Operation: 38-7=31, Resulting Numbers: [13, 31] Generated Node #0,1,1: 18:[13, 31] Operation: 38-7=31 Exploring Operation: 7+38=45, Resulting Numbers: [13, 45] Generated Node #0,1,2: 18:[13, 45] Operation: 7+38=45 Exploring Operation: 7+13=20, Resulting Numbers: [38, 20] Generated Node #0,1,3: 18:[38, 20] Operation: 7+13=20 Exploring Operation: 38-13=25, Resulting Numbers: [7, 25] Generated Node #0,1,4: 18:[7, 25] Operation: 38-13=25 Moving to Node #0,3 Current State: 18:[7, 83, 58], Operations: ['96-38=58'] Exploring Operation: 7+83=90, Resulting Numbers: [58, 90] Generated Node #0,3,0: 18:[58, 90] Operation: 7+83=90 Exploring Operation: 7+58=65, Resulting Numbers: [83, 65] Generated Node #0,3,1: 18:[83, 65] Operation: 7+58=65 Exploring Operation: 83-7=76, Resulting Numbers: [58, 76] Generated Node #0,3,2: 18:[58, 76] Operation: 83-7=76 Exploring Operation: 58-7=51, Resulting Numbers: [83, 51] Generated Node #0,3,3: 18:[83, 51] Operation: 58-7=51 Exploring Operation: 83-58=25, Resulting Numbers: [7, 25] Generated Node #0,3,4: 18:[7, 25] Operation: 83-58=25 Moving to Node #0,2 Current State: 18:[96, 7, 45], Operations: ['83-38=45'] Exploring Operation: 45-7=38, Resulting Numbers: [96, 38] Generated Node #0,2,0: 18:[96, 38] Operation: 45-7=38 Exploring Operation: 96-7=89, Resulting Numbers: [45, 89] Generated Node #0,2,1: 18:[45, 89] Operation: 96-7=89 Exploring Operation: 96-45=51, Resulting Numbers: [7, 51] Generated Node #0,2,2: 18:[7, 51] Operation: 96-45=51 Exploring Operation: 96+7=103, Resulting Numbers: [45, 103] Generated Node #0,2,3: 18:[45, 103] Operation: 96+7=103 Exploring Operation: 7+45=52, Resulting Numbers: [96, 52] Generated Node #0,2,4: 18:[96, 52] Operation: 7+45=52 Moving to Node #0,0 Current State: 18:[38, 83, 89], Operations: ['96-7=89'] Exploring Operation: 38+89=127, Resulting Numbers: [83, 127] Generated Node #0,0,0: 18:[83, 127] Operation: 38+89=127 Exploring Operation: 89-83=6, Resulting Numbers: [38, 6] Generated Node #0,0,1: 18:[38, 6] Operation: 89-83=6 Exploring Operation: 38+83=121, Resulting Numbers: [89, 121] Generated Node #0,0,2: 18:[89, 121] Operation: 38+83=121 Exploring Operation: 89-38=51, Resulting Numbers: [83, 51] Generated Node #0,0,3: 18:[83, 51] Operation: 89-38=51 Exploring Operation: 83-38=45, Resulting Numbers: [89, 45] Generated Node #0,0,4: 18:[89, 45] Operation: 83-38=45 Moving to Node #0,4 Current State: 18:[96, 83, 31], Operations: ['38-7=31'] Exploring Operation: 96+83=179, Resulting Numbers: [31, 179] Generated Node #0,4,0: 18:[31, 179] Operation: 96+83=179 Exploring Operation: 83-31=52, Resulting Numbers: [96, 52] Generated Node #0,4,1: 18:[96, 52] Operation: 83-31=52 Exploring Operation: 96-83=13, Resulting Numbers: [31, 13] Generated Node #0,4,2: 18:[31, 13] Operation: 96-83=13 Exploring Operation: 96+31=127, Resulting Numbers: [83, 127] Generated Node #0,4,3: 18:[83, 127] Operation: 96+31=127 Exploring Operation: 96-31=65, Resulting Numbers: [83, 65] Generated Node #0,4,4: 18:[83, 65] Operation: 96-31=65 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[31, 13], Operations: ['38-7=31', '96-83=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,18 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[96, 7, 38, 83], Operations: [] Exploring Operation: 38-7=31, Resulting Numbers: [96, 83, 31] Generated Node #0,4: 18:[96, 83, 31] Operation: 38-7=31 Moving to Node #0,4 Current State: 18:[96, 83, 31], Operations: ['38-7=31'] Exploring Operation: 96-83=13, Resulting Numbers: [31, 13] Generated Node #0,4,2: 18:[31, 13] Operation: 96-83=13 Moving to Node #0,4,2 Current State: 18:[31, 13], Operations: ['38-7=31', '96-83=13'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 23, 76, 64, 24 ]
25
[ "76-64=12", "24/12=2", "23+2=25" ]
Current State: 25:[23, 76, 64, 24], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [23, 24, 12] Generated Node #2: [23, 24, 12] from Operation: 76-64=12 Current State: 25:[23, 24, 12], Operations: ['76-64=12'] Exploring Operation: 24/12=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 24/12=2 Current State: 25:[23, 2], Operations: ['76-64=12', '24/12=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[23, 76, 64, 24], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [23, 64, 52] Generated Node #0,0: 25:[23, 64, 52] Operation: 76-24=52 Exploring Operation: 76-23=53, Resulting Numbers: [64, 24, 53] Generated Node #0,1: 25:[64, 24, 53] Operation: 76-23=53 Exploring Operation: 64-23=41, Resulting Numbers: [76, 24, 41] Generated Node #0,2: 25:[76, 24, 41] Operation: 64-23=41 Exploring Operation: 76-64=12, Resulting Numbers: [23, 24, 12] Generated Node #0,3: 25:[23, 24, 12] Operation: 76-64=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[23, 24, 12], Operations: ['76-64=12'] Exploring Operation: 23-12=11, Resulting Numbers: [24, 11] Generated Node #0,3,0: 25:[24, 11] Operation: 23-12=11 Exploring Operation: 24-23=1, Resulting Numbers: [12, 1] Generated Node #0,3,1: 25:[12, 1] Operation: 24-23=1 Exploring Operation: 24/12=2, Resulting Numbers: [23, 2] Generated Node #0,3,2: 25:[23, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [23, 12] Generated Node #0,3,3: 25:[23, 12] Operation: 24-12=12 Moving to Node #0,3,2 Current State: 25:[23, 2], Operations: ['76-64=12', '24/12=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[23, 76, 64, 24], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [23, 24, 12] Generated Node #0,3: 25:[23, 24, 12] Operation: 76-64=12 Moving to Node #0,3 Current State: 25:[23, 24, 12], Operations: ['76-64=12'] Exploring Operation: 24/12=2, Resulting Numbers: [23, 2] Generated Node #0,3,2: 25:[23, 2] Operation: 24/12=2 Moving to Node #0,3,2 Current State: 25:[23, 2], Operations: ['76-64=12', '24/12=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 8, 22, 98, 6 ]
21
[ "22+98=120", "120/8=15", "6+15=21" ]
Current State: 21:[8, 22, 98, 6], Operations: [] Exploring Operation: 22+98=120, Resulting Numbers: [8, 6, 120] Generated Node #2: [8, 6, 120] from Operation: 22+98=120 Current State: 21:[8, 6, 120], Operations: ['22+98=120'] Exploring Operation: 120/8=15, Resulting Numbers: [6, 15] Generated Node #3: [6, 15] from Operation: 120/8=15 Current State: 21:[6, 15], Operations: ['22+98=120', '120/8=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[8, 22, 98, 6], Operations: [] Exploring Operation: 8-6=2, Resulting Numbers: [22, 98, 2] Generated Node #0,0: 21:[22, 98, 2] Operation: 8-6=2 Exploring Operation: 98-6=92, Resulting Numbers: [8, 22, 92] Generated Node #0,1: 21:[8, 22, 92] Operation: 98-6=92 Exploring Operation: 98-8=90, Resulting Numbers: [22, 6, 90] Generated Node #0,2: 21:[22, 6, 90] Operation: 98-8=90 Exploring Operation: 98-22=76, Resulting Numbers: [8, 6, 76] Generated Node #0,3: 21:[8, 6, 76] Operation: 98-22=76 Moving to Node #0,3 Current State: 21:[8, 6, 76], Operations: ['98-22=76'] Exploring Operation: 8+6=14, Resulting Numbers: [76, 14] Generated Node #0,3,0: 21:[76, 14] Operation: 8+6=14 Exploring Operation: 76-8=68, Resulting Numbers: [6, 68] Generated Node #0,3,1: 21:[6, 68] Operation: 76-8=68 Exploring Operation: 76-6=70, Resulting Numbers: [8, 70] Generated Node #0,3,2: 21:[8, 70] Operation: 76-6=70 Exploring Operation: 8-6=2, Resulting Numbers: [76, 2] Generated Node #0,3,3: 21:[76, 2] Operation: 8-6=2 Moving to Node #0,2 Current State: 21:[22, 6, 90], Operations: ['98-8=90'] Exploring Operation: 22-6=16, Resulting Numbers: [90, 16] Generated Node #0,2,0: 21:[90, 16] Operation: 22-6=16 Exploring Operation: 90-22=68, Resulting Numbers: [6, 68] Generated Node #0,2,1: 21:[6, 68] Operation: 90-22=68 Exploring Operation: 90/6=15, Resulting Numbers: [22, 15] Generated Node #0,2,2: 21:[22, 15] Operation: 90/6=15 Exploring Operation: 90-6=84, Resulting Numbers: [22, 84] Generated Node #0,2,3: 21:[22, 84] Operation: 90-6=84 Moving to Node #0,1 Current State: 21:[8, 22, 92], Operations: ['98-6=92'] Exploring Operation: 92-22=70, Resulting Numbers: [8, 70] Generated Node #0,1,0: 21:[8, 70] Operation: 92-22=70 Exploring Operation: 8+22=30, Resulting Numbers: [92, 30] Generated Node #0,1,1: 21:[92, 30] Operation: 8+22=30 Exploring Operation: 22-8=14, Resulting Numbers: [92, 14] Generated Node #0,1,2: 21:[92, 14] Operation: 22-8=14 Exploring Operation: 92-8=84, Resulting Numbers: [22, 84] Generated Node #0,1,3: 21:[22, 84] Operation: 92-8=84 Moving to Node #0,0 Current State: 21:[22, 98, 2], Operations: ['8-6=2'] Exploring Operation: 98-2=96, Resulting Numbers: [22, 96] Generated Node #0,0,0: 21:[22, 96] Operation: 98-2=96 Exploring Operation: 98/2=49, Resulting Numbers: [22, 49] Generated Node #0,0,1: 21:[22, 49] Operation: 98/2=49 Exploring Operation: 22-2=20, Resulting Numbers: [98, 20] Generated Node #0,0,2: 21:[98, 20] Operation: 22-2=20 Exploring Operation: 98-22=76, Resulting Numbers: [2, 76] Generated Node #0,0,3: 21:[2, 76] Operation: 98-22=76 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[22, 49], Operations: ['8-6=2', '98/2=49'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,21 unequal: No Solution Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,21 unequal: No Solution Exploring Operation: 22*49=1078, Resulting Numbers: [1078] 1078,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 21:[2, 76], Operations: ['8-6=2', '98-22=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[22, 96], Operations: ['8-6=2', '98-2=96'] Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 22+96=118, Resulting Numbers: [118] 118,21 unequal: No Solution Exploring Operation: 22*96=2112, Resulting Numbers: [2112] 2112,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[98, 20], Operations: ['8-6=2', '22-2=20'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 98*20=1960, Resulting Numbers: [1960] 1960,21 unequal: No Solution Exploring Operation: 98+20=118, Resulting Numbers: [118] 118,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 21:[22, 15], Operations: ['98-8=90', '90/6=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[6, 68], Operations: ['98-8=90', '90-22=68'] Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,21 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,21 unequal: No Solution Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[6, 68], Operations: ['98-22=76', '76-8=68'] Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,21 unequal: No Solution Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[8, 70], Operations: ['98-22=76', '76-6=70'] Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,21 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[8, 70], Operations: ['98-6=92', '92-22=70'] Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,21 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[76, 2], Operations: ['98-22=76', '8-6=2'] Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,21 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[76, 14], Operations: ['98-22=76', '8+6=14'] Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,21 unequal: No Solution Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,21 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[22, 84], Operations: ['98-8=90', '90-6=84'] Exploring Operation: 22*84=1848, Resulting Numbers: [1848] 1848,21 unequal: No Solution Exploring Operation: 22+84=106, Resulting Numbers: [106] 106,21 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[22, 84], Operations: ['98-6=92', '92-8=84'] Exploring Operation: 22+84=106, Resulting Numbers: [106] 106,21 unequal: No Solution Exploring Operation: 22*84=1848, Resulting Numbers: [1848] 1848,21 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[90, 16], Operations: ['98-8=90', '22-6=16'] Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,21 unequal: No Solution Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[92, 14], Operations: ['98-6=92', '22-8=14'] Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,21 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,21 unequal: No Solution Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[92, 30], Operations: ['98-6=92', '8+22=30'] Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,21 unequal: No Solution Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,21 unequal: No Solution Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,21 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 50, 52, 26, 2 ]
90
[ "50+26=76", "76/2=38", "52+38=90" ]
Current State: 90:[50, 52, 26, 2], Operations: [] Exploring Operation: 50+26=76, Resulting Numbers: [52, 2, 76] Generated Node #2: [52, 2, 76] from Operation: 50+26=76 Current State: 90:[52, 2, 76], Operations: ['50+26=76'] Exploring Operation: 76/2=38, Resulting Numbers: [52, 38] Generated Node #3: [52, 38] from Operation: 76/2=38 Current State: 90:[52, 38], Operations: ['50+26=76', '76/2=38'] Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[50, 52, 26, 2], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [26, 2, 2] Generated Node #0,0: 90:[26, 2, 2] Operation: 52-50=2 Exploring Operation: 52/26=2, Resulting Numbers: [50, 2, 2] Generated Node #0,1: 90:[50, 2, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [50, 2, 26] Generated Node #0,2: 90:[50, 2, 26] Operation: 52-26=26 Exploring Operation: 52/2=26, Resulting Numbers: [50, 26, 26] Generated Node #0,3: 90:[50, 26, 26] Operation: 52/2=26 Exploring Operation: 50-26=24, Resulting Numbers: [52, 2, 24] Generated Node #0,4: 90:[52, 2, 24] Operation: 50-26=24 Moving to Node #0,0 Current State: 90:[26, 2, 2], Operations: ['52-50=2'] Exploring Operation: 26+2=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 90:[2, 28] Operation: 26+2=28 Exploring Operation: 26+2=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 90:[2, 28] Operation: 26+2=28 Exploring Operation: 2+2=4, Resulting Numbers: [26, 4] Generated Node #0,0,2: 90:[26, 4] Operation: 2+2=4 Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,3: 90:[2, 13] Operation: 26/2=13 Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,4: 90:[2, 13] Operation: 26/2=13 Moving to Node #0,1 Current State: 90:[50, 2, 2], Operations: ['52/26=2'] Exploring Operation: 50/2=25, Resulting Numbers: [2, 25] Generated Node #0,1,0: 90:[2, 25] Operation: 50/2=25 Exploring Operation: 50-2=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 90:[2, 48] Operation: 50-2=48 Exploring Operation: 50-2=48, Resulting Numbers: [2, 48] Generated Node #0,1,2: 90:[2, 48] Operation: 50-2=48 Exploring Operation: 2+2=4, Resulting Numbers: [50, 4] Generated Node #0,1,3: 90:[50, 4] Operation: 2+2=4 Exploring Operation: 50/2=25, Resulting Numbers: [2, 25] Generated Node #0,1,4: 90:[2, 25] Operation: 50/2=25 Moving to Node #0,2 Current State: 90:[50, 2, 26], Operations: ['52-26=26'] Exploring Operation: 26/2=13, Resulting Numbers: [50, 13] Generated Node #0,2,0: 90:[50, 13] Operation: 26/2=13 Exploring Operation: 2+26=28, Resulting Numbers: [50, 28] Generated Node #0,2,1: 90:[50, 28] Operation: 2+26=28 Exploring Operation: 50-2=48, Resulting Numbers: [26, 48] Generated Node #0,2,2: 90:[26, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [26, 25] Generated Node #0,2,3: 90:[26, 25] Operation: 50/2=25 Exploring Operation: 50-26=24, Resulting Numbers: [2, 24] Generated Node #0,2,4: 90:[2, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 90:[2, 24], Operations: ['52-26=26', '50-26=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 2*24=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,2,0 Current State: 90:[50, 13], Operations: ['52-26=26', '26/2=13'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,90 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[50, 28], Operations: ['52-26=26', '2+26=28'] Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,90 unequal: No Solution Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[26, 48], Operations: ['52-26=26', '50-2=48'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,90 unequal: No Solution Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[26, 25], Operations: ['52-26=26', '50/2=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,90 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: 90:[50, 26, 26], Operations: ['52/2=26'] Exploring Operation: 26/26=1, Resulting Numbers: [50, 1] Generated Node #0,3,0: 90:[50, 1] Operation: 26/26=1 Exploring Operation: 50-26=24, Resulting Numbers: [26, 24] Generated Node #0,3,1: 90:[26, 24] Operation: 50-26=24 Exploring Operation: 26+26=52, Resulting Numbers: [50, 52] Generated Node #0,3,2: 90:[50, 52] Operation: 26+26=52 Exploring Operation: 26-26=0, Resulting Numbers: [50, 0] Generated Node #0,3,3: 90:[50, 0] Operation: 26-26=0 Exploring Operation: 50-26=24, Resulting Numbers: [26, 24] Generated Node #0,3,4: 90:[26, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[50, 1], Operations: ['52/2=26', '26/26=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[50, 0], Operations: ['52/2=26', '26-26=0'] Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 50*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[26, 24], Operations: ['52/2=26', '50-26=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 90:[26, 24], Operations: ['52/2=26', '50-26=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,90 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[50, 52], Operations: ['52/2=26', '26+26=52'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,90 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,90 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: 90:[52, 2, 24], Operations: ['50-26=24'] Exploring Operation: 2*24=48, Resulting Numbers: [52, 48] Generated Node #0,4,0: 90:[52, 48] Operation: 2*24=48 Exploring Operation: 52-2=50, Resulting Numbers: [24, 50] Generated Node #0,4,1: 90:[24, 50] Operation: 52-2=50 Exploring Operation: 52-24=28, Resulting Numbers: [2, 28] Generated Node #0,4,2: 90:[2, 28] Operation: 52-24=28 Exploring Operation: 24/2=12, Resulting Numbers: [52, 12] Generated Node #0,4,3: 90:[52, 12] Operation: 24/2=12 Exploring Operation: 52/2=26, Resulting Numbers: [24, 26] Generated Node #0,4,4: 90:[24, 26] Operation: 52/2=26 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 90:[2, 28], Operations: ['50-26=24', '52-24=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,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,4,3 Current State: 90:[52, 12], Operations: ['50-26=24', '24/2=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,90 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,90 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,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,4,0 Current State: 90:[52, 48], Operations: ['50-26=24', '2*24=48'] Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,90 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,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,4,4 Current State: 90:[24, 26], Operations: ['50-26=24', '52/2=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,90 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,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,4,1 Current State: 90:[24, 50], Operations: ['50-26=24', '52-2=50'] Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,90 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 24*50=1200, Resulting Numbers: [1200] 1200,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 90:[2, 28], Operations: ['52-50=2', '26+2=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[2, 13], Operations: ['52-50=2', '26/2=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[2, 28], Operations: ['52-50=2', '26+2=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[2, 13], Operations: ['52-50=2', '26/2=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[2, 48], Operations: ['52/26=2', '50-2=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[2, 48], Operations: ['52/26=2', '50-2=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[26, 4], Operations: ['52-50=2', '2+2=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,90 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[2, 25], Operations: ['52/26=2', '50/2=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[2, 25], Operations: ['52/26=2', '50/2=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[50, 4], Operations: ['52/26=2', '2+2=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,90 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,90 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 50, 38, 9, 20 ]
100
[ "38-20=18", "50*18=900", "900/9=100" ]
Current State: 100:[50, 38, 9, 20], Operations: [] Exploring Operation: 38-20=18, Resulting Numbers: [50, 9, 18] Generated Node #2: [50, 9, 18] from Operation: 38-20=18 Current State: 100:[50, 9, 18], Operations: ['38-20=18'] Exploring Operation: 50*18=900, Resulting Numbers: [9, 900] Generated Node #3: [9, 900] from Operation: 50*18=900 Current State: 100:[9, 900], Operations: ['38-20=18', '50*18=900'] Exploring Operation: 900/9=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[50, 38, 9, 20], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [9, 20, 12] Generated Node #0,0: 100:[9, 20, 12] Operation: 50-38=12 Exploring Operation: 38+9=47, Resulting Numbers: [50, 20, 47] Generated Node #0,1: 100:[50, 20, 47] Operation: 38+9=47 Moving to Node #0,0 Current State: 100:[9, 20, 12], Operations: ['50-38=12'] Exploring Operation: 9+12=21, Resulting Numbers: [20, 21] Generated Node #0,0,0: 100:[20, 21] Operation: 9+12=21 Exploring Operation: 12-9=3, Resulting Numbers: [20, 3] Generated Node #0,0,1: 100:[20, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[20, 21], Operations: ['50-38=12', '9+12=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[20, 3], Operations: ['50-38=12', '12-9=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,100 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: 100:[50, 20, 47], Operations: ['38+9=47'] Exploring Operation: 47-20=27, Resulting Numbers: [50, 27] Generated Node #0,1,0: 100:[50, 27] Operation: 47-20=27 Exploring Operation: 50-47=3, Resulting Numbers: [20, 3] Generated Node #0,1,1: 100:[20, 3] Operation: 50-47=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[20, 3], Operations: ['38+9=47', '50-47=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[50, 27], Operations: ['38+9=47', '47-20=27'] Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,100 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,100 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
[ 79, 38, 76, 58 ]
17
[ "79+38=117", "76+58=134", "134-117=17" ]
Current State: 17:[79, 38, 76, 58], Operations: [] Exploring Operation: 79+38=117, Resulting Numbers: [76, 58, 117] Generated Node #2: [76, 58, 117] from Operation: 79+38=117 Current State: 17:[76, 58, 117], Operations: ['79+38=117'] Exploring Operation: 76+58=134, Resulting Numbers: [117, 134] Generated Node #3: [117, 134] from Operation: 76+58=134 Current State: 17:[117, 134], Operations: ['79+38=117', '76+58=134'] Exploring Operation: 134-117=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[79, 38, 76, 58], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [79, 38, 18] Generated Node #0,0: 17:[79, 38, 18] Operation: 76-58=18 Exploring Operation: 79-76=3, Resulting Numbers: [38, 58, 3] Generated Node #0,1: 17:[38, 58, 3] Operation: 79-76=3 Exploring Operation: 79-58=21, Resulting Numbers: [38, 76, 21] Generated Node #0,2: 17:[38, 76, 21] Operation: 79-58=21 Exploring Operation: 76/38=2, Resulting Numbers: [79, 58, 2] Generated Node #0,3: 17:[79, 58, 2] Operation: 76/38=2 Moving to Node #0,1 Current State: 17:[38, 58, 3], Operations: ['79-76=3'] Exploring Operation: 38-3=35, Resulting Numbers: [58, 35] Generated Node #0,1,0: 17:[58, 35] Operation: 38-3=35 Exploring Operation: 38+3=41, Resulting Numbers: [58, 41] Generated Node #0,1,1: 17:[58, 41] Operation: 38+3=41 Exploring Operation: 58-38=20, Resulting Numbers: [3, 20] Generated Node #0,1,2: 17:[3, 20] Operation: 58-38=20 Exploring Operation: 58-3=55, Resulting Numbers: [38, 55] Generated Node #0,1,3: 17:[38, 55] Operation: 58-3=55 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[3, 20], Operations: ['79-76=3', '58-38=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[79, 38, 76, 58], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [38, 58, 3] Generated Node #0,1: 17:[38, 58, 3] Operation: 79-76=3 Moving to Node #0,1 Current State: 17:[38, 58, 3], Operations: ['79-76=3'] Exploring Operation: 58-38=20, Resulting Numbers: [3, 20] Generated Node #0,1,2: 17:[3, 20] Operation: 58-38=20 Moving to Node #0,1,2 Current State: 17:[3, 20], Operations: ['79-76=3', '58-38=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 44, 48, 84, 45 ]
66
[ "48-44=4", "84/4=21", "45+21=66" ]
Current State: 66:[44, 48, 84, 45], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [84, 45, 4] Generated Node #2: [84, 45, 4] from Operation: 48-44=4 Current State: 66:[84, 45, 4], Operations: ['48-44=4'] Exploring Operation: 84/4=21, Resulting Numbers: [45, 21] Generated Node #3: [45, 21] from Operation: 84/4=21 Current State: 66:[45, 21], Operations: ['48-44=4', '84/4=21'] Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[44, 48, 84, 45], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [44, 45, 36] Generated Node #0,0: 66:[44, 45, 36] Operation: 84-48=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[44, 45, 36], Operations: ['84-48=36'] Exploring Operation: 45-44=1, Resulting Numbers: [36, 1] Generated Node #0,0,0: 66:[36, 1] Operation: 45-44=1 Moving to Node #0,0,0 Current State: 66:[36, 1], Operations: ['84-48=36', '45-44=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,66 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
[ 41, 50, 31, 78 ]
83
[ "41-31=10", "50/10=5", "78+5=83" ]
Current State: 83:[41, 50, 31, 78], Operations: [] Exploring Operation: 41-31=10, Resulting Numbers: [50, 78, 10] Generated Node #2: [50, 78, 10] from Operation: 41-31=10 Current State: 83:[50, 78, 10], Operations: ['41-31=10'] Exploring Operation: 50/10=5, Resulting Numbers: [78, 5] Generated Node #3: [78, 5] from Operation: 50/10=5 Current State: 83:[78, 5], Operations: ['41-31=10', '50/10=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[41, 50, 31, 78], Operations: [] Exploring Operation: 41+31=72, Resulting Numbers: [50, 78, 72] Generated Node #0,0: 83:[50, 78, 72] Operation: 41+31=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[50, 78, 72], Operations: ['41+31=72'] Exploring Operation: 50+72=122, Resulting Numbers: [78, 122] Generated Node #0,0,0: 83:[78, 122] Operation: 50+72=122 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[78, 122], Operations: ['41+31=72', '50+72=122'] Exploring Operation: 122-78=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 88, 55, 6, 73 ]
76
[ "88+55=143", "73-6=67", "143-67=76" ]
Current State: 76:[88, 55, 6, 73], Operations: [] Exploring Operation: 88+55=143, Resulting Numbers: [6, 73, 143] Generated Node #2: [6, 73, 143] from Operation: 88+55=143 Current State: 76:[6, 73, 143], Operations: ['88+55=143'] Exploring Operation: 73-6=67, Resulting Numbers: [143, 67] Generated Node #3: [143, 67] from Operation: 73-6=67 Current State: 76:[143, 67], Operations: ['88+55=143', '73-6=67'] Exploring Operation: 143-67=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[88, 55, 6, 73], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [6, 73, 33] Generated Node #0,0: 76:[6, 73, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[6, 73, 33], Operations: ['88-55=33'] Exploring Operation: 6+33=39, Resulting Numbers: [73, 39] Generated Node #0,0,0: 76:[73, 39] Operation: 6+33=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[73, 39], Operations: ['88-55=33', '6+33=39'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,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