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
[ 18, 63, 79, 13 ]
26
[ "18+63=81", "81-79=2", "13*2=26" ]
Current State: 26:[18, 63, 79, 13], Operations: [] Exploring Operation: 18+63=81, Resulting Numbers: [79, 13, 81] Generated Node #2: [79, 13, 81] from Operation: 18+63=81 Current State: 26:[79, 13, 81], Operations: ['18+63=81'] Exploring Operation: 81-79=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 81-79=2 Current State: 26:[13, 2], Operations: ['18+63=81', '81-79=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[18, 63, 79, 13], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [18, 13, 16] Generated Node #0,0: 26:[18, 13, 16] Operation: 79-63=16 Exploring Operation: 63-18=45, Resulting Numbers: [79, 13, 45] Generated Node #0,1: 26:[79, 13, 45] Operation: 63-18=45 Exploring Operation: 79-18=61, Resulting Numbers: [63, 13, 61] Generated Node #0,2: 26:[63, 13, 61] Operation: 79-18=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[18, 13, 16], Operations: ['79-63=16'] Exploring Operation: 18-13=5, Resulting Numbers: [16, 5] Generated Node #0,0,0: 26:[16, 5] Operation: 18-13=5 Exploring Operation: 18-16=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 26:[13, 2] Operation: 18-16=2 Exploring Operation: 16-13=3, Resulting Numbers: [18, 3] Generated Node #0,0,2: 26:[18, 3] Operation: 16-13=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[13, 2], Operations: ['79-63=16', '18-16=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[18, 63, 79, 13], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [18, 13, 16] Generated Node #0,0: 26:[18, 13, 16] Operation: 79-63=16 Moving to Node #0,0 Current State: 26:[18, 13, 16], Operations: ['79-63=16'] Exploring Operation: 18-16=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 26:[13, 2] Operation: 18-16=2 Moving to Node #0,0,1 Current State: 26:[13, 2], Operations: ['79-63=16', '18-16=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 70, 72, 19, 56 ]
47
[ "72-70=2", "56/2=28", "19+28=47" ]
Current State: 47:[70, 72, 19, 56], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [19, 56, 2] Generated Node #2: [19, 56, 2] from Operation: 72-70=2 Current State: 47:[19, 56, 2], Operations: ['72-70=2'] Exploring Operation: 56/2=28, Resulting Numbers: [19, 28] Generated Node #3: [19, 28] from Operation: 56/2=28 Current State: 47:[19, 28], Operations: ['72-70=2', '56/2=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[70, 72, 19, 56], Operations: [] Exploring Operation: 70-19=51, Resulting Numbers: [72, 56, 51] Generated Node #0,0: 47:[72, 56, 51] Operation: 70-19=51 Moving to Node #0,0 Current State: 47:[72, 56, 51], Operations: ['70-19=51'] Exploring Operation: 72-56=16, Resulting Numbers: [51, 16] Generated Node #0,0,0: 47:[51, 16] Operation: 72-56=16 Moving to Node #0,0,0 Current State: 47:[51, 16], Operations: ['70-19=51', '72-56=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 90, 48, 79, 15 ]
44
[ "90+48=138", "79+15=94", "138-94=44" ]
Current State: 44:[90, 48, 79, 15], Operations: [] Exploring Operation: 90+48=138, Resulting Numbers: [79, 15, 138] Generated Node #2: [79, 15, 138] from Operation: 90+48=138 Current State: 44:[79, 15, 138], Operations: ['90+48=138'] Exploring Operation: 79+15=94, Resulting Numbers: [138, 94] Generated Node #3: [138, 94] from Operation: 79+15=94 Current State: 44:[138, 94], Operations: ['90+48=138', '79+15=94'] Exploring Operation: 138-94=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[90, 48, 79, 15], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [79, 15, 42] Generated Node #0,0: 44:[79, 15, 42] Operation: 90-48=42 Exploring Operation: 90-79=11, Resulting Numbers: [48, 15, 11] Generated Node #0,1: 44:[48, 15, 11] Operation: 90-79=11 Moving to Node #0,1 Current State: 44:[48, 15, 11], Operations: ['90-79=11'] Exploring Operation: 15-11=4, Resulting Numbers: [48, 4] Generated Node #0,1,0: 44:[48, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [48, 26] Generated Node #0,1,1: 44:[48, 26] Operation: 15+11=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[48, 4], Operations: ['90-79=11', '15-11=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[90, 48, 79, 15], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [48, 15, 11] Generated Node #0,1: 44:[48, 15, 11] Operation: 90-79=11 Moving to Node #0,1 Current State: 44:[48, 15, 11], Operations: ['90-79=11'] Exploring Operation: 15-11=4, Resulting Numbers: [48, 4] Generated Node #0,1,0: 44:[48, 4] Operation: 15-11=4 Moving to Node #0,1,0 Current State: 44:[48, 4], Operations: ['90-79=11', '15-11=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 4, 24, 24, 81 ]
51
[ "24/4=6", "81-24=57", "57-6=51" ]
Current State: 51:[4, 24, 24, 81], Operations: [] Exploring Operation: 24/4=6, Resulting Numbers: [81, 6] Generated Node #2: [81, 6] from Operation: 24/4=6 Current State: 51:[81, 6], Operations: ['24/4=6'] Exploring Operation: 81-24=57, Resulting Numbers: [6, 57] Generated Node #3: [6, 57] from Operation: 81-24=57 Current State: 51:[6, 57], Operations: ['24/4=6', '81-24=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[4, 24, 24, 81], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [4, 24, 57] Generated Node #0,0: 51:[4, 24, 57] Operation: 81-24=57 Exploring Operation: 81-24=57, Resulting Numbers: [4, 24, 57] Generated Node #0,1: 51:[4, 24, 57] Operation: 81-24=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[4, 24, 57], Operations: ['81-24=57'] Exploring Operation: 24/4=6, Resulting Numbers: [57, 6] Generated Node #0,0,0: 51:[57, 6] Operation: 24/4=6 Exploring Operation: 24-4=20, Resulting Numbers: [57, 20] Generated Node #0,0,1: 51:[57, 20] Operation: 24-4=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[57, 6], Operations: ['81-24=57', '24/4=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[4, 24, 24, 81], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [4, 24, 57] Generated Node #0,0: 51:[4, 24, 57] Operation: 81-24=57 Moving to Node #0,0 Current State: 51:[4, 24, 57], Operations: ['81-24=57'] Exploring Operation: 24/4=6, Resulting Numbers: [57, 6] Generated Node #0,0,0: 51:[57, 6] Operation: 24/4=6 Moving to Node #0,0,0 Current State: 51:[57, 6], Operations: ['81-24=57', '24/4=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 4, 44, 46, 24 ]
63
[ "44+24=68", "68/4=17", "46+17=63" ]
Current State: 63:[4, 44, 46, 24], Operations: [] Exploring Operation: 44+24=68, Resulting Numbers: [4, 46, 68] Generated Node #2: [4, 46, 68] from Operation: 44+24=68 Current State: 63:[4, 46, 68], Operations: ['44+24=68'] Exploring Operation: 68/4=17, Resulting Numbers: [46, 17] Generated Node #3: [46, 17] from Operation: 68/4=17 Current State: 63:[46, 17], Operations: ['44+24=68', '68/4=17'] Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[4, 44, 46, 24], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [4, 24, 2] Generated Node #0,0: 63:[4, 24, 2] Operation: 46-44=2 Exploring Operation: 44-24=20, Resulting Numbers: [4, 46, 20] Generated Node #0,1: 63:[4, 46, 20] Operation: 44-24=20 Exploring Operation: 46-24=22, Resulting Numbers: [4, 44, 22] Generated Node #0,2: 63:[4, 44, 22] Operation: 46-24=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[4, 24, 2], Operations: ['46-44=2'] Exploring Operation: 24-4=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 63:[2, 20] Operation: 24-4=20 Exploring Operation: 24/4=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 63:[2, 6] Operation: 24/4=6 Exploring Operation: 24-2=22, Resulting Numbers: [4, 22] Generated Node #0,0,2: 63:[4, 22] Operation: 24-2=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[2, 20], Operations: ['46-44=2', '24-4=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[2, 6], Operations: ['46-44=2', '24/4=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[4, 22], Operations: ['46-44=2', '24-2=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[4, 46, 20], Operations: ['44-24=20'] Exploring Operation: 4+46=50, Resulting Numbers: [20, 50] Generated Node #0,1,0: 63:[20, 50] Operation: 4+46=50 Exploring Operation: 46-20=26, Resulting Numbers: [4, 26] Generated Node #0,1,1: 63:[4, 26] Operation: 46-20=26 Exploring Operation: 46+20=66, Resulting Numbers: [4, 66] Generated Node #0,1,2: 63:[4, 66] Operation: 46+20=66 Moving to Node #0,1,2 Current State: 63:[4, 66], Operations: ['44-24=20', '46+20=66'] Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,63 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[4, 26], Operations: ['44-24=20', '46-20=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[20, 50], Operations: ['44-24=20', '4+46=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,63 unequal: No Solution Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[4, 44, 22], Operations: ['46-24=22'] Exploring Operation: 44/22=2, Resulting Numbers: [4, 2] Generated Node #0,2,0: 63:[4, 2] Operation: 44/22=2 Exploring Operation: 44/4=11, Resulting Numbers: [22, 11] Generated Node #0,2,1: 63:[22, 11] Operation: 44/4=11 Exploring Operation: 44-22=22, Resulting Numbers: [4, 22] Generated Node #0,2,2: 63:[4, 22] Operation: 44-22=22 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[4, 2], Operations: ['46-24=22', '44/22=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[4, 22], Operations: ['46-24=22', '44-22=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[22, 11], Operations: ['46-24=22', '44/4=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 10, 51, 84, 67 ]
14
[ "10+51=61", "67-61=6", "84/6=14" ]
Current State: 14:[10, 51, 84, 67], Operations: [] Exploring Operation: 10+51=61, Resulting Numbers: [84, 67, 61] Generated Node #2: [84, 67, 61] from Operation: 10+51=61 Current State: 14:[84, 67, 61], Operations: ['10+51=61'] Exploring Operation: 67-61=6, Resulting Numbers: [84, 6] Generated Node #3: [84, 6] from Operation: 67-61=6 Current State: 14:[84, 6], Operations: ['10+51=61', '67-61=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[10, 51, 84, 67], Operations: [] Exploring Operation: 84-67=17, Resulting Numbers: [10, 51, 17] Generated Node #0,0: 14:[10, 51, 17] Operation: 84-67=17 Exploring Operation: 84-51=33, Resulting Numbers: [10, 67, 33] Generated Node #0,1: 14:[10, 67, 33] Operation: 84-51=33 Moving to Node #0,0 Current State: 14:[10, 51, 17], Operations: ['84-67=17'] Exploring Operation: 51-17=34, Resulting Numbers: [10, 34] Generated Node #0,0,0: 14:[10, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 14:[10, 3] Operation: 51/17=3 Moving to Node #0,1 Current State: 14:[10, 67, 33], Operations: ['84-51=33'] Exploring Operation: 67-33=34, Resulting Numbers: [10, 34] Generated Node #0,1,0: 14:[10, 34] Operation: 67-33=34 Exploring Operation: 67-10=57, Resulting Numbers: [33, 57] Generated Node #0,1,1: 14:[33, 57] Operation: 67-10=57 Moving to Node #0,0,1 Current State: 14:[10, 3], Operations: ['84-67=17', '51/17=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[10, 34], Operations: ['84-51=33', '67-33=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[10, 34], Operations: ['84-67=17', '51-17=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[33, 57], Operations: ['84-51=33', '67-10=57'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,14 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 28, 92, 36, 4 ]
14
[ "92-36=56", "56/4=14", "28-14=14" ]
Current State: 14:[28, 92, 36, 4], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [28, 4, 56] Generated Node #2: [28, 4, 56] from Operation: 92-36=56 Current State: 14:[28, 4, 56], Operations: ['92-36=56'] Exploring Operation: 56/4=14, Resulting Numbers: [28, 14] Generated Node #3: [28, 14] from Operation: 56/4=14 Current State: 14:[28, 14], Operations: ['92-36=56', '56/4=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[28, 92, 36, 4], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [28, 4, 56] Generated Node #0,0: 14:[28, 4, 56] Operation: 92-36=56 Exploring Operation: 92/4=23, Resulting Numbers: [28, 36, 23] Generated Node #0,1: 14:[28, 36, 23] Operation: 92/4=23 Moving to Node #0,1 Current State: 14:[28, 36, 23], Operations: ['92/4=23'] Exploring Operation: 36-23=13, Resulting Numbers: [28, 13] Generated Node #0,1,0: 14:[28, 13] Operation: 36-23=13 Exploring Operation: 36-28=8, Resulting Numbers: [23, 8] Generated Node #0,1,1: 14:[23, 8] Operation: 36-28=8 Moving to Node #0,0 Current State: 14:[28, 4, 56], Operations: ['92-36=56'] Exploring Operation: 56/28=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 14:[4, 2] Operation: 56/28=2 Exploring Operation: 56/4=14, Resulting Numbers: [28, 14] Generated Node #0,0,1: 14:[28, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[4, 2], Operations: ['92-36=56', '56/28=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[28, 14], Operations: ['92-36=56', '56/4=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[28, 92, 36, 4], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [28, 4, 56] Generated Node #0,0: 14:[28, 4, 56] Operation: 92-36=56 Moving to Node #0,0 Current State: 14:[28, 4, 56], Operations: ['92-36=56'] Exploring Operation: 56/4=14, Resulting Numbers: [28, 14] Generated Node #0,0,1: 14:[28, 14] Operation: 56/4=14 Moving to Node #0,0,1 Current State: 14:[28, 14], Operations: ['92-36=56', '56/4=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 70, 96, 26, 94 ]
18
[ "96-94=2", "26*2=52", "70-52=18" ]
Current State: 18:[70, 96, 26, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [70, 26, 2] Generated Node #2: [70, 26, 2] from Operation: 96-94=2 Current State: 18:[70, 26, 2], Operations: ['96-94=2'] Exploring Operation: 26*2=52, Resulting Numbers: [70, 52] Generated Node #3: [70, 52] from Operation: 26*2=52 Current State: 18:[70, 52], Operations: ['96-94=2', '26*2=52'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[70, 96, 26, 94], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [26, 94, 26] Generated Node #0,0: 18:[26, 94, 26] Operation: 96-70=26 Exploring Operation: 96-94=2, Resulting Numbers: [70, 26, 2] Generated Node #0,1: 18:[70, 26, 2] Operation: 96-94=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[70, 26, 2], Operations: ['96-94=2'] Exploring Operation: 70/2=35, Resulting Numbers: [26, 35] Generated Node #0,1,0: 18:[26, 35] Operation: 70/2=35 Exploring Operation: 70-26=44, Resulting Numbers: [2, 44] Generated Node #0,1,1: 18:[2, 44] Operation: 70-26=44 Moving to Node #0,1,0 Current State: 18:[26, 35], Operations: ['96-94=2', '70/2=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,18 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[2, 44], Operations: ['96-94=2', '70-26=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[26, 94, 26], Operations: ['96-70=26'] Exploring Operation: 94-26=68, Resulting Numbers: [26, 68] Generated Node #0,0,0: 18:[26, 68] Operation: 94-26=68 Exploring Operation: 94-26=68, Resulting Numbers: [26, 68] Generated Node #0,0,1: 18:[26, 68] Operation: 94-26=68 Moving to Node #0,0,0 Current State: 18:[26, 68], Operations: ['96-70=26', '94-26=68'] Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,18 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[26, 68], Operations: ['96-70=26', '94-26=68'] Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,18 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,18 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
[ 12, 36, 25, 16 ]
33
[ "36-12=24", "25-16=9", "24+9=33" ]
Current State: 33:[12, 36, 25, 16], Operations: [] Exploring Operation: 36-12=24, Resulting Numbers: [25, 16, 24] Generated Node #2: [25, 16, 24] from Operation: 36-12=24 Current State: 33:[25, 16, 24], Operations: ['36-12=24'] Exploring Operation: 25-16=9, Resulting Numbers: [24, 9] Generated Node #3: [24, 9] from Operation: 25-16=9 Current State: 33:[24, 9], Operations: ['36-12=24', '25-16=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[12, 36, 25, 16], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [36, 25, 4] Generated Node #0,0: 33:[36, 25, 4] Operation: 16-12=4 Exploring Operation: 36-25=11, Resulting Numbers: [12, 16, 11] Generated Node #0,1: 33:[12, 16, 11] Operation: 36-25=11 Exploring Operation: 12+25=37, Resulting Numbers: [36, 16, 37] Generated Node #0,2: 33:[36, 16, 37] Operation: 12+25=37 Exploring Operation: 25-16=9, Resulting Numbers: [12, 36, 9] Generated Node #0,3: 33:[12, 36, 9] Operation: 25-16=9 Exploring Operation: 25-12=13, Resulting Numbers: [36, 16, 13] Generated Node #0,4: 33:[36, 16, 13] Operation: 25-12=13 Moving to Node #0,1 Current State: 33:[12, 16, 11], Operations: ['36-25=11'] Exploring Operation: 12+16=28, Resulting Numbers: [11, 28] Generated Node #0,1,0: 33:[11, 28] Operation: 12+16=28 Exploring Operation: 16-12=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 33:[11, 4] Operation: 16-12=4 Exploring Operation: 16-11=5, Resulting Numbers: [12, 5] Generated Node #0,1,2: 33:[12, 5] Operation: 16-11=5 Exploring Operation: 12-11=1, Resulting Numbers: [16, 1] Generated Node #0,1,3: 33:[16, 1] Operation: 12-11=1 Exploring Operation: 16+11=27, Resulting Numbers: [12, 27] Generated Node #0,1,4: 33:[12, 27] Operation: 16+11=27 Moving to Node #0,3 Current State: 33:[12, 36, 9], Operations: ['25-16=9'] Exploring Operation: 12-9=3, Resulting Numbers: [36, 3] Generated Node #0,3,0: 33:[36, 3] Operation: 12-9=3 Exploring Operation: 36-12=24, Resulting Numbers: [9, 24] Generated Node #0,3,1: 33:[9, 24] Operation: 36-12=24 Exploring Operation: 36-9=27, Resulting Numbers: [12, 27] Generated Node #0,3,2: 33:[12, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [12, 4] Generated Node #0,3,3: 33:[12, 4] Operation: 36/9=4 Exploring Operation: 36/12=3, Resulting Numbers: [9, 3] Generated Node #0,3,4: 33:[9, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[12, 4], Operations: ['25-16=9', '36/9=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 33:[9, 3], Operations: ['25-16=9', '36/12=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[36, 3], Operations: ['25-16=9', '12-9=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[12, 36, 25, 16], Operations: [] Exploring Operation: 25-16=9, Resulting Numbers: [12, 36, 9] Generated Node #0,3: 33:[12, 36, 9] Operation: 25-16=9 Moving to Node #0,3 Current State: 33:[12, 36, 9], Operations: ['25-16=9'] Exploring Operation: 12-9=3, Resulting Numbers: [36, 3] Generated Node #0,3,0: 33:[36, 3] Operation: 12-9=3 Moving to Node #0,3,0 Current State: 33:[36, 3], Operations: ['25-16=9', '12-9=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
sum_heuristic
[ 17, 76, 40, 47 ]
100
[ "17+76=93", "47-40=7", "93+7=100" ]
Current State: 100:[17, 76, 40, 47], Operations: [] Exploring Operation: 17+76=93, Resulting Numbers: [40, 47, 93] Generated Node #2: [40, 47, 93] from Operation: 17+76=93 Current State: 100:[40, 47, 93], Operations: ['17+76=93'] Exploring Operation: 47-40=7, Resulting Numbers: [93, 7] Generated Node #3: [93, 7] from Operation: 47-40=7 Current State: 100:[93, 7], Operations: ['17+76=93', '47-40=7'] Exploring Operation: 93+7=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[17, 76, 40, 47], Operations: [] Exploring Operation: 76-40=36, Resulting Numbers: [17, 47, 36] Generated Node #0,0: 100:[17, 47, 36] Operation: 76-40=36 Exploring Operation: 76-47=29, Resulting Numbers: [17, 40, 29] Generated Node #0,1: 100:[17, 40, 29] Operation: 76-47=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[17, 47, 36], Operations: ['76-40=36'] Exploring Operation: 47-36=11, Resulting Numbers: [17, 11] Generated Node #0,0,0: 100:[17, 11] Operation: 47-36=11 Exploring Operation: 36-17=19, Resulting Numbers: [47, 19] Generated Node #0,0,1: 100:[47, 19] Operation: 36-17=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[17, 11], Operations: ['76-40=36', '47-36=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,100 unequal: No Solution No 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: 100:[47, 19], Operations: ['76-40=36', '36-17=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,100 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: 100:[17, 40, 29], Operations: ['76-47=29'] Exploring Operation: 40-29=11, Resulting Numbers: [17, 11] Generated Node #0,1,0: 100:[17, 11] Operation: 40-29=11 Exploring Operation: 40-17=23, Resulting Numbers: [29, 23] Generated Node #0,1,1: 100:[29, 23] Operation: 40-17=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[17, 11], Operations: ['76-47=29', '40-29=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,100 unequal: No Solution No 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: 100:[29, 23], Operations: ['76-47=29', '40-17=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,100 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
[ 24, 33, 67, 21 ]
78
[ "24-21=3", "33/3=11", "67+11=78" ]
Current State: 78:[24, 33, 67, 21], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [33, 67, 3] Generated Node #2: [33, 67, 3] from Operation: 24-21=3 Current State: 78:[33, 67, 3], Operations: ['24-21=3'] Exploring Operation: 33/3=11, Resulting Numbers: [67, 11] Generated Node #3: [67, 11] from Operation: 33/3=11 Current State: 78:[67, 11], Operations: ['24-21=3', '33/3=11'] Exploring Operation: 67+11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[24, 33, 67, 21], Operations: [] Exploring Operation: 67-33=34, Resulting Numbers: [24, 21, 34] Generated Node #0,0: 78:[24, 21, 34] Operation: 67-33=34 Exploring Operation: 67-24=43, Resulting Numbers: [33, 21, 43] Generated Node #0,1: 78:[33, 21, 43] Operation: 67-24=43 Exploring Operation: 67-21=46, Resulting Numbers: [24, 33, 46] Generated Node #0,2: 78:[24, 33, 46] Operation: 67-21=46 Exploring Operation: 33-21=12, Resulting Numbers: [24, 67, 12] Generated Node #0,3: 78:[24, 67, 12] Operation: 33-21=12 Moving to Node #0,0 Current State: 78:[24, 21, 34], Operations: ['67-33=34'] Exploring Operation: 24-21=3, Resulting Numbers: [34, 3] Generated Node #0,0,0: 78:[34, 3] Operation: 24-21=3 Exploring Operation: 34-24=10, Resulting Numbers: [21, 10] Generated Node #0,0,1: 78:[21, 10] Operation: 34-24=10 Exploring Operation: 34-21=13, Resulting Numbers: [24, 13] Generated Node #0,0,2: 78:[24, 13] Operation: 34-21=13 Exploring Operation: 24+21=45, Resulting Numbers: [34, 45] Generated Node #0,0,3: 78:[34, 45] Operation: 24+21=45 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[24, 13], Operations: ['67-33=34', '34-21=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[34, 3], Operations: ['67-33=34', '24-21=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,78 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[21, 10], Operations: ['67-33=34', '34-24=10'] Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[34, 45], Operations: ['67-33=34', '24+21=45'] Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,78 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 78:[24, 67, 12], Operations: ['33-21=12'] Exploring Operation: 24/12=2, Resulting Numbers: [67, 2] Generated Node #0,3,0: 78:[67, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [67, 12] Generated Node #0,3,1: 78:[67, 12] Operation: 24-12=12 Exploring Operation: 67+12=79, Resulting Numbers: [24, 79] Generated Node #0,3,2: 78:[24, 79] Operation: 67+12=79 Exploring Operation: 67-24=43, Resulting Numbers: [12, 43] Generated Node #0,3,3: 78:[12, 43] Operation: 67-24=43 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[24, 79], Operations: ['33-21=12', '67+12=79'] Exploring Operation: 24*79=1896, Resulting Numbers: [1896] 1896,78 unequal: No Solution Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[12, 43], Operations: ['33-21=12', '67-24=43'] Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,78 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[67, 2], Operations: ['33-21=12', '24/12=2'] Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,78 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 78:[67, 12], Operations: ['33-21=12', '24-12=12'] Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[24, 33, 46], Operations: ['67-21=46'] Exploring Operation: 46-24=22, Resulting Numbers: [33, 22] Generated Node #0,2,0: 78:[33, 22] Operation: 46-24=22 Exploring Operation: 46-33=13, Resulting Numbers: [24, 13] Generated Node #0,2,1: 78:[24, 13] Operation: 46-33=13 Exploring Operation: 33-24=9, Resulting Numbers: [46, 9] Generated Node #0,2,2: 78:[46, 9] Operation: 33-24=9 Exploring Operation: 33+46=79, Resulting Numbers: [24, 79] Generated Node #0,2,3: 78:[24, 79] Operation: 33+46=79 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[24, 13], Operations: ['67-21=46', '46-33=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[24, 79], Operations: ['67-21=46', '33+46=79'] Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,78 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 24*79=1896, Resulting Numbers: [1896] 1896,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[33, 22], Operations: ['67-21=46', '46-24=22'] Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,78 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[46, 9], Operations: ['67-21=46', '33-24=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 78:[33, 21, 43], Operations: ['67-24=43'] Exploring Operation: 33-21=12, Resulting Numbers: [43, 12] Generated Node #0,1,0: 78:[43, 12] Operation: 33-21=12 Exploring Operation: 43-21=22, Resulting Numbers: [33, 22] Generated Node #0,1,1: 78:[33, 22] Operation: 43-21=22 Exploring Operation: 43-33=10, Resulting Numbers: [21, 10] Generated Node #0,1,2: 78:[21, 10] Operation: 43-33=10 Exploring Operation: 33+43=76, Resulting Numbers: [21, 76] Generated Node #0,1,3: 78:[21, 76] Operation: 33+43=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[43, 12], Operations: ['67-24=43', '33-21=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[21, 76], Operations: ['67-24=43', '33+43=76'] Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,78 unequal: No Solution Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,78 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[21, 10], Operations: ['67-24=43', '43-33=10'] Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[33, 22], Operations: ['67-24=43', '43-21=22'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,78 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 62, 51, 1, 53 ]
30
[ "53-51=2", "62/2=31", "31-1=30" ]
Current State: 30:[62, 51, 1, 53], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [62, 1, 2] Generated Node #2: [62, 1, 2] from Operation: 53-51=2 Current State: 30:[62, 1, 2], Operations: ['53-51=2'] Exploring Operation: 62/2=31, Resulting Numbers: [1, 31] Generated Node #3: [1, 31] from Operation: 62/2=31 Current State: 30:[1, 31], Operations: ['53-51=2', '62/2=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[62, 51, 1, 53], Operations: [] Exploring Operation: 62-51=11, Resulting Numbers: [1, 53, 11] Generated Node #0,0: 30:[1, 53, 11] Operation: 62-51=11 Exploring Operation: 51-1=50, Resulting Numbers: [62, 53, 50] Generated Node #0,1: 30:[62, 53, 50] Operation: 51-1=50 Exploring Operation: 62-53=9, Resulting Numbers: [51, 1, 9] Generated Node #0,2: 30:[51, 1, 9] Operation: 62-53=9 Exploring Operation: 62-1=61, Resulting Numbers: [51, 53, 61] Generated Node #0,3: 30:[51, 53, 61] Operation: 62-1=61 Exploring Operation: 53-51=2, Resulting Numbers: [62, 1, 2] Generated Node #0,4: 30:[62, 1, 2] Operation: 53-51=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[51, 1, 9], Operations: ['62-53=9'] Exploring Operation: 51/1=51, Resulting Numbers: [9, 51] Generated Node #0,2,0: 30:[9, 51] Operation: 51/1=51 Exploring Operation: 51*1=51, Resulting Numbers: [9, 51] Generated Node #0,2,1: 30:[9, 51] Operation: 51*1=51 Exploring Operation: 51-1=50, Resulting Numbers: [9, 50] Generated Node #0,2,2: 30:[9, 50] Operation: 51-1=50 Exploring Operation: 1+9=10, Resulting Numbers: [51, 10] Generated Node #0,2,3: 30:[51, 10] Operation: 1+9=10 Exploring Operation: 51-9=42, Resulting Numbers: [1, 42] Generated Node #0,2,4: 30:[1, 42] Operation: 51-9=42 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 30:[1, 42], Operations: ['62-53=9', '51-9=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,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,2,2 Current State: 30:[9, 50], Operations: ['62-53=9', '51-1=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,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,2,3 Current State: 30:[51, 10], Operations: ['62-53=9', '1+9=10'] Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,30 unequal: No Solution Exploring Operation: 51*10=510, Resulting Numbers: [510] 510,30 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,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,2,0 Current State: 30:[9, 51], Operations: ['62-53=9', '51/1=51'] Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,30 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,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,2,1 Current State: 30:[9, 51], Operations: ['62-53=9', '51*1=51'] Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,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,0 Current State: 30:[1, 53, 11], Operations: ['62-51=11'] Exploring Operation: 1*53=53, Resulting Numbers: [11, 53] Generated Node #0,0,0: 30:[11, 53] Operation: 1*53=53 Exploring Operation: 11-1=10, Resulting Numbers: [53, 10] Generated Node #0,0,1: 30:[53, 10] Operation: 11-1=10 Exploring Operation: 53-1=52, Resulting Numbers: [11, 52] Generated Node #0,0,2: 30:[11, 52] Operation: 53-1=52 Exploring Operation: 53/1=53, Resulting Numbers: [11, 53] Generated Node #0,0,3: 30:[11, 53] Operation: 53/1=53 Exploring Operation: 53-11=42, Resulting Numbers: [1, 42] Generated Node #0,0,4: 30:[1, 42] Operation: 53-11=42 Moving to Node #0,0,4 Current State: 30:[1, 42], Operations: ['62-51=11', '53-11=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[11, 52], Operations: ['62-51=11', '53-1=52'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,30 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[53, 10], Operations: ['62-51=11', '11-1=10'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[11, 53], Operations: ['62-51=11', '1*53=53'] Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,30 unequal: No Solution Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[11, 53], Operations: ['62-51=11', '53/1=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,30 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,30 unequal: No Solution No 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: 30:[62, 1, 2], Operations: ['53-51=2'] Exploring Operation: 62/1=62, Resulting Numbers: [2, 62] Generated Node #0,4,0: 30:[2, 62] Operation: 62/1=62 Exploring Operation: 62/2=31, Resulting Numbers: [1, 31] Generated Node #0,4,1: 30:[1, 31] Operation: 62/2=31 Exploring Operation: 62-1=61, Resulting Numbers: [2, 61] Generated Node #0,4,2: 30:[2, 61] Operation: 62-1=61 Exploring Operation: 62*1=62, Resulting Numbers: [2, 62] Generated Node #0,4,3: 30:[2, 62] Operation: 62*1=62 Exploring Operation: 62-2=60, Resulting Numbers: [1, 60] Generated Node #0,4,4: 30:[1, 60] Operation: 62-2=60 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 30:[1, 31], Operations: ['53-51=2', '62/2=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[62, 51, 1, 53], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [62, 1, 2] Generated Node #0,4: 30:[62, 1, 2] Operation: 53-51=2 Moving to Node #0,4 Current State: 30:[62, 1, 2], Operations: ['53-51=2'] Exploring Operation: 62/2=31, Resulting Numbers: [1, 31] Generated Node #0,4,1: 30:[1, 31] Operation: 62/2=31 Moving to Node #0,4,1 Current State: 30:[1, 31], Operations: ['53-51=2', '62/2=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
mult_heuristic
[ 97, 78, 39, 68 ]
58
[ "97-68=29", "78/39=2", "29*2=58" ]
Current State: 58:[97, 78, 39, 68], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [78, 39, 29] Generated Node #2: [78, 39, 29] from Operation: 97-68=29 Current State: 58:[78, 39, 29], Operations: ['97-68=29'] Exploring Operation: 78/39=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 78/39=2 Current State: 58:[29, 2], Operations: ['97-68=29', '78/39=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[97, 78, 39, 68], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [78, 68, 58] Generated Node #0,0: 58:[78, 68, 58] Operation: 97-39=58 Exploring Operation: 78-68=10, Resulting Numbers: [97, 39, 10] Generated Node #0,1: 58:[97, 39, 10] Operation: 78-68=10 Exploring Operation: 78/39=2, Resulting Numbers: [97, 68, 2] Generated Node #0,2: 58:[97, 68, 2] Operation: 78/39=2 Exploring Operation: 97-68=29, Resulting Numbers: [78, 39, 29] Generated Node #0,3: 58:[78, 39, 29] Operation: 97-68=29 Exploring Operation: 97-78=19, Resulting Numbers: [39, 68, 19] Generated Node #0,4: 58:[39, 68, 19] Operation: 97-78=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[78, 68, 58], Operations: ['97-39=58'] Exploring Operation: 78-68=10, Resulting Numbers: [58, 10] Generated Node #0,0,0: 58:[58, 10] Operation: 78-68=10 Exploring Operation: 78+58=136, Resulting Numbers: [68, 136] Generated Node #0,0,1: 58:[68, 136] Operation: 78+58=136 Exploring Operation: 78+68=146, Resulting Numbers: [58, 146] Generated Node #0,0,2: 58:[58, 146] Operation: 78+68=146 Exploring Operation: 78-58=20, Resulting Numbers: [68, 20] Generated Node #0,0,3: 58:[68, 20] Operation: 78-58=20 Exploring Operation: 68-58=10, Resulting Numbers: [78, 10] Generated Node #0,0,4: 58:[78, 10] Operation: 68-58=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[58, 10], Operations: ['97-39=58', '78-68=10'] Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,58 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 58:[68, 20], Operations: ['97-39=58', '78-58=20'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,58 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 58:[78, 10], Operations: ['97-39=58', '68-58=10'] Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,58 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[68, 136], Operations: ['97-39=58', '78+58=136'] Exploring Operation: 136-68=68, Resulting Numbers: [68] 68,58 unequal: No Solution Exploring Operation: 68+136=204, Resulting Numbers: [204] 204,58 unequal: No Solution Exploring Operation: 68*136=9248, Resulting Numbers: [9248] 9248,58 unequal: No Solution Exploring Operation: 136/68=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[58, 146], Operations: ['97-39=58', '78+68=146'] Exploring Operation: 146-58=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 58*146=8468, Resulting Numbers: [8468] 8468,58 unequal: No Solution Exploring Operation: 58+146=204, Resulting Numbers: [204] 204,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[78, 39, 29], Operations: ['97-68=29'] Exploring Operation: 39+29=68, Resulting Numbers: [78, 68] Generated Node #0,3,0: 58:[78, 68] Operation: 39+29=68 Exploring Operation: 78/39=2, Resulting Numbers: [29, 2] Generated Node #0,3,1: 58:[29, 2] Operation: 78/39=2 Exploring Operation: 78-29=49, Resulting Numbers: [39, 49] Generated Node #0,3,2: 58:[39, 49] Operation: 78-29=49 Exploring Operation: 78-39=39, Resulting Numbers: [29, 39] Generated Node #0,3,3: 58:[29, 39] Operation: 78-39=39 Exploring Operation: 39-29=10, Resulting Numbers: [78, 10] Generated Node #0,3,4: 58:[78, 10] Operation: 39-29=10 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 58:[29, 2], Operations: ['97-68=29', '78/39=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[97, 78, 39, 68], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [78, 39, 29] Generated Node #0,3: 58:[78, 39, 29] Operation: 97-68=29 Moving to Node #0,3 Current State: 58:[78, 39, 29], Operations: ['97-68=29'] Exploring Operation: 78/39=2, Resulting Numbers: [29, 2] Generated Node #0,3,1: 58:[29, 2] Operation: 78/39=2 Moving to Node #0,3,1 Current State: 58:[29, 2], Operations: ['97-68=29', '78/39=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 18, 82, 3, 99 ]
38
[ "82-18=64", "3+99=102", "102-64=38" ]
Current State: 38:[18, 82, 3, 99], Operations: [] Exploring Operation: 82-18=64, Resulting Numbers: [3, 99, 64] Generated Node #2: [3, 99, 64] from Operation: 82-18=64 Current State: 38:[3, 99, 64], Operations: ['82-18=64'] Exploring Operation: 3+99=102, Resulting Numbers: [64, 102] Generated Node #3: [64, 102] from Operation: 3+99=102 Current State: 38:[64, 102], Operations: ['82-18=64', '3+99=102'] Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[18, 82, 3, 99], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [18, 82, 33] Generated Node #0,0: 38:[18, 82, 33] Operation: 99/3=33 Exploring Operation: 82-18=64, Resulting Numbers: [3, 99, 64] Generated Node #0,1: 38:[3, 99, 64] Operation: 82-18=64 Exploring Operation: 99-82=17, Resulting Numbers: [18, 3, 17] Generated Node #0,2: 38:[18, 3, 17] Operation: 99-82=17 Moving to Node #0,2 Current State: 38:[18, 3, 17], Operations: ['99-82=17'] Exploring Operation: 3+17=20, Resulting Numbers: [18, 20] Generated Node #0,2,0: 38:[18, 20] Operation: 3+17=20 Exploring Operation: 18+3=21, Resulting Numbers: [17, 21] Generated Node #0,2,1: 38:[17, 21] Operation: 18+3=21 Exploring Operation: 18-17=1, Resulting Numbers: [3, 1] Generated Node #0,2,2: 38:[3, 1] Operation: 18-17=1 Moving to Node #0,0 Current State: 38:[18, 82, 33], Operations: ['99/3=33'] Exploring Operation: 82-18=64, Resulting Numbers: [33, 64] Generated Node #0,0,0: 38:[33, 64] Operation: 82-18=64 Exploring Operation: 82-33=49, Resulting Numbers: [18, 49] Generated Node #0,0,1: 38:[18, 49] Operation: 82-33=49 Exploring Operation: 33-18=15, Resulting Numbers: [82, 15] Generated Node #0,0,2: 38:[82, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[18, 49], Operations: ['99/3=33', '82-33=49'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,38 unequal: No Solution Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[33, 64], Operations: ['99/3=33', '82-18=64'] Exploring Operation: 33*64=2112, Resulting Numbers: [2112] 2112,38 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 33+64=97, Resulting Numbers: [97] 97,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[82, 15], Operations: ['99/3=33', '33-18=15'] Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,38 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,38 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 38:[3, 99, 64], Operations: ['82-18=64'] Exploring Operation: 99-3=96, Resulting Numbers: [64, 96] Generated Node #0,1,0: 38:[64, 96] Operation: 99-3=96 Exploring Operation: 99/3=33, Resulting Numbers: [64, 33] Generated Node #0,1,1: 38:[64, 33] Operation: 99/3=33 Exploring Operation: 99-64=35, Resulting Numbers: [3, 35] Generated Node #0,1,2: 38:[3, 35] Operation: 99-64=35 Moving to Node #0,2,0 Current State: 38:[18, 20], Operations: ['99-82=17', '3+17=20'] Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,38 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[18, 82, 3, 99], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [18, 3, 17] Generated Node #0,2: 38:[18, 3, 17] Operation: 99-82=17 Moving to Node #0,2 Current State: 38:[18, 3, 17], Operations: ['99-82=17'] Exploring Operation: 3+17=20, Resulting Numbers: [18, 20] Generated Node #0,2,0: 38:[18, 20] Operation: 3+17=20 Moving to Node #0,2,0 Current State: 38:[18, 20], Operations: ['99-82=17', '3+17=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 51, 97, 93, 82 ]
35
[ "97-51=46", "93-82=11", "46-11=35" ]
Current State: 35:[51, 97, 93, 82], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [93, 82, 46] Generated Node #2: [93, 82, 46] from Operation: 97-51=46 Current State: 35:[93, 82, 46], Operations: ['97-51=46'] Exploring Operation: 93-82=11, Resulting Numbers: [46, 11] Generated Node #3: [46, 11] from Operation: 93-82=11 Current State: 35:[46, 11], Operations: ['97-51=46', '93-82=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[51, 97, 93, 82], Operations: [] Exploring Operation: 97-82=15, Resulting Numbers: [51, 93, 15] Generated Node #0,0: 35:[51, 93, 15] Operation: 97-82=15 Exploring Operation: 97-93=4, Resulting Numbers: [51, 82, 4] Generated Node #0,1: 35:[51, 82, 4] Operation: 97-93=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[51, 82, 4], Operations: ['97-93=4'] Exploring Operation: 82-51=31, Resulting Numbers: [4, 31] Generated Node #0,1,0: 35:[4, 31] Operation: 82-51=31 Exploring Operation: 51-4=47, Resulting Numbers: [82, 47] Generated Node #0,1,1: 35:[82, 47] Operation: 51-4=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[4, 31], Operations: ['97-93=4', '82-51=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[51, 97, 93, 82], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [51, 82, 4] Generated Node #0,1: 35:[51, 82, 4] Operation: 97-93=4 Moving to Node #0,1 Current State: 35:[51, 82, 4], Operations: ['97-93=4'] Exploring Operation: 82-51=31, Resulting Numbers: [4, 31] Generated Node #0,1,0: 35:[4, 31] Operation: 82-51=31 Moving to Node #0,1,0 Current State: 35:[4, 31], Operations: ['97-93=4', '82-51=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 79, 71, 51, 54 ]
50
[ "79+71=150", "54-51=3", "150/3=50" ]
Current State: 50:[79, 71, 51, 54], Operations: [] Exploring Operation: 79+71=150, Resulting Numbers: [51, 54, 150] Generated Node #2: [51, 54, 150] from Operation: 79+71=150 Current State: 50:[51, 54, 150], Operations: ['79+71=150'] Exploring Operation: 54-51=3, Resulting Numbers: [150, 3] Generated Node #3: [150, 3] from Operation: 54-51=3 Current State: 50:[150, 3], Operations: ['79+71=150', '54-51=3'] Exploring Operation: 150/3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[79, 71, 51, 54], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [79, 51, 17] Generated Node #0,0: 50:[79, 51, 17] Operation: 71-54=17 Exploring Operation: 79-71=8, Resulting Numbers: [51, 54, 8] Generated Node #0,1: 50:[51, 54, 8] Operation: 79-71=8 Exploring Operation: 79-51=28, Resulting Numbers: [71, 54, 28] Generated Node #0,2: 50:[71, 54, 28] Operation: 79-51=28 Exploring Operation: 71-51=20, Resulting Numbers: [79, 54, 20] Generated Node #0,3: 50:[79, 54, 20] Operation: 71-51=20 Exploring Operation: 79-54=25, Resulting Numbers: [71, 51, 25] Generated Node #0,4: 50:[71, 51, 25] Operation: 79-54=25 Moving to Node #0,1 Current State: 50:[51, 54, 8], Operations: ['79-71=8'] Exploring Operation: 51-8=43, Resulting Numbers: [54, 43] Generated Node #0,1,0: 50:[54, 43] Operation: 51-8=43 Exploring Operation: 54-8=46, Resulting Numbers: [51, 46] Generated Node #0,1,1: 50:[51, 46] Operation: 54-8=46 Exploring Operation: 54-51=3, Resulting Numbers: [8, 3] Generated Node #0,1,2: 50:[8, 3] Operation: 54-51=3 Exploring Operation: 54+8=62, Resulting Numbers: [51, 62] Generated Node #0,1,3: 50:[51, 62] Operation: 54+8=62 Exploring Operation: 51+8=59, Resulting Numbers: [54, 59] Generated Node #0,1,4: 50:[54, 59] Operation: 51+8=59 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[8, 3], Operations: ['79-71=8', '54-51=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[51, 46], Operations: ['79-71=8', '54-8=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,50 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[54, 43], Operations: ['79-71=8', '51-8=43'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,50 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[51, 62], Operations: ['79-71=8', '54+8=62'] Exploring Operation: 51+62=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 51*62=3162, Resulting Numbers: [3162] 3162,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 50:[54, 59], Operations: ['79-71=8', '51+8=59'] Exploring Operation: 54+59=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 54*59=3186, Resulting Numbers: [3186] 3186,50 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,50 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: 50:[71, 51, 25], Operations: ['79-54=25'] Exploring Operation: 51-25=26, Resulting Numbers: [71, 26] Generated Node #0,4,0: 50:[71, 26] Operation: 51-25=26 Exploring Operation: 71-25=46, Resulting Numbers: [51, 46] Generated Node #0,4,1: 50:[51, 46] Operation: 71-25=46 Exploring Operation: 71-51=20, Resulting Numbers: [25, 20] Generated Node #0,4,2: 50:[25, 20] Operation: 71-51=20 Exploring Operation: 51+25=76, Resulting Numbers: [71, 76] Generated Node #0,4,3: 50:[71, 76] Operation: 51+25=76 Exploring Operation: 71+25=96, Resulting Numbers: [51, 96] Generated Node #0,4,4: 50:[51, 96] Operation: 71+25=96 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 50:[51, 46], Operations: ['79-54=25', '71-25=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,50 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 50:[25, 20], Operations: ['79-54=25', '71-51=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,50 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 50:[71, 26], Operations: ['79-54=25', '51-25=26'] Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,50 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 50:[71, 76], Operations: ['79-54=25', '51+25=76'] Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,50 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 50:[51, 96], Operations: ['79-54=25', '71+25=96'] Exploring Operation: 51*96=4896, Resulting Numbers: [4896] 4896,50 unequal: No Solution Exploring Operation: 51+96=147, Resulting Numbers: [147] 147,50 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 50:[71, 54, 28], Operations: ['79-51=28'] Exploring Operation: 54+28=82, Resulting Numbers: [71, 82] Generated Node #0,2,0: 50:[71, 82] Operation: 54+28=82 Exploring Operation: 71-54=17, Resulting Numbers: [28, 17] Generated Node #0,2,1: 50:[28, 17] Operation: 71-54=17 Exploring Operation: 71+28=99, Resulting Numbers: [54, 99] Generated Node #0,2,2: 50:[54, 99] Operation: 71+28=99 Exploring Operation: 71-28=43, Resulting Numbers: [54, 43] Generated Node #0,2,3: 50:[54, 43] Operation: 71-28=43 Exploring Operation: 54-28=26, Resulting Numbers: [71, 26] Generated Node #0,2,4: 50:[71, 26] Operation: 54-28=26 Moving to Node #0,0 Current State: 50:[79, 51, 17], Operations: ['71-54=17'] Exploring Operation: 79+17=96, Resulting Numbers: [51, 96] Generated Node #0,0,0: 50:[51, 96] Operation: 79+17=96 Exploring Operation: 79-51=28, Resulting Numbers: [17, 28] Generated Node #0,0,1: 50:[17, 28] Operation: 79-51=28 Exploring Operation: 51-17=34, Resulting Numbers: [79, 34] Generated Node #0,0,2: 50:[79, 34] Operation: 51-17=34 Exploring Operation: 79-17=62, Resulting Numbers: [51, 62] Generated Node #0,0,3: 50:[51, 62] Operation: 79-17=62 Exploring Operation: 51/17=3, Resulting Numbers: [79, 3] Generated Node #0,0,4: 50:[79, 3] Operation: 51/17=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[17, 28], Operations: ['71-54=17', '79-51=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,50 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,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,0,3 Current State: 50:[51, 62], Operations: ['71-54=17', '79-17=62'] Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 51+62=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 51*62=3162, Resulting Numbers: [3162] 3162,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,0,4 Current State: 50:[79, 3], Operations: ['71-54=17', '51/17=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,50 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,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,0,2 Current State: 50:[79, 34], Operations: ['71-54=17', '51-17=34'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,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,0,0 Current State: 50:[51, 96], Operations: ['71-54=17', '79+17=96'] Exploring Operation: 51*96=4896, Resulting Numbers: [4896] 4896,50 unequal: No Solution Exploring Operation: 51+96=147, Resulting Numbers: [147] 147,50 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,50 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: 50:[79, 54, 20], Operations: ['71-51=20'] Exploring Operation: 79-20=59, Resulting Numbers: [54, 59] Generated Node #0,3,0: 50:[54, 59] Operation: 79-20=59 Exploring Operation: 54-20=34, Resulting Numbers: [79, 34] Generated Node #0,3,1: 50:[79, 34] Operation: 54-20=34 Exploring Operation: 79+20=99, Resulting Numbers: [54, 99] Generated Node #0,3,2: 50:[54, 99] Operation: 79+20=99 Exploring Operation: 54+20=74, Resulting Numbers: [79, 74] Generated Node #0,3,3: 50:[79, 74] Operation: 54+20=74 Exploring Operation: 79-54=25, Resulting Numbers: [20, 25] Generated Node #0,3,4: 50:[20, 25] Operation: 79-54=25 Moving to Node #0,3,4 Current State: 50:[20, 25], Operations: ['71-51=20', '79-54=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,50 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[28, 17], Operations: ['79-51=28', '71-54=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,50 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[54, 43], Operations: ['79-51=28', '71-28=43'] Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,50 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,50 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[54, 59], Operations: ['71-51=20', '79-20=59'] Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 54+59=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 54*59=3186, Resulting Numbers: [3186] 3186,50 unequal: No Solution Moving to Node #0,2,4 Current State: 50:[71, 26], Operations: ['79-51=28', '54-28=26'] Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,50 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[79, 34], Operations: ['71-51=20', '54-20=34'] Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,50 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[54, 99], Operations: ['71-51=20', '79+20=99'] Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,50 unequal: No Solution Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[79, 74], Operations: ['71-51=20', '54+20=74'] Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,50 unequal: No Solution Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,50 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[54, 99], Operations: ['79-51=28', '71+28=99'] Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,50 unequal: No Solution Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[71, 82], Operations: ['79-51=28', '54+28=82'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,50 unequal: No Solution Exploring Operation: 71*82=5822, Resulting Numbers: [5822] 5822,50 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 14, 14, 70, 94 ]
32
[ "14*14=196", "70+94=164", "196-164=32" ]
Current State: 32:[14, 14, 70, 94], Operations: [] Exploring Operation: 14*14=196, Resulting Numbers: [70, 94, 196] Generated Node #2: [70, 94, 196] from Operation: 14*14=196 Current State: 32:[70, 94, 196], Operations: ['14*14=196'] Exploring Operation: 70+94=164, Resulting Numbers: [196, 164] Generated Node #3: [196, 164] from Operation: 70+94=164 Current State: 32:[196, 164], Operations: ['14*14=196', '70+94=164'] Exploring Operation: 196-164=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[14, 14, 70, 94], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [14, 14, 24] Generated Node #0,0: 32:[14, 14, 24] Operation: 94-70=24 Exploring Operation: 70/14=5, Resulting Numbers: [14, 94, 5] Generated Node #0,1: 32:[14, 94, 5] Operation: 70/14=5 Exploring Operation: 70/14=5, Resulting Numbers: [14, 94, 5] Generated Node #0,2: 32:[14, 94, 5] Operation: 70/14=5 Exploring Operation: 70-14=56, Resulting Numbers: [14, 94, 56] Generated Node #0,3: 32:[14, 94, 56] Operation: 70-14=56 Moving to Node #0,0 Current State: 32:[14, 14, 24], Operations: ['94-70=24'] Exploring Operation: 24-14=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 32:[14, 10] Operation: 24-14=10 Exploring Operation: 24-14=10, Resulting Numbers: [14, 10] Generated Node #0,0,1: 32:[14, 10] Operation: 24-14=10 Exploring Operation: 14+24=38, Resulting Numbers: [14, 38] Generated Node #0,0,2: 32:[14, 38] Operation: 14+24=38 Exploring Operation: 14+24=38, Resulting Numbers: [14, 38] Generated Node #0,0,3: 32:[14, 38] Operation: 14+24=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[14, 10], Operations: ['94-70=24', '24-14=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,32 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[14, 10], Operations: ['94-70=24', '24-14=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,32 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[14, 38], Operations: ['94-70=24', '14+24=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,32 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[14, 38], Operations: ['94-70=24', '14+24=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,32 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,32 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: 32:[14, 94, 5], Operations: ['70/14=5'] Exploring Operation: 94-5=89, Resulting Numbers: [14, 89] Generated Node #0,2,0: 32:[14, 89] Operation: 94-5=89 Exploring Operation: 94-14=80, Resulting Numbers: [5, 80] Generated Node #0,2,1: 32:[5, 80] Operation: 94-14=80 Exploring Operation: 14-5=9, Resulting Numbers: [94, 9] Generated Node #0,2,2: 32:[94, 9] Operation: 14-5=9 Exploring Operation: 14+5=19, Resulting Numbers: [94, 19] Generated Node #0,2,3: 32:[94, 19] Operation: 14+5=19 Moving to Node #0,1 Current State: 32:[14, 94, 5], Operations: ['70/14=5'] Exploring Operation: 94-5=89, Resulting Numbers: [14, 89] Generated Node #0,1,0: 32:[14, 89] Operation: 94-5=89 Exploring Operation: 14+5=19, Resulting Numbers: [94, 19] Generated Node #0,1,1: 32:[94, 19] Operation: 14+5=19 Exploring Operation: 94-14=80, Resulting Numbers: [5, 80] Generated Node #0,1,2: 32:[5, 80] Operation: 94-14=80 Exploring Operation: 14-5=9, Resulting Numbers: [94, 9] Generated Node #0,1,3: 32:[94, 9] Operation: 14-5=9 Moving to Node #0,3 Current State: 32:[14, 94, 56], Operations: ['70-14=56'] Exploring Operation: 56-14=42, Resulting Numbers: [94, 42] Generated Node #0,3,0: 32:[94, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [94, 4] Generated Node #0,3,1: 32:[94, 4] Operation: 56/14=4 Exploring Operation: 94-56=38, Resulting Numbers: [14, 38] Generated Node #0,3,2: 32:[14, 38] Operation: 94-56=38 Exploring Operation: 94-14=80, Resulting Numbers: [56, 80] Generated Node #0,3,3: 32:[56, 80] Operation: 94-14=80 Moving to Node #0,3,2 Current State: 32:[14, 38], Operations: ['70-14=56', '94-56=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,32 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[5, 80], Operations: ['70/14=5', '94-14=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,32 unequal: No Solution Exploring Operation: 5*80=400, Resulting Numbers: [400] 400,32 unequal: No Solution Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,32 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[5, 80], Operations: ['70/14=5', '94-14=80'] Exploring Operation: 5*80=400, Resulting Numbers: [400] 400,32 unequal: No Solution Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,32 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[14, 89], Operations: ['70/14=5', '94-5=89'] Exploring Operation: 14+89=103, Resulting Numbers: [103] 103,32 unequal: No Solution Exploring Operation: 14*89=1246, Resulting Numbers: [1246] 1246,32 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[14, 89], Operations: ['70/14=5', '94-5=89'] Exploring Operation: 14*89=1246, Resulting Numbers: [1246] 1246,32 unequal: No Solution Exploring Operation: 14+89=103, Resulting Numbers: [103] 103,32 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[94, 4], Operations: ['70-14=56', '56/14=4'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,32 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,32 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[94, 9], Operations: ['70/14=5', '14-5=9'] Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,32 unequal: No Solution Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,32 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[94, 9], Operations: ['70/14=5', '14-5=9'] Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,32 unequal: No Solution Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,32 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[94, 19], Operations: ['70/14=5', '14+5=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,32 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,32 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[94, 19], Operations: ['70/14=5', '14+5=19'] Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,32 unequal: No Solution Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,32 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[56, 80], Operations: ['70-14=56', '94-14=80'] Exploring Operation: 56+80=136, Resulting Numbers: [136] 136,32 unequal: No Solution Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 56*80=4480, Resulting Numbers: [4480] 4480,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[94, 42], Operations: ['70-14=56', '56-14=42'] Exploring Operation: 94*42=3948, Resulting Numbers: [3948] 3948,32 unequal: No Solution Exploring Operation: 94+42=136, Resulting Numbers: [136] 136,32 unequal: No Solution Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,32 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 6, 55, 57, 71 ]
79
[ "55-6=49", "57+71=128", "128-49=79" ]
Current State: 79:[6, 55, 57, 71], Operations: [] Exploring Operation: 55-6=49, Resulting Numbers: [57, 71, 49] Generated Node #2: [57, 71, 49] from Operation: 55-6=49 Current State: 79:[57, 71, 49], Operations: ['55-6=49'] Exploring Operation: 57+71=128, Resulting Numbers: [49, 128] Generated Node #3: [49, 128] from Operation: 57+71=128 Current State: 79:[49, 128], Operations: ['55-6=49', '57+71=128'] Exploring Operation: 128-49=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[6, 55, 57, 71], Operations: [] Exploring Operation: 6+57=63, Resulting Numbers: [55, 71, 63] Generated Node #0,0: 79:[55, 71, 63] Operation: 6+57=63 Exploring Operation: 6+55=61, Resulting Numbers: [57, 71, 61] Generated Node #0,1: 79:[57, 71, 61] Operation: 6+55=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[55, 71, 63], Operations: ['6+57=63'] Exploring Operation: 55+63=118, Resulting Numbers: [71, 118] Generated Node #0,0,0: 79:[71, 118] Operation: 55+63=118 Exploring Operation: 55+71=126, Resulting Numbers: [63, 126] Generated Node #0,0,1: 79:[63, 126] Operation: 55+71=126 Moving to Node #0,0,0 Current State: 79:[71, 118], Operations: ['6+57=63', '55+63=118'] Exploring Operation: 118-71=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 71+118=189, Resulting Numbers: [189] 189,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[63, 126], Operations: ['6+57=63', '55+71=126'] Exploring Operation: 126-63=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 126/63=2, Resulting Numbers: [2] 2,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[57, 71, 61], Operations: ['6+55=61'] Exploring Operation: 57+61=118, Resulting Numbers: [71, 118] Generated Node #0,1,0: 79:[71, 118] Operation: 57+61=118 Exploring Operation: 57+71=128, Resulting Numbers: [61, 128] Generated Node #0,1,1: 79:[61, 128] Operation: 57+71=128 Moving to Node #0,1,0 Current State: 79:[71, 118], Operations: ['6+55=61', '57+61=118'] Exploring Operation: 118-71=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 71+118=189, Resulting Numbers: [189] 189,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[61, 128], Operations: ['6+55=61', '57+71=128'] Exploring Operation: 128-61=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 61+128=189, Resulting Numbers: [189] 189,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 36, 66, 95, 51 ]
44
[ "36+66=102", "95+51=146", "146-102=44" ]
Current State: 44:[36, 66, 95, 51], Operations: [] Exploring Operation: 36+66=102, Resulting Numbers: [95, 51, 102] Generated Node #2: [95, 51, 102] from Operation: 36+66=102 Current State: 44:[95, 51, 102], Operations: ['36+66=102'] Exploring Operation: 95+51=146, Resulting Numbers: [102, 146] Generated Node #3: [102, 146] from Operation: 95+51=146 Current State: 44:[102, 146], Operations: ['36+66=102', '95+51=146'] Exploring Operation: 146-102=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[36, 66, 95, 51], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [36, 66, 44] Generated Node #0,0: 44:[36, 66, 44] Operation: 95-51=44 Exploring Operation: 95-36=59, Resulting Numbers: [66, 51, 59] Generated Node #0,1: 44:[66, 51, 59] Operation: 95-36=59 Exploring Operation: 95-66=29, Resulting Numbers: [36, 51, 29] Generated Node #0,2: 44:[36, 51, 29] Operation: 95-66=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[36, 51, 29], Operations: ['95-66=29'] Exploring Operation: 51-36=15, Resulting Numbers: [29, 15] Generated Node #0,2,0: 44:[29, 15] Operation: 51-36=15 Exploring Operation: 51-29=22, Resulting Numbers: [36, 22] Generated Node #0,2,1: 44:[36, 22] Operation: 51-29=22 Exploring Operation: 36-29=7, Resulting Numbers: [51, 7] Generated Node #0,2,2: 44:[51, 7] Operation: 36-29=7 Moving to Node #0,2,1 Current State: 44:[36, 22], Operations: ['95-66=29', '51-29=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[51, 7], Operations: ['95-66=29', '36-29=7'] Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,44 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[36, 66, 95, 51], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [36, 51, 29] Generated Node #0,2: 44:[36, 51, 29] Operation: 95-66=29 Moving to Node #0,2 Current State: 44:[36, 51, 29], Operations: ['95-66=29'] Exploring Operation: 36-29=7, Resulting Numbers: [51, 7] Generated Node #0,2,2: 44:[51, 7] Operation: 36-29=7 Moving to Node #0,2,2 Current State: 44:[51, 7], Operations: ['95-66=29', '36-29=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 13, 8, 21, 18 ]
97
[ "18-13=5", "21*5=105", "105-8=97" ]
Current State: 97:[13, 8, 21, 18], Operations: [] Exploring Operation: 18-13=5, Resulting Numbers: [8, 21, 5] Generated Node #2: [8, 21, 5] from Operation: 18-13=5 Current State: 97:[8, 21, 5], Operations: ['18-13=5'] Exploring Operation: 21*5=105, Resulting Numbers: [8, 105] Generated Node #3: [8, 105] from Operation: 21*5=105 Current State: 97:[8, 105], Operations: ['18-13=5', '21*5=105'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[13, 8, 21, 18], Operations: [] Exploring Operation: 13+8=21, Resulting Numbers: [21, 18, 21] Generated Node #0,0: 97:[21, 18, 21] Operation: 13+8=21 Exploring Operation: 13*8=104, Resulting Numbers: [21, 18, 104] Generated Node #0,1: 97:[21, 18, 104] Operation: 13*8=104 Exploring Operation: 13+21=34, Resulting Numbers: [8, 18, 34] Generated Node #0,2: 97:[8, 18, 34] Operation: 13+21=34 Exploring Operation: 8*18=144, Resulting Numbers: [13, 21, 144] Generated Node #0,3: 97:[13, 21, 144] Operation: 8*18=144 Moving to Node #0,1 Current State: 97:[21, 18, 104], Operations: ['13*8=104'] Exploring Operation: 21+18=39, Resulting Numbers: [104, 39] Generated Node #0,1,0: 97:[104, 39] Operation: 21+18=39 Exploring Operation: 21-18=3, Resulting Numbers: [104, 3] Generated Node #0,1,1: 97:[104, 3] Operation: 21-18=3 Exploring Operation: 104-18=86, Resulting Numbers: [21, 86] Generated Node #0,1,2: 97:[21, 86] Operation: 104-18=86 Exploring Operation: 104-21=83, Resulting Numbers: [18, 83] Generated Node #0,1,3: 97:[18, 83] Operation: 104-21=83 Moving to Node #0,3 Current State: 97:[13, 21, 144], Operations: ['8*18=144'] Exploring Operation: 21-13=8, Resulting Numbers: [144, 8] Generated Node #0,3,0: 97:[144, 8] Operation: 21-13=8 Exploring Operation: 144-13=131, Resulting Numbers: [21, 131] Generated Node #0,3,1: 97:[21, 131] Operation: 144-13=131 Exploring Operation: 144-21=123, Resulting Numbers: [13, 123] Generated Node #0,3,2: 97:[13, 123] Operation: 144-21=123 Exploring Operation: 13+21=34, Resulting Numbers: [144, 34] Generated Node #0,3,3: 97:[144, 34] Operation: 13+21=34 Moving to Node #0,2 Current State: 97:[8, 18, 34], Operations: ['13+21=34'] Exploring Operation: 8+34=42, Resulting Numbers: [18, 42] Generated Node #0,2,0: 97:[18, 42] Operation: 8+34=42 Exploring Operation: 8+18=26, Resulting Numbers: [34, 26] Generated Node #0,2,1: 97:[34, 26] Operation: 8+18=26 Exploring Operation: 8*18=144, Resulting Numbers: [34, 144] Generated Node #0,2,2: 97:[34, 144] Operation: 8*18=144 Exploring Operation: 18+34=52, Resulting Numbers: [8, 52] Generated Node #0,2,3: 97:[8, 52] Operation: 18+34=52 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[34, 144], Operations: ['13+21=34', '8*18=144'] Exploring Operation: 34+144=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 34*144=4896, Resulting Numbers: [4896] 4896,97 unequal: No Solution Exploring Operation: 144-34=110, Resulting Numbers: [110] 110,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[18, 42], Operations: ['13+21=34', '8+34=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,97 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,97 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[34, 26], Operations: ['13+21=34', '8+18=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,97 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[8, 52], Operations: ['13+21=34', '18+34=52'] Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,97 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,97 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: 97:[21, 18, 21], Operations: ['13+8=21'] Exploring Operation: 21-18=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 97:[21, 3] Operation: 21-18=3 Exploring Operation: 21+18=39, Resulting Numbers: [21, 39] Generated Node #0,0,1: 97:[21, 39] Operation: 21+18=39 Exploring Operation: 21+21=42, Resulting Numbers: [18, 42] Generated Node #0,0,2: 97:[18, 42] Operation: 21+21=42 Exploring Operation: 18+21=39, Resulting Numbers: [21, 39] Generated Node #0,0,3: 97:[21, 39] Operation: 18+21=39 Moving to Node #0,1,0 Current State: 97:[104, 39], Operations: ['13*8=104', '21+18=39'] Exploring Operation: 104*39=4056, Resulting Numbers: [4056] 4056,97 unequal: No Solution Exploring Operation: 104+39=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 104-39=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[21, 86], Operations: ['13*8=104', '104-18=86'] Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,97 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[18, 83], Operations: ['13*8=104', '104-21=83'] Exploring Operation: 18*83=1494, Resulting Numbers: [1494] 1494,97 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 18+83=101, Resulting Numbers: [101] 101,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[104, 3], Operations: ['13*8=104', '21-18=3'] Exploring Operation: 104*3=312, Resulting Numbers: [312] 312,97 unequal: No Solution Exploring Operation: 104-3=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 104+3=107, Resulting Numbers: [107] 107,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[144, 34], Operations: ['8*18=144', '13+21=34'] Exploring Operation: 144-34=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 144*34=4896, Resulting Numbers: [4896] 4896,97 unequal: No Solution Exploring Operation: 144+34=178, Resulting Numbers: [178] 178,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[13, 123], Operations: ['8*18=144', '144-21=123'] Exploring Operation: 13*123=1599, Resulting Numbers: [1599] 1599,97 unequal: No Solution Exploring Operation: 13+123=136, Resulting Numbers: [136] 136,97 unequal: No Solution Exploring Operation: 123-13=110, Resulting Numbers: [110] 110,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[21, 131], Operations: ['8*18=144', '144-13=131'] Exploring Operation: 131-21=110, Resulting Numbers: [110] 110,97 unequal: No Solution Exploring Operation: 21*131=2751, Resulting Numbers: [2751] 2751,97 unequal: No Solution Exploring Operation: 21+131=152, Resulting Numbers: [152] 152,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[21, 39], Operations: ['13+8=21', '18+21=39'] Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,97 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,97 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[18, 42], Operations: ['13+8=21', '21+21=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,97 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[21, 39], Operations: ['13+8=21', '21+18=39'] Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,97 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,97 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[144, 8], Operations: ['8*18=144', '21-13=8'] Exploring Operation: 144/8=18, Resulting Numbers: [18] 18,97 unequal: No Solution Exploring Operation: 144+8=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 144-8=136, Resulting Numbers: [136] 136,97 unequal: No Solution Exploring Operation: 144*8=1152, Resulting Numbers: [1152] 1152,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[21, 3], Operations: ['13+8=21', '21-18=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,97 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 13, 13, 12, 86 ]
99
[ "13/13=1", "12+86=98", "1+98=99" ]
Current State: 99:[13, 13, 12, 86], Operations: [] Exploring Operation: 13/13=1, Resulting Numbers: [12, 86, 1] Generated Node #2: [12, 86, 1] from Operation: 13/13=1 Current State: 99:[12, 86, 1], Operations: ['13/13=1'] Exploring Operation: 12+86=98, Resulting Numbers: [1, 98] Generated Node #3: [1, 98] from Operation: 12+86=98 Current State: 99:[1, 98], Operations: ['13/13=1', '12+86=98'] Exploring Operation: 1+98=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[13, 13, 12, 86], Operations: [] Exploring Operation: 13+86=99, Resulting Numbers: [13, 12, 99] Generated Node #0,0: 99:[13, 12, 99] Operation: 13+86=99 Exploring Operation: 12+86=98, Resulting Numbers: [13, 13, 98] Generated Node #0,1: 99:[13, 13, 98] Operation: 12+86=98 Exploring Operation: 13/13=1, Resulting Numbers: [12, 86, 1] Generated Node #0,2: 99:[12, 86, 1] Operation: 13/13=1 Exploring Operation: 13+86=99, Resulting Numbers: [13, 12, 99] Generated Node #0,3: 99:[13, 12, 99] Operation: 13+86=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[13, 12, 99], Operations: ['13+86=99'] Exploring Operation: 13+12=25, Resulting Numbers: [99, 25] Generated Node #0,0,0: 99:[99, 25] Operation: 13+12=25 Exploring Operation: 99-13=86, Resulting Numbers: [12, 86] Generated Node #0,0,1: 99:[12, 86] Operation: 99-13=86 Exploring Operation: 13+99=112, Resulting Numbers: [12, 112] Generated Node #0,0,2: 99:[12, 112] Operation: 13+99=112 Exploring Operation: 13-12=1, Resulting Numbers: [99, 1] Generated Node #0,0,3: 99:[99, 1] Operation: 13-12=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 99:[99, 1], Operations: ['13+86=99', '13-12=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[13, 13, 12, 86], Operations: [] Exploring Operation: 13+86=99, Resulting Numbers: [13, 12, 99] Generated Node #0,0: 99:[13, 12, 99] Operation: 13+86=99 Moving to Node #0,0 Current State: 99:[13, 12, 99], Operations: ['13+86=99'] Exploring Operation: 13-12=1, Resulting Numbers: [99, 1] Generated Node #0,0,3: 99:[99, 1] Operation: 13-12=1 Moving to Node #0,0,3 Current State: 99:[99, 1], Operations: ['13+86=99', '13-12=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 12, 96, 33, 48 ]
23
[ "96/12=8", "48-33=15", "8+15=23" ]
Current State: 23:[12, 96, 33, 48], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [33, 48, 8] Generated Node #2: [33, 48, 8] from Operation: 96/12=8 Current State: 23:[33, 48, 8], Operations: ['96/12=8'] Exploring Operation: 48-33=15, Resulting Numbers: [8, 15] Generated Node #3: [8, 15] from Operation: 48-33=15 Current State: 23:[8, 15], Operations: ['96/12=8', '48-33=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[12, 96, 33, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [12, 33, 2] Generated Node #0,0: 23:[12, 33, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [12, 33, 48] Generated Node #0,1: 23:[12, 33, 48] Operation: 96-48=48 Exploring Operation: 96/12=8, Resulting Numbers: [33, 48, 8] Generated Node #0,2: 23:[33, 48, 8] Operation: 96/12=8 Exploring Operation: 96-33=63, Resulting Numbers: [12, 48, 63] Generated Node #0,3: 23:[12, 48, 63] Operation: 96-33=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[12, 33, 2], Operations: ['96/48=2'] Exploring Operation: 33-12=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 23:[2, 21] Operation: 33-12=21 Exploring Operation: 12*2=24, Resulting Numbers: [33, 24] Generated Node #0,0,1: 23:[33, 24] Operation: 12*2=24 Exploring Operation: 33-2=31, Resulting Numbers: [12, 31] Generated Node #0,0,2: 23:[12, 31] Operation: 33-2=31 Exploring Operation: 12+2=14, Resulting Numbers: [33, 14] Generated Node #0,0,3: 23:[33, 14] Operation: 12+2=14 Moving to Node #0,0,1 Current State: 23:[33, 24], Operations: ['96/48=2', '12*2=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[33, 14], Operations: ['96/48=2', '12+2=14'] Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,23 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[12, 31], Operations: ['96/48=2', '33-2=31'] Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[2, 21], Operations: ['96/48=2', '33-12=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[12, 96, 33, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [12, 33, 2] Generated Node #0,0: 23:[12, 33, 2] Operation: 96/48=2 Moving to Node #0,0 Current State: 23:[12, 33, 2], Operations: ['96/48=2'] Exploring Operation: 33-12=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 23:[2, 21] Operation: 33-12=21 Moving to Node #0,0,0 Current State: 23:[2, 21], Operations: ['96/48=2', '33-12=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 27, 49, 40, 35 ]
86
[ "40-35=5", "27*5=135", "135-49=86" ]
Current State: 86:[27, 49, 40, 35], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [27, 49, 5] Generated Node #2: [27, 49, 5] from Operation: 40-35=5 Current State: 86:[27, 49, 5], Operations: ['40-35=5'] Exploring Operation: 27*5=135, Resulting Numbers: [49, 135] Generated Node #3: [49, 135] from Operation: 27*5=135 Current State: 86:[49, 135], Operations: ['40-35=5', '27*5=135'] Exploring Operation: 135-49=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[27, 49, 40, 35], Operations: [] Exploring Operation: 49+35=84, Resulting Numbers: [27, 40, 84] Generated Node #0,0: 86:[27, 40, 84] Operation: 49+35=84 Exploring Operation: 40-27=13, Resulting Numbers: [49, 35, 13] Generated Node #0,1: 86:[49, 35, 13] Operation: 40-27=13 Exploring Operation: 40-35=5, Resulting Numbers: [27, 49, 5] Generated Node #0,2: 86:[27, 49, 5] Operation: 40-35=5 Exploring Operation: 35-27=8, Resulting Numbers: [49, 40, 8] Generated Node #0,3: 86:[49, 40, 8] Operation: 35-27=8 Exploring Operation: 27+49=76, Resulting Numbers: [40, 35, 76] Generated Node #0,4: 86:[40, 35, 76] Operation: 27+49=76 Moving to Node #0,3 Current State: 86:[49, 40, 8], Operations: ['35-27=8'] Exploring Operation: 40/8=5, Resulting Numbers: [49, 5] Generated Node #0,3,0: 86:[49, 5] Operation: 40/8=5 Exploring Operation: 40+8=48, Resulting Numbers: [49, 48] Generated Node #0,3,1: 86:[49, 48] Operation: 40+8=48 Exploring Operation: 49-8=41, Resulting Numbers: [40, 41] Generated Node #0,3,2: 86:[40, 41] Operation: 49-8=41 Exploring Operation: 49+40=89, Resulting Numbers: [8, 89] Generated Node #0,3,3: 86:[8, 89] Operation: 49+40=89 Exploring Operation: 49-40=9, Resulting Numbers: [8, 9] Generated Node #0,3,4: 86:[8, 9] Operation: 49-40=9 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[40, 41], Operations: ['35-27=8', '49-8=41'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 40+41=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 40*41=1640, Resulting Numbers: [1640] 1640,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[49, 5], Operations: ['35-27=8', '40/8=5'] Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,86 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[8, 89], Operations: ['35-27=8', '49+40=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 8*89=712, Resulting Numbers: [712] 712,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[49, 48], Operations: ['35-27=8', '40+8=48'] Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 86:[8, 9], Operations: ['35-27=8', '49-40=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,86 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: 86:[40, 35, 76], Operations: ['27+49=76'] Exploring Operation: 40-35=5, Resulting Numbers: [76, 5] Generated Node #0,4,0: 86:[76, 5] Operation: 40-35=5 Exploring Operation: 76-40=36, Resulting Numbers: [35, 36] Generated Node #0,4,1: 86:[35, 36] Operation: 76-40=36 Exploring Operation: 76-35=41, Resulting Numbers: [40, 41] Generated Node #0,4,2: 86:[40, 41] Operation: 76-35=41 Exploring Operation: 40+35=75, Resulting Numbers: [76, 75] Generated Node #0,4,3: 86:[76, 75] Operation: 40+35=75 Exploring Operation: 35+76=111, Resulting Numbers: [40, 111] Generated Node #0,4,4: 86:[40, 111] Operation: 35+76=111 Moving to Node #0,0 Current State: 86:[27, 40, 84], Operations: ['49+35=84'] Exploring Operation: 27+40=67, Resulting Numbers: [84, 67] Generated Node #0,0,0: 86:[84, 67] Operation: 27+40=67 Exploring Operation: 40-27=13, Resulting Numbers: [84, 13] Generated Node #0,0,1: 86:[84, 13] Operation: 40-27=13 Exploring Operation: 84-27=57, Resulting Numbers: [40, 57] Generated Node #0,0,2: 86:[40, 57] Operation: 84-27=57 Exploring Operation: 27+84=111, Resulting Numbers: [40, 111] Generated Node #0,0,3: 86:[40, 111] Operation: 27+84=111 Exploring Operation: 84-40=44, Resulting Numbers: [27, 44] Generated Node #0,0,4: 86:[27, 44] Operation: 84-40=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[84, 13], Operations: ['49+35=84', '40-27=13'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[40, 57], Operations: ['49+35=84', '84-27=57'] Exploring Operation: 40*57=2280, Resulting Numbers: [2280] 2280,86 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 86:[27, 44], Operations: ['49+35=84', '84-40=44'] Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[84, 67], Operations: ['49+35=84', '27+40=67'] Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,86 unequal: No Solution Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,86 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[40, 111], Operations: ['49+35=84', '27+84=111'] Exploring Operation: 111-40=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 40*111=4440, Resulting Numbers: [4440] 4440,86 unequal: No Solution Exploring Operation: 40+111=151, Resulting Numbers: [151] 151,86 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: 86:[49, 35, 13], Operations: ['40-27=13'] Exploring Operation: 49-13=36, Resulting Numbers: [35, 36] Generated Node #0,1,0: 86:[35, 36] Operation: 49-13=36 Exploring Operation: 35+13=48, Resulting Numbers: [49, 48] Generated Node #0,1,1: 86:[49, 48] Operation: 35+13=48 Exploring Operation: 49-35=14, Resulting Numbers: [13, 14] Generated Node #0,1,2: 86:[13, 14] Operation: 49-35=14 Exploring Operation: 49+35=84, Resulting Numbers: [13, 84] Generated Node #0,1,3: 86:[13, 84] Operation: 49+35=84 Exploring Operation: 35-13=22, Resulting Numbers: [49, 22] Generated Node #0,1,4: 86:[49, 22] Operation: 35-13=22 Moving to Node #0,2 Current State: 86:[27, 49, 5], Operations: ['40-35=5'] Exploring Operation: 49-5=44, Resulting Numbers: [27, 44] Generated Node #0,2,0: 86:[27, 44] Operation: 49-5=44 Exploring Operation: 27-5=22, Resulting Numbers: [49, 22] Generated Node #0,2,1: 86:[49, 22] Operation: 27-5=22 Exploring Operation: 49-27=22, Resulting Numbers: [5, 22] Generated Node #0,2,2: 86:[5, 22] Operation: 49-27=22 Exploring Operation: 27+49=76, Resulting Numbers: [5, 76] Generated Node #0,2,3: 86:[5, 76] Operation: 27+49=76 Exploring Operation: 27+5=32, Resulting Numbers: [49, 32] Generated Node #0,2,4: 86:[49, 32] Operation: 27+5=32 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[5, 76], Operations: ['40-35=5', '27+49=76'] Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,86 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[27, 44], Operations: ['40-35=5', '49-5=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,86 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 86:[49, 32], Operations: ['40-35=5', '27+5=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,86 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[5, 22], Operations: ['40-35=5', '49-27=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[49, 22], Operations: ['40-35=5', '27-5=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,86 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 86:[40, 41], Operations: ['27+49=76', '76-35=41'] Exploring Operation: 40*41=1640, Resulting Numbers: [1640] 1640,86 unequal: No Solution Exploring Operation: 40+41=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[49, 48], Operations: ['40-27=13', '35+13=48'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[13, 84], Operations: ['40-27=13', '49+35=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 13*84=1092, Resulting Numbers: [1092] 1092,86 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[76, 5], Operations: ['27+49=76', '40-35=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,86 unequal: No Solution Moving to Node #0,4,1 Current State: 86:[35, 36], Operations: ['27+49=76', '76-40=36'] Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,86 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[35, 36], Operations: ['40-27=13', '49-13=36'] Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,86 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[76, 75], Operations: ['27+49=76', '40+35=75'] Exploring Operation: 76*75=5700, Resulting Numbers: [5700] 5700,86 unequal: No Solution Exploring Operation: 76+75=151, Resulting Numbers: [151] 151,86 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[13, 14], Operations: ['40-27=13', '49-35=14'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[49, 22], Operations: ['40-27=13', '35-13=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,86 unequal: No Solution Moving to Node #0,4,4 Current State: 86:[40, 111], Operations: ['27+49=76', '35+76=111'] Exploring Operation: 40*111=4440, Resulting Numbers: [4440] 4440,86 unequal: No Solution Exploring Operation: 111-40=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 40+111=151, Resulting Numbers: [151] 151,86 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 20, 32, 41, 24 ]
52
[ "20*41=820", "32*24=768", "820-768=52" ]
Current State: 52:[20, 32, 41, 24], Operations: [] Exploring Operation: 20*41=820, Resulting Numbers: [32, 24, 820] Generated Node #2: [32, 24, 820] from Operation: 20*41=820 Current State: 52:[32, 24, 820], Operations: ['20*41=820'] Exploring Operation: 32*24=768, Resulting Numbers: [820, 768] Generated Node #3: [820, 768] from Operation: 32*24=768 Current State: 52:[820, 768], Operations: ['20*41=820', '32*24=768'] Exploring Operation: 820-768=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[20, 32, 41, 24], Operations: [] Exploring Operation: 41-32=9, Resulting Numbers: [20, 24, 9] Generated Node #0,0: 52:[20, 24, 9] Operation: 41-32=9 Exploring Operation: 41-20=21, Resulting Numbers: [32, 24, 21] Generated Node #0,1: 52:[32, 24, 21] Operation: 41-20=21 Exploring Operation: 20+32=52, Resulting Numbers: [41, 24, 52] Generated Node #0,2: 52:[41, 24, 52] Operation: 20+32=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[20, 24, 9], Operations: ['41-32=9'] Exploring Operation: 20+9=29, Resulting Numbers: [24, 29] Generated Node #0,0,0: 52:[24, 29] Operation: 20+9=29 Exploring Operation: 20-9=11, Resulting Numbers: [24, 11] Generated Node #0,0,1: 52:[24, 11] Operation: 20-9=11 Exploring Operation: 24-20=4, Resulting Numbers: [9, 4] Generated Node #0,0,2: 52:[9, 4] Operation: 24-20=4 Moving to Node #0,0,1 Current State: 52:[24, 11], Operations: ['41-32=9', '20-9=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,52 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[9, 4], Operations: ['41-32=9', '24-20=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[24, 29], Operations: ['41-32=9', '20+9=29'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,52 unequal: No Solution Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[32, 24, 21], Operations: ['41-20=21'] Exploring Operation: 24-21=3, Resulting Numbers: [32, 3] Generated Node #0,1,0: 52:[32, 3] Operation: 24-21=3 Exploring Operation: 32-21=11, Resulting Numbers: [24, 11] Generated Node #0,1,1: 52:[24, 11] Operation: 32-21=11 Exploring Operation: 32+21=53, Resulting Numbers: [24, 53] Generated Node #0,1,2: 52:[24, 53] Operation: 32+21=53 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[24, 53], Operations: ['41-20=21', '32+21=53'] Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[24, 11], Operations: ['41-20=21', '32-21=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,52 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[32, 3], Operations: ['41-20=21', '24-21=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[41, 24, 52], Operations: ['20+32=52'] Exploring Operation: 52-41=11, Resulting Numbers: [24, 11] Generated Node #0,2,0: 52:[24, 11] Operation: 52-41=11 Exploring Operation: 41-24=17, Resulting Numbers: [52, 17] Generated Node #0,2,1: 52:[52, 17] Operation: 41-24=17 Exploring Operation: 41+24=65, Resulting Numbers: [52, 65] Generated Node #0,2,2: 52:[52, 65] Operation: 41+24=65 Moving to Node #0,2,0 Current State: 52:[24, 11], Operations: ['20+32=52', '52-41=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,52 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[52, 17], Operations: ['20+32=52', '41-24=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,52 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[52, 65], Operations: ['20+32=52', '41+24=65'] Exploring Operation: 52+65=117, Resulting Numbers: [117] 117,52 unequal: No Solution Exploring Operation: 52*65=3380, Resulting Numbers: [3380] 3380,52 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,52 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
[ 30, 75, 67, 45 ]
63
[ "75+45=120", "120/30=4", "67-4=63" ]
Current State: 63:[30, 75, 67, 45], Operations: [] Exploring Operation: 75+45=120, Resulting Numbers: [30, 67, 120] Generated Node #2: [30, 67, 120] from Operation: 75+45=120 Current State: 63:[30, 67, 120], Operations: ['75+45=120'] Exploring Operation: 120/30=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 120/30=4 Current State: 63:[67, 4], Operations: ['75+45=120', '120/30=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[30, 75, 67, 45], Operations: [] Exploring Operation: 45-30=15, Resulting Numbers: [75, 67, 15] Generated Node #0,0: 63:[75, 67, 15] Operation: 45-30=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[75, 67, 15], Operations: ['45-30=15'] Exploring Operation: 75/15=5, Resulting Numbers: [67, 5] Generated Node #0,0,0: 63:[67, 5] Operation: 75/15=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[67, 5], Operations: ['45-30=15', '75/15=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 42, 22, 75 ]
41
[ "96+42=138", "22+75=97", "138-97=41" ]
Current State: 41:[96, 42, 22, 75], Operations: [] Exploring Operation: 96+42=138, Resulting Numbers: [22, 75, 138] Generated Node #2: [22, 75, 138] from Operation: 96+42=138 Current State: 41:[22, 75, 138], Operations: ['96+42=138'] Exploring Operation: 22+75=97, Resulting Numbers: [138, 97] Generated Node #3: [138, 97] from Operation: 22+75=97 Current State: 41:[138, 97], Operations: ['96+42=138', '22+75=97'] Exploring Operation: 138-97=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[96, 42, 22, 75], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [42, 22, 21] Generated Node #0,0: 41:[42, 22, 21] Operation: 96-75=21 Exploring Operation: 96-42=54, Resulting Numbers: [22, 75, 54] Generated Node #0,1: 41:[22, 75, 54] Operation: 96-42=54 Exploring Operation: 96-22=74, Resulting Numbers: [42, 75, 74] Generated Node #0,2: 41:[42, 75, 74] Operation: 96-22=74 Moving to Node #0,0 Current State: 41:[42, 22, 21], Operations: ['96-75=21'] Exploring Operation: 42-21=21, Resulting Numbers: [22, 21] Generated Node #0,0,0: 41:[22, 21] Operation: 42-21=21 Exploring Operation: 22+21=43, Resulting Numbers: [42, 43] Generated Node #0,0,1: 41:[42, 43] Operation: 22+21=43 Exploring Operation: 42-22=20, Resulting Numbers: [21, 20] Generated Node #0,0,2: 41:[21, 20] Operation: 42-22=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[42, 43], Operations: ['96-75=21', '22+21=43'] Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,41 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,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,0,0 Current State: 41:[22, 21], Operations: ['96-75=21', '42-21=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,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,0,2 Current State: 41:[21, 20], Operations: ['96-75=21', '42-22=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[96, 42, 22, 75], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [42, 22, 21] Generated Node #0,0: 41:[42, 22, 21] Operation: 96-75=21 Moving to Node #0,0 Current State: 41:[42, 22, 21], Operations: ['96-75=21'] Exploring Operation: 42-22=20, Resulting Numbers: [21, 20] Generated Node #0,0,2: 41:[21, 20] Operation: 42-22=20 Moving to Node #0,0,2 Current State: 41:[21, 20], Operations: ['96-75=21', '42-22=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 78, 53, 45, 11 ]
81
[ "78-53=25", "45+11=56", "25+56=81" ]
Current State: 81:[78, 53, 45, 11], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [45, 11, 25] Generated Node #2: [45, 11, 25] from Operation: 78-53=25 Current State: 81:[45, 11, 25], Operations: ['78-53=25'] Exploring Operation: 45+11=56, Resulting Numbers: [25, 56] Generated Node #3: [25, 56] from Operation: 45+11=56 Current State: 81:[25, 56], Operations: ['78-53=25', '45+11=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[78, 53, 45, 11], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [45, 11, 25] Generated Node #0,0: 81:[45, 11, 25] Operation: 78-53=25 Exploring Operation: 53-45=8, Resulting Numbers: [78, 11, 8] Generated Node #0,1: 81:[78, 11, 8] Operation: 53-45=8 Exploring Operation: 53+45=98, Resulting Numbers: [78, 11, 98] Generated Node #0,2: 81:[78, 11, 98] Operation: 53+45=98 Moving to Node #0,1 Current State: 81:[78, 11, 8], Operations: ['53-45=8'] Exploring Operation: 11-8=3, Resulting Numbers: [78, 3] Generated Node #0,1,0: 81:[78, 3] Operation: 11-8=3 Exploring Operation: 78+8=86, Resulting Numbers: [11, 86] Generated Node #0,1,1: 81:[11, 86] Operation: 78+8=86 Exploring Operation: 78+11=89, Resulting Numbers: [8, 89] Generated Node #0,1,2: 81:[8, 89] Operation: 78+11=89 Moving to Node #0,0 Current State: 81:[45, 11, 25], Operations: ['78-53=25'] Exploring Operation: 45-25=20, Resulting Numbers: [11, 20] Generated Node #0,0,0: 81:[11, 20] Operation: 45-25=20 Exploring Operation: 45+25=70, Resulting Numbers: [11, 70] Generated Node #0,0,1: 81:[11, 70] Operation: 45+25=70 Exploring Operation: 45-11=34, Resulting Numbers: [25, 34] Generated Node #0,0,2: 81:[25, 34] Operation: 45-11=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[11, 20], Operations: ['78-53=25', '45-25=20'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[25, 34], Operations: ['78-53=25', '45-11=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,81 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,81 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[11, 70], Operations: ['78-53=25', '45+25=70'] Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[78, 53, 45, 11], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [45, 11, 25] Generated Node #0,0: 81:[45, 11, 25] Operation: 78-53=25 Moving to Node #0,0 Current State: 81:[45, 11, 25], Operations: ['78-53=25'] Exploring Operation: 45+25=70, Resulting Numbers: [11, 70] Generated Node #0,0,1: 81:[11, 70] Operation: 45+25=70 Moving to Node #0,0,1 Current State: 81:[11, 70], Operations: ['78-53=25', '45+25=70'] Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 30, 9, 6, 84 ]
35
[ "30-9=21", "84/6=14", "21+14=35" ]
Current State: 35:[30, 9, 6, 84], Operations: [] Exploring Operation: 30-9=21, Resulting Numbers: [6, 84, 21] Generated Node #2: [6, 84, 21] from Operation: 30-9=21 Current State: 35:[6, 84, 21], Operations: ['30-9=21'] Exploring Operation: 84/6=14, Resulting Numbers: [21, 14] Generated Node #3: [21, 14] from Operation: 84/6=14 Current State: 35:[21, 14], Operations: ['30-9=21', '84/6=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[30, 9, 6, 84], Operations: [] Exploring Operation: 84-6=78, Resulting Numbers: [30, 9, 78] Generated Node #0,0: 35:[30, 9, 78] Operation: 84-6=78 Exploring Operation: 84-30=54, Resulting Numbers: [9, 6, 54] Generated Node #0,1: 35:[9, 6, 54] Operation: 84-30=54 Exploring Operation: 84-9=75, Resulting Numbers: [30, 6, 75] Generated Node #0,2: 35:[30, 6, 75] Operation: 84-9=75 Exploring Operation: 84/6=14, Resulting Numbers: [30, 9, 14] Generated Node #0,3: 35:[30, 9, 14] Operation: 84/6=14 Moving to Node #0,3 Current State: 35:[30, 9, 14], Operations: ['84/6=14'] Exploring Operation: 30+9=39, Resulting Numbers: [14, 39] Generated Node #0,3,0: 35:[14, 39] Operation: 30+9=39 Exploring Operation: 14-9=5, Resulting Numbers: [30, 5] Generated Node #0,3,1: 35:[30, 5] Operation: 14-9=5 Exploring Operation: 30+14=44, Resulting Numbers: [9, 44] Generated Node #0,3,2: 35:[9, 44] Operation: 30+14=44 Exploring Operation: 30-14=16, Resulting Numbers: [9, 16] Generated Node #0,3,3: 35:[9, 16] Operation: 30-14=16 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[30, 5], Operations: ['84/6=14', '14-9=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[30, 9, 6, 84], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [30, 9, 14] Generated Node #0,3: 35:[30, 9, 14] Operation: 84/6=14 Moving to Node #0,3 Current State: 35:[30, 9, 14], Operations: ['84/6=14'] Exploring Operation: 14-9=5, Resulting Numbers: [30, 5] Generated Node #0,3,1: 35:[30, 5] Operation: 14-9=5 Moving to Node #0,3,1 Current State: 35:[30, 5], Operations: ['84/6=14', '14-9=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 33, 27, 36, 58 ]
82
[ "33+27=60", "58-36=22", "60+22=82" ]
Current State: 82:[33, 27, 36, 58], Operations: [] Exploring Operation: 33+27=60, Resulting Numbers: [36, 58, 60] Generated Node #2: [36, 58, 60] from Operation: 33+27=60 Current State: 82:[36, 58, 60], Operations: ['33+27=60'] Exploring Operation: 58-36=22, Resulting Numbers: [60, 22] Generated Node #3: [60, 22] from Operation: 58-36=22 Current State: 82:[60, 22], Operations: ['33+27=60', '58-36=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[33, 27, 36, 58], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [33, 36, 85] Generated Node #0,0: 82:[33, 36, 85] Operation: 27+58=85 Moving to Node #0,0 Current State: 82:[33, 36, 85], Operations: ['27+58=85'] Exploring Operation: 36-33=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 36-33=3 Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['27+58=85', '36-33=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[33, 27, 36, 58], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [33, 36, 85] Generated Node #0,0: 82:[33, 36, 85] Operation: 27+58=85 Moving to Node #0,0 Current State: 82:[33, 36, 85], Operations: ['27+58=85'] Exploring Operation: 36-33=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 36-33=3 Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['27+58=85', '36-33=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 68, 77, 86, 65 ]
30
[ "77-68=9", "86-65=21", "9+21=30" ]
Current State: 30:[68, 77, 86, 65], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [86, 65, 9] Generated Node #2: [86, 65, 9] from Operation: 77-68=9 Current State: 30:[86, 65, 9], Operations: ['77-68=9'] Exploring Operation: 86-65=21, Resulting Numbers: [9, 21] Generated Node #3: [9, 21] from Operation: 86-65=21 Current State: 30:[9, 21], Operations: ['77-68=9', '86-65=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[68, 77, 86, 65], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [86, 65, 9] Generated Node #0,0: 30:[86, 65, 9] Operation: 77-68=9 Exploring Operation: 86-77=9, Resulting Numbers: [68, 65, 9] Generated Node #0,1: 30:[68, 65, 9] Operation: 86-77=9 Exploring Operation: 86-65=21, Resulting Numbers: [68, 77, 21] Generated Node #0,2: 30:[68, 77, 21] Operation: 86-65=21 Exploring Operation: 86-68=18, Resulting Numbers: [77, 65, 18] Generated Node #0,3: 30:[77, 65, 18] Operation: 86-68=18 Moving to Node #0,1 Current State: 30:[68, 65, 9], Operations: ['86-77=9'] Exploring Operation: 68-9=59, Resulting Numbers: [65, 59] Generated Node #0,1,0: 30:[65, 59] Operation: 68-9=59 Exploring Operation: 68-65=3, Resulting Numbers: [9, 3] Generated Node #0,1,1: 30:[9, 3] Operation: 68-65=3 Exploring Operation: 68+9=77, Resulting Numbers: [65, 77] Generated Node #0,1,2: 30:[65, 77] Operation: 68+9=77 Exploring Operation: 65-9=56, Resulting Numbers: [68, 56] Generated Node #0,1,3: 30:[68, 56] Operation: 65-9=56 Moving to Node #0,3 Current State: 30:[77, 65, 18], Operations: ['86-68=18'] Exploring Operation: 65-18=47, Resulting Numbers: [77, 47] Generated Node #0,3,0: 30:[77, 47] Operation: 65-18=47 Exploring Operation: 77-65=12, Resulting Numbers: [18, 12] Generated Node #0,3,1: 30:[18, 12] Operation: 77-65=12 Exploring Operation: 77+18=95, Resulting Numbers: [65, 95] Generated Node #0,3,2: 30:[65, 95] Operation: 77+18=95 Exploring Operation: 77-18=59, Resulting Numbers: [65, 59] Generated Node #0,3,3: 30:[65, 59] Operation: 77-18=59 Moving to Node #0,2 Current State: 30:[68, 77, 21], Operations: ['86-65=21'] Exploring Operation: 68+21=89, Resulting Numbers: [77, 89] Generated Node #0,2,0: 30:[77, 89] Operation: 68+21=89 Exploring Operation: 68-21=47, Resulting Numbers: [77, 47] Generated Node #0,2,1: 30:[77, 47] Operation: 68-21=47 Exploring Operation: 77-68=9, Resulting Numbers: [21, 9] Generated Node #0,2,2: 30:[21, 9] Operation: 77-68=9 Exploring Operation: 77-21=56, Resulting Numbers: [68, 56] Generated Node #0,2,3: 30:[68, 56] Operation: 77-21=56 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[21, 9], Operations: ['86-65=21', '77-68=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,30 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[68, 77, 86, 65], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [68, 77, 21] Generated Node #0,2: 30:[68, 77, 21] Operation: 86-65=21 Moving to Node #0,2 Current State: 30:[68, 77, 21], Operations: ['86-65=21'] Exploring Operation: 77-68=9, Resulting Numbers: [21, 9] Generated Node #0,2,2: 30:[21, 9] Operation: 77-68=9 Moving to Node #0,2,2 Current State: 30:[21, 9], Operations: ['86-65=21', '77-68=9'] Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 11, 3, 10, 40 ]
15
[ "11-3=8", "40/8=5", "10+5=15" ]
Current State: 15:[11, 3, 10, 40], Operations: [] Exploring Operation: 11-3=8, Resulting Numbers: [10, 40, 8] Generated Node #2: [10, 40, 8] from Operation: 11-3=8 Current State: 15:[10, 40, 8], Operations: ['11-3=8'] Exploring Operation: 40/8=5, Resulting Numbers: [10, 5] Generated Node #3: [10, 5] from Operation: 40/8=5 Current State: 15:[10, 5], Operations: ['11-3=8', '40/8=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[11, 3, 10, 40], Operations: [] Exploring Operation: 40/10=4, Resulting Numbers: [11, 3, 4] Generated Node #0,0: 15:[11, 3, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[11, 3, 4], Operations: ['40/10=4'] Exploring Operation: 11+4=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 15:[3, 15] Operation: 11+4=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[3, 15], Operations: ['40/10=4', '11+4=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,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_1
mult_heuristic
[ 25, 91, 57, 82 ]
91
[ "25+91=116", "82-57=25", "116-25=91" ]
Current State: 91:[25, 91, 57, 82], Operations: [] Exploring Operation: 25+91=116, Resulting Numbers: [57, 82, 116] Generated Node #2: [57, 82, 116] from Operation: 25+91=116 Current State: 91:[57, 82, 116], Operations: ['25+91=116'] Exploring Operation: 82-57=25, Resulting Numbers: [116, 25] Generated Node #3: [116, 25] from Operation: 82-57=25 Current State: 91:[116, 25], Operations: ['25+91=116', '82-57=25'] Exploring Operation: 116-25=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[25, 91, 57, 82], Operations: [] Exploring Operation: 25+57=82, Resulting Numbers: [91, 82, 82] Generated Node #0,0: 91:[91, 82, 82] Operation: 25+57=82 Exploring Operation: 82-57=25, Resulting Numbers: [25, 91, 25] Generated Node #0,1: 91:[25, 91, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 91:[91, 82, 82], Operations: ['25+57=82'] Exploring Operation: 82-82=0, Resulting Numbers: [91, 0] Generated Node #0,0,0: 91:[91, 0] Operation: 82-82=0 Exploring Operation: 82/82=1, Resulting Numbers: [91, 1] Generated Node #0,0,1: 91:[91, 1] Operation: 82/82=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[91, 1], Operations: ['25+57=82', '82/82=1'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[25, 91, 57, 82], Operations: [] Exploring Operation: 25+57=82, Resulting Numbers: [91, 82, 82] Generated Node #0,0: 91:[91, 82, 82] Operation: 25+57=82 Moving to Node #0,0 Current State: 91:[91, 82, 82], Operations: ['25+57=82'] Exploring Operation: 82/82=1, Resulting Numbers: [91, 1] Generated Node #0,0,1: 91:[91, 1] Operation: 82/82=1 Moving to Node #0,0,1 Current State: 91:[91, 1], Operations: ['25+57=82', '82/82=1'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 82, 15, 23, 97 ]
53
[ "82-15=67", "23+97=120", "120-67=53" ]
Current State: 53:[82, 15, 23, 97], Operations: [] Exploring Operation: 82-15=67, Resulting Numbers: [23, 97, 67] Generated Node #2: [23, 97, 67] from Operation: 82-15=67 Current State: 53:[23, 97, 67], Operations: ['82-15=67'] Exploring Operation: 23+97=120, Resulting Numbers: [67, 120] Generated Node #3: [67, 120] from Operation: 23+97=120 Current State: 53:[67, 120], Operations: ['82-15=67', '23+97=120'] Exploring Operation: 120-67=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[82, 15, 23, 97], Operations: [] Exploring Operation: 82-23=59, Resulting Numbers: [15, 97, 59] Generated Node #0,0: 53:[15, 97, 59] Operation: 82-23=59 Exploring Operation: 97-15=82, Resulting Numbers: [82, 23, 82] Generated Node #0,1: 53:[82, 23, 82] Operation: 97-15=82 Exploring Operation: 97-23=74, Resulting Numbers: [82, 15, 74] Generated Node #0,2: 53:[82, 15, 74] Operation: 97-23=74 Exploring Operation: 15+23=38, Resulting Numbers: [82, 97, 38] Generated Node #0,3: 53:[82, 97, 38] Operation: 15+23=38 Exploring Operation: 82-15=67, Resulting Numbers: [23, 97, 67] Generated Node #0,4: 53:[23, 97, 67] Operation: 82-15=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[15, 97, 59], Operations: ['82-23=59'] Exploring Operation: 97-59=38, Resulting Numbers: [15, 38] Generated Node #0,0,0: 53:[15, 38] Operation: 97-59=38 Exploring Operation: 97-15=82, Resulting Numbers: [59, 82] Generated Node #0,0,1: 53:[59, 82] Operation: 97-15=82 Exploring Operation: 15+59=74, Resulting Numbers: [97, 74] Generated Node #0,0,2: 53:[97, 74] Operation: 15+59=74 Exploring Operation: 59-15=44, Resulting Numbers: [97, 44] Generated Node #0,0,3: 53:[97, 44] Operation: 59-15=44 Exploring Operation: 15+97=112, Resulting Numbers: [59, 112] Generated Node #0,0,4: 53:[59, 112] Operation: 15+97=112 Moving to Node #0,0,1 Current State: 53:[59, 82], Operations: ['82-23=59', '97-15=82'] Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,53 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[97, 44], Operations: ['82-23=59', '59-15=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[82, 15, 23, 97], Operations: [] Exploring Operation: 82-23=59, Resulting Numbers: [15, 97, 59] Generated Node #0,0: 53:[15, 97, 59] Operation: 82-23=59 Moving to Node #0,0 Current State: 53:[15, 97, 59], Operations: ['82-23=59'] Exploring Operation: 59-15=44, Resulting Numbers: [97, 44] Generated Node #0,0,3: 53:[97, 44] Operation: 59-15=44 Moving to Node #0,0,3 Current State: 53:[97, 44], Operations: ['82-23=59', '59-15=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 24, 88, 75, 9 ]
99
[ "88-24=64", "75-64=11", "9*11=99" ]
Current State: 99:[24, 88, 75, 9], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [75, 9, 64] Generated Node #2: [75, 9, 64] from Operation: 88-24=64 Current State: 99:[75, 9, 64], Operations: ['88-24=64'] Exploring Operation: 75-64=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 75-64=11 Current State: 99:[9, 11], Operations: ['88-24=64', '75-64=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[24, 88, 75, 9], Operations: [] Exploring Operation: 24+75=99, Resulting Numbers: [88, 9, 99] Generated Node #0,0: 99:[88, 9, 99] Operation: 24+75=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[88, 9, 99], Operations: ['24+75=99'] Exploring Operation: 99-88=11, Resulting Numbers: [9, 11] Generated Node #0,0,0: 99:[9, 11] Operation: 99-88=11 Moving to Node #0,0,0 Current State: 99:[9, 11], Operations: ['24+75=99', '99-88=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[24, 88, 75, 9], Operations: [] Exploring Operation: 24+75=99, Resulting Numbers: [88, 9, 99] Generated Node #0,0: 99:[88, 9, 99] Operation: 24+75=99 Moving to Node #0,0 Current State: 99:[88, 9, 99], Operations: ['24+75=99'] Exploring Operation: 99-88=11, Resulting Numbers: [9, 11] Generated Node #0,0,0: 99:[9, 11] Operation: 99-88=11 Moving to Node #0,0,0 Current State: 99:[9, 11], Operations: ['24+75=99', '99-88=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 65, 3, 39, 33 ]
60
[ "3+33=36", "65*36=2340", "2340/39=60" ]
Current State: 60:[65, 3, 39, 33], Operations: [] Exploring Operation: 3+33=36, Resulting Numbers: [65, 39, 36] Generated Node #2: [65, 39, 36] from Operation: 3+33=36 Current State: 60:[65, 39, 36], Operations: ['3+33=36'] Exploring Operation: 65*36=2340, Resulting Numbers: [39, 2340] Generated Node #3: [39, 2340] from Operation: 65*36=2340 Current State: 60:[39, 2340], Operations: ['3+33=36', '65*36=2340'] Exploring Operation: 2340/39=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[65, 3, 39, 33], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [65, 3, 6] Generated Node #0,0: 60:[65, 3, 6] Operation: 39-33=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[65, 3, 6], Operations: ['39-33=6'] Exploring Operation: 65-6=59, Resulting Numbers: [3, 59] Generated Node #0,0,0: 60:[3, 59] Operation: 65-6=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[3, 59], Operations: ['39-33=6', '65-6=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 58, 3, 56 ]
18
[ "58-56=2", "42/2=21", "21-3=18" ]
Current State: 18:[42, 58, 3, 56], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [42, 3, 2] Generated Node #2: [42, 3, 2] from Operation: 58-56=2 Current State: 18:[42, 3, 2], Operations: ['58-56=2'] Exploring Operation: 42/2=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 42/2=21 Current State: 18:[3, 21], Operations: ['58-56=2', '42/2=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[42, 58, 3, 56], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [42, 3, 2] Generated Node #0,0: 18:[42, 3, 2] Operation: 58-56=2 Moving to Node #0,0 Current State: 18:[42, 3, 2], Operations: ['58-56=2'] Exploring Operation: 42/2=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 18:[3, 21] Operation: 42/2=21 Moving to Node #0,0,0 Current State: 18:[3, 21], Operations: ['58-56=2', '42/2=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[42, 58, 3, 56], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [42, 3, 2] Generated Node #0,0: 18:[42, 3, 2] Operation: 58-56=2 Moving to Node #0,0 Current State: 18:[42, 3, 2], Operations: ['58-56=2'] Exploring Operation: 42/2=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 18:[3, 21] Operation: 42/2=21 Moving to Node #0,0,0 Current State: 18:[3, 21], Operations: ['58-56=2', '42/2=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 84, 36, 45, 80 ]
20
[ "36*80=2880", "2880/45=64", "84-64=20" ]
Current State: 20:[84, 36, 45, 80], Operations: [] Exploring Operation: 36*80=2880, Resulting Numbers: [84, 45, 2880] Generated Node #2: [84, 45, 2880] from Operation: 36*80=2880 Current State: 20:[84, 45, 2880], Operations: ['36*80=2880'] Exploring Operation: 2880/45=64, Resulting Numbers: [84, 64] Generated Node #3: [84, 64] from Operation: 2880/45=64 Current State: 20:[84, 64], Operations: ['36*80=2880', '2880/45=64'] Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[84, 36, 45, 80], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [36, 45, 4] Generated Node #0,0: 20:[36, 45, 4] Operation: 84-80=4 Exploring Operation: 84-45=39, Resulting Numbers: [36, 80, 39] Generated Node #0,1: 20:[36, 80, 39] Operation: 84-45=39 Exploring Operation: 80-45=35, Resulting Numbers: [84, 36, 35] Generated Node #0,2: 20:[84, 36, 35] Operation: 80-45=35 Exploring Operation: 84-36=48, Resulting Numbers: [45, 80, 48] Generated Node #0,3: 20:[45, 80, 48] Operation: 84-36=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[36, 45, 4], Operations: ['84-80=4'] Exploring Operation: 45-4=41, Resulting Numbers: [36, 41] Generated Node #0,0,0: 20:[36, 41] Operation: 45-4=41 Exploring Operation: 36/4=9, Resulting Numbers: [45, 9] Generated Node #0,0,1: 20:[45, 9] Operation: 36/4=9 Exploring Operation: 45-36=9, Resulting Numbers: [4, 9] Generated Node #0,0,2: 20:[4, 9] Operation: 45-36=9 Exploring Operation: 36-4=32, Resulting Numbers: [45, 32] Generated Node #0,0,3: 20:[45, 32] Operation: 36-4=32 Moving to Node #0,0,2 Current State: 20:[4, 9], Operations: ['84-80=4', '45-36=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[45, 9], Operations: ['84-80=4', '36/4=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,20 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[45, 32], Operations: ['84-80=4', '36-4=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,20 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[36, 41], Operations: ['84-80=4', '45-4=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[36, 80, 39], Operations: ['84-45=39'] Exploring Operation: 39-36=3, Resulting Numbers: [80, 3] Generated Node #0,1,0: 20:[80, 3] Operation: 39-36=3 Exploring Operation: 80-36=44, Resulting Numbers: [39, 44] Generated Node #0,1,1: 20:[39, 44] Operation: 80-36=44 Exploring Operation: 36+80=116, Resulting Numbers: [39, 116] Generated Node #0,1,2: 20:[39, 116] Operation: 36+80=116 Exploring Operation: 80-39=41, Resulting Numbers: [36, 41] Generated Node #0,1,3: 20:[36, 41] Operation: 80-39=41 Moving to Node #0,1,3 Current State: 20:[36, 41], Operations: ['84-45=39', '80-39=41'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,20 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[39, 44], Operations: ['84-45=39', '80-36=44'] Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[80, 3], Operations: ['84-45=39', '39-36=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[39, 116], Operations: ['84-45=39', '36+80=116'] Exploring Operation: 39*116=4524, Resulting Numbers: [4524] 4524,20 unequal: No Solution Exploring Operation: 116-39=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 39+116=155, Resulting Numbers: [155] 155,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[84, 36, 35], Operations: ['80-45=35'] Exploring Operation: 84-36=48, Resulting Numbers: [35, 48] Generated Node #0,2,0: 20:[35, 48] Operation: 84-36=48 Exploring Operation: 84-35=49, Resulting Numbers: [36, 49] Generated Node #0,2,1: 20:[36, 49] Operation: 84-35=49 Exploring Operation: 36-35=1, Resulting Numbers: [84, 1] Generated Node #0,2,2: 20:[84, 1] Operation: 36-35=1 Exploring Operation: 84+36=120, Resulting Numbers: [35, 120] Generated Node #0,2,3: 20:[35, 120] Operation: 84+36=120 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[35, 48], Operations: ['80-45=35', '84-36=48'] Exploring Operation: 35*48=1680, Resulting Numbers: [1680] 1680,20 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 35+48=83, Resulting Numbers: [83] 83,20 unequal: No Solution No 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: 20:[36, 49], Operations: ['80-45=35', '84-35=49'] Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,20 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,20 unequal: No Solution No 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: 20:[84, 1], Operations: ['80-45=35', '36-35=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,20 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,20 unequal: No Solution No 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: 20:[35, 120], Operations: ['80-45=35', '84+36=120'] Exploring Operation: 120-35=85, Resulting Numbers: [85] 85,20 unequal: No Solution Exploring Operation: 35+120=155, Resulting Numbers: [155] 155,20 unequal: No Solution Exploring Operation: 35*120=4200, Resulting Numbers: [4200] 4200,20 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: 20:[45, 80, 48], Operations: ['84-36=48'] Exploring Operation: 48-45=3, Resulting Numbers: [80, 3] Generated Node #0,3,0: 20:[80, 3] Operation: 48-45=3 Exploring Operation: 80-45=35, Resulting Numbers: [48, 35] Generated Node #0,3,1: 20:[48, 35] Operation: 80-45=35 Exploring Operation: 80-48=32, Resulting Numbers: [45, 32] Generated Node #0,3,2: 20:[45, 32] Operation: 80-48=32 Exploring Operation: 45+80=125, Resulting Numbers: [48, 125] Generated Node #0,3,3: 20:[48, 125] Operation: 45+80=125 Moving to Node #0,3,2 Current State: 20:[45, 32], Operations: ['84-36=48', '80-48=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,20 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[48, 35], Operations: ['84-36=48', '80-45=35'] Exploring Operation: 48*35=1680, Resulting Numbers: [1680] 1680,20 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[80, 3], Operations: ['84-36=48', '48-45=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,20 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[48, 125], Operations: ['84-36=48', '45+80=125'] Exploring Operation: 48*125=6000, Resulting Numbers: [6000] 6000,20 unequal: No Solution Exploring Operation: 48+125=173, Resulting Numbers: [173] 173,20 unequal: No Solution Exploring Operation: 125-48=77, Resulting Numbers: [77] 77,20 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
[ 29, 4, 66, 70 ]
100
[ "29-4=25", "70-66=4", "25*4=100" ]
Current State: 100:[29, 4, 66, 70], Operations: [] Exploring Operation: 29-4=25, Resulting Numbers: [66, 70, 25] Generated Node #2: [66, 70, 25] from Operation: 29-4=25 Current State: 100:[66, 70, 25], Operations: ['29-4=25'] Exploring Operation: 70-66=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 70-66=4 Current State: 100:[25, 4], Operations: ['29-4=25', '70-66=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[29, 4, 66, 70], Operations: [] Exploring Operation: 29+66=95, Resulting Numbers: [4, 70, 95] Generated Node #0,0: 100:[4, 70, 95] Operation: 29+66=95 Exploring Operation: 70-29=41, Resulting Numbers: [4, 66, 41] Generated Node #0,1: 100:[4, 66, 41] Operation: 70-29=41 Exploring Operation: 70-66=4, Resulting Numbers: [29, 4, 4] Generated Node #0,2: 100:[29, 4, 4] Operation: 70-66=4 Exploring Operation: 29+70=99, Resulting Numbers: [4, 66, 99] Generated Node #0,3: 100:[4, 66, 99] Operation: 29+70=99 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[29, 4, 4], Operations: ['70-66=4'] Exploring Operation: 29-4=25, Resulting Numbers: [4, 25] Generated Node #0,2,0: 100:[4, 25] Operation: 29-4=25 Exploring Operation: 29-4=25, Resulting Numbers: [4, 25] Generated Node #0,2,1: 100:[4, 25] Operation: 29-4=25 Exploring Operation: 4+4=8, Resulting Numbers: [29, 8] Generated Node #0,2,2: 100:[29, 8] Operation: 4+4=8 Exploring Operation: 4/4=1, Resulting Numbers: [29, 1] Generated Node #0,2,3: 100:[29, 1] Operation: 4/4=1 Moving to Node #0,2,0 Current State: 100:[4, 25], Operations: ['70-66=4', '29-4=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[29, 4, 66, 70], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [29, 4, 4] Generated Node #0,2: 100:[29, 4, 4] Operation: 70-66=4 Moving to Node #0,2 Current State: 100:[29, 4, 4], Operations: ['70-66=4'] Exploring Operation: 29-4=25, Resulting Numbers: [4, 25] Generated Node #0,2,0: 100:[4, 25] Operation: 29-4=25 Moving to Node #0,2,0 Current State: 100:[4, 25], Operations: ['70-66=4', '29-4=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 63, 44, 26, 20 ]
65
[ "63-44=19", "26+20=46", "19+46=65" ]
Current State: 65:[63, 44, 26, 20], Operations: [] Exploring Operation: 63-44=19, Resulting Numbers: [26, 20, 19] Generated Node #2: [26, 20, 19] from Operation: 63-44=19 Current State: 65:[26, 20, 19], Operations: ['63-44=19'] Exploring Operation: 26+20=46, Resulting Numbers: [19, 46] Generated Node #3: [19, 46] from Operation: 26+20=46 Current State: 65:[19, 46], Operations: ['63-44=19', '26+20=46'] Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[63, 44, 26, 20], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [63, 44, 6] Generated Node #0,0: 65:[63, 44, 6] Operation: 26-20=6 Exploring Operation: 44-26=18, Resulting Numbers: [63, 20, 18] Generated Node #0,1: 65:[63, 20, 18] Operation: 44-26=18 Exploring Operation: 44+20=64, Resulting Numbers: [63, 26, 64] Generated Node #0,2: 65:[63, 26, 64] Operation: 44+20=64 Exploring Operation: 44+26=70, Resulting Numbers: [63, 20, 70] Generated Node #0,3: 65:[63, 20, 70] Operation: 44+26=70 Moving to Node #0,1 Current State: 65:[63, 20, 18], Operations: ['44-26=18'] Exploring Operation: 20-18=2, Resulting Numbers: [63, 2] Generated Node #0,1,0: 65:[63, 2] Operation: 20-18=2 Exploring Operation: 63+18=81, Resulting Numbers: [20, 81] Generated Node #0,1,1: 65:[20, 81] Operation: 63+18=81 Exploring Operation: 63-20=43, Resulting Numbers: [18, 43] Generated Node #0,1,2: 65:[18, 43] Operation: 63-20=43 Exploring Operation: 63+20=83, Resulting Numbers: [18, 83] Generated Node #0,1,3: 65:[18, 83] Operation: 63+20=83 Moving to Node #0,3 Current State: 65:[63, 20, 70], Operations: ['44+26=70'] Exploring Operation: 70-20=50, Resulting Numbers: [63, 50] Generated Node #0,3,0: 65:[63, 50] Operation: 70-20=50 Exploring Operation: 63+20=83, Resulting Numbers: [70, 83] Generated Node #0,3,1: 65:[70, 83] Operation: 63+20=83 Exploring Operation: 63-20=43, Resulting Numbers: [70, 43] Generated Node #0,3,2: 65:[70, 43] Operation: 63-20=43 Exploring Operation: 70-63=7, Resulting Numbers: [20, 7] Generated Node #0,3,3: 65:[20, 7] Operation: 70-63=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[20, 7], Operations: ['44+26=70', '70-63=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[63, 50], Operations: ['44+26=70', '70-20=50'] Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,65 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,65 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[70, 83], Operations: ['44+26=70', '63+20=83'] Exploring Operation: 70*83=5810, Resulting Numbers: [5810] 5810,65 unequal: No Solution Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,65 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[70, 43], Operations: ['44+26=70', '63-20=43'] Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,65 unequal: No Solution Exploring Operation: 70*43=3010, Resulting Numbers: [3010] 3010,65 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,65 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: 65:[63, 26, 64], Operations: ['44+20=64'] Exploring Operation: 26+64=90, Resulting Numbers: [63, 90] Generated Node #0,2,0: 65:[63, 90] Operation: 26+64=90 Exploring Operation: 64-63=1, Resulting Numbers: [26, 1] Generated Node #0,2,1: 65:[26, 1] Operation: 64-63=1 Exploring Operation: 63-26=37, Resulting Numbers: [64, 37] Generated Node #0,2,2: 65:[64, 37] Operation: 63-26=37 Exploring Operation: 63+26=89, Resulting Numbers: [64, 89] Generated Node #0,2,3: 65:[64, 89] Operation: 63+26=89 Moving to Node #0,0 Current State: 65:[63, 44, 6], Operations: ['26-20=6'] Exploring Operation: 44-6=38, Resulting Numbers: [63, 38] Generated Node #0,0,0: 65:[63, 38] Operation: 44-6=38 Exploring Operation: 44+6=50, Resulting Numbers: [63, 50] Generated Node #0,0,1: 65:[63, 50] Operation: 44+6=50 Exploring Operation: 63-44=19, Resulting Numbers: [6, 19] Generated Node #0,0,2: 65:[6, 19] Operation: 63-44=19 Exploring Operation: 63+6=69, Resulting Numbers: [44, 69] Generated Node #0,0,3: 65:[44, 69] Operation: 63+6=69 Moving to Node #0,1,0 Current State: 65:[63, 2], Operations: ['44-26=18', '20-18=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[63, 44, 26, 20], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [63, 20, 18] Generated Node #0,1: 65:[63, 20, 18] Operation: 44-26=18 Moving to Node #0,1 Current State: 65:[63, 20, 18], Operations: ['44-26=18'] Exploring Operation: 20-18=2, Resulting Numbers: [63, 2] Generated Node #0,1,0: 65:[63, 2] Operation: 20-18=2 Moving to Node #0,1,0 Current State: 65:[63, 2], Operations: ['44-26=18', '20-18=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 4, 25, 39, 91 ]
75
[ "25+39=64", "64/4=16", "91-16=75" ]
Current State: 75:[4, 25, 39, 91], Operations: [] Exploring Operation: 25+39=64, Resulting Numbers: [4, 91, 64] Generated Node #2: [4, 91, 64] from Operation: 25+39=64 Current State: 75:[4, 91, 64], Operations: ['25+39=64'] Exploring Operation: 64/4=16, Resulting Numbers: [91, 16] Generated Node #3: [91, 16] from Operation: 64/4=16 Current State: 75:[91, 16], Operations: ['25+39=64', '64/4=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[4, 25, 39, 91], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [4, 25, 52] Generated Node #0,0: 75:[4, 25, 52] Operation: 91-39=52 Exploring Operation: 91-25=66, Resulting Numbers: [4, 39, 66] Generated Node #0,1: 75:[4, 39, 66] Operation: 91-25=66 Exploring Operation: 39-4=35, Resulting Numbers: [25, 91, 35] Generated Node #0,2: 75:[25, 91, 35] Operation: 39-4=35 Exploring Operation: 39-25=14, Resulting Numbers: [4, 91, 14] Generated Node #0,3: 75:[4, 91, 14] Operation: 39-25=14 Moving to Node #0,3 Current State: 75:[4, 91, 14], Operations: ['39-25=14'] Exploring Operation: 91-14=77, Resulting Numbers: [4, 77] Generated Node #0,3,0: 75:[4, 77] Operation: 91-14=77 Exploring Operation: 4+14=18, Resulting Numbers: [91, 18] Generated Node #0,3,1: 75:[91, 18] Operation: 4+14=18 Exploring Operation: 4+91=95, Resulting Numbers: [14, 95] Generated Node #0,3,2: 75:[14, 95] Operation: 4+91=95 Exploring Operation: 91-4=87, Resulting Numbers: [14, 87] Generated Node #0,3,3: 75:[14, 87] Operation: 91-4=87 Moving to Node #0,1 Current State: 75:[4, 39, 66], Operations: ['91-25=66'] Exploring Operation: 4+39=43, Resulting Numbers: [66, 43] Generated Node #0,1,0: 75:[66, 43] Operation: 4+39=43 Exploring Operation: 4+66=70, Resulting Numbers: [39, 70] Generated Node #0,1,1: 75:[39, 70] Operation: 4+66=70 Exploring Operation: 66-39=27, Resulting Numbers: [4, 27] Generated Node #0,1,2: 75:[4, 27] Operation: 66-39=27 Exploring Operation: 39-4=35, Resulting Numbers: [66, 35] Generated Node #0,1,3: 75:[66, 35] Operation: 39-4=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[4, 27], Operations: ['91-25=66', '66-39=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,75 unequal: No Solution Exploring Operation: 27-4=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,1,1 Current State: 75:[39, 70], Operations: ['91-25=66', '4+66=70'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,75 unequal: No Solution Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,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,3 Current State: 75:[66, 35], Operations: ['91-25=66', '39-4=35'] Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,75 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,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,0 Current State: 75:[66, 43], Operations: ['91-25=66', '4+39=43'] Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,75 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,75 unequal: No Solution Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,75 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: 75:[4, 25, 52], Operations: ['91-39=52'] Exploring Operation: 52-25=27, Resulting Numbers: [4, 27] Generated Node #0,0,0: 75:[4, 27] Operation: 52-25=27 Exploring Operation: 25+52=77, Resulting Numbers: [4, 77] Generated Node #0,0,1: 75:[4, 77] Operation: 25+52=77 Exploring Operation: 52/4=13, Resulting Numbers: [25, 13] Generated Node #0,0,2: 75:[25, 13] Operation: 52/4=13 Exploring Operation: 4+52=56, Resulting Numbers: [25, 56] Generated Node #0,0,3: 75:[25, 56] Operation: 4+52=56 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[25, 13], Operations: ['91-39=52', '52/4=13'] Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,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,0 Current State: 75:[4, 27], Operations: ['91-39=52', '52-25=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,75 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,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:[4, 77], Operations: ['91-39=52', '25+52=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,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,3 Current State: 75:[25, 56], Operations: ['91-39=52', '4+52=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,75 unequal: No Solution Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,75 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: 75:[25, 91, 35], Operations: ['39-4=35'] Exploring Operation: 35-25=10, Resulting Numbers: [91, 10] Generated Node #0,2,0: 75:[91, 10] Operation: 35-25=10 Exploring Operation: 91-25=66, Resulting Numbers: [35, 66] Generated Node #0,2,1: 75:[35, 66] Operation: 91-25=66 Exploring Operation: 25+35=60, Resulting Numbers: [91, 60] Generated Node #0,2,2: 75:[91, 60] Operation: 25+35=60 Exploring Operation: 91-35=56, Resulting Numbers: [25, 56] Generated Node #0,2,3: 75:[25, 56] Operation: 91-35=56 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[35, 66], Operations: ['39-4=35', '91-25=66'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,75 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,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,3 Current State: 75:[25, 56], Operations: ['39-4=35', '91-35=56'] Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,75 unequal: No Solution Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,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,0 Current State: 75:[91, 10], Operations: ['39-4=35', '35-25=10'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,75 unequal: No Solution Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,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,2 Current State: 75:[91, 60], Operations: ['39-4=35', '25+35=60'] Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 91*60=5460, Resulting Numbers: [5460] 5460,75 unequal: No Solution Exploring Operation: 91+60=151, Resulting Numbers: [151] 151,75 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: 75:[4, 77], Operations: ['39-25=14', '91-14=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[14, 87], Operations: ['39-25=14', '91-4=87'] Exploring Operation: 14+87=101, Resulting Numbers: [101] 101,75 unequal: No Solution Exploring Operation: 14*87=1218, Resulting Numbers: [1218] 1218,75 unequal: No Solution Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[91, 18], Operations: ['39-25=14', '4+14=18'] Exploring Operation: 91*18=1638, Resulting Numbers: [1638] 1638,75 unequal: No Solution Exploring Operation: 91+18=109, Resulting Numbers: [109] 109,75 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[14, 95], Operations: ['39-25=14', '4+91=95'] Exploring Operation: 14*95=1330, Resulting Numbers: [1330] 1330,75 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 14+95=109, Resulting Numbers: [109] 109,75 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 89, 56, 66, 86 ]
78
[ "89-86=3", "66/3=22", "56+22=78" ]
Current State: 78:[89, 56, 66, 86], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [56, 66, 3] Generated Node #2: [56, 66, 3] from Operation: 89-86=3 Current State: 78:[56, 66, 3], Operations: ['89-86=3'] Exploring Operation: 66/3=22, Resulting Numbers: [56, 22] Generated Node #3: [56, 22] from Operation: 66/3=22 Current State: 78:[56, 22], Operations: ['89-86=3', '66/3=22'] Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[89, 56, 66, 86], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [66, 86, 33] Generated Node #0,0: 78:[66, 86, 33] Operation: 89-56=33 Exploring Operation: 66-56=10, Resulting Numbers: [89, 86, 10] Generated Node #0,1: 78:[89, 86, 10] Operation: 66-56=10 Moving to Node #0,1 Current State: 78:[89, 86, 10], Operations: ['66-56=10'] Exploring Operation: 89-86=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 78:[10, 3] Operation: 89-86=3 Exploring Operation: 89-10=79, Resulting Numbers: [86, 79] Generated Node #0,1,1: 78:[86, 79] Operation: 89-10=79 Moving to Node #0,0 Current State: 78:[66, 86, 33], Operations: ['89-56=33'] Exploring Operation: 66/33=2, Resulting Numbers: [86, 2] Generated Node #0,0,0: 78:[86, 2] Operation: 66/33=2 Exploring Operation: 86-66=20, Resulting Numbers: [33, 20] Generated Node #0,0,1: 78:[33, 20] Operation: 86-66=20 Moving to Node #0,1,0 Current State: 78:[10, 3], Operations: ['66-56=10', '89-86=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[86, 2], Operations: ['89-56=33', '66/33=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[86, 79], Operations: ['66-56=10', '89-10=79'] Exploring Operation: 86+79=165, Resulting Numbers: [165] 165,78 unequal: No Solution Exploring Operation: 86-79=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[33, 20], Operations: ['89-56=33', '86-66=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,78 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 33, 38, 46, 2 ]
64
[ "46-33=13", "2*13=26", "38+26=64" ]
Current State: 64:[33, 38, 46, 2], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [38, 2, 13] Generated Node #2: [38, 2, 13] from Operation: 46-33=13 Current State: 64:[38, 2, 13], Operations: ['46-33=13'] Exploring Operation: 2*13=26, Resulting Numbers: [38, 26] Generated Node #3: [38, 26] from Operation: 2*13=26 Current State: 64:[38, 26], Operations: ['46-33=13', '2*13=26'] Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[33, 38, 46, 2], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [46, 2, 5] Generated Node #0,0: 64:[46, 2, 5] Operation: 38-33=5 Exploring Operation: 46/2=23, Resulting Numbers: [33, 38, 23] Generated Node #0,1: 64:[33, 38, 23] Operation: 46/2=23 Exploring Operation: 46-33=13, Resulting Numbers: [38, 2, 13] Generated Node #0,2: 64:[38, 2, 13] Operation: 46-33=13 Exploring Operation: 46-38=8, Resulting Numbers: [33, 2, 8] Generated Node #0,3: 64:[33, 2, 8] Operation: 46-38=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[33, 2, 8], Operations: ['46-38=8'] Exploring Operation: 8/2=4, Resulting Numbers: [33, 4] Generated Node #0,3,0: 64:[33, 4] Operation: 8/2=4 Exploring Operation: 33*2=66, Resulting Numbers: [8, 66] Generated Node #0,3,1: 64:[8, 66] Operation: 33*2=66 Exploring Operation: 33-2=31, Resulting Numbers: [8, 31] Generated Node #0,3,2: 64:[8, 31] Operation: 33-2=31 Exploring Operation: 2*8=16, Resulting Numbers: [33, 16] Generated Node #0,3,3: 64:[33, 16] Operation: 2*8=16 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[33, 4], Operations: ['46-38=8', '8/2=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[8, 31], Operations: ['46-38=8', '33-2=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,64 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[33, 16], Operations: ['46-38=8', '2*8=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,64 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 64:[8, 66], Operations: ['46-38=8', '33*2=66'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,64 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[38, 2, 13], Operations: ['46-33=13'] Exploring Operation: 38-13=25, Resulting Numbers: [2, 25] Generated Node #0,2,0: 64:[2, 25] Operation: 38-13=25 Exploring Operation: 38-2=36, Resulting Numbers: [13, 36] Generated Node #0,2,1: 64:[13, 36] Operation: 38-2=36 Exploring Operation: 38/2=19, Resulting Numbers: [13, 19] Generated Node #0,2,2: 64:[13, 19] Operation: 38/2=19 Exploring Operation: 2+13=15, Resulting Numbers: [38, 15] Generated Node #0,2,3: 64:[38, 15] Operation: 2+13=15 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[13, 19], Operations: ['46-33=13', '38/2=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,64 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[2, 25], Operations: ['46-33=13', '38-13=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[13, 36], Operations: ['46-33=13', '38-2=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,64 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,64 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 64:[38, 15], Operations: ['46-33=13', '2+13=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[33, 38, 23], Operations: ['46/2=23'] Exploring Operation: 38-23=15, Resulting Numbers: [33, 15] Generated Node #0,1,0: 64:[33, 15] Operation: 38-23=15 Exploring Operation: 38-33=5, Resulting Numbers: [23, 5] Generated Node #0,1,1: 64:[23, 5] Operation: 38-33=5 Exploring Operation: 38+23=61, Resulting Numbers: [33, 61] Generated Node #0,1,2: 64:[33, 61] Operation: 38+23=61 Exploring Operation: 33-23=10, Resulting Numbers: [38, 10] Generated Node #0,1,3: 64:[38, 10] Operation: 33-23=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[33, 15], Operations: ['46/2=23', '38-23=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[33, 61], Operations: ['46/2=23', '38+23=61'] Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[23, 5], Operations: ['46/2=23', '38-33=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[38, 10], Operations: ['46/2=23', '33-23=10'] Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,64 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[46, 2, 5], Operations: ['38-33=5'] Exploring Operation: 46-2=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 64:[5, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [5, 23] Generated Node #0,0,1: 64:[5, 23] Operation: 46/2=23 Exploring Operation: 46+5=51, Resulting Numbers: [2, 51] Generated Node #0,0,2: 64:[2, 51] Operation: 46+5=51 Exploring Operation: 46-5=41, Resulting Numbers: [2, 41] Generated Node #0,0,3: 64:[2, 41] Operation: 46-5=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[5, 23], Operations: ['38-33=5', '46/2=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 64:[2, 41], Operations: ['38-33=5', '46-5=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[5, 44], Operations: ['38-33=5', '46-2=44'] Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,64 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,64 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[2, 51], Operations: ['38-33=5', '46+5=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,64 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 15, 43, 45, 85 ]
68
[ "43-15=28", "85-45=40", "28+40=68" ]
Current State: 68:[15, 43, 45, 85], Operations: [] Exploring Operation: 43-15=28, Resulting Numbers: [45, 85, 28] Generated Node #2: [45, 85, 28] from Operation: 43-15=28 Current State: 68:[45, 85, 28], Operations: ['43-15=28'] Exploring Operation: 85-45=40, Resulting Numbers: [28, 40] Generated Node #3: [28, 40] from Operation: 85-45=40 Current State: 68:[28, 40], Operations: ['43-15=28', '85-45=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[15, 43, 45, 85], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [15, 43, 40] Generated Node #0,0: 68:[15, 43, 40] Operation: 85-45=40 Exploring Operation: 85-15=70, Resulting Numbers: [43, 45, 70] Generated Node #0,1: 68:[43, 45, 70] Operation: 85-15=70 Exploring Operation: 45-43=2, Resulting Numbers: [15, 85, 2] Generated Node #0,2: 68:[15, 85, 2] Operation: 45-43=2 Exploring Operation: 85-43=42, Resulting Numbers: [15, 45, 42] Generated Node #0,3: 68:[15, 45, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 68:[15, 43, 40], Operations: ['85-45=40'] Exploring Operation: 43-40=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 68:[15, 3] Operation: 43-40=3 Exploring Operation: 40-15=25, Resulting Numbers: [43, 25] Generated Node #0,0,1: 68:[43, 25] Operation: 40-15=25 Exploring Operation: 15+43=58, Resulting Numbers: [40, 58] Generated Node #0,0,2: 68:[40, 58] Operation: 15+43=58 Exploring Operation: 43-15=28, Resulting Numbers: [40, 28] Generated Node #0,0,3: 68:[40, 28] Operation: 43-15=28 Moving to Node #0,2 Current State: 68:[15, 85, 2], Operations: ['45-43=2'] Exploring Operation: 15*2=30, Resulting Numbers: [85, 30] Generated Node #0,2,0: 68:[85, 30] Operation: 15*2=30 Exploring Operation: 85-2=83, Resulting Numbers: [15, 83] Generated Node #0,2,1: 68:[15, 83] Operation: 85-2=83 Exploring Operation: 85-15=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 68:[2, 70] Operation: 85-15=70 Exploring Operation: 15+2=17, Resulting Numbers: [85, 17] Generated Node #0,2,3: 68:[85, 17] Operation: 15+2=17 Moving to Node #0,3 Current State: 68:[15, 45, 42], Operations: ['85-43=42'] Exploring Operation: 45-42=3, Resulting Numbers: [15, 3] Generated Node #0,3,0: 68:[15, 3] Operation: 45-42=3 Exploring Operation: 45/15=3, Resulting Numbers: [42, 3] Generated Node #0,3,1: 68:[42, 3] Operation: 45/15=3 Exploring Operation: 15+45=60, Resulting Numbers: [42, 60] Generated Node #0,3,2: 68:[42, 60] Operation: 15+45=60 Exploring Operation: 45-15=30, Resulting Numbers: [42, 30] Generated Node #0,3,3: 68:[42, 30] Operation: 45-15=30 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[15, 3], Operations: ['85-43=42', '45-42=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[42, 3], Operations: ['85-43=42', '45/15=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[42, 30], Operations: ['85-43=42', '45-15=30'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,68 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[42, 60], Operations: ['85-43=42', '15+45=60'] Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,68 unequal: No Solution Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,68 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,68 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: 68:[43, 45, 70], Operations: ['85-15=70'] Exploring Operation: 70-45=25, Resulting Numbers: [43, 25] Generated Node #0,1,0: 68:[43, 25] Operation: 70-45=25 Exploring Operation: 70-43=27, Resulting Numbers: [45, 27] Generated Node #0,1,1: 68:[45, 27] Operation: 70-43=27 Exploring Operation: 43+45=88, Resulting Numbers: [70, 88] Generated Node #0,1,2: 68:[70, 88] Operation: 43+45=88 Exploring Operation: 45-43=2, Resulting Numbers: [70, 2] Generated Node #0,1,3: 68:[70, 2] Operation: 45-43=2 Moving to Node #0,2,2 Current State: 68:[2, 70], Operations: ['45-43=2', '85-15=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[15, 43, 45, 85], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [15, 85, 2] Generated Node #0,2: 68:[15, 85, 2] Operation: 45-43=2 Moving to Node #0,2 Current State: 68:[15, 85, 2], Operations: ['45-43=2'] Exploring Operation: 85-15=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 68:[2, 70] Operation: 85-15=70 Moving to Node #0,2,2 Current State: 68:[2, 70], Operations: ['45-43=2', '85-15=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 67, 64, 39, 25 ]
92
[ "67-64=3", "39*3=117", "117-25=92" ]
Current State: 92:[67, 64, 39, 25], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [39, 25, 3] Generated Node #2: [39, 25, 3] from Operation: 67-64=3 Current State: 92:[39, 25, 3], Operations: ['67-64=3'] Exploring Operation: 39*3=117, Resulting Numbers: [25, 117] Generated Node #3: [25, 117] from Operation: 39*3=117 Current State: 92:[25, 117], Operations: ['67-64=3', '39*3=117'] Exploring Operation: 117-25=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[67, 64, 39, 25], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [39, 25, 3] Generated Node #0,0: 92:[39, 25, 3] Operation: 67-64=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[39, 25, 3], Operations: ['67-64=3'] Exploring Operation: 39+3=42, Resulting Numbers: [25, 42] Generated Node #0,0,0: 92:[25, 42] Operation: 39+3=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[25, 42], Operations: ['67-64=3', '39+3=42'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 10, 99, 70, 90 ]
20
[ "90/10=9", "99-70=29", "29-9=20" ]
Current State: 20:[10, 99, 70, 90], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [99, 70, 9] Generated Node #2: [99, 70, 9] from Operation: 90/10=9 Current State: 20:[99, 70, 9], Operations: ['90/10=9'] Exploring Operation: 99-70=29, Resulting Numbers: [9, 29] Generated Node #3: [9, 29] from Operation: 99-70=29 Current State: 20:[9, 29], Operations: ['90/10=9', '99-70=29'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[10, 99, 70, 90], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [10, 90, 29] Generated Node #0,0: 20:[10, 90, 29] Operation: 99-70=29 Exploring Operation: 99-90=9, Resulting Numbers: [10, 70, 9] Generated Node #0,1: 20:[10, 70, 9] Operation: 99-90=9 Moving to Node #0,1 Current State: 20:[10, 70, 9], Operations: ['99-90=9'] Exploring Operation: 70/10=7, Resulting Numbers: [9, 7] Generated Node #0,1,0: 20:[9, 7] Operation: 70/10=7 Exploring Operation: 70-10=60, Resulting Numbers: [9, 60] Generated Node #0,1,1: 20:[9, 60] Operation: 70-10=60 Moving to Node #0,0 Current State: 20:[10, 90, 29], Operations: ['99-70=29'] Exploring Operation: 90/10=9, Resulting Numbers: [29, 9] Generated Node #0,0,0: 20:[29, 9] Operation: 90/10=9 Exploring Operation: 90-29=61, Resulting Numbers: [10, 61] Generated Node #0,0,1: 20:[10, 61] Operation: 90-29=61 Moving to Node #0,1,0 Current State: 20:[9, 7], Operations: ['99-90=9', '70/10=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[29, 9], Operations: ['99-70=29', '90/10=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[10, 99, 70, 90], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [10, 90, 29] Generated Node #0,0: 20:[10, 90, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 20:[10, 90, 29], Operations: ['99-70=29'] Exploring Operation: 90/10=9, Resulting Numbers: [29, 9] Generated Node #0,0,0: 20:[29, 9] Operation: 90/10=9 Moving to Node #0,0,0 Current State: 20:[29, 9], Operations: ['99-70=29', '90/10=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.987847
hs_2
sum_heuristic
[ 15, 70, 40, 21 ]
66
[ "15+70=85", "40-21=19", "85-19=66" ]
Current State: 66:[15, 70, 40, 21], Operations: [] Exploring Operation: 15+70=85, Resulting Numbers: [40, 21, 85] Generated Node #2: [40, 21, 85] from Operation: 15+70=85 Current State: 66:[40, 21, 85], Operations: ['15+70=85'] Exploring Operation: 40-21=19, Resulting Numbers: [85, 19] Generated Node #3: [85, 19] from Operation: 40-21=19 Current State: 66:[85, 19], Operations: ['15+70=85', '40-21=19'] Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[15, 70, 40, 21], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [70, 40, 6] Generated Node #0,0: 66:[70, 40, 6] Operation: 21-15=6 Exploring Operation: 40-15=25, Resulting Numbers: [70, 21, 25] Generated Node #0,1: 66:[70, 21, 25] Operation: 40-15=25 Exploring Operation: 70-40=30, Resulting Numbers: [15, 21, 30] Generated Node #0,2: 66:[15, 21, 30] Operation: 70-40=30 Moving to Node #0,1 Current State: 66:[70, 21, 25], Operations: ['40-15=25'] Exploring Operation: 70-25=45, Resulting Numbers: [21, 45] Generated Node #0,1,0: 66:[21, 45] Operation: 70-25=45 Exploring Operation: 25-21=4, Resulting Numbers: [70, 4] Generated Node #0,1,1: 66:[70, 4] Operation: 25-21=4 Exploring Operation: 21+25=46, Resulting Numbers: [70, 46] Generated Node #0,1,2: 66:[70, 46] Operation: 21+25=46 Moving to Node #0,2 Current State: 66:[15, 21, 30], Operations: ['70-40=30'] Exploring Operation: 30/15=2, Resulting Numbers: [21, 2] Generated Node #0,2,0: 66:[21, 2] Operation: 30/15=2 Exploring Operation: 30-15=15, Resulting Numbers: [21, 15] Generated Node #0,2,1: 66:[21, 15] Operation: 30-15=15 Exploring Operation: 21-15=6, Resulting Numbers: [30, 6] Generated Node #0,2,2: 66:[30, 6] Operation: 21-15=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[21, 2], Operations: ['70-40=30', '30/15=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,66 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,66 unequal: No Solution No 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: 66:[30, 6], Operations: ['70-40=30', '21-15=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,66 unequal: No Solution No 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: 66:[21, 15], Operations: ['70-40=30', '30-15=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,66 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: 66:[70, 40, 6], Operations: ['21-15=6'] Exploring Operation: 70-40=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 66:[6, 30] Operation: 70-40=30 Exploring Operation: 40-6=34, Resulting Numbers: [70, 34] Generated Node #0,0,1: 66:[70, 34] Operation: 40-6=34 Exploring Operation: 70-6=64, Resulting Numbers: [40, 64] Generated Node #0,0,2: 66:[40, 64] Operation: 70-6=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[6, 30], Operations: ['21-15=6', '70-40=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,66 unequal: No Solution No 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: 66:[70, 34], Operations: ['21-15=6', '40-6=34'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,66 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,66 unequal: No Solution No 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: 66:[40, 64], Operations: ['21-15=6', '70-6=64'] Exploring Operation: 40+64=104, Resulting Numbers: [104] 104,66 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 40*64=2560, Resulting Numbers: [2560] 2560,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 66:[70, 4], Operations: ['40-15=25', '25-21=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[15, 70, 40, 21], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [70, 21, 25] Generated Node #0,1: 66:[70, 21, 25] Operation: 40-15=25 Moving to Node #0,1 Current State: 66:[70, 21, 25], Operations: ['40-15=25'] Exploring Operation: 25-21=4, Resulting Numbers: [70, 4] Generated Node #0,1,1: 66:[70, 4] Operation: 25-21=4 Moving to Node #0,1,1 Current State: 66:[70, 4], Operations: ['40-15=25', '25-21=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 10, 51, 21, 73 ]
48
[ "73-10=63", "63/21=3", "51-3=48" ]
Current State: 48:[10, 51, 21, 73], Operations: [] Exploring Operation: 73-10=63, Resulting Numbers: [51, 21, 63] Generated Node #2: [51, 21, 63] from Operation: 73-10=63 Current State: 48:[51, 21, 63], Operations: ['73-10=63'] Exploring Operation: 63/21=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 63/21=3 Current State: 48:[51, 3], Operations: ['73-10=63', '63/21=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 51, 21, 73], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [10, 21, 22] Generated Node #0,0: 48:[10, 21, 22] Operation: 73-51=22 Exploring Operation: 73-21=52, Resulting Numbers: [10, 51, 52] Generated Node #0,1: 48:[10, 51, 52] Operation: 73-21=52 Exploring Operation: 21-10=11, Resulting Numbers: [51, 73, 11] Generated Node #0,2: 48:[51, 73, 11] Operation: 21-10=11 Exploring Operation: 73-10=63, Resulting Numbers: [51, 21, 63] Generated Node #0,3: 48:[51, 21, 63] Operation: 73-10=63 Moving to Node #0,0 Current State: 48:[10, 21, 22], Operations: ['73-51=22'] Exploring Operation: 21-10=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 48:[22, 11] Operation: 21-10=11 Exploring Operation: 22-10=12, Resulting Numbers: [21, 12] Generated Node #0,0,1: 48:[21, 12] Operation: 22-10=12 Exploring Operation: 21+22=43, Resulting Numbers: [10, 43] Generated Node #0,0,2: 48:[10, 43] Operation: 21+22=43 Exploring Operation: 22-21=1, Resulting Numbers: [10, 1] Generated Node #0,0,3: 48:[10, 1] Operation: 22-21=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[22, 11], Operations: ['73-51=22', '21-10=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,48 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[21, 12], Operations: ['73-51=22', '22-10=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,48 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[10, 1], Operations: ['73-51=22', '22-21=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[10, 43], Operations: ['73-51=22', '21+22=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,48 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: 48:[10, 51, 52], Operations: ['73-21=52'] Exploring Operation: 52-51=1, Resulting Numbers: [10, 1] Generated Node #0,1,0: 48:[10, 1] Operation: 52-51=1 Exploring Operation: 10+51=61, Resulting Numbers: [52, 61] Generated Node #0,1,1: 48:[52, 61] Operation: 10+51=61 Exploring Operation: 52-10=42, Resulting Numbers: [51, 42] Generated Node #0,1,2: 48:[51, 42] Operation: 52-10=42 Exploring Operation: 51-10=41, Resulting Numbers: [52, 41] Generated Node #0,1,3: 48:[52, 41] Operation: 51-10=41 Moving to Node #0,3 Current State: 48:[51, 21, 63], Operations: ['73-10=63'] Exploring Operation: 63-51=12, Resulting Numbers: [21, 12] Generated Node #0,3,0: 48:[21, 12] Operation: 63-51=12 Exploring Operation: 63-21=42, Resulting Numbers: [51, 42] Generated Node #0,3,1: 48:[51, 42] Operation: 63-21=42 Exploring Operation: 63/21=3, Resulting Numbers: [51, 3] Generated Node #0,3,2: 48:[51, 3] Operation: 63/21=3 Exploring Operation: 51-21=30, Resulting Numbers: [63, 30] Generated Node #0,3,3: 48:[63, 30] Operation: 51-21=30 Moving to Node #0,2 Current State: 48:[51, 73, 11], Operations: ['21-10=11'] Exploring Operation: 73-51=22, Resulting Numbers: [11, 22] Generated Node #0,2,0: 48:[11, 22] Operation: 73-51=22 Exploring Operation: 73-11=62, Resulting Numbers: [51, 62] Generated Node #0,2,1: 48:[51, 62] Operation: 73-11=62 Exploring Operation: 51+11=62, Resulting Numbers: [73, 62] Generated Node #0,2,2: 48:[73, 62] Operation: 51+11=62 Exploring Operation: 51-11=40, Resulting Numbers: [73, 40] Generated Node #0,2,3: 48:[73, 40] Operation: 51-11=40 Moving to Node #0,1,0 Current State: 48:[10, 1], Operations: ['73-21=52', '52-51=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[51, 3], Operations: ['73-10=63', '63/21=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[10, 51, 21, 73], Operations: [] Exploring Operation: 73-10=63, Resulting Numbers: [51, 21, 63] Generated Node #0,3: 48:[51, 21, 63] Operation: 73-10=63 Moving to Node #0,3 Current State: 48:[51, 21, 63], Operations: ['73-10=63'] Exploring Operation: 63/21=3, Resulting Numbers: [51, 3] Generated Node #0,3,2: 48:[51, 3] Operation: 63/21=3 Moving to Node #0,3,2 Current State: 48:[51, 3], Operations: ['73-10=63', '63/21=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.962674
hs_4
sum_heuristic
[ 35, 7, 2, 66 ]
73
[ "35/7=5", "2+66=68", "5+68=73" ]
Current State: 73:[35, 7, 2, 66], Operations: [] Exploring Operation: 35/7=5, Resulting Numbers: [2, 66, 5] Generated Node #2: [2, 66, 5] from Operation: 35/7=5 Current State: 73:[2, 66, 5], Operations: ['35/7=5'] Exploring Operation: 2+66=68, Resulting Numbers: [5, 68] Generated Node #3: [5, 68] from Operation: 2+66=68 Current State: 73:[5, 68], Operations: ['35/7=5', '2+66=68'] Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[35, 7, 2, 66], Operations: [] Exploring Operation: 35*2=70, Resulting Numbers: [7, 66, 70] Generated Node #0,0: 73:[7, 66, 70] Operation: 35*2=70 Moving to Node #0,0 Current State: 73:[7, 66, 70], Operations: ['35*2=70'] Exploring Operation: 7+66=73, Resulting Numbers: [70, 73] Generated Node #0,0,0: 73:[70, 73] Operation: 7+66=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[70, 73], Operations: ['35*2=70', '7+66=73'] Exploring Operation: 70+73=143, Resulting Numbers: [143] 143,73 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
[ 62, 31, 62, 2 ]
30
[ "62/31=2", "62-2=60", "60/2=30" ]
Current State: 30:[62, 31, 62, 2], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [2, 2] Generated Node #2: [2, 2] from Operation: 62/31=2 Current State: 30:[2, 2], Operations: ['62/31=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,30 equal: Goal Reached Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[62, 31, 62, 2], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [31, 2, 1] Generated Node #0,0: 30:[31, 2, 1] Operation: 62/62=1 Moving to Node #0,0 Current State: 30:[31, 2, 1], Operations: ['62/62=1'] Exploring Operation: 31-1=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 30:[2, 30] Operation: 31-1=30 Moving to Node #0,0,0 Current State: 30:[2, 30], Operations: ['62/62=1', '31-1=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 12, 73, 24, 15 ]
86
[ "24/12=2", "73+15=88", "88-2=86" ]
Current State: 86:[12, 73, 24, 15], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [73, 15, 2] Generated Node #2: [73, 15, 2] from Operation: 24/12=2 Current State: 86:[73, 15, 2], Operations: ['24/12=2'] Exploring Operation: 73+15=88, Resulting Numbers: [2, 88] Generated Node #3: [2, 88] from Operation: 73+15=88 Current State: 86:[2, 88], Operations: ['24/12=2', '73+15=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[12, 73, 24, 15], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [73, 15, 2] Generated Node #0,0: 86:[73, 15, 2] Operation: 24/12=2 Exploring Operation: 24+15=39, Resulting Numbers: [12, 73, 39] Generated Node #0,1: 86:[12, 73, 39] Operation: 24+15=39 Moving to Node #0,0 Current State: 86:[73, 15, 2], Operations: ['24/12=2'] Exploring Operation: 73+15=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 86:[2, 88] Operation: 73+15=88 Exploring Operation: 73-15=58, Resulting Numbers: [2, 58] Generated Node #0,0,1: 86:[2, 58] Operation: 73-15=58 Moving to Node #0,1 Current State: 86:[12, 73, 39], Operations: ['24+15=39'] Exploring Operation: 12+73=85, Resulting Numbers: [39, 85] Generated Node #0,1,0: 86:[39, 85] Operation: 12+73=85 Exploring Operation: 73-39=34, Resulting Numbers: [12, 34] Generated Node #0,1,1: 86:[12, 34] Operation: 73-39=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[39, 85], Operations: ['24+15=39', '12+73=85'] Exploring Operation: 39+85=124, Resulting Numbers: [124] 124,86 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[12, 34], Operations: ['24+15=39', '73-39=34'] Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,86 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: 86:[2, 88], Operations: ['24/12=2', '73+15=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[12, 73, 24, 15], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [73, 15, 2] Generated Node #0,0: 86:[73, 15, 2] Operation: 24/12=2 Moving to Node #0,0 Current State: 86:[73, 15, 2], Operations: ['24/12=2'] Exploring Operation: 73+15=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 86:[2, 88] Operation: 73+15=88 Moving to Node #0,0,0 Current State: 86:[2, 88], Operations: ['24/12=2', '73+15=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 3, 62, 22, 70 ]
10
[ "62-22=40", "70-40=30", "30/3=10" ]
Current State: 10:[3, 62, 22, 70], Operations: [] Exploring Operation: 62-22=40, Resulting Numbers: [3, 70, 40] Generated Node #2: [3, 70, 40] from Operation: 62-22=40 Current State: 10:[3, 70, 40], Operations: ['62-22=40'] Exploring Operation: 70-40=30, Resulting Numbers: [3, 30] Generated Node #3: [3, 30] from Operation: 70-40=30 Current State: 10:[3, 30], Operations: ['62-22=40', '70-40=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[3, 62, 22, 70], Operations: [] Exploring Operation: 70-22=48, Resulting Numbers: [3, 62, 48] Generated Node #0,0: 10:[3, 62, 48] Operation: 70-22=48 Exploring Operation: 22-3=19, Resulting Numbers: [62, 70, 19] Generated Node #0,1: 10:[62, 70, 19] Operation: 22-3=19 Exploring Operation: 62-22=40, Resulting Numbers: [3, 70, 40] Generated Node #0,2: 10:[3, 70, 40] Operation: 62-22=40 Exploring Operation: 70-62=8, Resulting Numbers: [3, 22, 8] Generated Node #0,3: 10:[3, 22, 8] Operation: 70-62=8 Exploring Operation: 62-3=59, Resulting Numbers: [22, 70, 59] Generated Node #0,4: 10:[22, 70, 59] Operation: 62-3=59 Moving to Node #0,3 Current State: 10:[3, 22, 8], Operations: ['70-62=8'] Exploring Operation: 22-3=19, Resulting Numbers: [8, 19] Generated Node #0,3,0: 10:[8, 19] Operation: 22-3=19 Exploring Operation: 22-8=14, Resulting Numbers: [3, 14] Generated Node #0,3,1: 10:[3, 14] Operation: 22-8=14 Exploring Operation: 8-3=5, Resulting Numbers: [22, 5] Generated Node #0,3,2: 10:[22, 5] Operation: 8-3=5 Exploring Operation: 3+8=11, Resulting Numbers: [22, 11] Generated Node #0,3,3: 10:[22, 11] Operation: 3+8=11 Exploring Operation: 3+22=25, Resulting Numbers: [8, 25] Generated Node #0,3,4: 10:[8, 25] Operation: 3+22=25 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[3, 14], Operations: ['70-62=8', '22-8=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[8, 19], Operations: ['70-62=8', '22-3=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,10 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 10:[22, 5], Operations: ['70-62=8', '8-3=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,10 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 10:[22, 11], Operations: ['70-62=8', '3+8=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,10 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 10:[8, 25], Operations: ['70-62=8', '3+22=25'] Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,10 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,10 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: 10:[3, 70, 40], Operations: ['62-22=40'] Exploring Operation: 40-3=37, Resulting Numbers: [70, 37] Generated Node #0,2,0: 10:[70, 37] Operation: 40-3=37 Exploring Operation: 70-3=67, Resulting Numbers: [40, 67] Generated Node #0,2,1: 10:[40, 67] Operation: 70-3=67 Exploring Operation: 3+40=43, Resulting Numbers: [70, 43] Generated Node #0,2,2: 10:[70, 43] Operation: 3+40=43 Exploring Operation: 3+70=73, Resulting Numbers: [40, 73] Generated Node #0,2,3: 10:[40, 73] Operation: 3+70=73 Exploring Operation: 70-40=30, Resulting Numbers: [3, 30] Generated Node #0,2,4: 10:[3, 30] Operation: 70-40=30 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[3, 30], Operations: ['62-22=40', '70-40=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[3, 62, 22, 70], Operations: [] Exploring Operation: 62-22=40, Resulting Numbers: [3, 70, 40] Generated Node #0,2: 10:[3, 70, 40] Operation: 62-22=40 Moving to Node #0,2 Current State: 10:[3, 70, 40], Operations: ['62-22=40'] Exploring Operation: 70-40=30, Resulting Numbers: [3, 30] Generated Node #0,2,4: 10:[3, 30] Operation: 70-40=30 Moving to Node #0,2,4 Current State: 10:[3, 30], Operations: ['62-22=40', '70-40=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 65, 7, 63, 98 ]
56
[ "65-63=2", "98/2=49", "7+49=56" ]
Current State: 56:[65, 7, 63, 98], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [7, 98, 2] Generated Node #2: [7, 98, 2] from Operation: 65-63=2 Current State: 56:[7, 98, 2], Operations: ['65-63=2'] Exploring Operation: 98/2=49, Resulting Numbers: [7, 49] Generated Node #3: [7, 49] from Operation: 98/2=49 Current State: 56:[7, 49], Operations: ['65-63=2', '98/2=49'] Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[65, 7, 63, 98], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [65, 7, 35] Generated Node #0,0: 56:[65, 7, 35] Operation: 98-63=35 Exploring Operation: 65-63=2, Resulting Numbers: [7, 98, 2] Generated Node #0,1: 56:[7, 98, 2] Operation: 65-63=2 Exploring Operation: 98-65=33, Resulting Numbers: [7, 63, 33] Generated Node #0,2: 56:[7, 63, 33] Operation: 98-65=33 Exploring Operation: 98/7=14, Resulting Numbers: [65, 63, 14] Generated Node #0,3: 56:[65, 63, 14] Operation: 98/7=14 Moving to Node #0,2 Current State: 56:[7, 63, 33], Operations: ['98-65=33'] Exploring Operation: 63/7=9, Resulting Numbers: [33, 9] Generated Node #0,2,0: 56:[33, 9] Operation: 63/7=9 Exploring Operation: 33-7=26, Resulting Numbers: [63, 26] Generated Node #0,2,1: 56:[63, 26] Operation: 33-7=26 Exploring Operation: 63-33=30, Resulting Numbers: [7, 30] Generated Node #0,2,2: 56:[7, 30] Operation: 63-33=30 Exploring Operation: 63-7=56, Resulting Numbers: [33, 56] Generated Node #0,2,3: 56:[33, 56] Operation: 63-7=56 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[7, 30], Operations: ['98-65=33', '63-33=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[33, 56], Operations: ['98-65=33', '63-7=56'] Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,56 unequal: No Solution Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[33, 9], Operations: ['98-65=33', '63/7=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[63, 26], Operations: ['98-65=33', '33-7=26'] Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,56 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,56 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: 56:[65, 63, 14], Operations: ['98/7=14'] Exploring Operation: 65-63=2, Resulting Numbers: [14, 2] Generated Node #0,3,0: 56:[14, 2] Operation: 65-63=2 Exploring Operation: 65-14=51, Resulting Numbers: [63, 51] Generated Node #0,3,1: 56:[63, 51] Operation: 65-14=51 Exploring Operation: 65+14=79, Resulting Numbers: [63, 79] Generated Node #0,3,2: 56:[63, 79] Operation: 65+14=79 Exploring Operation: 63-14=49, Resulting Numbers: [65, 49] Generated Node #0,3,3: 56:[65, 49] Operation: 63-14=49 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[14, 2], Operations: ['98/7=14', '65-63=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[63, 51], Operations: ['98/7=14', '65-14=51'] Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,56 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[65, 49], Operations: ['98/7=14', '63-14=49'] Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[63, 79], Operations: ['98/7=14', '65+14=79'] Exploring Operation: 63*79=4977, Resulting Numbers: [4977] 4977,56 unequal: No Solution Exploring Operation: 79-63=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 63+79=142, Resulting Numbers: [142] 142,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 56:[65, 7, 35], Operations: ['98-63=35'] Exploring Operation: 35-7=28, Resulting Numbers: [65, 28] Generated Node #0,0,0: 56:[65, 28] Operation: 35-7=28 Exploring Operation: 65-7=58, Resulting Numbers: [35, 58] Generated Node #0,0,1: 56:[35, 58] Operation: 65-7=58 Exploring Operation: 65-35=30, Resulting Numbers: [7, 30] Generated Node #0,0,2: 56:[7, 30] Operation: 65-35=30 Exploring Operation: 35/7=5, Resulting Numbers: [65, 5] Generated Node #0,0,3: 56:[65, 5] Operation: 35/7=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[7, 30], Operations: ['98-63=35', '65-35=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[65, 28], Operations: ['98-63=35', '35-7=28'] Exploring Operation: 65*28=1820, Resulting Numbers: [1820] 1820,56 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[35, 58], Operations: ['98-63=35', '65-7=58'] Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,56 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,56 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[65, 5], Operations: ['98-63=35', '35/7=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,56 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[7, 98, 2], Operations: ['65-63=2'] Exploring Operation: 98/2=49, Resulting Numbers: [7, 49] Generated Node #0,1,0: 56:[7, 49] Operation: 98/2=49 Exploring Operation: 98-2=96, Resulting Numbers: [7, 96] Generated Node #0,1,1: 56:[7, 96] Operation: 98-2=96 Exploring Operation: 98-7=91, Resulting Numbers: [2, 91] Generated Node #0,1,2: 56:[2, 91] Operation: 98-7=91 Exploring Operation: 98/7=14, Resulting Numbers: [2, 14] Generated Node #0,1,3: 56:[2, 14] Operation: 98/7=14 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[2, 14], Operations: ['65-63=2', '98/7=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[7, 49], Operations: ['65-63=2', '98/2=49'] Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[65, 7, 63, 98], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [7, 98, 2] Generated Node #0,1: 56:[7, 98, 2] Operation: 65-63=2 Moving to Node #0,1 Current State: 56:[7, 98, 2], Operations: ['65-63=2'] Exploring Operation: 98/2=49, Resulting Numbers: [7, 49] Generated Node #0,1,0: 56:[7, 49] Operation: 98/2=49 Moving to Node #0,1,0 Current State: 56:[7, 49], Operations: ['65-63=2', '98/2=49'] Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_4
mult_heuristic
[ 74, 51, 28, 38 ]
33
[ "74-51=23", "38-28=10", "23+10=33" ]
Current State: 33:[74, 51, 28, 38], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [28, 38, 23] Generated Node #2: [28, 38, 23] from Operation: 74-51=23 Current State: 33:[28, 38, 23], Operations: ['74-51=23'] Exploring Operation: 38-28=10, Resulting Numbers: [23, 10] Generated Node #3: [23, 10] from Operation: 38-28=10 Current State: 33:[23, 10], Operations: ['74-51=23', '38-28=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[74, 51, 28, 38], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [28, 38, 23] Generated Node #0,0: 33:[28, 38, 23] Operation: 74-51=23 Exploring Operation: 74-28=46, Resulting Numbers: [51, 38, 46] Generated Node #0,1: 33:[51, 38, 46] Operation: 74-28=46 Exploring Operation: 74-38=36, Resulting Numbers: [51, 28, 36] Generated Node #0,2: 33:[51, 28, 36] Operation: 74-38=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[28, 38, 23], Operations: ['74-51=23'] Exploring Operation: 38-28=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 33:[23, 10] Operation: 38-28=10 Exploring Operation: 38-23=15, Resulting Numbers: [28, 15] Generated Node #0,0,1: 33:[28, 15] Operation: 38-23=15 Exploring Operation: 28-23=5, Resulting Numbers: [38, 5] Generated Node #0,0,2: 33:[38, 5] Operation: 28-23=5 Moving to Node #0,0,2 Current State: 33:[38, 5], Operations: ['74-51=23', '28-23=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[74, 51, 28, 38], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [28, 38, 23] Generated Node #0,0: 33:[28, 38, 23] Operation: 74-51=23 Moving to Node #0,0 Current State: 33:[28, 38, 23], Operations: ['74-51=23'] Exploring Operation: 28-23=5, Resulting Numbers: [38, 5] Generated Node #0,0,2: 33:[38, 5] Operation: 28-23=5 Moving to Node #0,0,2 Current State: 33:[38, 5], Operations: ['74-51=23', '28-23=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 22, 44, 44, 13 ]
34
[ "22+13=35", "44/44=1", "35-1=34" ]
Current State: 34:[22, 44, 44, 13], Operations: [] Exploring Operation: 22+13=35, Resulting Numbers: [44, 44, 35] Generated Node #2: [44, 44, 35] from Operation: 22+13=35 Current State: 34:[44, 44, 35], Operations: ['22+13=35'] Exploring Operation: 44/44=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 44/44=1 Current State: 34:[35, 1], Operations: ['22+13=35', '44/44=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[22, 44, 44, 13], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [44, 13, 2] Generated Node #0,0: 34:[44, 13, 2] Operation: 44/22=2 Exploring Operation: 44/22=2, Resulting Numbers: [44, 13, 2] Generated Node #0,1: 34:[44, 13, 2] Operation: 44/22=2 Exploring Operation: 44/44=1, Resulting Numbers: [22, 13, 1] Generated Node #0,2: 34:[22, 13, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [22, 13, 0] Generated Node #0,3: 34:[22, 13, 0] Operation: 44-44=0 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[22, 13, 1], Operations: ['44/44=1'] Exploring Operation: 22-1=21, Resulting Numbers: [13, 21] Generated Node #0,2,0: 34:[13, 21] Operation: 22-1=21 Exploring Operation: 22-13=9, Resulting Numbers: [1, 9] Generated Node #0,2,1: 34:[1, 9] Operation: 22-13=9 Exploring Operation: 13+1=14, Resulting Numbers: [22, 14] Generated Node #0,2,2: 34:[22, 14] Operation: 13+1=14 Exploring Operation: 22+13=35, Resulting Numbers: [1, 35] Generated Node #0,2,3: 34:[1, 35] Operation: 22+13=35 Moving to Node #0,2,3 Current State: 34:[1, 35], Operations: ['44/44=1', '22+13=35'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[22, 44, 44, 13], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [22, 13, 1] Generated Node #0,2: 34:[22, 13, 1] Operation: 44/44=1 Moving to Node #0,2 Current State: 34:[22, 13, 1], Operations: ['44/44=1'] Exploring Operation: 22+13=35, Resulting Numbers: [1, 35] Generated Node #0,2,3: 34:[1, 35] Operation: 22+13=35 Moving to Node #0,2,3 Current State: 34:[1, 35], Operations: ['44/44=1', '22+13=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 56, 2, 5, 75 ]
57
[ "75-56=19", "5-2=3", "19*3=57" ]
Current State: 57:[56, 2, 5, 75], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [2, 5, 19] Generated Node #2: [2, 5, 19] from Operation: 75-56=19 Current State: 57:[2, 5, 19], Operations: ['75-56=19'] Exploring Operation: 5-2=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 5-2=3 Current State: 57:[19, 3], Operations: ['75-56=19', '5-2=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[56, 2, 5, 75], Operations: [] Exploring Operation: 75/5=15, Resulting Numbers: [56, 2, 15] Generated Node #0,0: 57:[56, 2, 15] Operation: 75/5=15 Exploring Operation: 75-56=19, Resulting Numbers: [2, 5, 19] Generated Node #0,1: 57:[2, 5, 19] Operation: 75-56=19 Moving to Node #0,1 Current State: 57:[2, 5, 19], Operations: ['75-56=19'] Exploring Operation: 5-2=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 57:[19, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [19, 7] Generated Node #0,1,1: 57:[19, 7] Operation: 2+5=7 Moving to Node #0,0 Current State: 57:[56, 2, 15], Operations: ['75/5=15'] Exploring Operation: 2+15=17, Resulting Numbers: [56, 17] Generated Node #0,0,0: 57:[56, 17] Operation: 2+15=17 Exploring Operation: 56+2=58, Resulting Numbers: [15, 58] Generated Node #0,0,1: 57:[15, 58] Operation: 56+2=58 Moving to Node #0,1,0 Current State: 57:[19, 3], Operations: ['75-56=19', '5-2=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[56, 2, 5, 75], Operations: [] Exploring Operation: 75-56=19, Resulting Numbers: [2, 5, 19] Generated Node #0,1: 57:[2, 5, 19] Operation: 75-56=19 Moving to Node #0,1 Current State: 57:[2, 5, 19], Operations: ['75-56=19'] Exploring Operation: 5-2=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 57:[19, 3] Operation: 5-2=3 Moving to Node #0,1,0 Current State: 57:[19, 3], Operations: ['75-56=19', '5-2=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 48, 43, 37, 90 ]
58
[ "48-43=5", "90-37=53", "5+53=58" ]
Current State: 58:[48, 43, 37, 90], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [37, 90, 5] Generated Node #2: [37, 90, 5] from Operation: 48-43=5 Current State: 58:[37, 90, 5], Operations: ['48-43=5'] Exploring Operation: 90-37=53, Resulting Numbers: [5, 53] Generated Node #3: [5, 53] from Operation: 90-37=53 Current State: 58:[5, 53], Operations: ['48-43=5', '90-37=53'] Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[48, 43, 37, 90], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [48, 43, 53] Generated Node #0,0: 58:[48, 43, 53] Operation: 90-37=53 Exploring Operation: 90-43=47, Resulting Numbers: [48, 37, 47] Generated Node #0,1: 58:[48, 37, 47] Operation: 90-43=47 Moving to Node #0,0 Current State: 58:[48, 43, 53], Operations: ['90-37=53'] Exploring Operation: 48-43=5, Resulting Numbers: [53, 5] Generated Node #0,0,0: 58:[53, 5] Operation: 48-43=5 Exploring Operation: 53-48=5, Resulting Numbers: [43, 5] Generated Node #0,0,1: 58:[43, 5] Operation: 53-48=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[53, 5], Operations: ['90-37=53', '48-43=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[48, 43, 37, 90], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [48, 43, 53] Generated Node #0,0: 58:[48, 43, 53] Operation: 90-37=53 Moving to Node #0,0 Current State: 58:[48, 43, 53], Operations: ['90-37=53'] Exploring Operation: 48-43=5, Resulting Numbers: [53, 5] Generated Node #0,0,0: 58:[53, 5] Operation: 48-43=5 Moving to Node #0,0,0 Current State: 58:[53, 5], Operations: ['90-37=53', '48-43=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 51, 71, 4, 11 ]
13
[ "71-51=20", "11-4=7", "20-7=13" ]
Current State: 13:[51, 71, 4, 11], Operations: [] Exploring Operation: 71-51=20, Resulting Numbers: [4, 11, 20] Generated Node #2: [4, 11, 20] from Operation: 71-51=20 Current State: 13:[4, 11, 20], Operations: ['71-51=20'] Exploring Operation: 11-4=7, Resulting Numbers: [20, 7] Generated Node #3: [20, 7] from Operation: 11-4=7 Current State: 13:[20, 7], Operations: ['71-51=20', '11-4=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[51, 71, 4, 11], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [71, 4, 40] Generated Node #0,0: 13:[71, 4, 40] Operation: 51-11=40 Exploring Operation: 71-51=20, Resulting Numbers: [4, 11, 20] Generated Node #0,1: 13:[4, 11, 20] Operation: 71-51=20 Exploring Operation: 51-4=47, Resulting Numbers: [71, 11, 47] Generated Node #0,2: 13:[71, 11, 47] Operation: 51-4=47 Moving to Node #0,1 Current State: 13:[4, 11, 20], Operations: ['71-51=20'] Exploring Operation: 20-4=16, Resulting Numbers: [11, 16] Generated Node #0,1,0: 13:[11, 16] Operation: 20-4=16 Exploring Operation: 4+11=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 13:[20, 15] Operation: 4+11=15 Exploring Operation: 20/4=5, Resulting Numbers: [11, 5] Generated Node #0,1,2: 13:[11, 5] Operation: 20/4=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[11, 16], Operations: ['71-51=20', '20-4=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[20, 15], Operations: ['71-51=20', '4+11=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[11, 5], Operations: ['71-51=20', '20/4=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,13 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: 13:[71, 4, 40], Operations: ['51-11=40'] Exploring Operation: 71-4=67, Resulting Numbers: [40, 67] Generated Node #0,0,0: 13:[40, 67] Operation: 71-4=67 Exploring Operation: 71-40=31, Resulting Numbers: [4, 31] Generated Node #0,0,1: 13:[4, 31] Operation: 71-40=31 Exploring Operation: 40/4=10, Resulting Numbers: [71, 10] Generated Node #0,0,2: 13:[71, 10] Operation: 40/4=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[4, 31], Operations: ['51-11=40', '71-40=31'] Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,13 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[71, 10], Operations: ['51-11=40', '40/4=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,13 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,13 unequal: No Solution Exploring Operation: 71*10=710, Resulting Numbers: [710] 710,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[40, 67], Operations: ['51-11=40', '71-4=67'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,13 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 13:[71, 11, 47], Operations: ['51-4=47'] Exploring Operation: 47-11=36, Resulting Numbers: [71, 36] Generated Node #0,2,0: 13:[71, 36] Operation: 47-11=36 Exploring Operation: 71-47=24, Resulting Numbers: [11, 24] Generated Node #0,2,1: 13:[11, 24] Operation: 71-47=24 Exploring Operation: 71-11=60, Resulting Numbers: [47, 60] Generated Node #0,2,2: 13:[47, 60] Operation: 71-11=60 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[11, 24], Operations: ['51-4=47', '71-47=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[51, 71, 4, 11], Operations: [] Exploring Operation: 51-4=47, Resulting Numbers: [71, 11, 47] Generated Node #0,2: 13:[71, 11, 47] Operation: 51-4=47 Moving to Node #0,2 Current State: 13:[71, 11, 47], Operations: ['51-4=47'] Exploring Operation: 71-47=24, Resulting Numbers: [11, 24] Generated Node #0,2,1: 13:[11, 24] Operation: 71-47=24 Moving to Node #0,2,1 Current State: 13:[11, 24], Operations: ['51-4=47', '71-47=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 28, 64, 95, 85 ]
46
[ "64-28=36", "95-85=10", "36+10=46" ]
Current State: 46:[28, 64, 95, 85], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [95, 85, 36] Generated Node #2: [95, 85, 36] from Operation: 64-28=36 Current State: 46:[95, 85, 36], Operations: ['64-28=36'] Exploring Operation: 95-85=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 95-85=10 Current State: 46:[36, 10], Operations: ['64-28=36', '95-85=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[28, 64, 95, 85], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [28, 64, 10] Generated Node #0,0: 46:[28, 64, 10] Operation: 95-85=10 Exploring Operation: 95-64=31, Resulting Numbers: [28, 85, 31] Generated Node #0,1: 46:[28, 85, 31] Operation: 95-64=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[28, 64, 10], Operations: ['95-85=10'] Exploring Operation: 64-28=36, Resulting Numbers: [10, 36] Generated Node #0,0,0: 46:[10, 36] Operation: 64-28=36 Exploring Operation: 64-10=54, Resulting Numbers: [28, 54] Generated Node #0,0,1: 46:[28, 54] Operation: 64-10=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[28, 54], Operations: ['95-85=10', '64-10=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,46 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,46 unequal: No Solution No 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: 46:[10, 36], Operations: ['95-85=10', '64-28=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[28, 64, 95, 85], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [28, 64, 10] Generated Node #0,0: 46:[28, 64, 10] Operation: 95-85=10 Moving to Node #0,0 Current State: 46:[28, 64, 10], Operations: ['95-85=10'] Exploring Operation: 64-28=36, Resulting Numbers: [10, 36] Generated Node #0,0,0: 46:[10, 36] Operation: 64-28=36 Moving to Node #0,0,0 Current State: 46:[10, 36], Operations: ['95-85=10', '64-28=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 54, 99, 3, 13 ]
61
[ "99-54=45", "3+13=16", "45+16=61" ]
Current State: 61:[54, 99, 3, 13], Operations: [] Exploring Operation: 99-54=45, Resulting Numbers: [3, 13, 45] Generated Node #2: [3, 13, 45] from Operation: 99-54=45 Current State: 61:[3, 13, 45], Operations: ['99-54=45'] Exploring Operation: 3+13=16, Resulting Numbers: [45, 16] Generated Node #3: [45, 16] from Operation: 3+13=16 Current State: 61:[45, 16], Operations: ['99-54=45', '3+13=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[54, 99, 3, 13], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [54, 13, 33] Generated Node #0,0: 61:[54, 13, 33] Operation: 99/3=33 Exploring Operation: 54+3=57, Resulting Numbers: [99, 13, 57] Generated Node #0,1: 61:[99, 13, 57] Operation: 54+3=57 Exploring Operation: 3*13=39, Resulting Numbers: [54, 99, 39] Generated Node #0,2: 61:[54, 99, 39] Operation: 3*13=39 Exploring Operation: 99-3=96, Resulting Numbers: [54, 13, 96] Generated Node #0,3: 61:[54, 13, 96] Operation: 99-3=96 Moving to Node #0,2 Current State: 61:[54, 99, 39], Operations: ['3*13=39'] Exploring Operation: 54-39=15, Resulting Numbers: [99, 15] Generated Node #0,2,0: 61:[99, 15] Operation: 54-39=15 Exploring Operation: 54+39=93, Resulting Numbers: [99, 93] Generated Node #0,2,1: 61:[99, 93] Operation: 54+39=93 Exploring Operation: 99-54=45, Resulting Numbers: [39, 45] Generated Node #0,2,2: 61:[39, 45] Operation: 99-54=45 Exploring Operation: 99-39=60, Resulting Numbers: [54, 60] Generated Node #0,2,3: 61:[54, 60] Operation: 99-39=60 Moving to Node #0,0 Current State: 61:[54, 13, 33], Operations: ['99/3=33'] Exploring Operation: 54+13=67, Resulting Numbers: [33, 67] Generated Node #0,0,0: 61:[33, 67] Operation: 54+13=67 Exploring Operation: 13+33=46, Resulting Numbers: [54, 46] Generated Node #0,0,1: 61:[54, 46] Operation: 13+33=46 Exploring Operation: 54-13=41, Resulting Numbers: [33, 41] Generated Node #0,0,2: 61:[33, 41] Operation: 54-13=41 Exploring Operation: 33-13=20, Resulting Numbers: [54, 20] Generated Node #0,0,3: 61:[54, 20] Operation: 33-13=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[54, 46], Operations: ['99/3=33', '13+33=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,61 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[33, 67], Operations: ['99/3=33', '54+13=67'] Exploring Operation: 33*67=2211, Resulting Numbers: [2211] 2211,61 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[33, 41], Operations: ['99/3=33', '54-13=41'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,61 unequal: No Solution Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[54, 20], Operations: ['99/3=33', '33-13=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,61 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,61 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: 61:[54, 13, 96], Operations: ['99-3=96'] Exploring Operation: 96-13=83, Resulting Numbers: [54, 83] Generated Node #0,3,0: 61:[54, 83] Operation: 96-13=83 Exploring Operation: 54-13=41, Resulting Numbers: [96, 41] Generated Node #0,3,1: 61:[96, 41] Operation: 54-13=41 Exploring Operation: 54+13=67, Resulting Numbers: [96, 67] Generated Node #0,3,2: 61:[96, 67] Operation: 54+13=67 Exploring Operation: 13+96=109, Resulting Numbers: [54, 109] Generated Node #0,3,3: 61:[54, 109] Operation: 13+96=109 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[54, 83], Operations: ['99-3=96', '96-13=83'] Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 54*83=4482, Resulting Numbers: [4482] 4482,61 unequal: No Solution Exploring Operation: 54+83=137, Resulting Numbers: [137] 137,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[96, 67], Operations: ['99-3=96', '54+13=67'] Exploring Operation: 96*67=6432, Resulting Numbers: [6432] 6432,61 unequal: No Solution Exploring Operation: 96+67=163, Resulting Numbers: [163] 163,61 unequal: No Solution Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[96, 41], Operations: ['99-3=96', '54-13=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[54, 109], Operations: ['99-3=96', '13+96=109'] Exploring Operation: 54+109=163, Resulting Numbers: [163] 163,61 unequal: No Solution Exploring Operation: 109-54=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 54*109=5886, Resulting Numbers: [5886] 5886,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[99, 13, 57], Operations: ['54+3=57'] Exploring Operation: 57-13=44, Resulting Numbers: [99, 44] Generated Node #0,1,0: 61:[99, 44] Operation: 57-13=44 Exploring Operation: 99+13=112, Resulting Numbers: [57, 112] Generated Node #0,1,1: 61:[57, 112] Operation: 99+13=112 Exploring Operation: 99-13=86, Resulting Numbers: [57, 86] Generated Node #0,1,2: 61:[57, 86] Operation: 99-13=86 Exploring Operation: 13+57=70, Resulting Numbers: [99, 70] Generated Node #0,1,3: 61:[99, 70] Operation: 13+57=70 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[57, 86], Operations: ['54+3=57', '99-13=86'] Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 57*86=4902, Resulting Numbers: [4902] 4902,61 unequal: No Solution Exploring Operation: 57+86=143, Resulting Numbers: [143] 143,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,3 Current State: 61:[99, 70], Operations: ['54+3=57', '13+57=70'] Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 99+70=169, Resulting Numbers: [169] 169,61 unequal: No Solution Exploring Operation: 99*70=6930, Resulting Numbers: [6930] 6930,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,0 Current State: 61:[99, 44], Operations: ['54+3=57', '57-13=44'] Exploring Operation: 99+44=143, Resulting Numbers: [143] 143,61 unequal: No Solution Exploring Operation: 99-44=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 99*44=4356, Resulting Numbers: [4356] 4356,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,1 Current State: 61:[57, 112], Operations: ['54+3=57', '99+13=112'] Exploring Operation: 57*112=6384, Resulting Numbers: [6384] 6384,61 unequal: No Solution Exploring Operation: 57+112=169, Resulting Numbers: [169] 169,61 unequal: No Solution Exploring Operation: 112-57=55, Resulting Numbers: [55] 55,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 61:[54, 60], Operations: ['3*13=39', '99-39=60'] Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,61 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[39, 45], Operations: ['3*13=39', '99-54=45'] Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[99, 93], Operations: ['3*13=39', '54+39=93'] Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 99+93=192, Resulting Numbers: [192] 192,61 unequal: No Solution Exploring Operation: 99*93=9207, Resulting Numbers: [9207] 9207,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[99, 15], Operations: ['3*13=39', '54-39=15'] Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,61 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 44, 82, 12, 63 ]
37
[ "82-44=38", "12+63=75", "75-38=37" ]
Current State: 37:[44, 82, 12, 63], Operations: [] Exploring Operation: 82-44=38, Resulting Numbers: [12, 63, 38] Generated Node #2: [12, 63, 38] from Operation: 82-44=38 Current State: 37:[12, 63, 38], Operations: ['82-44=38'] Exploring Operation: 12+63=75, Resulting Numbers: [38, 75] Generated Node #3: [38, 75] from Operation: 12+63=75 Current State: 37:[38, 75], Operations: ['82-44=38', '12+63=75'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[44, 82, 12, 63], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [44, 12, 19] Generated Node #0,0: 37:[44, 12, 19] Operation: 82-63=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[44, 12, 19], Operations: ['82-63=19'] Exploring Operation: 12+19=31, Resulting Numbers: [44, 31] Generated Node #0,0,0: 37:[44, 31] Operation: 12+19=31 Moving to Node #0,0,0 Current State: 37:[44, 31], Operations: ['82-63=19', '12+19=31'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,37 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
[ 33, 79, 10, 87 ]
47
[ "87-79=8", "10*8=80", "80-33=47" ]
Current State: 47:[33, 79, 10, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [33, 10, 8] Generated Node #2: [33, 10, 8] from Operation: 87-79=8 Current State: 47:[33, 10, 8], Operations: ['87-79=8'] Exploring Operation: 10*8=80, Resulting Numbers: [33, 80] Generated Node #3: [33, 80] from Operation: 10*8=80 Current State: 47:[33, 80], Operations: ['87-79=8', '10*8=80'] Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[33, 79, 10, 87], Operations: [] Exploring Operation: 33+10=43, Resulting Numbers: [79, 87, 43] Generated Node #0,0: 47:[79, 87, 43] Operation: 33+10=43 Exploring Operation: 87-33=54, Resulting Numbers: [79, 10, 54] Generated Node #0,1: 47:[79, 10, 54] Operation: 87-33=54 Exploring Operation: 79-10=69, Resulting Numbers: [33, 87, 69] Generated Node #0,2: 47:[33, 87, 69] Operation: 79-10=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[79, 87, 43], Operations: ['33+10=43'] Exploring Operation: 87-79=8, Resulting Numbers: [43, 8] Generated Node #0,0,0: 47:[43, 8] Operation: 87-79=8 Exploring Operation: 79-43=36, Resulting Numbers: [87, 36] Generated Node #0,0,1: 47:[87, 36] Operation: 79-43=36 Exploring Operation: 87-43=44, Resulting Numbers: [79, 44] Generated Node #0,0,2: 47:[79, 44] Operation: 87-43=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[79, 44], Operations: ['33+10=43', '87-43=44'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,47 unequal: No Solution Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[43, 8], Operations: ['33+10=43', '87-79=8'] Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[87, 36], Operations: ['33+10=43', '79-43=36'] Exploring Operation: 87+36=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 87*36=3132, Resulting Numbers: [3132] 3132,47 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[79, 10, 54], Operations: ['87-33=54'] Exploring Operation: 54-10=44, Resulting Numbers: [79, 44] Generated Node #0,1,0: 47:[79, 44] Operation: 54-10=44 Exploring Operation: 79+10=89, Resulting Numbers: [54, 89] Generated Node #0,1,1: 47:[54, 89] Operation: 79+10=89 Exploring Operation: 79-10=69, Resulting Numbers: [54, 69] Generated Node #0,1,2: 47:[54, 69] Operation: 79-10=69 Moving to Node #0,1,2 Current State: 47:[54, 69], Operations: ['87-33=54', '79-10=69'] Exploring Operation: 54*69=3726, Resulting Numbers: [3726] 3726,47 unequal: No Solution Exploring Operation: 54+69=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[79, 44], Operations: ['87-33=54', '54-10=44'] Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,47 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[54, 89], Operations: ['87-33=54', '79+10=89'] Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,47 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 54*89=4806, Resulting Numbers: [4806] 4806,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[33, 87, 69], Operations: ['79-10=69'] Exploring Operation: 87-33=54, Resulting Numbers: [69, 54] Generated Node #0,2,0: 47:[69, 54] Operation: 87-33=54 Exploring Operation: 87-69=18, Resulting Numbers: [33, 18] Generated Node #0,2,1: 47:[33, 18] Operation: 87-69=18 Exploring Operation: 69-33=36, Resulting Numbers: [87, 36] Generated Node #0,2,2: 47:[87, 36] Operation: 69-33=36 Moving to Node #0,2,0 Current State: 47:[69, 54], Operations: ['79-10=69', '87-33=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[33, 18], Operations: ['79-10=69', '87-69=18'] Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,47 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[87, 36], Operations: ['79-10=69', '69-33=36'] Exploring Operation: 87+36=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 87*36=3132, Resulting Numbers: [3132] 3132,47 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,47 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
[ 40, 50, 68, 96 ]
70
[ "50*96=4800", "4800-40=4760", "4760/68=70" ]
Current State: 70:[40, 50, 68, 96], Operations: [] Exploring Operation: 50*96=4800, Resulting Numbers: [40, 68, 4800] Generated Node #2: [40, 68, 4800] from Operation: 50*96=4800 Current State: 70:[40, 68, 4800], Operations: ['50*96=4800'] Exploring Operation: 4800-40=4760, Resulting Numbers: [68, 4760] Generated Node #3: [68, 4760] from Operation: 4800-40=4760 Current State: 70:[68, 4760], Operations: ['50*96=4800', '4800-40=4760'] Exploring Operation: 4760/68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[40, 50, 68, 96], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [40, 50, 28] Generated Node #0,0: 70:[40, 50, 28] Operation: 96-68=28 Exploring Operation: 50-40=10, Resulting Numbers: [68, 96, 10] Generated Node #0,1: 70:[68, 96, 10] Operation: 50-40=10 Exploring Operation: 96-50=46, Resulting Numbers: [40, 68, 46] Generated Node #0,2: 70:[40, 68, 46] Operation: 96-50=46 Moving to Node #0,2 Current State: 70:[40, 68, 46], Operations: ['96-50=46'] Exploring Operation: 68-40=28, Resulting Numbers: [46, 28] Generated Node #0,2,0: 70:[46, 28] Operation: 68-40=28 Exploring Operation: 68-46=22, Resulting Numbers: [40, 22] Generated Node #0,2,1: 70:[40, 22] Operation: 68-46=22 Exploring Operation: 46-40=6, Resulting Numbers: [68, 6] Generated Node #0,2,2: 70:[68, 6] Operation: 46-40=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[68, 6], Operations: ['96-50=46', '46-40=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[40, 22], Operations: ['96-50=46', '68-46=22'] Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,70 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[46, 28], Operations: ['96-50=46', '68-40=28'] Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,70 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,70 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: 70:[40, 50, 28], Operations: ['96-68=28'] Exploring Operation: 50-40=10, Resulting Numbers: [28, 10] Generated Node #0,0,0: 70:[28, 10] Operation: 50-40=10 Exploring Operation: 50-28=22, Resulting Numbers: [40, 22] Generated Node #0,0,1: 70:[40, 22] Operation: 50-28=22 Exploring Operation: 50+28=78, Resulting Numbers: [40, 78] Generated Node #0,0,2: 70:[40, 78] Operation: 50+28=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[28, 10], Operations: ['96-68=28', '50-40=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,70 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[40, 22], Operations: ['96-68=28', '50-28=22'] Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[40, 78], Operations: ['96-68=28', '50+28=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,70 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,70 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: 70:[68, 96, 10], Operations: ['50-40=10'] Exploring Operation: 68+10=78, Resulting Numbers: [96, 78] Generated Node #0,1,0: 70:[96, 78] Operation: 68+10=78 Exploring Operation: 96-10=86, Resulting Numbers: [68, 86] Generated Node #0,1,1: 70:[68, 86] Operation: 96-10=86 Exploring Operation: 96-68=28, Resulting Numbers: [10, 28] Generated Node #0,1,2: 70:[10, 28] Operation: 96-68=28 Moving to Node #0,1,2 Current State: 70:[10, 28], Operations: ['50-40=10', '96-68=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,70 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[68, 86], Operations: ['50-40=10', '96-10=86'] Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,70 unequal: No Solution Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[96, 78], Operations: ['50-40=10', '68+10=78'] Exploring Operation: 96+78=174, Resulting Numbers: [174] 174,70 unequal: No Solution Exploring Operation: 96*78=7488, Resulting Numbers: [7488] 7488,70 unequal: No Solution Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,70 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 70, 30, 68, 2 ]
58
[ "70-68=2", "30*2=60", "60-2=58" ]
Current State: 58:[70, 30, 68, 2], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [30, 2, 2] Generated Node #2: [30, 2, 2] from Operation: 70-68=2 Current State: 58:[30, 2, 2], Operations: ['70-68=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,58 equal: Goal Reached Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[70, 30, 68, 2], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [30, 2, 2] Generated Node #0,0: 58:[30, 2, 2] Operation: 70-68=2 Moving to Node #0,0 Current State: 58:[30, 2, 2], Operations: ['70-68=2'] Exploring Operation: 30-2=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 58:[2, 28] Operation: 30-2=28 Moving to Node #0,0,0 Current State: 58:[2, 28], Operations: ['70-68=2', '30-2=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,58 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 67, 16, 60, 31 ]
80
[ "67-16=51", "60-31=29", "51+29=80" ]
Current State: 80:[67, 16, 60, 31], Operations: [] Exploring Operation: 67-16=51, Resulting Numbers: [60, 31, 51] Generated Node #2: [60, 31, 51] from Operation: 67-16=51 Current State: 80:[60, 31, 51], Operations: ['67-16=51'] Exploring Operation: 60-31=29, Resulting Numbers: [51, 29] Generated Node #3: [51, 29] from Operation: 60-31=29 Current State: 80:[51, 29], Operations: ['67-16=51', '60-31=29'] Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[67, 16, 60, 31], Operations: [] Exploring Operation: 67-31=36, Resulting Numbers: [16, 60, 36] Generated Node #0,0: 80:[16, 60, 36] Operation: 67-31=36 Exploring Operation: 60-31=29, Resulting Numbers: [67, 16, 29] Generated Node #0,1: 80:[67, 16, 29] Operation: 60-31=29 Exploring Operation: 60+31=91, Resulting Numbers: [67, 16, 91] Generated Node #0,2: 80:[67, 16, 91] Operation: 60+31=91 Exploring Operation: 67-60=7, Resulting Numbers: [16, 31, 7] Generated Node #0,3: 80:[16, 31, 7] Operation: 67-60=7 Moving to Node #0,3 Current State: 80:[16, 31, 7], Operations: ['67-60=7'] Exploring Operation: 31+7=38, Resulting Numbers: [16, 38] Generated Node #0,3,0: 80:[16, 38] Operation: 31+7=38 Exploring Operation: 31-7=24, Resulting Numbers: [16, 24] Generated Node #0,3,1: 80:[16, 24] Operation: 31-7=24 Exploring Operation: 16+31=47, Resulting Numbers: [7, 47] Generated Node #0,3,2: 80:[7, 47] Operation: 16+31=47 Exploring Operation: 31-16=15, Resulting Numbers: [7, 15] Generated Node #0,3,3: 80:[7, 15] Operation: 31-16=15 Moving to Node #0,1 Current State: 80:[67, 16, 29], Operations: ['60-31=29'] Exploring Operation: 67-29=38, Resulting Numbers: [16, 38] Generated Node #0,1,0: 80:[16, 38] Operation: 67-29=38 Exploring Operation: 29-16=13, Resulting Numbers: [67, 13] Generated Node #0,1,1: 80:[67, 13] Operation: 29-16=13 Exploring Operation: 67+29=96, Resulting Numbers: [16, 96] Generated Node #0,1,2: 80:[16, 96] Operation: 67+29=96 Exploring Operation: 67+16=83, Resulting Numbers: [29, 83] Generated Node #0,1,3: 80:[29, 83] Operation: 67+16=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[16, 38], Operations: ['60-31=29', '67-29=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,80 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[29, 83], Operations: ['60-31=29', '67+16=83'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,80 unequal: No Solution Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[67, 13], Operations: ['60-31=29', '29-16=13'] Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 67+13=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[67, 16, 60, 31], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [67, 16, 29] Generated Node #0,1: 80:[67, 16, 29] Operation: 60-31=29 Moving to Node #0,1 Current State: 80:[67, 16, 29], Operations: ['60-31=29'] Exploring Operation: 29-16=13, Resulting Numbers: [67, 13] Generated Node #0,1,1: 80:[67, 13] Operation: 29-16=13 Moving to Node #0,1,1 Current State: 80:[67, 13], Operations: ['60-31=29', '29-16=13'] Exploring Operation: 67+13=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 14, 72, 77, 87 ]
48
[ "72-14=58", "87-77=10", "58-10=48" ]
Current State: 48:[14, 72, 77, 87], Operations: [] Exploring Operation: 72-14=58, Resulting Numbers: [77, 87, 58] Generated Node #2: [77, 87, 58] from Operation: 72-14=58 Current State: 48:[77, 87, 58], Operations: ['72-14=58'] Exploring Operation: 87-77=10, Resulting Numbers: [58, 10] Generated Node #3: [58, 10] from Operation: 87-77=10 Current State: 48:[58, 10], Operations: ['72-14=58', '87-77=10'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[14, 72, 77, 87], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [14, 87, 5] Generated Node #0,0: 48:[14, 87, 5] Operation: 77-72=5 Exploring Operation: 87-77=10, Resulting Numbers: [14, 72, 10] Generated Node #0,1: 48:[14, 72, 10] Operation: 87-77=10 Exploring Operation: 87-72=15, Resulting Numbers: [14, 77, 15] Generated Node #0,2: 48:[14, 77, 15] Operation: 87-72=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[14, 72, 10], Operations: ['87-77=10'] Exploring Operation: 72-10=62, Resulting Numbers: [14, 62] Generated Node #0,1,0: 48:[14, 62] Operation: 72-10=62 Exploring Operation: 72-14=58, Resulting Numbers: [10, 58] Generated Node #0,1,1: 48:[10, 58] Operation: 72-14=58 Exploring Operation: 14+10=24, Resulting Numbers: [72, 24] Generated Node #0,1,2: 48:[72, 24] Operation: 14+10=24 Moving to Node #0,1,1 Current State: 48:[10, 58], Operations: ['87-77=10', '72-14=58'] Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[14, 72, 77, 87], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [14, 72, 10] Generated Node #0,1: 48:[14, 72, 10] Operation: 87-77=10 Moving to Node #0,1 Current State: 48:[14, 72, 10], Operations: ['87-77=10'] Exploring Operation: 72-14=58, Resulting Numbers: [10, 58] Generated Node #0,1,1: 48:[10, 58] Operation: 72-14=58 Moving to Node #0,1,1 Current State: 48:[10, 58], Operations: ['87-77=10', '72-14=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 96, 52, 70, 60 ]
58
[ "96-70=26", "52/26=2", "60-2=58" ]
Current State: 58:[96, 52, 70, 60], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [52, 60, 26] Generated Node #2: [52, 60, 26] from Operation: 96-70=26 Current State: 58:[52, 60, 26], Operations: ['96-70=26'] Exploring Operation: 52/26=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 52/26=2 Current State: 58:[60, 2], Operations: ['96-70=26', '52/26=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[96, 52, 70, 60], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [52, 60, 26] Generated Node #0,0: 58:[52, 60, 26] Operation: 96-70=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[52, 60, 26], Operations: ['96-70=26'] Exploring Operation: 52/26=2, Resulting Numbers: [60, 2] Generated Node #0,0,0: 58:[60, 2] Operation: 52/26=2 Moving to Node #0,0,0 Current State: 58:[60, 2], Operations: ['96-70=26', '52/26=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[96, 52, 70, 60], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [52, 60, 26] Generated Node #0,0: 58:[52, 60, 26] Operation: 96-70=26 Moving to Node #0,0 Current State: 58:[52, 60, 26], Operations: ['96-70=26'] Exploring Operation: 52/26=2, Resulting Numbers: [60, 2] Generated Node #0,0,0: 58:[60, 2] Operation: 52/26=2 Moving to Node #0,0,0 Current State: 58:[60, 2], Operations: ['96-70=26', '52/26=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 51, 82, 2, 10 ]
87
[ "82-10=72", "72/2=36", "51+36=87" ]
Current State: 87:[51, 82, 2, 10], Operations: [] Exploring Operation: 82-10=72, Resulting Numbers: [51, 2, 72] Generated Node #2: [51, 2, 72] from Operation: 82-10=72 Current State: 87:[51, 2, 72], Operations: ['82-10=72'] Exploring Operation: 72/2=36, Resulting Numbers: [51, 36] Generated Node #3: [51, 36] from Operation: 72/2=36 Current State: 87:[51, 36], Operations: ['82-10=72', '72/2=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[51, 82, 2, 10], Operations: [] Exploring Operation: 82-51=31, Resulting Numbers: [2, 10, 31] Generated Node #0,0: 87:[2, 10, 31] Operation: 82-51=31 Exploring Operation: 51*2=102, Resulting Numbers: [82, 10, 102] Generated Node #0,1: 87:[82, 10, 102] Operation: 51*2=102 Exploring Operation: 10/2=5, Resulting Numbers: [51, 82, 5] Generated Node #0,2: 87:[51, 82, 5] Operation: 10/2=5 Exploring Operation: 51-10=41, Resulting Numbers: [82, 2, 41] Generated Node #0,3: 87:[82, 2, 41] Operation: 51-10=41 Exploring Operation: 82+10=92, Resulting Numbers: [51, 2, 92] Generated Node #0,4: 87:[51, 2, 92] Operation: 82+10=92 Moving to Node #0,0 Current State: 87:[2, 10, 31], Operations: ['82-51=31'] Exploring Operation: 10-2=8, Resulting Numbers: [31, 8] Generated Node #0,0,0: 87:[31, 8] Operation: 10-2=8 Exploring Operation: 31-2=29, Resulting Numbers: [10, 29] Generated Node #0,0,1: 87:[10, 29] Operation: 31-2=29 Exploring Operation: 2+10=12, Resulting Numbers: [31, 12] Generated Node #0,0,2: 87:[31, 12] Operation: 2+10=12 Exploring Operation: 10/2=5, Resulting Numbers: [31, 5] Generated Node #0,0,3: 87:[31, 5] Operation: 10/2=5 Exploring Operation: 31-10=21, Resulting Numbers: [2, 21] Generated Node #0,0,4: 87:[2, 21] Operation: 31-10=21 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[31, 5], Operations: ['82-51=31', '10/2=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,87 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[31, 8], Operations: ['82-51=31', '10-2=8'] Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,87 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[10, 29], Operations: ['82-51=31', '31-2=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,87 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 87:[2, 21], Operations: ['82-51=31', '31-10=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[31, 12], Operations: ['82-51=31', '2+10=12'] Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,87 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 87:[82, 2, 41], Operations: ['51-10=41'] Exploring Operation: 41-2=39, Resulting Numbers: [82, 39] Generated Node #0,3,0: 87:[82, 39] Operation: 41-2=39 Exploring Operation: 2*41=82, Resulting Numbers: [82, 82] Generated Node #0,3,1: 87:[82, 82] Operation: 2*41=82 Exploring Operation: 82-41=41, Resulting Numbers: [2, 41] Generated Node #0,3,2: 87:[2, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [2, 2] Generated Node #0,3,3: 87:[2, 2] Operation: 82/41=2 Exploring Operation: 82+2=84, Resulting Numbers: [41, 84] Generated Node #0,3,4: 87:[41, 84] Operation: 82+2=84 Moving to Node #0,1 Current State: 87:[82, 10, 102], Operations: ['51*2=102'] Exploring Operation: 82-10=72, Resulting Numbers: [102, 72] Generated Node #0,1,0: 87:[102, 72] Operation: 82-10=72 Exploring Operation: 102-10=92, Resulting Numbers: [82, 92] Generated Node #0,1,1: 87:[82, 92] Operation: 102-10=92 Exploring Operation: 10+102=112, Resulting Numbers: [82, 112] Generated Node #0,1,2: 87:[82, 112] Operation: 10+102=112 Exploring Operation: 82+10=92, Resulting Numbers: [102, 92] Generated Node #0,1,3: 87:[102, 92] Operation: 82+10=92 Exploring Operation: 102-82=20, Resulting Numbers: [10, 20] Generated Node #0,1,4: 87:[10, 20] Operation: 102-82=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[82, 92], Operations: ['51*2=102', '102-10=92'] Exploring Operation: 82+92=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 82*92=7544, Resulting Numbers: [7544] 7544,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 87:[10, 20], Operations: ['51*2=102', '102-82=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,87 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[102, 92], Operations: ['51*2=102', '82+10=92'] Exploring Operation: 102+92=194, Resulting Numbers: [194] 194,87 unequal: No Solution Exploring Operation: 102-92=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 102*92=9384, Resulting Numbers: [9384] 9384,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[102, 72], Operations: ['51*2=102', '82-10=72'] Exploring Operation: 102-72=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 102*72=7344, Resulting Numbers: [7344] 7344,87 unequal: No Solution Exploring Operation: 102+72=174, Resulting Numbers: [174] 174,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[82, 112], Operations: ['51*2=102', '10+102=112'] Exploring Operation: 112-82=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 82*112=9184, Resulting Numbers: [9184] 9184,87 unequal: No Solution Exploring Operation: 82+112=194, Resulting Numbers: [194] 194,87 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: 87:[51, 2, 92], Operations: ['82+10=92'] Exploring Operation: 92-2=90, Resulting Numbers: [51, 90] Generated Node #0,4,0: 87:[51, 90] Operation: 92-2=90 Exploring Operation: 51+2=53, Resulting Numbers: [92, 53] Generated Node #0,4,1: 87:[92, 53] Operation: 51+2=53 Exploring Operation: 51-2=49, Resulting Numbers: [92, 49] Generated Node #0,4,2: 87:[92, 49] Operation: 51-2=49 Exploring Operation: 51*2=102, Resulting Numbers: [92, 102] Generated Node #0,4,3: 87:[92, 102] Operation: 51*2=102 Exploring Operation: 92-51=41, Resulting Numbers: [2, 41] Generated Node #0,4,4: 87:[2, 41] Operation: 92-51=41 Moving to Node #0,2 Current State: 87:[51, 82, 5], Operations: ['10/2=5'] Exploring Operation: 82+5=87, Resulting Numbers: [51, 87] Generated Node #0,2,0: 87:[51, 87] Operation: 82+5=87 Exploring Operation: 82-5=77, Resulting Numbers: [51, 77] Generated Node #0,2,1: 87:[51, 77] Operation: 82-5=77 Exploring Operation: 51-5=46, Resulting Numbers: [82, 46] Generated Node #0,2,2: 87:[82, 46] Operation: 51-5=46 Exploring Operation: 51+5=56, Resulting Numbers: [82, 56] Generated Node #0,2,3: 87:[82, 56] Operation: 51+5=56 Exploring Operation: 82-51=31, Resulting Numbers: [5, 31] Generated Node #0,2,4: 87:[5, 31] Operation: 82-51=31 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 87:[5, 31], Operations: ['10/2=5', '82-51=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,87 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[51, 87], Operations: ['10/2=5', '82+5=87'] Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,87 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[82, 46], Operations: ['10/2=5', '51-5=46'] Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,87 unequal: No Solution Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[51, 77], Operations: ['10/2=5', '82-5=77'] Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 51*77=3927, Resulting Numbers: [3927] 3927,87 unequal: No Solution Exploring Operation: 51+77=128, Resulting Numbers: [128] 128,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[82, 56], Operations: ['10/2=5', '51+5=56'] Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 82+56=138, Resulting Numbers: [138] 138,87 unequal: No Solution Exploring Operation: 82*56=4592, Resulting Numbers: [4592] 4592,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 87:[2, 2], Operations: ['51-10=41', '82/41=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[82, 82], Operations: ['51-10=41', '2*41=82'] Exploring Operation: 82/82=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 82-82=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 82*82=6724, Resulting Numbers: [6724] 6724,87 unequal: No Solution Exploring Operation: 82+82=164, Resulting Numbers: [164] 164,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[2, 41], Operations: ['51-10=41', '82-41=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[2, 41], Operations: ['82+10=92', '92-51=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,87 unequal: No Solution Moving to Node #0,3,4 Current State: 87:[41, 84], Operations: ['51-10=41', '82+2=84'] Exploring Operation: 41*84=3444, Resulting Numbers: [3444] 3444,87 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[82, 39], Operations: ['51-10=41', '41-2=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 82+39=121, Resulting Numbers: [121] 121,87 unequal: No Solution Exploring Operation: 82*39=3198, Resulting Numbers: [3198] 3198,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[92, 102], Operations: ['82+10=92', '51*2=102'] Exploring Operation: 102-92=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 92+102=194, Resulting Numbers: [194] 194,87 unequal: No Solution Exploring Operation: 92*102=9384, Resulting Numbers: [9384] 9384,87 unequal: No Solution Moving to Node #0,4,0 Current State: 87:[51, 90], Operations: ['82+10=92', '92-2=90'] Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,87 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,87 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,87 unequal: No Solution Moving to Node #0,4,2 Current State: 87:[92, 49], Operations: ['82+10=92', '51-2=49'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,87 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,87 unequal: No Solution Moving to Node #0,4,1 Current State: 87:[92, 53], Operations: ['82+10=92', '51+2=53'] Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,87 unequal: No Solution Exploring Operation: 92*53=4876, Resulting Numbers: [4876] 4876,87 unequal: No Solution Exploring Operation: 92+53=145, Resulting Numbers: [145] 145,87 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 90, 65, 10, 43 ]
28
[ "90-65=25", "10+43=53", "53-25=28" ]
Current State: 28:[90, 65, 10, 43], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [10, 43, 25] Generated Node #2: [10, 43, 25] from Operation: 90-65=25 Current State: 28:[10, 43, 25], Operations: ['90-65=25'] Exploring Operation: 10+43=53, Resulting Numbers: [25, 53] Generated Node #3: [25, 53] from Operation: 10+43=53 Current State: 28:[25, 53], Operations: ['90-65=25', '10+43=53'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[90, 65, 10, 43], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [65, 43, 9] Generated Node #0,0: 28:[65, 43, 9] Operation: 90/10=9 Exploring Operation: 65-43=22, Resulting Numbers: [90, 10, 22] Generated Node #0,1: 28:[90, 10, 22] Operation: 65-43=22 Exploring Operation: 90-43=47, Resulting Numbers: [65, 10, 47] Generated Node #0,2: 28:[65, 10, 47] Operation: 90-43=47 Exploring Operation: 90-10=80, Resulting Numbers: [65, 43, 80] Generated Node #0,3: 28:[65, 43, 80] Operation: 90-10=80 Exploring Operation: 90-65=25, Resulting Numbers: [10, 43, 25] Generated Node #0,4: 28:[10, 43, 25] Operation: 90-65=25 Moving to Node #0,4 Current State: 28:[10, 43, 25], Operations: ['90-65=25'] Exploring Operation: 10+43=53, Resulting Numbers: [25, 53] Generated Node #0,4,0: 28:[25, 53] Operation: 10+43=53 Exploring Operation: 25-10=15, Resulting Numbers: [43, 15] Generated Node #0,4,1: 28:[43, 15] Operation: 25-10=15 Exploring Operation: 10+25=35, Resulting Numbers: [43, 35] Generated Node #0,4,2: 28:[43, 35] Operation: 10+25=35 Exploring Operation: 43-10=33, Resulting Numbers: [25, 33] Generated Node #0,4,3: 28:[25, 33] Operation: 43-10=33 Exploring Operation: 43-25=18, Resulting Numbers: [10, 18] Generated Node #0,4,4: 28:[10, 18] Operation: 43-25=18 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 28:[10, 18], Operations: ['90-65=25', '43-25=18'] Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,28 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[90, 65, 10, 43], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [10, 43, 25] Generated Node #0,4: 28:[10, 43, 25] Operation: 90-65=25 Moving to Node #0,4 Current State: 28:[10, 43, 25], Operations: ['90-65=25'] Exploring Operation: 43-25=18, Resulting Numbers: [10, 18] Generated Node #0,4,4: 28:[10, 18] Operation: 43-25=18 Moving to Node #0,4,4 Current State: 28:[10, 18], Operations: ['90-65=25', '43-25=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 33, 46, 99, 75 ]
27
[ "33*99=3267", "46+75=121", "3267/121=27" ]
Current State: 27:[33, 46, 99, 75], Operations: [] Exploring Operation: 33*99=3267, Resulting Numbers: [46, 75, 3267] Generated Node #2: [46, 75, 3267] from Operation: 33*99=3267 Current State: 27:[46, 75, 3267], Operations: ['33*99=3267'] Exploring Operation: 46+75=121, Resulting Numbers: [3267, 121] Generated Node #3: [3267, 121] from Operation: 46+75=121 Current State: 27:[3267, 121], Operations: ['33*99=3267', '46+75=121'] Exploring Operation: 3267/121=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[33, 46, 99, 75], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [33, 46, 24] Generated Node #0,0: 27:[33, 46, 24] Operation: 99-75=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[33, 46, 24], Operations: ['99-75=24'] Exploring Operation: 46-33=13, Resulting Numbers: [24, 13] Generated Node #0,0,0: 27:[24, 13] Operation: 46-33=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[24, 13], Operations: ['99-75=24', '46-33=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 14, 39, 65, 10 ]
91
[ "14-10=4", "39*4=156", "156-65=91" ]
Current State: 91:[14, 39, 65, 10], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [39, 65, 4] Generated Node #2: [39, 65, 4] from Operation: 14-10=4 Current State: 91:[39, 65, 4], Operations: ['14-10=4'] Exploring Operation: 39*4=156, Resulting Numbers: [65, 156] Generated Node #3: [65, 156] from Operation: 39*4=156 Current State: 91:[65, 156], Operations: ['14-10=4', '39*4=156'] Exploring Operation: 156-65=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[14, 39, 65, 10], Operations: [] Exploring Operation: 39-10=29, Resulting Numbers: [14, 65, 29] Generated Node #0,0: 91:[14, 65, 29] Operation: 39-10=29 Exploring Operation: 65-39=26, Resulting Numbers: [14, 10, 26] Generated Node #0,1: 91:[14, 10, 26] Operation: 65-39=26 Exploring Operation: 14+65=79, Resulting Numbers: [39, 10, 79] Generated Node #0,2: 91:[39, 10, 79] Operation: 14+65=79 Exploring Operation: 39+65=104, Resulting Numbers: [14, 10, 104] Generated Node #0,3: 91:[14, 10, 104] Operation: 39+65=104 Exploring Operation: 39-14=25, Resulting Numbers: [65, 10, 25] Generated Node #0,4: 91:[65, 10, 25] Operation: 39-14=25 Moving to Node #0,1 Current State: 91:[14, 10, 26], Operations: ['65-39=26'] Exploring Operation: 10+26=36, Resulting Numbers: [14, 36] Generated Node #0,1,0: 91:[14, 36] Operation: 10+26=36 Exploring Operation: 14+10=24, Resulting Numbers: [26, 24] Generated Node #0,1,1: 91:[26, 24] Operation: 14+10=24 Exploring Operation: 26-10=16, Resulting Numbers: [14, 16] Generated Node #0,1,2: 91:[14, 16] Operation: 26-10=16 Exploring Operation: 14-10=4, Resulting Numbers: [26, 4] Generated Node #0,1,3: 91:[26, 4] Operation: 14-10=4 Exploring Operation: 26-14=12, Resulting Numbers: [10, 12] Generated Node #0,1,4: 91:[10, 12] Operation: 26-14=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[14, 16], Operations: ['65-39=26', '26-10=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 91:[10, 12], Operations: ['65-39=26', '26-14=12'] Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,91 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[26, 4], Operations: ['65-39=26', '14-10=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,91 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[14, 36], Operations: ['65-39=26', '10+26=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,91 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[26, 24], Operations: ['65-39=26', '14+10=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,91 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: 91:[14, 10, 104], Operations: ['39+65=104'] Exploring Operation: 10+104=114, Resulting Numbers: [14, 114] Generated Node #0,3,0: 91:[14, 114] Operation: 10+104=114 Exploring Operation: 14-10=4, Resulting Numbers: [104, 4] Generated Node #0,3,1: 91:[104, 4] Operation: 14-10=4 Exploring Operation: 104-14=90, Resulting Numbers: [10, 90] Generated Node #0,3,2: 91:[10, 90] Operation: 104-14=90 Exploring Operation: 104-10=94, Resulting Numbers: [14, 94] Generated Node #0,3,3: 91:[14, 94] Operation: 104-10=94 Exploring Operation: 14+10=24, Resulting Numbers: [104, 24] Generated Node #0,3,4: 91:[104, 24] Operation: 14+10=24 Moving to Node #0,2 Current State: 91:[39, 10, 79], Operations: ['14+65=79'] Exploring Operation: 39+10=49, Resulting Numbers: [79, 49] Generated Node #0,2,0: 91:[79, 49] Operation: 39+10=49 Exploring Operation: 10+79=89, Resulting Numbers: [39, 89] Generated Node #0,2,1: 91:[39, 89] Operation: 10+79=89 Exploring Operation: 79-39=40, Resulting Numbers: [10, 40] Generated Node #0,2,2: 91:[10, 40] Operation: 79-39=40 Exploring Operation: 39+79=118, Resulting Numbers: [10, 118] Generated Node #0,2,3: 91:[10, 118] Operation: 39+79=118 Exploring Operation: 39-10=29, Resulting Numbers: [79, 29] Generated Node #0,2,4: 91:[79, 29] Operation: 39-10=29 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[39, 89], Operations: ['14+65=79', '10+79=89'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 91:[79, 29], Operations: ['14+65=79', '39-10=29'] Exploring Operation: 79*29=2291, Resulting Numbers: [2291] 2291,91 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[10, 40], Operations: ['14+65=79', '79-39=40'] Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,91 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[10, 118], Operations: ['14+65=79', '39+79=118'] Exploring Operation: 118-10=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 10+118=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 10*118=1180, Resulting Numbers: [1180] 1180,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[79, 49], Operations: ['14+65=79', '39+10=49'] Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,91 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,91 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: 91:[65, 10, 25], Operations: ['39-14=25'] Exploring Operation: 65+25=90, Resulting Numbers: [10, 90] Generated Node #0,4,0: 91:[10, 90] Operation: 65+25=90 Exploring Operation: 65-25=40, Resulting Numbers: [10, 40] Generated Node #0,4,1: 91:[10, 40] Operation: 65-25=40 Exploring Operation: 25-10=15, Resulting Numbers: [65, 15] Generated Node #0,4,2: 91:[65, 15] Operation: 25-10=15 Exploring Operation: 65+10=75, Resulting Numbers: [25, 75] Generated Node #0,4,3: 91:[25, 75] Operation: 65+10=75 Exploring Operation: 65-10=55, Resulting Numbers: [25, 55] Generated Node #0,4,4: 91:[25, 55] Operation: 65-10=55 Moving to Node #0,0 Current State: 91:[14, 65, 29], Operations: ['39-10=29'] Exploring Operation: 65-14=51, Resulting Numbers: [29, 51] Generated Node #0,0,0: 91:[29, 51] Operation: 65-14=51 Exploring Operation: 65-29=36, Resulting Numbers: [14, 36] Generated Node #0,0,1: 91:[14, 36] Operation: 65-29=36 Exploring Operation: 14+65=79, Resulting Numbers: [29, 79] Generated Node #0,0,2: 91:[29, 79] Operation: 14+65=79 Exploring Operation: 29-14=15, Resulting Numbers: [65, 15] Generated Node #0,0,3: 91:[65, 15] Operation: 29-14=15 Exploring Operation: 65+29=94, Resulting Numbers: [14, 94] Generated Node #0,0,4: 91:[14, 94] Operation: 65+29=94 Moving to Node #0,3,2 Current State: 91:[10, 90], Operations: ['39+65=104', '104-14=90'] Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,91 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[10, 90], Operations: ['39-14=25', '65+25=90'] Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[14, 94], Operations: ['39+65=104', '104-10=94'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,91 unequal: No Solution Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,91 unequal: No Solution Moving to Node #0,0,4 Current State: 91:[14, 94], Operations: ['39-10=29', '65+29=94'] Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,91 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[104, 4], Operations: ['39+65=104', '14-10=4'] Exploring Operation: 104-4=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 104/4=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 104*4=416, Resulting Numbers: [416] 416,91 unequal: No Solution Exploring Operation: 104+4=108, Resulting Numbers: [108] 108,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[14, 36], Operations: ['39-10=29', '65-29=36'] Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,91 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,91 unequal: No Solution Moving to Node #0,3,4 Current State: 91:[104, 24], Operations: ['39+65=104', '14+10=24'] Exploring Operation: 104-24=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 104*24=2496, Resulting Numbers: [2496] 2496,91 unequal: No Solution Exploring Operation: 104+24=128, Resulting Numbers: [128] 128,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[14, 114], Operations: ['39+65=104', '10+104=114'] Exploring Operation: 14*114=1596, Resulting Numbers: [1596] 1596,91 unequal: No Solution Exploring Operation: 14+114=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 114-14=100, Resulting Numbers: [100] 100,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[65, 15], Operations: ['39-14=25', '25-10=15'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[29, 79], Operations: ['39-10=29', '14+65=79'] Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 29*79=2291, Resulting Numbers: [2291] 2291,91 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[65, 15], Operations: ['39-10=29', '29-14=15'] Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,91 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[25, 75], Operations: ['39-14=25', '65+10=75'] Exploring Operation: 25*75=1875, Resulting Numbers: [1875] 1875,91 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,4,1 Current State: 91:[10, 40], Operations: ['39-14=25', '65-25=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,91 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,91 unequal: No Solution Moving to Node #0,4,4 Current State: 91:[25, 55], Operations: ['39-14=25', '65-10=55'] Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,91 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[29, 51], Operations: ['39-10=29', '65-14=51'] Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,91 unequal: No Solution Exploring Operation: 29*51=1479, Resulting Numbers: [1479] 1479,91 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 9, 60, 43, 3 ]
42
[ "43-9=34", "3*34=102", "102-60=42" ]
Current State: 42:[9, 60, 43, 3], Operations: [] Exploring Operation: 43-9=34, Resulting Numbers: [60, 3, 34] Generated Node #2: [60, 3, 34] from Operation: 43-9=34 Current State: 42:[60, 3, 34], Operations: ['43-9=34'] Exploring Operation: 3*34=102, Resulting Numbers: [60, 102] Generated Node #3: [60, 102] from Operation: 3*34=102 Current State: 42:[60, 102], Operations: ['43-9=34', '3*34=102'] Exploring Operation: 102-60=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[9, 60, 43, 3], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [9, 43, 20] Generated Node #0,0: 42:[9, 43, 20] Operation: 60/3=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[9, 43, 20], Operations: ['60/3=20'] Exploring Operation: 20-9=11, Resulting Numbers: [43, 11] Generated Node #0,0,0: 42:[43, 11] Operation: 20-9=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[43, 11], Operations: ['60/3=20', '20-9=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,42 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
[ 33, 3, 83, 16 ]
37
[ "33-3=30", "83-16=67", "67-30=37" ]
Current State: 37:[33, 3, 83, 16], Operations: [] Exploring Operation: 33-3=30, Resulting Numbers: [83, 16, 30] Generated Node #2: [83, 16, 30] from Operation: 33-3=30 Current State: 37:[83, 16, 30], Operations: ['33-3=30'] Exploring Operation: 83-16=67, Resulting Numbers: [30, 67] Generated Node #3: [30, 67] from Operation: 83-16=67 Current State: 37:[30, 67], Operations: ['33-3=30', '83-16=67'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[33, 3, 83, 16], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [3, 16, 50] Generated Node #0,0: 37:[3, 16, 50] Operation: 83-33=50 Exploring Operation: 33+3=36, Resulting Numbers: [83, 16, 36] Generated Node #0,1: 37:[83, 16, 36] Operation: 33+3=36 Exploring Operation: 3*16=48, Resulting Numbers: [33, 83, 48] Generated Node #0,2: 37:[33, 83, 48] Operation: 3*16=48 Exploring Operation: 83-3=80, Resulting Numbers: [33, 16, 80] Generated Node #0,3: 37:[33, 16, 80] Operation: 83-3=80 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[33, 83, 48], Operations: ['3*16=48'] Exploring Operation: 48-33=15, Resulting Numbers: [83, 15] Generated Node #0,2,0: 37:[83, 15] Operation: 48-33=15 Exploring Operation: 83-33=50, Resulting Numbers: [48, 50] Generated Node #0,2,1: 37:[48, 50] Operation: 83-33=50 Exploring Operation: 83-48=35, Resulting Numbers: [33, 35] Generated Node #0,2,2: 37:[33, 35] Operation: 83-48=35 Exploring Operation: 33+83=116, Resulting Numbers: [48, 116] Generated Node #0,2,3: 37:[48, 116] Operation: 33+83=116 Moving to Node #0,2,2 Current State: 37:[33, 35], Operations: ['3*16=48', '83-48=35'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[48, 50], Operations: ['3*16=48', '83-33=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,37 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[83, 15], Operations: ['3*16=48', '48-33=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,37 unequal: No Solution Exploring Operation: 83*15=1245, Resulting Numbers: [1245] 1245,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[48, 116], Operations: ['3*16=48', '33+83=116'] Exploring Operation: 116-48=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 48*116=5568, Resulting Numbers: [5568] 5568,37 unequal: No Solution Exploring Operation: 48+116=164, Resulting Numbers: [164] 164,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[3, 16, 50], Operations: ['83-33=50'] Exploring Operation: 50-3=47, Resulting Numbers: [16, 47] Generated Node #0,0,0: 37:[16, 47] Operation: 50-3=47 Exploring Operation: 16-3=13, Resulting Numbers: [50, 13] Generated Node #0,0,1: 37:[50, 13] Operation: 16-3=13 Exploring Operation: 3*16=48, Resulting Numbers: [50, 48] Generated Node #0,0,2: 37:[50, 48] Operation: 3*16=48 Exploring Operation: 3+16=19, Resulting Numbers: [50, 19] Generated Node #0,0,3: 37:[50, 19] Operation: 3+16=19 Moving to Node #0,0,2 Current State: 37:[50, 48], Operations: ['83-33=50', '3*16=48'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,37 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[50, 19], Operations: ['83-33=50', '3+16=19'] Exploring Operation: 50*19=950, Resulting Numbers: [950] 950,37 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[16, 47], Operations: ['83-33=50', '50-3=47'] Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,37 unequal: No Solution Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,37 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[50, 13], Operations: ['83-33=50', '16-3=13'] Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,37 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,37 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[33, 3, 83, 16], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [3, 16, 50] Generated Node #0,0: 37:[3, 16, 50] Operation: 83-33=50 Moving to Node #0,0 Current State: 37:[3, 16, 50], Operations: ['83-33=50'] Exploring Operation: 16-3=13, Resulting Numbers: [50, 13] Generated Node #0,0,1: 37:[50, 13] Operation: 16-3=13 Moving to Node #0,0,1 Current State: 37:[50, 13], Operations: ['83-33=50', '16-3=13'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 93, 10, 8, 27 ]
68
[ "93+10=103", "8+27=35", "103-35=68" ]
Current State: 68:[93, 10, 8, 27], Operations: [] Exploring Operation: 93+10=103, Resulting Numbers: [8, 27, 103] Generated Node #2: [8, 27, 103] from Operation: 93+10=103 Current State: 68:[8, 27, 103], Operations: ['93+10=103'] Exploring Operation: 8+27=35, Resulting Numbers: [103, 35] Generated Node #3: [103, 35] from Operation: 8+27=35 Current State: 68:[103, 35], Operations: ['93+10=103', '8+27=35'] Exploring Operation: 103-35=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[93, 10, 8, 27], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [93, 27, 2] Generated Node #0,0: 68:[93, 27, 2] Operation: 10-8=2 Exploring Operation: 27-10=17, Resulting Numbers: [93, 8, 17] Generated Node #0,1: 68:[93, 8, 17] Operation: 27-10=17 Exploring Operation: 93-27=66, Resulting Numbers: [10, 8, 66] Generated Node #0,2: 68:[10, 8, 66] Operation: 93-27=66 Exploring Operation: 93-8=85, Resulting Numbers: [10, 27, 85] Generated Node #0,3: 68:[10, 27, 85] Operation: 93-8=85 Exploring Operation: 93-10=83, Resulting Numbers: [8, 27, 83] Generated Node #0,4: 68:[8, 27, 83] Operation: 93-10=83 Moving to Node #0,2 Current State: 68:[10, 8, 66], Operations: ['93-27=66'] Exploring Operation: 8+66=74, Resulting Numbers: [10, 74] Generated Node #0,2,0: 68:[10, 74] Operation: 8+66=74 Exploring Operation: 10*8=80, Resulting Numbers: [66, 80] Generated Node #0,2,1: 68:[66, 80] Operation: 10*8=80 Exploring Operation: 10+66=76, Resulting Numbers: [8, 76] Generated Node #0,2,2: 68:[8, 76] Operation: 10+66=76 Exploring Operation: 10+8=18, Resulting Numbers: [66, 18] Generated Node #0,2,3: 68:[66, 18] Operation: 10+8=18 Exploring Operation: 10-8=2, Resulting Numbers: [66, 2] Generated Node #0,2,4: 68:[66, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 68:[66, 2], Operations: ['93-27=66', '10-8=2'] Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[93, 10, 8, 27], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [10, 8, 66] Generated Node #0,2: 68:[10, 8, 66] Operation: 93-27=66 Moving to Node #0,2 Current State: 68:[10, 8, 66], Operations: ['93-27=66'] Exploring Operation: 10-8=2, Resulting Numbers: [66, 2] Generated Node #0,2,4: 68:[66, 2] Operation: 10-8=2 Moving to Node #0,2,4 Current State: 68:[66, 2], Operations: ['93-27=66', '10-8=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 14, 7, 49, 87 ]
77
[ "14*49=686", "7*87=609", "686-609=77" ]
Current State: 77:[14, 7, 49, 87], Operations: [] Exploring Operation: 14*49=686, Resulting Numbers: [7, 87, 686] Generated Node #2: [7, 87, 686] from Operation: 14*49=686 Current State: 77:[7, 87, 686], Operations: ['14*49=686'] Exploring Operation: 7*87=609, Resulting Numbers: [686, 609] Generated Node #3: [686, 609] from Operation: 7*87=609 Current State: 77:[686, 609], Operations: ['14*49=686', '7*87=609'] Exploring Operation: 686-609=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[14, 7, 49, 87], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [14, 87, 7] Generated Node #0,0: 77:[14, 87, 7] Operation: 49/7=7 Exploring Operation: 14+49=63, Resulting Numbers: [7, 87, 63] Generated Node #0,1: 77:[7, 87, 63] Operation: 14+49=63 Exploring Operation: 87-49=38, Resulting Numbers: [14, 7, 38] Generated Node #0,2: 77:[14, 7, 38] Operation: 87-49=38 Moving to Node #0,0 Current State: 77:[14, 87, 7], Operations: ['49/7=7'] Exploring Operation: 87-14=73, Resulting Numbers: [7, 73] Generated Node #0,0,0: 77:[7, 73] Operation: 87-14=73 Exploring Operation: 14-7=7, Resulting Numbers: [87, 7] Generated Node #0,0,1: 77:[87, 7] Operation: 14-7=7 Exploring Operation: 87-7=80, Resulting Numbers: [14, 80] Generated Node #0,0,2: 77:[14, 80] Operation: 87-7=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[7, 73], Operations: ['49/7=7', '87-14=73'] Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[14, 80], Operations: ['49/7=7', '87-7=80'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[87, 7], Operations: ['49/7=7', '14-7=7'] Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,77 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,77 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: 77:[7, 87, 63], Operations: ['14+49=63'] Exploring Operation: 87-63=24, Resulting Numbers: [7, 24] Generated Node #0,1,0: 77:[7, 24] Operation: 87-63=24 Exploring Operation: 63/7=9, Resulting Numbers: [87, 9] Generated Node #0,1,1: 77:[87, 9] Operation: 63/7=9 Exploring Operation: 87-7=80, Resulting Numbers: [63, 80] Generated Node #0,1,2: 77:[63, 80] Operation: 87-7=80 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[87, 9], Operations: ['14+49=63', '63/7=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 87*9=783, Resulting Numbers: [783] 783,77 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[7, 24], Operations: ['14+49=63', '87-63=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[63, 80], Operations: ['14+49=63', '87-7=80'] Exploring Operation: 63+80=143, Resulting Numbers: [143] 143,77 unequal: No Solution Exploring Operation: 63*80=5040, Resulting Numbers: [5040] 5040,77 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 77:[14, 7, 38], Operations: ['87-49=38'] Exploring Operation: 38-14=24, Resulting Numbers: [7, 24] Generated Node #0,2,0: 77:[7, 24] Operation: 38-14=24 Exploring Operation: 14+38=52, Resulting Numbers: [7, 52] Generated Node #0,2,1: 77:[7, 52] Operation: 14+38=52 Exploring Operation: 38-7=31, Resulting Numbers: [14, 31] Generated Node #0,2,2: 77:[14, 31] Operation: 38-7=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[7, 24], Operations: ['87-49=38', '38-14=24'] Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,77 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[14, 31], Operations: ['87-49=38', '38-7=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,77 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[7, 52], Operations: ['87-49=38', '14+38=52'] Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,77 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,77 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
[ 19, 29, 69, 36 ]
64
[ "36-29=7", "19*7=133", "133-69=64" ]
Current State: 64:[19, 29, 69, 36], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [19, 69, 7] Generated Node #2: [19, 69, 7] from Operation: 36-29=7 Current State: 64:[19, 69, 7], Operations: ['36-29=7'] Exploring Operation: 19*7=133, Resulting Numbers: [69, 133] Generated Node #3: [69, 133] from Operation: 19*7=133 Current State: 64:[69, 133], Operations: ['36-29=7', '19*7=133'] Exploring Operation: 133-69=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[19, 29, 69, 36], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [29, 69, 17] Generated Node #0,0: 64:[29, 69, 17] Operation: 36-19=17 Exploring Operation: 29+36=65, Resulting Numbers: [19, 69, 65] Generated Node #0,1: 64:[19, 69, 65] Operation: 29+36=65 Exploring Operation: 36-29=7, Resulting Numbers: [19, 69, 7] Generated Node #0,2: 64:[19, 69, 7] Operation: 36-29=7 Exploring Operation: 69-36=33, Resulting Numbers: [19, 29, 33] Generated Node #0,3: 64:[19, 29, 33] Operation: 69-36=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[19, 29, 33], Operations: ['69-36=33'] Exploring Operation: 33-19=14, Resulting Numbers: [29, 14] Generated Node #0,3,0: 64:[29, 14] Operation: 33-19=14 Exploring Operation: 29+33=62, Resulting Numbers: [19, 62] Generated Node #0,3,1: 64:[19, 62] Operation: 29+33=62 Exploring Operation: 29-19=10, Resulting Numbers: [33, 10] Generated Node #0,3,2: 64:[33, 10] Operation: 29-19=10 Exploring Operation: 33-29=4, Resulting Numbers: [19, 4] Generated Node #0,3,3: 64:[19, 4] Operation: 33-29=4 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[33, 10], Operations: ['69-36=33', '29-19=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[19, 4], Operations: ['69-36=33', '33-29=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[29, 14], Operations: ['69-36=33', '33-19=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,64 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 64:[19, 62], Operations: ['69-36=33', '29+33=62'] Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[29, 69, 17], Operations: ['36-19=17'] Exploring Operation: 69-29=40, Resulting Numbers: [17, 40] Generated Node #0,0,0: 64:[17, 40] Operation: 69-29=40 Exploring Operation: 29+17=46, Resulting Numbers: [69, 46] Generated Node #0,0,1: 64:[69, 46] Operation: 29+17=46 Exploring Operation: 69-17=52, Resulting Numbers: [29, 52] Generated Node #0,0,2: 64:[29, 52] Operation: 69-17=52 Exploring Operation: 29-17=12, Resulting Numbers: [69, 12] Generated Node #0,0,3: 64:[69, 12] Operation: 29-17=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[17, 40], Operations: ['36-19=17', '69-29=40'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,64 unequal: No Solution Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 64:[69, 12], Operations: ['36-19=17', '29-17=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[29, 52], Operations: ['36-19=17', '69-17=52'] Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,64 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[69, 46], Operations: ['36-19=17', '29+17=46'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,64 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[19, 69, 65], Operations: ['29+36=65'] Exploring Operation: 69-65=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 64:[19, 4] Operation: 69-65=4 Exploring Operation: 69-19=50, Resulting Numbers: [65, 50] Generated Node #0,1,1: 64:[65, 50] Operation: 69-19=50 Exploring Operation: 65-19=46, Resulting Numbers: [69, 46] Generated Node #0,1,2: 64:[69, 46] Operation: 65-19=46 Exploring Operation: 19+69=88, Resulting Numbers: [65, 88] Generated Node #0,1,3: 64:[65, 88] Operation: 19+69=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[19, 4], Operations: ['29+36=65', '69-65=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[65, 50], Operations: ['29+36=65', '69-19=50'] Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 65+50=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 65*50=3250, Resulting Numbers: [3250] 3250,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[69, 46], Operations: ['29+36=65', '65-19=46'] Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,64 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[65, 88], Operations: ['29+36=65', '19+69=88'] Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 65*88=5720, Resulting Numbers: [5720] 5720,64 unequal: No Solution Exploring Operation: 65+88=153, Resulting Numbers: [153] 153,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[19, 69, 7], Operations: ['36-29=7'] Exploring Operation: 19-7=12, Resulting Numbers: [69, 12] Generated Node #0,2,0: 64:[69, 12] Operation: 19-7=12 Exploring Operation: 69-19=50, Resulting Numbers: [7, 50] Generated Node #0,2,1: 64:[7, 50] Operation: 69-19=50 Exploring Operation: 69-7=62, Resulting Numbers: [19, 62] Generated Node #0,2,2: 64:[19, 62] Operation: 69-7=62 Exploring Operation: 19+7=26, Resulting Numbers: [69, 26] Generated Node #0,2,3: 64:[69, 26] Operation: 19+7=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[19, 62], Operations: ['36-29=7', '69-7=62'] Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,64 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[69, 12], Operations: ['36-29=7', '19-7=12'] Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 64:[69, 26], Operations: ['36-29=7', '19+7=26'] Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[7, 50], Operations: ['36-29=7', '69-19=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 44, 34, 86, 40 ]
72
[ "34*86=2924", "2924-44=2880", "2880/40=72" ]
Current State: 72:[44, 34, 86, 40], Operations: [] Exploring Operation: 34*86=2924, Resulting Numbers: [44, 40, 2924] Generated Node #2: [44, 40, 2924] from Operation: 34*86=2924 Current State: 72:[44, 40, 2924], Operations: ['34*86=2924'] Exploring Operation: 2924-44=2880, Resulting Numbers: [40, 2880] Generated Node #3: [40, 2880] from Operation: 2924-44=2880 Current State: 72:[40, 2880], Operations: ['34*86=2924', '2924-44=2880'] Exploring Operation: 2880/40=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[44, 34, 86, 40], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [34, 40, 42] Generated Node #0,0: 72:[34, 40, 42] Operation: 86-44=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[34, 40, 42], Operations: ['86-44=42'] Exploring Operation: 42-40=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 72:[34, 2] Operation: 42-40=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[34, 2], Operations: ['86-44=42', '42-40=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,72 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
[ 77, 16, 61, 79 ]
69
[ "79-77=2", "16/2=8", "61+8=69" ]
Current State: 69:[77, 16, 61, 79], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [16, 61, 2] Generated Node #2: [16, 61, 2] from Operation: 79-77=2 Current State: 69:[16, 61, 2], Operations: ['79-77=2'] Exploring Operation: 16/2=8, Resulting Numbers: [61, 8] Generated Node #3: [61, 8] from Operation: 16/2=8 Current State: 69:[61, 8], Operations: ['79-77=2', '16/2=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[77, 16, 61, 79], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [16, 61, 2] Generated Node #0,0: 69:[16, 61, 2] Operation: 79-77=2 Moving to Node #0,0 Current State: 69:[16, 61, 2], Operations: ['79-77=2'] Exploring Operation: 16+61=77, Resulting Numbers: [2, 77] Generated Node #0,0,0: 69:[2, 77] Operation: 16+61=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[2, 77], Operations: ['79-77=2', '16+61=77'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,69 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
[ 19, 92, 63, 14 ]
62
[ "19+92=111", "63-14=49", "111-49=62" ]
Current State: 62:[19, 92, 63, 14], Operations: [] Exploring Operation: 19+92=111, Resulting Numbers: [63, 14, 111] Generated Node #2: [63, 14, 111] from Operation: 19+92=111 Current State: 62:[63, 14, 111], Operations: ['19+92=111'] Exploring Operation: 63-14=49, Resulting Numbers: [111, 49] Generated Node #3: [111, 49] from Operation: 63-14=49 Current State: 62:[111, 49], Operations: ['19+92=111', '63-14=49'] Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[19, 92, 63, 14], Operations: [] Exploring Operation: 92-19=73, Resulting Numbers: [63, 14, 73] Generated Node #0,0: 62:[63, 14, 73] Operation: 92-19=73 Exploring Operation: 92-63=29, Resulting Numbers: [19, 14, 29] Generated Node #0,1: 62:[19, 14, 29] Operation: 92-63=29 Exploring Operation: 19+14=33, Resulting Numbers: [92, 63, 33] Generated Node #0,2: 62:[92, 63, 33] Operation: 19+14=33 Exploring Operation: 92-14=78, Resulting Numbers: [19, 63, 78] Generated Node #0,3: 62:[19, 63, 78] Operation: 92-14=78 Moving to Node #0,0 Current State: 62:[63, 14, 73], Operations: ['92-19=73'] Exploring Operation: 63+14=77, Resulting Numbers: [73, 77] Generated Node #0,0,0: 62:[73, 77] Operation: 63+14=77 Exploring Operation: 73-14=59, Resulting Numbers: [63, 59] Generated Node #0,0,1: 62:[63, 59] Operation: 73-14=59 Exploring Operation: 63-14=49, Resulting Numbers: [73, 49] Generated Node #0,0,2: 62:[73, 49] Operation: 63-14=49 Exploring Operation: 73-63=10, Resulting Numbers: [14, 10] Generated Node #0,0,3: 62:[14, 10] Operation: 73-63=10 Moving to Node #0,1 Current State: 62:[19, 14, 29], Operations: ['92-63=29'] Exploring Operation: 19-14=5, Resulting Numbers: [29, 5] Generated Node #0,1,0: 62:[29, 5] Operation: 19-14=5 Exploring Operation: 29-19=10, Resulting Numbers: [14, 10] Generated Node #0,1,1: 62:[14, 10] Operation: 29-19=10 Exploring Operation: 19+14=33, Resulting Numbers: [29, 33] Generated Node #0,1,2: 62:[29, 33] Operation: 19+14=33 Exploring Operation: 14+29=43, Resulting Numbers: [19, 43] Generated Node #0,1,3: 62:[19, 43] Operation: 14+29=43 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[29, 33], Operations: ['92-63=29', '19+14=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[19, 92, 63, 14], Operations: [] Exploring Operation: 92-63=29, Resulting Numbers: [19, 14, 29] Generated Node #0,1: 62:[19, 14, 29] Operation: 92-63=29 Moving to Node #0,1 Current State: 62:[19, 14, 29], Operations: ['92-63=29'] Exploring Operation: 19+14=33, Resulting Numbers: [29, 33] Generated Node #0,1,2: 62:[29, 33] Operation: 19+14=33 Moving to Node #0,1,2 Current State: 62:[29, 33], Operations: ['92-63=29', '19+14=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 70, 59, 32, 77 ]
20
[ "70+59=129", "32+77=109", "129-109=20" ]
Current State: 20:[70, 59, 32, 77], Operations: [] Exploring Operation: 70+59=129, Resulting Numbers: [32, 77, 129] Generated Node #2: [32, 77, 129] from Operation: 70+59=129 Current State: 20:[32, 77, 129], Operations: ['70+59=129'] Exploring Operation: 32+77=109, Resulting Numbers: [129, 109] Generated Node #3: [129, 109] from Operation: 32+77=109 Current State: 20:[129, 109], Operations: ['70+59=129', '32+77=109'] Exploring Operation: 129-109=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[70, 59, 32, 77], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [32, 77, 11] Generated Node #0,0: 20:[32, 77, 11] Operation: 70-59=11 Exploring Operation: 77-70=7, Resulting Numbers: [59, 32, 7] Generated Node #0,1: 20:[59, 32, 7] Operation: 77-70=7 Exploring Operation: 77-59=18, Resulting Numbers: [70, 32, 18] Generated Node #0,2: 20:[70, 32, 18] Operation: 77-59=18 Moving to Node #0,1 Current State: 20:[59, 32, 7], Operations: ['77-70=7'] Exploring Operation: 32-7=25, Resulting Numbers: [59, 25] Generated Node #0,1,0: 20:[59, 25] Operation: 32-7=25 Exploring Operation: 59-7=52, Resulting Numbers: [32, 52] Generated Node #0,1,1: 20:[32, 52] Operation: 59-7=52 Exploring Operation: 59-32=27, Resulting Numbers: [7, 27] Generated Node #0,1,2: 20:[7, 27] Operation: 59-32=27 Moving to Node #0,2 Current State: 20:[70, 32, 18], Operations: ['77-59=18'] Exploring Operation: 70-32=38, Resulting Numbers: [18, 38] Generated Node #0,2,0: 20:[18, 38] Operation: 70-32=38 Exploring Operation: 70-18=52, Resulting Numbers: [32, 52] Generated Node #0,2,1: 20:[32, 52] Operation: 70-18=52 Exploring Operation: 32-18=14, Resulting Numbers: [70, 14] Generated Node #0,2,2: 20:[70, 14] Operation: 32-18=14 Moving to Node #0,0 Current State: 20:[32, 77, 11], Operations: ['70-59=11'] Exploring Operation: 77-32=45, Resulting Numbers: [11, 45] Generated Node #0,0,0: 20:[11, 45] Operation: 77-32=45 Exploring Operation: 77/11=7, Resulting Numbers: [32, 7] Generated Node #0,0,1: 20:[32, 7] Operation: 77/11=7 Exploring Operation: 32-11=21, Resulting Numbers: [77, 21] Generated Node #0,0,2: 20:[77, 21] Operation: 32-11=21 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[32, 7], Operations: ['70-59=11', '77/11=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,20 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[11, 45], Operations: ['70-59=11', '77-32=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,20 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[77, 21], Operations: ['70-59=11', '32-11=21'] Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,20 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,20 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: 20:[7, 27], Operations: ['77-70=7', '59-32=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[70, 59, 32, 77], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [59, 32, 7] Generated Node #0,1: 20:[59, 32, 7] Operation: 77-70=7 Moving to Node #0,1 Current State: 20:[59, 32, 7], Operations: ['77-70=7'] Exploring Operation: 59-32=27, Resulting Numbers: [7, 27] Generated Node #0,1,2: 20:[7, 27] Operation: 59-32=27 Moving to Node #0,1,2 Current State: 20:[7, 27], Operations: ['77-70=7', '59-32=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 8, 1, 3, 81 ]
86
[ "8*1=8", "81-3=78", "8+78=86" ]
Current State: 86:[8, 1, 3, 81], Operations: [] Exploring Operation: 8*1=8, Resulting Numbers: [3, 81, 8] Generated Node #2: [3, 81, 8] from Operation: 8*1=8 Current State: 86:[3, 81, 8], Operations: ['8*1=8'] Exploring Operation: 81-3=78, Resulting Numbers: [8, 78] Generated Node #3: [8, 78] from Operation: 81-3=78 Current State: 86:[8, 78], Operations: ['8*1=8', '81-3=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[8, 1, 3, 81], Operations: [] Exploring Operation: 8+81=89, Resulting Numbers: [1, 3, 89] Generated Node #0,0: 86:[1, 3, 89] Operation: 8+81=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[1, 3, 89], Operations: ['8+81=89'] Exploring Operation: 89-3=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 86:[1, 86] Operation: 89-3=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[1, 86], Operations: ['8+81=89', '89-3=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[8, 1, 3, 81], Operations: [] Exploring Operation: 8+81=89, Resulting Numbers: [1, 3, 89] Generated Node #0,0: 86:[1, 3, 89] Operation: 8+81=89 Moving to Node #0,0 Current State: 86:[1, 3, 89], Operations: ['8+81=89'] Exploring Operation: 89-3=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 86:[1, 86] Operation: 89-3=86 Moving to Node #0,0,0 Current State: 86:[1, 86], Operations: ['8+81=89', '89-3=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 82, 41, 36, 20 ]
26
[ "82/41=2", "20/2=10", "36-10=26" ]
Current State: 26:[82, 41, 36, 20], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [36, 20, 2] Generated Node #2: [36, 20, 2] from Operation: 82/41=2 Current State: 26:[36, 20, 2], Operations: ['82/41=2'] Exploring Operation: 20/2=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 20/2=10 Current State: 26:[36, 10], Operations: ['82/41=2', '20/2=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[82, 41, 36, 20], Operations: [] Exploring Operation: 82-41=41, Resulting Numbers: [36, 20, 41] Generated Node #0,0: 26:[36, 20, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [36, 20, 2] Generated Node #0,1: 26:[36, 20, 2] Operation: 82/41=2 Moving to Node #0,1 Current State: 26:[36, 20, 2], Operations: ['82/41=2'] Exploring Operation: 36/2=18, Resulting Numbers: [20, 18] Generated Node #0,1,0: 26:[20, 18] Operation: 36/2=18 Exploring Operation: 36-20=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 26:[2, 16] Operation: 36-20=16 Moving to Node #0,0 Current State: 26:[36, 20, 41], Operations: ['82-41=41'] Exploring Operation: 41-36=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 26:[20, 5] Operation: 41-36=5 Exploring Operation: 41-20=21, Resulting Numbers: [36, 21] Generated Node #0,0,1: 26:[36, 21] Operation: 41-20=21 Moving to Node #0,1,1 Current State: 26:[2, 16], Operations: ['82/41=2', '36-20=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[20, 5], Operations: ['82-41=41', '41-36=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[20, 18], Operations: ['82/41=2', '36/2=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[36, 21], Operations: ['82-41=41', '41-20=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,26 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 3, 96, 62, 70 ]
85
[ "96-3=93", "70-62=8", "93-8=85" ]
Current State: 85:[3, 96, 62, 70], Operations: [] Exploring Operation: 96-3=93, Resulting Numbers: [62, 70, 93] Generated Node #2: [62, 70, 93] from Operation: 96-3=93 Current State: 85:[62, 70, 93], Operations: ['96-3=93'] Exploring Operation: 70-62=8, Resulting Numbers: [93, 8] Generated Node #3: [93, 8] from Operation: 70-62=8 Current State: 85:[93, 8], Operations: ['96-3=93', '70-62=8'] Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[3, 96, 62, 70], Operations: [] Exploring Operation: 96-62=34, Resulting Numbers: [3, 70, 34] Generated Node #0,0: 85:[3, 70, 34] Operation: 96-62=34 Exploring Operation: 70-62=8, Resulting Numbers: [3, 96, 8] Generated Node #0,1: 85:[3, 96, 8] Operation: 70-62=8 Moving to Node #0,1 Current State: 85:[3, 96, 8], Operations: ['70-62=8'] Exploring Operation: 96/8=12, Resulting Numbers: [3, 12] Generated Node #0,1,0: 85:[3, 12] Operation: 96/8=12 Exploring Operation: 96-8=88, Resulting Numbers: [3, 88] Generated Node #0,1,1: 85:[3, 88] Operation: 96-8=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[3, 88], Operations: ['70-62=8', '96-8=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[3, 96, 62, 70], Operations: [] Exploring Operation: 70-62=8, Resulting Numbers: [3, 96, 8] Generated Node #0,1: 85:[3, 96, 8] Operation: 70-62=8 Moving to Node #0,1 Current State: 85:[3, 96, 8], Operations: ['70-62=8'] Exploring Operation: 96-8=88, Resulting Numbers: [3, 88] Generated Node #0,1,1: 85:[3, 88] Operation: 96-8=88 Moving to Node #0,1,1 Current State: 85:[3, 88], Operations: ['70-62=8', '96-8=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 80, 32, 4, 70 ]
24
[ "32*70=2240", "2240/80=28", "28-4=24" ]
Current State: 24:[80, 32, 4, 70], Operations: [] Exploring Operation: 32*70=2240, Resulting Numbers: [80, 4, 2240] Generated Node #2: [80, 4, 2240] from Operation: 32*70=2240 Current State: 24:[80, 4, 2240], Operations: ['32*70=2240'] Exploring Operation: 2240/80=28, Resulting Numbers: [4, 28] Generated Node #3: [4, 28] from Operation: 2240/80=28 Current State: 24:[4, 28], Operations: ['32*70=2240', '2240/80=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[80, 32, 4, 70], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [32, 4, 10] Generated Node #0,0: 24:[32, 4, 10] Operation: 80-70=10 Exploring Operation: 80/4=20, Resulting Numbers: [32, 70, 20] Generated Node #0,1: 24:[32, 70, 20] Operation: 80/4=20 Exploring Operation: 80-32=48, Resulting Numbers: [4, 70, 48] Generated Node #0,2: 24:[4, 70, 48] Operation: 80-32=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[32, 4, 10], Operations: ['80-70=10'] Exploring Operation: 32-4=28, Resulting Numbers: [10, 28] Generated Node #0,0,0: 24:[10, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 24:[10, 8] Operation: 32/4=8 Exploring Operation: 32-10=22, Resulting Numbers: [4, 22] Generated Node #0,0,2: 24:[4, 22] Operation: 32-10=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[10, 8], Operations: ['80-70=10', '32/4=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,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,0,2 Current State: 24:[4, 22], Operations: ['80-70=10', '32-10=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,24 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,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,0,0 Current State: 24:[10, 28], Operations: ['80-70=10', '32-4=28'] Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,24 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,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:[32, 70, 20], Operations: ['80/4=20'] Exploring Operation: 32-20=12, Resulting Numbers: [70, 12] Generated Node #0,1,0: 24:[70, 12] Operation: 32-20=12 Exploring Operation: 70-20=50, Resulting Numbers: [32, 50] Generated Node #0,1,1: 24:[32, 50] Operation: 70-20=50 Exploring Operation: 70-32=38, Resulting Numbers: [20, 38] Generated Node #0,1,2: 24:[20, 38] Operation: 70-32=38 Moving to Node #0,1,2 Current State: 24:[20, 38], Operations: ['80/4=20', '70-32=38'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[32, 50], Operations: ['80/4=20', '70-20=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,24 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[70, 12], Operations: ['80/4=20', '32-20=12'] Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,24 unequal: No Solution Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,24 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,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,2 Current State: 24:[4, 70, 48], Operations: ['80-32=48'] Exploring Operation: 70-4=66, Resulting Numbers: [48, 66] Generated Node #0,2,0: 24:[48, 66] Operation: 70-4=66 Exploring Operation: 70-48=22, Resulting Numbers: [4, 22] Generated Node #0,2,1: 24:[4, 22] Operation: 70-48=22 Exploring Operation: 48/4=12, Resulting Numbers: [70, 12] Generated Node #0,2,2: 24:[70, 12] Operation: 48/4=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[4, 22], Operations: ['80-32=48', '70-48=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,24 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,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,2,2 Current State: 24:[70, 12], Operations: ['80-32=48', '48/4=12'] Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,24 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,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,2,0 Current State: 24:[48, 66], Operations: ['80-32=48', '70-4=66'] Exploring Operation: 48*66=3168, Resulting Numbers: [3168] 3168,24 unequal: No Solution Exploring Operation: 48+66=114, Resulting Numbers: [114] 114,24 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,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 No solution found.
0
hs_3
mult_heuristic
[ 48, 73, 80, 31 ]
73
[ "80-48=32", "32-31=1", "73*1=73" ]
Current State: 73:[48, 73, 80, 31], Operations: [] Exploring Operation: 80-48=32, Resulting Numbers: [73, 31, 32] Generated Node #2: [73, 31, 32] from Operation: 80-48=32 Current State: 73:[73, 31, 32], Operations: ['80-48=32'] Exploring Operation: 32-31=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 32-31=1 Current State: 73:[73, 1], Operations: ['80-48=32', '32-31=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[48, 73, 80, 31], Operations: [] Exploring Operation: 80-31=49, Resulting Numbers: [48, 73, 49] Generated Node #0,0: 73:[48, 73, 49] Operation: 80-31=49 Exploring Operation: 48+31=79, Resulting Numbers: [73, 80, 79] Generated Node #0,1: 73:[73, 80, 79] Operation: 48+31=79 Exploring Operation: 73+31=104, Resulting Numbers: [48, 80, 104] Generated Node #0,2: 73:[48, 80, 104] Operation: 73+31=104 Exploring Operation: 48-31=17, Resulting Numbers: [73, 80, 17] Generated Node #0,3: 73:[73, 80, 17] Operation: 48-31=17 Moving to Node #0,1 Current State: 73:[73, 80, 79], Operations: ['48+31=79'] Exploring Operation: 79-73=6, Resulting Numbers: [80, 6] Generated Node #0,1,0: 73:[80, 6] Operation: 79-73=6 Exploring Operation: 80-79=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 73:[73, 1] Operation: 80-79=1 Exploring Operation: 80-73=7, Resulting Numbers: [79, 7] Generated Node #0,1,2: 73:[79, 7] Operation: 80-73=7 Exploring Operation: 73+80=153, Resulting Numbers: [79, 153] Generated Node #0,1,3: 73:[79, 153] Operation: 73+80=153 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[73, 1], Operations: ['48+31=79', '80-79=1'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[48, 73, 80, 31], Operations: [] Exploring Operation: 48+31=79, Resulting Numbers: [73, 80, 79] Generated Node #0,1: 73:[73, 80, 79] Operation: 48+31=79 Moving to Node #0,1 Current State: 73:[73, 80, 79], Operations: ['48+31=79'] Exploring Operation: 80-79=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 73:[73, 1] Operation: 80-79=1 Moving to Node #0,1,1 Current State: 73:[73, 1], Operations: ['48+31=79', '80-79=1'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 85, 11, 97, 8 ]
44
[ "97-85=12", "12-8=4", "11*4=44" ]
Current State: 44:[85, 11, 97, 8], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [11, 8, 12] Generated Node #2: [11, 8, 12] from Operation: 97-85=12 Current State: 44:[11, 8, 12], Operations: ['97-85=12'] Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 12-8=4 Current State: 44:[11, 4], Operations: ['97-85=12', '12-8=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[85, 11, 97, 8], Operations: [] Exploring Operation: 85-11=74, Resulting Numbers: [97, 8, 74] Generated Node #0,0: 44:[97, 8, 74] Operation: 85-11=74 Exploring Operation: 97-85=12, Resulting Numbers: [11, 8, 12] Generated Node #0,1: 44:[11, 8, 12] Operation: 97-85=12 Moving to Node #0,1 Current State: 44:[11, 8, 12], Operations: ['97-85=12'] Exploring Operation: 11-8=3, Resulting Numbers: [12, 3] Generated Node #0,1,0: 44:[12, 3] Operation: 11-8=3 Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 44:[11, 4] Operation: 12-8=4 Moving to Node #0,0 Current State: 44:[97, 8, 74], Operations: ['85-11=74'] Exploring Operation: 97-74=23, Resulting Numbers: [8, 23] Generated Node #0,0,0: 44:[8, 23] Operation: 97-74=23 Exploring Operation: 97-8=89, Resulting Numbers: [74, 89] Generated Node #0,0,1: 44:[74, 89] Operation: 97-8=89 Moving to Node #0,1,1 Current State: 44:[11, 4], Operations: ['97-85=12', '12-8=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[85, 11, 97, 8], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [11, 8, 12] Generated Node #0,1: 44:[11, 8, 12] Operation: 97-85=12 Moving to Node #0,1 Current State: 44:[11, 8, 12], Operations: ['97-85=12'] Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 44:[11, 4] Operation: 12-8=4 Moving to Node #0,1,1 Current State: 44:[11, 4], Operations: ['97-85=12', '12-8=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 34, 2, 48, 83 ]
33
[ "34*2=68", "83-48=35", "68-35=33" ]
Current State: 33:[34, 2, 48, 83], Operations: [] Exploring Operation: 34*2=68, Resulting Numbers: [48, 83, 68] Generated Node #2: [48, 83, 68] from Operation: 34*2=68 Current State: 33:[48, 83, 68], Operations: ['34*2=68'] Exploring Operation: 83-48=35, Resulting Numbers: [68, 35] Generated Node #3: [68, 35] from Operation: 83-48=35 Current State: 33:[68, 35], Operations: ['34*2=68', '83-48=35'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[34, 2, 48, 83], Operations: [] Exploring Operation: 83-34=49, Resulting Numbers: [2, 48, 49] Generated Node #0,0: 33:[2, 48, 49] Operation: 83-34=49 Exploring Operation: 48-2=46, Resulting Numbers: [34, 83, 46] Generated Node #0,1: 33:[34, 83, 46] Operation: 48-2=46 Exploring Operation: 83-48=35, Resulting Numbers: [34, 2, 35] Generated Node #0,2: 33:[34, 2, 35] Operation: 83-48=35 Exploring Operation: 48/2=24, Resulting Numbers: [34, 83, 24] Generated Node #0,3: 33:[34, 83, 24] Operation: 48/2=24 Exploring Operation: 48-34=14, Resulting Numbers: [2, 83, 14] Generated Node #0,4: 33:[2, 83, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[34, 2, 35], Operations: ['83-48=35'] Exploring Operation: 34-2=32, Resulting Numbers: [35, 32] Generated Node #0,2,0: 33:[35, 32] Operation: 34-2=32 Exploring Operation: 35-2=33, Resulting Numbers: [34, 33] Generated Node #0,2,1: 33:[34, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [34, 37] Generated Node #0,2,2: 33:[34, 37] Operation: 2+35=37 Exploring Operation: 35-34=1, Resulting Numbers: [2, 1] Generated Node #0,2,3: 33:[2, 1] Operation: 35-34=1 Exploring Operation: 34+2=36, Resulting Numbers: [35, 36] Generated Node #0,2,4: 33:[35, 36] Operation: 34+2=36 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[34, 33], Operations: ['83-48=35', '35-2=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[35, 32], Operations: ['83-48=35', '34-2=32'] Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,33 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 33:[2, 1], Operations: ['83-48=35', '35-34=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[34, 37], Operations: ['83-48=35', '2+35=37'] Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,33 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 33:[35, 36], Operations: ['83-48=35', '34+2=36'] Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[2, 48, 49], Operations: ['83-34=49'] Exploring Operation: 48-2=46, Resulting Numbers: [49, 46] Generated Node #0,0,0: 33:[49, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [49, 24] Generated Node #0,0,1: 33:[49, 24] Operation: 48/2=24 Exploring Operation: 2+48=50, Resulting Numbers: [49, 50] Generated Node #0,0,2: 33:[49, 50] Operation: 2+48=50 Exploring Operation: 49-48=1, Resulting Numbers: [2, 1] Generated Node #0,0,3: 33:[2, 1] Operation: 49-48=1 Exploring Operation: 49-2=47, Resulting Numbers: [48, 47] Generated Node #0,0,4: 33:[48, 47] Operation: 49-2=47 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[2, 1], Operations: ['83-34=49', '49-48=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[49, 24], Operations: ['83-34=49', '48/2=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,33 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[49, 46], Operations: ['83-34=49', '48-2=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 33:[48, 47], Operations: ['83-34=49', '49-2=47'] Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,33 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[49, 50], Operations: ['83-34=49', '2+48=50'] Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,33 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[2, 83, 14], Operations: ['48-34=14'] Exploring Operation: 14-2=12, Resulting Numbers: [83, 12] Generated Node #0,4,0: 33:[83, 12] Operation: 14-2=12 Exploring Operation: 83-14=69, Resulting Numbers: [2, 69] Generated Node #0,4,1: 33:[2, 69] Operation: 83-14=69 Exploring Operation: 2+83=85, Resulting Numbers: [14, 85] Generated Node #0,4,2: 33:[14, 85] Operation: 2+83=85 Exploring Operation: 14/2=7, Resulting Numbers: [83, 7] Generated Node #0,4,3: 33:[83, 7] Operation: 14/2=7 Exploring Operation: 83-2=81, Resulting Numbers: [14, 81] Generated Node #0,4,4: 33:[14, 81] Operation: 83-2=81 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 33:[2, 69], Operations: ['48-34=14', '83-14=69'] Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,33 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 33:[83, 12], Operations: ['48-34=14', '14-2=12'] Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,33 unequal: No Solution Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 33:[14, 81], Operations: ['48-34=14', '83-2=81'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 33:[83, 7], Operations: ['48-34=14', '14/2=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 33:[14, 85], Operations: ['48-34=14', '2+83=85'] Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[34, 83, 24], Operations: ['48/2=24'] Exploring Operation: 83-24=59, Resulting Numbers: [34, 59] Generated Node #0,3,0: 33:[34, 59] Operation: 83-24=59 Exploring Operation: 34-24=10, Resulting Numbers: [83, 10] Generated Node #0,3,1: 33:[83, 10] Operation: 34-24=10 Exploring Operation: 34+24=58, Resulting Numbers: [83, 58] Generated Node #0,3,2: 33:[83, 58] Operation: 34+24=58 Exploring Operation: 83+24=107, Resulting Numbers: [34, 107] Generated Node #0,3,3: 33:[34, 107] Operation: 83+24=107 Exploring Operation: 83-34=49, Resulting Numbers: [24, 49] Generated Node #0,3,4: 33:[24, 49] Operation: 83-34=49 Moving to Node #0,3,4 Current State: 33:[24, 49], Operations: ['48/2=24', '83-34=49'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,33 unequal: No Solution Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[34, 59], Operations: ['48/2=24', '83-24=59'] Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 34+59=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 34*59=2006, Resulting Numbers: [2006] 2006,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[83, 10], Operations: ['48/2=24', '34-24=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[83, 58], Operations: ['48/2=24', '34+24=58'] Exploring Operation: 83*58=4814, Resulting Numbers: [4814] 4814,33 unequal: No Solution Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 83+58=141, Resulting Numbers: [141] 141,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[34, 107], Operations: ['48/2=24', '83+24=107'] Exploring Operation: 34*107=3638, Resulting Numbers: [3638] 3638,33 unequal: No Solution Exploring Operation: 34+107=141, Resulting Numbers: [141] 141,33 unequal: No Solution Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[34, 83, 46], Operations: ['48-2=46'] Exploring Operation: 83-46=37, Resulting Numbers: [34, 37] Generated Node #0,1,0: 33:[34, 37] Operation: 83-46=37 Exploring Operation: 46-34=12, Resulting Numbers: [83, 12] Generated Node #0,1,1: 33:[83, 12] Operation: 46-34=12 Exploring Operation: 83-34=49, Resulting Numbers: [46, 49] Generated Node #0,1,2: 33:[46, 49] Operation: 83-34=49 Exploring Operation: 34+83=117, Resulting Numbers: [46, 117] Generated Node #0,1,3: 33:[46, 117] Operation: 34+83=117 Exploring Operation: 34+46=80, Resulting Numbers: [83, 80] Generated Node #0,1,4: 33:[83, 80] Operation: 34+46=80 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[34, 37], Operations: ['48-2=46', '83-46=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[46, 49], Operations: ['48-2=46', '83-34=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[83, 12], Operations: ['48-2=46', '46-34=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,33 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[46, 117], Operations: ['48-2=46', '34+83=117'] Exploring Operation: 46+117=163, Resulting Numbers: [163] 163,33 unequal: No Solution Exploring Operation: 117-46=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 46*117=5382, Resulting Numbers: [5382] 5382,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 33:[83, 80], Operations: ['48-2=46', '34+46=80'] Exploring Operation: 83+80=163, Resulting Numbers: [163] 163,33 unequal: No Solution Exploring Operation: 83*80=6640, Resulting Numbers: [6640] 6640,33 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 16, 31, 3, 41 ]
18
[ "16+31=47", "47-41=6", "3*6=18" ]
Current State: 18:[16, 31, 3, 41], Operations: [] Exploring Operation: 16+31=47, Resulting Numbers: [3, 41, 47] Generated Node #2: [3, 41, 47] from Operation: 16+31=47 Current State: 18:[3, 41, 47], Operations: ['16+31=47'] Exploring Operation: 47-41=6, Resulting Numbers: [3, 6] Generated Node #3: [3, 6] from Operation: 47-41=6 Current State: 18:[3, 6], Operations: ['16+31=47', '47-41=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[16, 31, 3, 41], Operations: [] Exploring Operation: 41-31=10, Resulting Numbers: [16, 3, 10] Generated Node #0,0: 18:[16, 3, 10] Operation: 41-31=10 Exploring Operation: 41-16=25, Resulting Numbers: [31, 3, 25] Generated Node #0,1: 18:[31, 3, 25] Operation: 41-16=25 Moving to Node #0,0 Current State: 18:[16, 3, 10], Operations: ['41-31=10'] Exploring Operation: 16+3=19, Resulting Numbers: [10, 19] Generated Node #0,0,0: 18:[10, 19] Operation: 16+3=19 Exploring Operation: 16-10=6, Resulting Numbers: [3, 6] Generated Node #0,0,1: 18:[3, 6] Operation: 16-10=6 Moving to Node #0,1 Current State: 18:[31, 3, 25], Operations: ['41-16=25'] Exploring Operation: 31-25=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 18:[3, 6] Operation: 31-25=6 Exploring Operation: 31-3=28, Resulting Numbers: [25, 28] Generated Node #0,1,1: 18:[25, 28] Operation: 31-3=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[3, 6], Operations: ['41-16=25', '31-25=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[16, 31, 3, 41], Operations: [] Exploring Operation: 41-16=25, Resulting Numbers: [31, 3, 25] Generated Node #0,1: 18:[31, 3, 25] Operation: 41-16=25 Moving to Node #0,1 Current State: 18:[31, 3, 25], Operations: ['41-16=25'] Exploring Operation: 31-25=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 18:[3, 6] Operation: 31-25=6 Moving to Node #0,1,0 Current State: 18:[3, 6], Operations: ['41-16=25', '31-25=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 39, 95, 37, 84 ]
22
[ "39-37=2", "95-84=11", "2*11=22" ]
Current State: 22:[39, 95, 37, 84], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [95, 84, 2] Generated Node #2: [95, 84, 2] from Operation: 39-37=2 Current State: 22:[95, 84, 2], Operations: ['39-37=2'] Exploring Operation: 95-84=11, Resulting Numbers: [2, 11] Generated Node #3: [2, 11] from Operation: 95-84=11 Current State: 22:[2, 11], Operations: ['39-37=2', '95-84=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[39, 95, 37, 84], Operations: [] Exploring Operation: 95-39=56, Resulting Numbers: [37, 84, 56] Generated Node #0,0: 22:[37, 84, 56] Operation: 95-39=56 Exploring Operation: 95-84=11, Resulting Numbers: [39, 37, 11] Generated Node #0,1: 22:[39, 37, 11] Operation: 95-84=11 Moving to Node #0,1 Current State: 22:[39, 37, 11], Operations: ['95-84=11'] Exploring Operation: 39-37=2, Resulting Numbers: [11, 2] Generated Node #0,1,0: 22:[11, 2] Operation: 39-37=2 Exploring Operation: 39-11=28, Resulting Numbers: [37, 28] Generated Node #0,1,1: 22:[37, 28] Operation: 39-11=28 Moving to Node #0,0 Current State: 22:[37, 84, 56], Operations: ['95-39=56'] Exploring Operation: 84-37=47, Resulting Numbers: [56, 47] Generated Node #0,0,0: 22:[56, 47] Operation: 84-37=47 Exploring Operation: 84-56=28, Resulting Numbers: [37, 28] Generated Node #0,0,1: 22:[37, 28] Operation: 84-56=28 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[37, 28], Operations: ['95-39=56', '84-56=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[56, 47], Operations: ['95-39=56', '84-37=47'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 22:[11, 2], Operations: ['95-84=11', '39-37=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[39, 95, 37, 84], Operations: [] Exploring Operation: 95-84=11, Resulting Numbers: [39, 37, 11] Generated Node #0,1: 22:[39, 37, 11] Operation: 95-84=11 Moving to Node #0,1 Current State: 22:[39, 37, 11], Operations: ['95-84=11'] Exploring Operation: 39-37=2, Resulting Numbers: [11, 2] Generated Node #0,1,0: 22:[11, 2] Operation: 39-37=2 Moving to Node #0,1,0 Current State: 22:[11, 2], Operations: ['95-84=11', '39-37=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 95, 4, 85, 85 ]
100
[ "95+4=99", "85/85=1", "99+1=100" ]
Current State: 100:[95, 4, 85, 85], Operations: [] Exploring Operation: 95+4=99, Resulting Numbers: [85, 85, 99] Generated Node #2: [85, 85, 99] from Operation: 95+4=99 Current State: 100:[85, 85, 99], Operations: ['95+4=99'] Exploring Operation: 85/85=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 85/85=1 Current State: 100:[99, 1], Operations: ['95+4=99', '85/85=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[95, 4, 85, 85], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [95, 4, 1] Generated Node #0,0: 100:[95, 4, 1] Operation: 85/85=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[95, 4, 1], Operations: ['85/85=1'] Exploring Operation: 95+4=99, Resulting Numbers: [1, 99] Generated Node #0,0,0: 100:[1, 99] Operation: 95+4=99 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[1, 99], Operations: ['85/85=1', '95+4=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[95, 4, 85, 85], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [95, 4, 1] Generated Node #0,0: 100:[95, 4, 1] Operation: 85/85=1 Moving to Node #0,0 Current State: 100:[95, 4, 1], Operations: ['85/85=1'] Exploring Operation: 95+4=99, Resulting Numbers: [1, 99] Generated Node #0,0,0: 100:[1, 99] Operation: 95+4=99 Moving to Node #0,0,0 Current State: 100:[1, 99], Operations: ['85/85=1', '95+4=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 17, 10, 60, 58 ]
14
[ "17-10=7", "60-58=2", "7*2=14" ]
Current State: 14:[17, 10, 60, 58], Operations: [] Exploring Operation: 17-10=7, Resulting Numbers: [60, 58, 7] Generated Node #2: [60, 58, 7] from Operation: 17-10=7 Current State: 14:[60, 58, 7], Operations: ['17-10=7'] Exploring Operation: 60-58=2, Resulting Numbers: [7, 2] Generated Node #3: [7, 2] from Operation: 60-58=2 Current State: 14:[7, 2], Operations: ['17-10=7', '60-58=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[17, 10, 60, 58], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [17, 58, 6] Generated Node #0,0: 14:[17, 58, 6] Operation: 60/10=6 Exploring Operation: 60-58=2, Resulting Numbers: [17, 10, 2] Generated Node #0,1: 14:[17, 10, 2] Operation: 60-58=2 Exploring Operation: 60-17=43, Resulting Numbers: [10, 58, 43] Generated Node #0,2: 14:[10, 58, 43] Operation: 60-17=43 Moving to Node #0,1 Current State: 14:[17, 10, 2], Operations: ['60-58=2'] Exploring Operation: 10-2=8, Resulting Numbers: [17, 8] Generated Node #0,1,0: 14:[17, 8] Operation: 10-2=8 Exploring Operation: 17-2=15, Resulting Numbers: [10, 15] Generated Node #0,1,1: 14:[10, 15] Operation: 17-2=15 Exploring Operation: 17-10=7, Resulting Numbers: [2, 7] Generated Node #0,1,2: 14:[2, 7] Operation: 17-10=7 Moving to Node #0,0 Current State: 14:[17, 58, 6], Operations: ['60/10=6'] Exploring Operation: 58-17=41, Resulting Numbers: [6, 41] Generated Node #0,0,0: 14:[6, 41] Operation: 58-17=41 Exploring Operation: 58-6=52, Resulting Numbers: [17, 52] Generated Node #0,0,1: 14:[17, 52] Operation: 58-6=52 Exploring Operation: 17-6=11, Resulting Numbers: [58, 11] Generated Node #0,0,2: 14:[58, 11] Operation: 17-6=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[6, 41], Operations: ['60/10=6', '58-17=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,14 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[17, 52], Operations: ['60/10=6', '58-6=52'] Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[58, 11], Operations: ['60/10=6', '17-6=11'] Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 58*11=638, Resulting Numbers: [638] 638,14 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 14:[10, 58, 43], Operations: ['60-17=43'] Exploring Operation: 58-43=15, Resulting Numbers: [10, 15] Generated Node #0,2,0: 14:[10, 15] Operation: 58-43=15 Exploring Operation: 43-10=33, Resulting Numbers: [58, 33] Generated Node #0,2,1: 14:[58, 33] Operation: 43-10=33 Exploring Operation: 58-10=48, Resulting Numbers: [43, 48] Generated Node #0,2,2: 14:[43, 48] Operation: 58-10=48 Moving to Node #0,1,2 Current State: 14:[2, 7], Operations: ['60-58=2', '17-10=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[17, 10, 60, 58], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [17, 10, 2] Generated Node #0,1: 14:[17, 10, 2] Operation: 60-58=2 Moving to Node #0,1 Current State: 14:[17, 10, 2], Operations: ['60-58=2'] Exploring Operation: 17-10=7, Resulting Numbers: [2, 7] Generated Node #0,1,2: 14:[2, 7] Operation: 17-10=7 Moving to Node #0,1,2 Current State: 14:[2, 7], Operations: ['60-58=2', '17-10=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 13, 92, 79, 53 ]
54
[ "92-13=79", "79/79=1", "53+1=54" ]
Current State: 54:[13, 92, 79, 53], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [79, 53, 79] Generated Node #2: [79, 53, 79] from Operation: 92-13=79 Current State: 54:[79, 53, 79], Operations: ['92-13=79'] Exploring Operation: 79/79=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 79/79=1 Current State: 54:[53, 1], Operations: ['92-13=79', '79/79=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[13, 92, 79, 53], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [13, 53, 13] Generated Node #0,0: 54:[13, 53, 13] Operation: 92-79=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[13, 53, 13], Operations: ['92-79=13'] Exploring Operation: 13+13=26, Resulting Numbers: [53, 26] Generated Node #0,0,0: 54:[53, 26] Operation: 13+13=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[53, 26], Operations: ['92-79=13', '13+13=26'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 52, 68, 20, 15 ]
90
[ "52+68=120", "120/20=6", "15*6=90" ]
Current State: 90:[52, 68, 20, 15], Operations: [] Exploring Operation: 52+68=120, Resulting Numbers: [20, 15, 120] Generated Node #2: [20, 15, 120] from Operation: 52+68=120 Current State: 90:[20, 15, 120], Operations: ['52+68=120'] Exploring Operation: 120/20=6, Resulting Numbers: [15, 6] Generated Node #3: [15, 6] from Operation: 120/20=6 Current State: 90:[15, 6], Operations: ['52+68=120', '120/20=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[52, 68, 20, 15], Operations: [] Exploring Operation: 68+15=83, Resulting Numbers: [52, 20, 83] Generated Node #0,0: 90:[52, 20, 83] Operation: 68+15=83 Exploring Operation: 68+20=88, Resulting Numbers: [52, 15, 88] Generated Node #0,1: 90:[52, 15, 88] Operation: 68+20=88 Exploring Operation: 68-20=48, Resulting Numbers: [52, 15, 48] Generated Node #0,2: 90:[52, 15, 48] Operation: 68-20=48 Exploring Operation: 68-52=16, Resulting Numbers: [20, 15, 16] Generated Node #0,3: 90:[20, 15, 16] Operation: 68-52=16 Moving to Node #0,3 Current State: 90:[20, 15, 16], Operations: ['68-52=16'] Exploring Operation: 16-15=1, Resulting Numbers: [20, 1] Generated Node #0,3,0: 90:[20, 1] Operation: 16-15=1 Exploring Operation: 20-16=4, Resulting Numbers: [15, 4] Generated Node #0,3,1: 90:[15, 4] Operation: 20-16=4 Exploring Operation: 15+16=31, Resulting Numbers: [20, 31] Generated Node #0,3,2: 90:[20, 31] Operation: 15+16=31 Exploring Operation: 20-15=5, Resulting Numbers: [16, 5] Generated Node #0,3,3: 90:[16, 5] Operation: 20-15=5 Moving to Node #0,1 Current State: 90:[52, 15, 88], Operations: ['68+20=88'] Exploring Operation: 52-15=37, Resulting Numbers: [88, 37] Generated Node #0,1,0: 90:[88, 37] Operation: 52-15=37 Exploring Operation: 52+15=67, Resulting Numbers: [88, 67] Generated Node #0,1,1: 90:[88, 67] Operation: 52+15=67 Exploring Operation: 15+88=103, Resulting Numbers: [52, 103] Generated Node #0,1,2: 90:[52, 103] Operation: 15+88=103 Exploring Operation: 88-52=36, Resulting Numbers: [15, 36] Generated Node #0,1,3: 90:[15, 36] Operation: 88-52=36 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[15, 36], Operations: ['68+20=88', '88-52=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,90 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[88, 37], Operations: ['68+20=88', '52-15=37'] Exploring Operation: 88*37=3256, Resulting Numbers: [3256] 3256,90 unequal: No Solution Exploring Operation: 88+37=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[52, 103], Operations: ['68+20=88', '15+88=103'] Exploring Operation: 52*103=5356, Resulting Numbers: [5356] 5356,90 unequal: No Solution Exploring Operation: 52+103=155, Resulting Numbers: [155] 155,90 unequal: No Solution Exploring Operation: 103-52=51, Resulting Numbers: [51] 51,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[88, 67], Operations: ['68+20=88', '52+15=67'] Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,90 unequal: No Solution Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,90 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: 90:[52, 15, 48], Operations: ['68-20=48'] Exploring Operation: 48-15=33, Resulting Numbers: [52, 33] Generated Node #0,2,0: 90:[52, 33] Operation: 48-15=33 Exploring Operation: 52+48=100, Resulting Numbers: [15, 100] Generated Node #0,2,1: 90:[15, 100] Operation: 52+48=100 Exploring Operation: 52-15=37, Resulting Numbers: [48, 37] Generated Node #0,2,2: 90:[48, 37] Operation: 52-15=37 Exploring Operation: 52-48=4, Resulting Numbers: [15, 4] Generated Node #0,2,3: 90:[15, 4] Operation: 52-48=4 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[15, 4], Operations: ['68-20=48', '52-48=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,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:[52, 33], Operations: ['68-20=48', '48-15=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,90 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,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:[15, 100], Operations: ['68-20=48', '52+48=100'] Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 15*100=1500, Resulting Numbers: [1500] 1500,90 unequal: No Solution Exploring Operation: 15+100=115, Resulting Numbers: [115] 115,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:[48, 37], Operations: ['68-20=48', '52-15=37'] Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,90 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,90 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: 90:[52, 20, 83], Operations: ['68+15=83'] Exploring Operation: 52+20=72, Resulting Numbers: [83, 72] Generated Node #0,0,0: 90:[83, 72] Operation: 52+20=72 Exploring Operation: 83-52=31, Resulting Numbers: [20, 31] Generated Node #0,0,1: 90:[20, 31] Operation: 83-52=31 Exploring Operation: 20+83=103, Resulting Numbers: [52, 103] Generated Node #0,0,2: 90:[52, 103] Operation: 20+83=103 Exploring Operation: 52-20=32, Resulting Numbers: [83, 32] Generated Node #0,0,3: 90:[83, 32] Operation: 52-20=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[20, 31], Operations: ['68+15=83', '83-52=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[83, 32], Operations: ['68+15=83', '52-20=32'] Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,90 unequal: No Solution Exploring Operation: 83*32=2656, Resulting Numbers: [2656] 2656,90 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[52, 103], Operations: ['68+15=83', '20+83=103'] Exploring Operation: 52+103=155, Resulting Numbers: [155] 155,90 unequal: No Solution Exploring Operation: 103-52=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 52*103=5356, Resulting Numbers: [5356] 5356,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[83, 72], Operations: ['68+15=83', '52+20=72'] Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 83*72=5976, Resulting Numbers: [5976] 5976,90 unequal: No Solution Exploring Operation: 83+72=155, Resulting Numbers: [155] 155,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 90:[15, 4], Operations: ['68-52=16', '20-16=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[16, 5], Operations: ['68-52=16', '20-15=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[20, 31], Operations: ['68-52=16', '15+16=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[20, 1], Operations: ['68-52=16', '16-15=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,90 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 73, 4, 49, 69 ]
78
[ "69-49=20", "20/4=5", "73+5=78" ]
Current State: 78:[73, 4, 49, 69], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [73, 4, 20] Generated Node #2: [73, 4, 20] from Operation: 69-49=20 Current State: 78:[73, 4, 20], Operations: ['69-49=20'] Exploring Operation: 20/4=5, Resulting Numbers: [73, 5] Generated Node #3: [73, 5] from Operation: 20/4=5 Current State: 78:[73, 5], Operations: ['69-49=20', '20/4=5'] Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[73, 4, 49, 69], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [4, 49, 4] Generated Node #0,0: 78:[4, 49, 4] Operation: 73-69=4 Exploring Operation: 49-4=45, Resulting Numbers: [73, 69, 45] Generated Node #0,1: 78:[73, 69, 45] Operation: 49-4=45 Exploring Operation: 73+4=77, Resulting Numbers: [49, 69, 77] Generated Node #0,2: 78:[49, 69, 77] Operation: 73+4=77 Exploring Operation: 69-49=20, Resulting Numbers: [73, 4, 20] Generated Node #0,3: 78:[73, 4, 20] Operation: 69-49=20 Exploring Operation: 73-49=24, Resulting Numbers: [4, 69, 24] Generated Node #0,4: 78:[4, 69, 24] Operation: 73-49=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[4, 49, 4], Operations: ['73-69=4'] Exploring Operation: 49-4=45, Resulting Numbers: [4, 45] Generated Node #0,0,0: 78:[4, 45] Operation: 49-4=45 Exploring Operation: 49-4=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 78:[4, 45] Operation: 49-4=45 Exploring Operation: 4-4=0, Resulting Numbers: [49, 0] Generated Node #0,0,2: 78:[49, 0] Operation: 4-4=0 Exploring Operation: 4/4=1, Resulting Numbers: [49, 1] Generated Node #0,0,3: 78:[49, 1] Operation: 4/4=1 Exploring Operation: 4+4=8, Resulting Numbers: [49, 8] Generated Node #0,0,4: 78:[49, 8] Operation: 4+4=8 Moving to Node #0,0,0 Current State: 78:[4, 45], Operations: ['73-69=4', '49-4=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,78 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[4, 45], Operations: ['73-69=4', '49-4=45'] Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,78 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[49, 1], Operations: ['73-69=4', '4/4=1'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[49, 0], Operations: ['73-69=4', '4-4=0'] Exploring Operation: 49-0=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 49*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 49+0=49, Resulting Numbers: [49] 49,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[49, 8], Operations: ['73-69=4', '4+4=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,78 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[73, 4, 20], Operations: ['69-49=20'] Exploring Operation: 4*20=80, Resulting Numbers: [73, 80] Generated Node #0,3,0: 78:[73, 80] Operation: 4*20=80 Exploring Operation: 73+4=77, Resulting Numbers: [20, 77] Generated Node #0,3,1: 78:[20, 77] Operation: 73+4=77 Exploring Operation: 20/4=5, Resulting Numbers: [73, 5] Generated Node #0,3,2: 78:[73, 5] Operation: 20/4=5 Exploring Operation: 20-4=16, Resulting Numbers: [73, 16] Generated Node #0,3,3: 78:[73, 16] Operation: 20-4=16 Exploring Operation: 4+20=24, Resulting Numbers: [73, 24] Generated Node #0,3,4: 78:[73, 24] Operation: 4+20=24 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[73, 5], Operations: ['69-49=20', '20/4=5'] Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[73, 4, 49, 69], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [73, 4, 20] Generated Node #0,3: 78:[73, 4, 20] Operation: 69-49=20 Moving to Node #0,3 Current State: 78:[73, 4, 20], Operations: ['69-49=20'] Exploring Operation: 20/4=5, Resulting Numbers: [73, 5] Generated Node #0,3,2: 78:[73, 5] Operation: 20/4=5 Moving to Node #0,3,2 Current State: 78:[73, 5], Operations: ['69-49=20', '20/4=5'] Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 38, 30, 48, 52 ]
51
[ "38+52=90", "90/30=3", "48+3=51" ]
Current State: 51:[38, 30, 48, 52], Operations: [] Exploring Operation: 38+52=90, Resulting Numbers: [30, 48, 90] Generated Node #2: [30, 48, 90] from Operation: 38+52=90 Current State: 51:[30, 48, 90], Operations: ['38+52=90'] Exploring Operation: 90/30=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 90/30=3 Current State: 51:[48, 3], Operations: ['38+52=90', '90/30=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[38, 30, 48, 52], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [48, 52, 8] Generated Node #0,0: 51:[48, 52, 8] Operation: 38-30=8 Exploring Operation: 48-30=18, Resulting Numbers: [38, 52, 18] Generated Node #0,1: 51:[38, 52, 18] Operation: 48-30=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[48, 52, 8], Operations: ['38-30=8'] Exploring Operation: 48/8=6, Resulting Numbers: [52, 6] Generated Node #0,0,0: 51:[52, 6] Operation: 48/8=6 Exploring Operation: 52-48=4, Resulting Numbers: [8, 4] Generated Node #0,0,1: 51:[8, 4] Operation: 52-48=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[52, 6], Operations: ['38-30=8', '48/8=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[8, 4], Operations: ['38-30=8', '52-48=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[38, 52, 18], Operations: ['48-30=18'] Exploring Operation: 38-18=20, Resulting Numbers: [52, 20] Generated Node #0,1,0: 51:[52, 20] Operation: 38-18=20 Exploring Operation: 52-38=14, Resulting Numbers: [18, 14] Generated Node #0,1,1: 51:[18, 14] Operation: 52-38=14 Moving to Node #0,1,0 Current State: 51:[52, 20], Operations: ['48-30=18', '38-18=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[18, 14], Operations: ['48-30=18', '52-38=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,51 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
[ 17, 16, 46, 98 ]
26
[ "46+98=144", "144/16=9", "17+9=26" ]
Current State: 26:[17, 16, 46, 98], Operations: [] Exploring Operation: 46+98=144, Resulting Numbers: [17, 16, 144] Generated Node #2: [17, 16, 144] from Operation: 46+98=144 Current State: 26:[17, 16, 144], Operations: ['46+98=144'] Exploring Operation: 144/16=9, Resulting Numbers: [17, 9] Generated Node #3: [17, 9] from Operation: 144/16=9 Current State: 26:[17, 9], Operations: ['46+98=144', '144/16=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[17, 16, 46, 98], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [16, 46, 81] Generated Node #0,0: 26:[16, 46, 81] Operation: 98-17=81 Exploring Operation: 98-46=52, Resulting Numbers: [17, 16, 52] Generated Node #0,1: 26:[17, 16, 52] Operation: 98-46=52 Exploring Operation: 46-17=29, Resulting Numbers: [16, 98, 29] Generated Node #0,2: 26:[16, 98, 29] Operation: 46-17=29 Moving to Node #0,1 Current State: 26:[17, 16, 52], Operations: ['98-46=52'] Exploring Operation: 52-17=35, Resulting Numbers: [16, 35] Generated Node #0,1,0: 26:[16, 35] Operation: 52-17=35 Exploring Operation: 52-16=36, Resulting Numbers: [17, 36] Generated Node #0,1,1: 26:[17, 36] Operation: 52-16=36 Exploring Operation: 17-16=1, Resulting Numbers: [52, 1] Generated Node #0,1,2: 26:[52, 1] Operation: 17-16=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[16, 35], Operations: ['98-46=52', '52-17=35'] Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,26 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[17, 36], Operations: ['98-46=52', '52-16=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,26 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[52, 1], Operations: ['98-46=52', '17-16=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,26 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: 26:[16, 46, 81], Operations: ['98-17=81'] Exploring Operation: 81-46=35, Resulting Numbers: [16, 35] Generated Node #0,0,0: 26:[16, 35] Operation: 81-46=35 Exploring Operation: 46-16=30, Resulting Numbers: [81, 30] Generated Node #0,0,1: 26:[81, 30] Operation: 46-16=30 Exploring Operation: 81-16=65, Resulting Numbers: [46, 65] Generated Node #0,0,2: 26:[46, 65] Operation: 81-16=65 Moving to Node #0,2 Current State: 26:[16, 98, 29], Operations: ['46-17=29'] Exploring Operation: 29-16=13, Resulting Numbers: [98, 13] Generated Node #0,2,0: 26:[98, 13] Operation: 29-16=13 Exploring Operation: 98-16=82, Resulting Numbers: [29, 82] Generated Node #0,2,1: 26:[29, 82] Operation: 98-16=82 Exploring Operation: 98-29=69, Resulting Numbers: [16, 69] Generated Node #0,2,2: 26:[16, 69] Operation: 98-29=69 Moving to Node #0,0,0 Current State: 26:[16, 35], Operations: ['98-17=81', '81-46=35'] Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,26 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[16, 69], Operations: ['46-17=29', '98-29=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,26 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,26 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[46, 65], Operations: ['98-17=81', '81-16=65'] Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 46*65=2990, Resulting Numbers: [2990] 2990,26 unequal: No Solution Exploring Operation: 46+65=111, Resulting Numbers: [111] 111,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[29, 82], Operations: ['46-17=29', '98-16=82'] Exploring Operation: 29+82=111, Resulting Numbers: [111] 111,26 unequal: No Solution Exploring Operation: 29*82=2378, Resulting Numbers: [2378] 2378,26 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[81, 30], Operations: ['98-17=81', '46-16=30'] Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,26 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[98, 13], Operations: ['46-17=29', '29-16=13'] Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,26 unequal: No Solution Exploring Operation: 98+13=111, Resulting Numbers: [111] 111,26 unequal: No Solution Exploring Operation: 98*13=1274, Resulting Numbers: [1274] 1274,26 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 64, 11, 19, 49 ]
15
[ "64-11=53", "19+49=68", "68-53=15" ]
Current State: 15:[64, 11, 19, 49], Operations: [] Exploring Operation: 64-11=53, Resulting Numbers: [19, 49, 53] Generated Node #2: [19, 49, 53] from Operation: 64-11=53 Current State: 15:[19, 49, 53], Operations: ['64-11=53'] Exploring Operation: 19+49=68, Resulting Numbers: [53, 68] Generated Node #3: [53, 68] from Operation: 19+49=68 Current State: 15:[53, 68], Operations: ['64-11=53', '19+49=68'] Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[64, 11, 19, 49], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [11, 49, 45] Generated Node #0,0: 15:[11, 49, 45] Operation: 64-19=45 Exploring Operation: 64-49=15, Resulting Numbers: [11, 19, 15] Generated Node #0,1: 15:[11, 19, 15] Operation: 64-49=15 Moving to Node #0,1 Current State: 15:[11, 19, 15], Operations: ['64-49=15'] Exploring Operation: 19-11=8, Resulting Numbers: [15, 8] Generated Node #0,1,0: 15:[15, 8] Operation: 19-11=8 Exploring Operation: 15-11=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 15:[19, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[15, 8], Operations: ['64-49=15', '19-11=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,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,1 Current State: 15:[19, 4], Operations: ['64-49=15', '15-11=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[64, 11, 19, 49], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [11, 19, 15] Generated Node #0,1: 15:[11, 19, 15] Operation: 64-49=15 Moving to Node #0,1 Current State: 15:[11, 19, 15], Operations: ['64-49=15'] Exploring Operation: 15-11=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 15:[19, 4] Operation: 15-11=4 Moving to Node #0,1,1 Current State: 15:[19, 4], Operations: ['64-49=15', '15-11=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 43, 22, 27, 26 ]
87
[ "27-22=5", "26*5=130", "130-43=87" ]
Current State: 87:[43, 22, 27, 26], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [43, 26, 5] Generated Node #2: [43, 26, 5] from Operation: 27-22=5 Current State: 87:[43, 26, 5], Operations: ['27-22=5'] Exploring Operation: 26*5=130, Resulting Numbers: [43, 130] Generated Node #3: [43, 130] from Operation: 26*5=130 Current State: 87:[43, 130], Operations: ['27-22=5', '26*5=130'] Exploring Operation: 130-43=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[43, 22, 27, 26], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [43, 27, 4] Generated Node #0,0: 87:[43, 27, 4] Operation: 26-22=4 Exploring Operation: 43-26=17, Resulting Numbers: [22, 27, 17] Generated Node #0,1: 87:[22, 27, 17] Operation: 43-26=17 Exploring Operation: 27-22=5, Resulting Numbers: [43, 26, 5] Generated Node #0,2: 87:[43, 26, 5] Operation: 27-22=5 Exploring Operation: 43-27=16, Resulting Numbers: [22, 26, 16] Generated Node #0,3: 87:[22, 26, 16] Operation: 43-27=16 Exploring Operation: 43-22=21, Resulting Numbers: [27, 26, 21] Generated Node #0,4: 87:[27, 26, 21] Operation: 43-22=21 Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[27, 26, 21], Operations: ['43-22=21'] Exploring Operation: 27+21=48, Resulting Numbers: [26, 48] Generated Node #0,4,0: 87:[26, 48] Operation: 27+21=48 Exploring Operation: 27-26=1, Resulting Numbers: [21, 1] Generated Node #0,4,1: 87:[21, 1] Operation: 27-26=1 Exploring Operation: 26-21=5, Resulting Numbers: [27, 5] Generated Node #0,4,2: 87:[27, 5] Operation: 26-21=5 Exploring Operation: 26+21=47, Resulting Numbers: [27, 47] Generated Node #0,4,3: 87:[27, 47] Operation: 26+21=47 Exploring Operation: 27-21=6, Resulting Numbers: [26, 6] Generated Node #0,4,4: 87:[26, 6] Operation: 27-21=6 Moving to Node #0,4,2 Current State: 87:[27, 5], Operations: ['43-22=21', '26-21=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,87 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[26, 6], Operations: ['43-22=21', '27-21=6'] Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,87 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,87 unequal: No Solution Moving to Node #0,4,1 Current State: 87:[21, 1], Operations: ['43-22=21', '27-26=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,87 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[27, 47], Operations: ['43-22=21', '26+21=47'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,87 unequal: No Solution Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,87 unequal: No Solution Moving to Node #0,4,0 Current State: 87:[26, 48], Operations: ['43-22=21', '27+21=48'] Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,87 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[43, 27, 4], Operations: ['26-22=4'] Exploring Operation: 43+4=47, Resulting Numbers: [27, 47] Generated Node #0,0,0: 87:[27, 47] Operation: 43+4=47 Exploring Operation: 43+27=70, Resulting Numbers: [4, 70] Generated Node #0,0,1: 87:[4, 70] Operation: 43+27=70 Exploring Operation: 43-4=39, Resulting Numbers: [27, 39] Generated Node #0,0,2: 87:[27, 39] Operation: 43-4=39 Exploring Operation: 43-27=16, Resulting Numbers: [4, 16] Generated Node #0,0,3: 87:[4, 16] Operation: 43-27=16 Exploring Operation: 27+4=31, Resulting Numbers: [43, 31] Generated Node #0,0,4: 87:[43, 31] Operation: 27+4=31 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[27, 39], Operations: ['26-22=4', '43-4=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,87 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[4, 16], Operations: ['26-22=4', '43-27=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 87:[43, 31], Operations: ['26-22=4', '27+4=31'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,87 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[4, 70], Operations: ['26-22=4', '43+27=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[27, 47], Operations: ['26-22=4', '43+4=47'] Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[43, 26, 5], Operations: ['27-22=5'] Exploring Operation: 43-26=17, Resulting Numbers: [5, 17] Generated Node #0,2,0: 87:[5, 17] Operation: 43-26=17 Exploring Operation: 43-5=38, Resulting Numbers: [26, 38] Generated Node #0,2,1: 87:[26, 38] Operation: 43-5=38 Exploring Operation: 43+26=69, Resulting Numbers: [5, 69] Generated Node #0,2,2: 87:[5, 69] Operation: 43+26=69 Exploring Operation: 26+5=31, Resulting Numbers: [43, 31] Generated Node #0,2,3: 87:[43, 31] Operation: 26+5=31 Exploring Operation: 43+5=48, Resulting Numbers: [26, 48] Generated Node #0,2,4: 87:[26, 48] Operation: 43+5=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[26, 38], Operations: ['27-22=5', '43-5=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[5, 17], Operations: ['27-22=5', '43-26=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 87:[43, 31], Operations: ['27-22=5', '26+5=31'] Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,87 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[5, 69], Operations: ['27-22=5', '43+26=69'] Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 87:[26, 48], Operations: ['27-22=5', '43+5=48'] Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,87 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[22, 27, 17], Operations: ['43-26=17'] Exploring Operation: 27-22=5, Resulting Numbers: [17, 5] Generated Node #0,1,0: 87:[17, 5] Operation: 27-22=5 Exploring Operation: 22+17=39, Resulting Numbers: [27, 39] Generated Node #0,1,1: 87:[27, 39] Operation: 22+17=39 Exploring Operation: 27+17=44, Resulting Numbers: [22, 44] Generated Node #0,1,2: 87:[22, 44] Operation: 27+17=44 Exploring Operation: 22-17=5, Resulting Numbers: [27, 5] Generated Node #0,1,3: 87:[27, 5] Operation: 22-17=5 Exploring Operation: 27-17=10, Resulting Numbers: [22, 10] Generated Node #0,1,4: 87:[22, 10] Operation: 27-17=10 Moving to Node #0,1,3 Current State: 87:[27, 5], Operations: ['43-26=17', '22-17=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,87 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[27, 39], Operations: ['43-26=17', '22+17=39'] Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[17, 5], Operations: ['43-26=17', '27-22=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,87 unequal: No Solution Moving to Node #0,1,4 Current State: 87:[22, 10], Operations: ['43-26=17', '27-17=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[22, 44], Operations: ['43-26=17', '27+17=44'] Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 22*44=968, Resulting Numbers: [968] 968,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[22, 26, 16], Operations: ['43-27=16'] Exploring Operation: 22+16=38, Resulting Numbers: [26, 38] Generated Node #0,3,0: 87:[26, 38] Operation: 22+16=38 Exploring Operation: 26-22=4, Resulting Numbers: [16, 4] Generated Node #0,3,1: 87:[16, 4] Operation: 26-22=4 Exploring Operation: 26+16=42, Resulting Numbers: [22, 42] Generated Node #0,3,2: 87:[22, 42] Operation: 26+16=42 Exploring Operation: 26-16=10, Resulting Numbers: [22, 10] Generated Node #0,3,3: 87:[22, 10] Operation: 26-16=10 Exploring Operation: 22-16=6, Resulting Numbers: [26, 6] Generated Node #0,3,4: 87:[26, 6] Operation: 22-16=6 Moving to Node #0,3,4 Current State: 87:[26, 6], Operations: ['43-27=16', '22-16=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,87 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[26, 38], Operations: ['43-27=16', '22+16=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,87 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[16, 4], Operations: ['43-27=16', '26-22=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[22, 10], Operations: ['43-27=16', '26-16=10'] Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,87 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[22, 42], Operations: ['43-27=16', '26+16=42'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,87 unequal: No Solution Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,87 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
[ 96, 6, 75, 52 ]
42
[ "75-52=23", "6*23=138", "138-96=42" ]
Current State: 42:[96, 6, 75, 52], Operations: [] Exploring Operation: 75-52=23, Resulting Numbers: [96, 6, 23] Generated Node #2: [96, 6, 23] from Operation: 75-52=23 Current State: 42:[96, 6, 23], Operations: ['75-52=23'] Exploring Operation: 6*23=138, Resulting Numbers: [96, 138] Generated Node #3: [96, 138] from Operation: 6*23=138 Current State: 42:[96, 138], Operations: ['75-52=23', '6*23=138'] Exploring Operation: 138-96=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[96, 6, 75, 52], Operations: [] Exploring Operation: 75-52=23, Resulting Numbers: [96, 6, 23] Generated Node #0,0: 42:[96, 6, 23] Operation: 75-52=23 Exploring Operation: 96-75=21, Resulting Numbers: [6, 52, 21] Generated Node #0,1: 42:[6, 52, 21] Operation: 96-75=21 Exploring Operation: 96/6=16, Resulting Numbers: [75, 52, 16] Generated Node #0,2: 42:[75, 52, 16] Operation: 96/6=16 Exploring Operation: 96-52=44, Resulting Numbers: [6, 75, 44] Generated Node #0,3: 42:[6, 75, 44] Operation: 96-52=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[6, 52, 21], Operations: ['96-75=21'] Exploring Operation: 52-21=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 42:[6, 31] Operation: 52-21=31 Exploring Operation: 21-6=15, Resulting Numbers: [52, 15] Generated Node #0,1,1: 42:[52, 15] Operation: 21-6=15 Exploring Operation: 52-6=46, Resulting Numbers: [21, 46] Generated Node #0,1,2: 42:[21, 46] Operation: 52-6=46 Exploring Operation: 6+52=58, Resulting Numbers: [21, 58] Generated Node #0,1,3: 42:[21, 58] Operation: 6+52=58 Moving to Node #0,1,2 Current State: 42:[21, 46], Operations: ['96-75=21', '52-6=46'] Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[6, 31], Operations: ['96-75=21', '52-21=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[52, 15], Operations: ['96-75=21', '21-6=15'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,42 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[21, 58], Operations: ['96-75=21', '6+52=58'] Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,42 unequal: No Solution Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,42 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[6, 75, 44], Operations: ['96-52=44'] Exploring Operation: 75-6=69, Resulting Numbers: [44, 69] Generated Node #0,3,0: 42:[44, 69] Operation: 75-6=69 Exploring Operation: 75-44=31, Resulting Numbers: [6, 31] Generated Node #0,3,1: 42:[6, 31] Operation: 75-44=31 Exploring Operation: 6+75=81, Resulting Numbers: [44, 81] Generated Node #0,3,2: 42:[44, 81] Operation: 6+75=81 Exploring Operation: 44-6=38, Resulting Numbers: [75, 38] Generated Node #0,3,3: 42:[75, 38] Operation: 44-6=38 Moving to Node #0,3,1 Current State: 42:[6, 31], Operations: ['96-52=44', '75-44=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[44, 69], Operations: ['96-52=44', '75-6=69'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,42 unequal: No Solution Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[75, 38], Operations: ['96-52=44', '44-6=38'] Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,42 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[44, 81], Operations: ['96-52=44', '6+75=81'] Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,42 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[75, 52, 16], Operations: ['96/6=16'] Exploring Operation: 52-16=36, Resulting Numbers: [75, 36] Generated Node #0,2,0: 42:[75, 36] Operation: 52-16=36 Exploring Operation: 75-52=23, Resulting Numbers: [16, 23] Generated Node #0,2,1: 42:[16, 23] Operation: 75-52=23 Exploring Operation: 75+16=91, Resulting Numbers: [52, 91] Generated Node #0,2,2: 42:[52, 91] Operation: 75+16=91 Exploring Operation: 75-16=59, Resulting Numbers: [52, 59] Generated Node #0,2,3: 42:[52, 59] Operation: 75-16=59 Moving to Node #0,2,1 Current State: 42:[16, 23], Operations: ['96/6=16', '75-52=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,42 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[52, 59], Operations: ['96/6=16', '75-16=59'] Exploring Operation: 52+59=111, Resulting Numbers: [111] 111,42 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 52*59=3068, Resulting Numbers: [3068] 3068,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[75, 36], Operations: ['96/6=16', '52-16=36'] Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,42 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,42 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[52, 91], Operations: ['96/6=16', '75+16=91'] Exploring Operation: 52+91=143, Resulting Numbers: [143] 143,42 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 52*91=4732, Resulting Numbers: [4732] 4732,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[96, 6, 23], Operations: ['75-52=23'] Exploring Operation: 96/6=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 42:[23, 16] Operation: 96/6=16 Exploring Operation: 96-23=73, Resulting Numbers: [6, 73] Generated Node #0,0,1: 42:[6, 73] Operation: 96-23=73 Exploring Operation: 23-6=17, Resulting Numbers: [96, 17] Generated Node #0,0,2: 42:[96, 17] Operation: 23-6=17 Exploring Operation: 96-6=90, Resulting Numbers: [23, 90] Generated Node #0,0,3: 42:[23, 90] Operation: 96-6=90 Moving to Node #0,0,0 Current State: 42:[23, 16], Operations: ['75-52=23', '96/6=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[6, 73], Operations: ['75-52=23', '96-23=73'] Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,42 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,42 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[23, 90], Operations: ['75-52=23', '96-6=90'] Exploring Operation: 23*90=2070, Resulting Numbers: [2070] 2070,42 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 23+90=113, Resulting Numbers: [113] 113,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[96, 17], Operations: ['75-52=23', '23-6=17'] Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,42 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,42 unequal: No Solution Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,42 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
[ 70, 13, 91, 80 ]
91
[ "13+91=104", "70*104=7280", "7280/80=91" ]
Current State: 91:[70, 13, 91, 80], Operations: [] Exploring Operation: 13+91=104, Resulting Numbers: [70, 80, 104] Generated Node #2: [70, 80, 104] from Operation: 13+91=104 Current State: 91:[70, 80, 104], Operations: ['13+91=104'] Exploring Operation: 70*104=7280, Resulting Numbers: [80, 7280] Generated Node #3: [80, 7280] from Operation: 70*104=7280 Current State: 91:[80, 7280], Operations: ['13+91=104', '70*104=7280'] Exploring Operation: 7280/80=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[70, 13, 91, 80], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [13, 91, 10] Generated Node #0,0: 91:[13, 91, 10] Operation: 80-70=10 Exploring Operation: 70+13=83, Resulting Numbers: [91, 80, 83] Generated Node #0,1: 91:[91, 80, 83] Operation: 70+13=83 Exploring Operation: 91-70=21, Resulting Numbers: [13, 80, 21] Generated Node #0,2: 91:[13, 80, 21] Operation: 91-70=21 Exploring Operation: 91-80=11, Resulting Numbers: [70, 13, 11] Generated Node #0,3: 91:[70, 13, 11] Operation: 91-80=11 Exploring Operation: 13+80=93, Resulting Numbers: [70, 91, 93] Generated Node #0,4: 91:[70, 91, 93] Operation: 13+80=93 Moving to Node #0,0 Current State: 91:[13, 91, 10], Operations: ['80-70=10'] Exploring Operation: 91+10=101, Resulting Numbers: [13, 101] Generated Node #0,0,0: 91:[13, 101] Operation: 91+10=101 Exploring Operation: 13-10=3, Resulting Numbers: [91, 3] Generated Node #0,0,1: 91:[91, 3] Operation: 13-10=3 Exploring Operation: 91-10=81, Resulting Numbers: [13, 81] Generated Node #0,0,2: 91:[13, 81] Operation: 91-10=81 Exploring Operation: 91/13=7, Resulting Numbers: [10, 7] Generated Node #0,0,3: 91:[10, 7] Operation: 91/13=7 Exploring Operation: 13+10=23, Resulting Numbers: [91, 23] Generated Node #0,0,4: 91:[91, 23] Operation: 13+10=23 Moving to Node #0,2 Current State: 91:[13, 80, 21], Operations: ['91-70=21'] Exploring Operation: 13+80=93, Resulting Numbers: [21, 93] Generated Node #0,2,0: 91:[21, 93] Operation: 13+80=93 Exploring Operation: 80-13=67, Resulting Numbers: [21, 67] Generated Node #0,2,1: 91:[21, 67] Operation: 80-13=67 Exploring Operation: 13+21=34, Resulting Numbers: [80, 34] Generated Node #0,2,2: 91:[80, 34] Operation: 13+21=34 Exploring Operation: 80+21=101, Resulting Numbers: [13, 101] Generated Node #0,2,3: 91:[13, 101] Operation: 80+21=101 Exploring Operation: 21-13=8, Resulting Numbers: [80, 8] Generated Node #0,2,4: 91:[80, 8] Operation: 21-13=8 Moving to Node #0,1 Current State: 91:[91, 80, 83], Operations: ['70+13=83'] Exploring Operation: 91+80=171, Resulting Numbers: [83, 171] Generated Node #0,1,0: 91:[83, 171] Operation: 91+80=171 Exploring Operation: 91-83=8, Resulting Numbers: [80, 8] Generated Node #0,1,1: 91:[80, 8] Operation: 91-83=8 Exploring Operation: 83-80=3, Resulting Numbers: [91, 3] Generated Node #0,1,2: 91:[91, 3] Operation: 83-80=3 Exploring Operation: 91-80=11, Resulting Numbers: [83, 11] Generated Node #0,1,3: 91:[83, 11] Operation: 91-80=11 Exploring Operation: 80+83=163, Resulting Numbers: [91, 163] Generated Node #0,1,4: 91:[91, 163] Operation: 80+83=163 Moving to Node #0,3 Current State: 91:[70, 13, 11], Operations: ['91-80=11'] Exploring Operation: 13-11=2, Resulting Numbers: [70, 2] Generated Node #0,3,0: 91:[70, 2] Operation: 13-11=2 Exploring Operation: 70-11=59, Resulting Numbers: [13, 59] Generated Node #0,3,1: 91:[13, 59] Operation: 70-11=59 Exploring Operation: 70+13=83, Resulting Numbers: [11, 83] Generated Node #0,3,2: 91:[11, 83] Operation: 70+13=83 Exploring Operation: 70+11=81, Resulting Numbers: [13, 81] Generated Node #0,3,3: 91:[13, 81] Operation: 70+11=81 Exploring Operation: 13+11=24, Resulting Numbers: [70, 24] Generated Node #0,3,4: 91:[70, 24] Operation: 13+11=24 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[11, 83], Operations: ['91-80=11', '70+13=83'] Exploring Operation: 11*83=913, Resulting Numbers: [913] 913,91 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 11+83=94, Resulting Numbers: [94] 94,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,3,3 Current State: 91:[13, 81], Operations: ['91-80=11', '70+11=81'] Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,91 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 13*81=1053, Resulting Numbers: [1053] 1053,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,3,0 Current State: 91:[70, 2], Operations: ['91-80=11', '13-11=2'] Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,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,3,1 Current State: 91:[13, 59], Operations: ['91-80=11', '70-11=59'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,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,3,4 Current State: 91:[70, 24], Operations: ['91-80=11', '13+11=24'] Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,91 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,91 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: 91:[70, 91, 93], Operations: ['13+80=93'] Exploring Operation: 91-70=21, Resulting Numbers: [93, 21] Generated Node #0,4,0: 91:[93, 21] Operation: 91-70=21 Exploring Operation: 93-91=2, Resulting Numbers: [70, 2] Generated Node #0,4,1: 91:[70, 2] Operation: 93-91=2 Exploring Operation: 70+91=161, Resulting Numbers: [93, 161] Generated Node #0,4,2: 91:[93, 161] Operation: 70+91=161 Exploring Operation: 93-70=23, Resulting Numbers: [91, 23] Generated Node #0,4,3: 91:[91, 23] Operation: 93-70=23 Exploring Operation: 70+93=163, Resulting Numbers: [91, 163] Generated Node #0,4,4: 91:[91, 163] Operation: 70+93=163 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 91:[93, 21], Operations: ['13+80=93', '91-70=21'] Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,91 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,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,4,3 Current State: 91:[91, 23], Operations: ['13+80=93', '93-70=23'] Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 91*23=2093, Resulting Numbers: [2093] 2093,91 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,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,4,1 Current State: 91:[70, 2], Operations: ['13+80=93', '93-91=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,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,4,2 Current State: 91:[93, 161], Operations: ['13+80=93', '70+91=161'] Exploring Operation: 93+161=254, Resulting Numbers: [254] 254,91 unequal: No Solution Exploring Operation: 93*161=14973, Resulting Numbers: [14973] 14973,91 unequal: No Solution Exploring Operation: 161-93=68, Resulting Numbers: [68] 68,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,4,4 Current State: 91:[91, 163], Operations: ['13+80=93', '70+93=163'] Exploring Operation: 91+163=254, Resulting Numbers: [254] 254,91 unequal: No Solution Exploring Operation: 163-91=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 91*163=14833, Resulting Numbers: [14833] 14833,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 91:[10, 7], Operations: ['80-70=10', '91/13=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[91, 3], Operations: ['80-70=10', '13-10=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,91 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[91, 3], Operations: ['70+13=83', '83-80=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,91 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[13, 101], Operations: ['80-70=10', '91+10=101'] Exploring Operation: 13+101=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 101-13=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 13*101=1313, Resulting Numbers: [1313] 1313,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[13, 101], Operations: ['91-70=21', '80+21=101'] Exploring Operation: 13+101=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 13*101=1313, Resulting Numbers: [1313] 1313,91 unequal: No Solution Exploring Operation: 101-13=88, Resulting Numbers: [88] 88,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[21, 93], Operations: ['91-70=21', '13+80=93'] Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 21*93=1953, Resulting Numbers: [1953] 1953,91 unequal: No Solution Exploring Operation: 21+93=114, Resulting Numbers: [114] 114,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[83, 11], Operations: ['70+13=83', '91-80=11'] Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,91 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,91 unequal: No Solution Moving to Node #0,0,4 Current State: 91:[91, 23], Operations: ['80-70=10', '13+10=23'] Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 91*23=2093, Resulting Numbers: [2093] 2093,91 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[13, 81], Operations: ['80-70=10', '91-10=81'] Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,91 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 13*81=1053, Resulting Numbers: [1053] 1053,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[80, 8], Operations: ['70+13=83', '91-83=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[80, 8], Operations: ['91-70=21', '21-13=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[80, 34], Operations: ['91-70=21', '13+21=34'] Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,91 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[21, 67], Operations: ['91-70=21', '80-13=67'] Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[91, 163], Operations: ['70+13=83', '80+83=163'] Exploring Operation: 91+163=254, Resulting Numbers: [254] 254,91 unequal: No Solution Exploring Operation: 163-91=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 91*163=14833, Resulting Numbers: [14833] 14833,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[83, 171], Operations: ['70+13=83', '91+80=171'] Exploring Operation: 83*171=14193, Resulting Numbers: [14193] 14193,91 unequal: No Solution Exploring Operation: 171-83=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 83+171=254, Resulting Numbers: [254] 254,91 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 32, 70, 58, 33 ]
37
[ "70+58=128", "128/32=4", "33+4=37" ]
Current State: 37:[32, 70, 58, 33], Operations: [] Exploring Operation: 70+58=128, Resulting Numbers: [32, 33, 128] Generated Node #2: [32, 33, 128] from Operation: 70+58=128 Current State: 37:[32, 33, 128], Operations: ['70+58=128'] Exploring Operation: 128/32=4, Resulting Numbers: [33, 4] Generated Node #3: [33, 4] from Operation: 128/32=4 Current State: 37:[33, 4], Operations: ['70+58=128', '128/32=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[32, 70, 58, 33], Operations: [] Exploring Operation: 70-32=38, Resulting Numbers: [58, 33, 38] Generated Node #0,0: 37:[58, 33, 38] Operation: 70-32=38 Moving to Node #0,0 Current State: 37:[58, 33, 38], Operations: ['70-32=38'] Exploring Operation: 58-33=25, Resulting Numbers: [38, 25] Generated Node #0,0,0: 37:[38, 25] Operation: 58-33=25 Moving to Node #0,0,0 Current State: 37:[38, 25], Operations: ['70-32=38', '58-33=25'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,37 unequal: No Solution No solution found.
0
hs_1
mult_heuristic