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
[ 10, 6, 23, 78 ]
33
[ "78-23=55", "6*55=330", "330/10=33" ]
Current State: 33:[10, 6, 23, 78], Operations: [] Exploring Operation: 78-23=55, Resulting Numbers: [10, 6, 55] Generated Node #2: [10, 6, 55] from Operation: 78-23=55 Current State: 33:[10, 6, 55], Operations: ['78-23=55'] Exploring Operation: 6*55=330, Resulting Numbers: [10, 330] Generated Node #3: [10, 330] from Operation: 6*55=330 Current State: 33:[10, 330], Operations: ['78-23=55', '6*55=330'] Exploring Operation: 330/10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[10, 6, 23, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [10, 23, 13] Generated Node #0,0: 33:[10, 23, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[10, 23, 13], Operations: ['78/6=13'] Exploring Operation: 10+23=33, Resulting Numbers: [13, 33] Generated Node #0,0,0: 33:[13, 33] Operation: 10+23=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[13, 33], Operations: ['78/6=13', '10+23=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,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_1
sum_heuristic
[ 49, 51, 27, 21 ]
15
[ "51-49=2", "21*2=42", "42-27=15" ]
Current State: 15:[49, 51, 27, 21], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [27, 21, 2] Generated Node #2: [27, 21, 2] from Operation: 51-49=2 Current State: 15:[27, 21, 2], Operations: ['51-49=2'] Exploring Operation: 21*2=42, Resulting Numbers: [27, 42] Generated Node #3: [27, 42] from Operation: 21*2=42 Current State: 15:[27, 42], Operations: ['51-49=2', '21*2=42'] Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[49, 51, 27, 21], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [27, 21, 2] Generated Node #0,0: 15:[27, 21, 2] Operation: 51-49=2 Exploring Operation: 49-27=22, Resulting Numbers: [51, 21, 22] Generated Node #0,1: 15:[51, 21, 22] Operation: 49-27=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[27, 21, 2], Operations: ['51-49=2'] Exploring Operation: 27-21=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 15:[2, 6] Operation: 27-21=6 Exploring Operation: 27-2=25, Resulting Numbers: [21, 25] Generated Node #0,0,1: 15:[21, 25] Operation: 27-2=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[2, 6], Operations: ['51-49=2', '27-21=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[21, 25], Operations: ['51-49=2', '27-2=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[51, 21, 22], Operations: ['49-27=22'] Exploring Operation: 51-21=30, Resulting Numbers: [22, 30] Generated Node #0,1,0: 15:[22, 30] Operation: 51-21=30 Exploring Operation: 51-22=29, Resulting Numbers: [21, 29] Generated Node #0,1,1: 15:[21, 29] Operation: 51-22=29 Moving to Node #0,1,1 Current State: 15:[21, 29], Operations: ['49-27=22', '51-22=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[22, 30], Operations: ['49-27=22', '51-21=30'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,15 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
[ 73, 54, 22, 75 ]
25
[ "73-54=19", "22-19=3", "75/3=25" ]
Current State: 25:[73, 54, 22, 75], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [22, 75, 19] Generated Node #2: [22, 75, 19] from Operation: 73-54=19 Current State: 25:[22, 75, 19], Operations: ['73-54=19'] Exploring Operation: 22-19=3, Resulting Numbers: [75, 3] Generated Node #3: [75, 3] from Operation: 22-19=3 Current State: 25:[75, 3], Operations: ['73-54=19', '22-19=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[73, 54, 22, 75], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [22, 75, 19] Generated Node #0,0: 25:[22, 75, 19] Operation: 73-54=19 Exploring Operation: 75-54=21, Resulting Numbers: [73, 22, 21] Generated Node #0,1: 25:[73, 22, 21] Operation: 75-54=21 Exploring Operation: 75-73=2, Resulting Numbers: [54, 22, 2] Generated Node #0,2: 25:[54, 22, 2] Operation: 75-73=2 Moving to Node #0,2 Current State: 25:[54, 22, 2], Operations: ['75-73=2'] Exploring Operation: 54/2=27, Resulting Numbers: [22, 27] Generated Node #0,2,0: 25:[22, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [22, 52] Generated Node #0,2,1: 25:[22, 52] Operation: 54-2=52 Exploring Operation: 54-22=32, Resulting Numbers: [2, 32] Generated Node #0,2,2: 25:[2, 32] Operation: 54-22=32 Moving to Node #0,1 Current State: 25:[73, 22, 21], Operations: ['75-54=21'] Exploring Operation: 73-22=51, Resulting Numbers: [21, 51] Generated Node #0,1,0: 25:[21, 51] Operation: 73-22=51 Exploring Operation: 73-21=52, Resulting Numbers: [22, 52] Generated Node #0,1,1: 25:[22, 52] Operation: 73-21=52 Exploring Operation: 22-21=1, Resulting Numbers: [73, 1] Generated Node #0,1,2: 25:[73, 1] Operation: 22-21=1 Moving to Node #0,0 Current State: 25:[22, 75, 19], Operations: ['73-54=19'] Exploring Operation: 75-22=53, Resulting Numbers: [19, 53] Generated Node #0,0,0: 25:[19, 53] Operation: 75-22=53 Exploring Operation: 75-19=56, Resulting Numbers: [22, 56] Generated Node #0,0,1: 25:[22, 56] Operation: 75-19=56 Exploring Operation: 22-19=3, Resulting Numbers: [75, 3] Generated Node #0,0,2: 25:[75, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[19, 53], Operations: ['73-54=19', '75-22=53'] Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,25 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[22, 56], Operations: ['73-54=19', '75-19=56'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 22*56=1232, Resulting Numbers: [1232] 1232,25 unequal: No Solution Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[75, 3], Operations: ['73-54=19', '22-19=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[73, 54, 22, 75], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [22, 75, 19] Generated Node #0,0: 25:[22, 75, 19] Operation: 73-54=19 Moving to Node #0,0 Current State: 25:[22, 75, 19], Operations: ['73-54=19'] Exploring Operation: 22-19=3, Resulting Numbers: [75, 3] Generated Node #0,0,2: 25:[75, 3] Operation: 22-19=3 Moving to Node #0,0,2 Current State: 25:[75, 3], Operations: ['73-54=19', '22-19=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 3, 23, 12, 69 ]
21
[ "3*69=207", "207/23=9", "12+9=21" ]
Current State: 21:[3, 23, 12, 69], Operations: [] Exploring Operation: 3*69=207, Resulting Numbers: [23, 12, 207] Generated Node #2: [23, 12, 207] from Operation: 3*69=207 Current State: 21:[23, 12, 207], Operations: ['3*69=207'] Exploring Operation: 207/23=9, Resulting Numbers: [12, 9] Generated Node #3: [12, 9] from Operation: 207/23=9 Current State: 21:[12, 9], Operations: ['3*69=207', '207/23=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[3, 23, 12, 69], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [23, 12, 23] Generated Node #0,0: 21:[23, 12, 23] Operation: 69/3=23 Exploring Operation: 69/23=3, Resulting Numbers: [3, 12, 3] Generated Node #0,1: 21:[3, 12, 3] Operation: 69/23=3 Exploring Operation: 69-23=46, Resulting Numbers: [3, 12, 46] Generated Node #0,2: 21:[3, 12, 46] Operation: 69-23=46 Moving to Node #0,1 Current State: 21:[3, 12, 3], Operations: ['69/23=3'] Exploring Operation: 12/3=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 21:[3, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [3, 9] Generated Node #0,1,1: 21:[3, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [3, 4] Generated Node #0,1,2: 21:[3, 4] Operation: 12/3=4 Moving to Node #0,0 Current State: 21:[23, 12, 23], Operations: ['69/3=23'] Exploring Operation: 23-12=11, Resulting Numbers: [23, 11] Generated Node #0,0,0: 21:[23, 11] Operation: 23-12=11 Exploring Operation: 23/23=1, Resulting Numbers: [12, 1] Generated Node #0,0,1: 21:[12, 1] Operation: 23/23=1 Exploring Operation: 23-12=11, Resulting Numbers: [23, 11] Generated Node #0,0,2: 21:[23, 11] Operation: 23-12=11 Moving to Node #0,2 Current State: 21:[3, 12, 46], Operations: ['69-23=46'] Exploring Operation: 46-12=34, Resulting Numbers: [3, 34] Generated Node #0,2,0: 21:[3, 34] Operation: 46-12=34 Exploring Operation: 12-3=9, Resulting Numbers: [46, 9] Generated Node #0,2,1: 21:[46, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [46, 4] Generated Node #0,2,2: 21:[46, 4] Operation: 12/3=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[3, 34], Operations: ['69-23=46', '46-12=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,21 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[46, 4], Operations: ['69-23=46', '12/3=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[46, 9], Operations: ['69-23=46', '12-3=9'] Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,21 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,21 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: 21:[3, 4], Operations: ['69/23=3', '12/3=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[3, 4], Operations: ['69/23=3', '12/3=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[3, 9], Operations: ['69/23=3', '12-3=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[23, 11], Operations: ['69/3=23', '23-12=11'] Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[23, 11], Operations: ['69/3=23', '23-12=11'] Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,21 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[12, 1], Operations: ['69/3=23', '23/23=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,21 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 17, 4, 2, 64 ]
39
[ "64-17=47", "4*2=8", "47-8=39" ]
Current State: 39:[17, 4, 2, 64], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [4, 2, 47] Generated Node #2: [4, 2, 47] from Operation: 64-17=47 Current State: 39:[4, 2, 47], Operations: ['64-17=47'] Exploring Operation: 4*2=8, Resulting Numbers: [47, 8] Generated Node #3: [47, 8] from Operation: 4*2=8 Current State: 39:[47, 8], Operations: ['64-17=47', '4*2=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[17, 4, 2, 64], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [4, 2, 47] Generated Node #0,0: 39:[4, 2, 47] Operation: 64-17=47 Exploring Operation: 64/2=32, Resulting Numbers: [17, 4, 32] Generated Node #0,1: 39:[17, 4, 32] Operation: 64/2=32 Exploring Operation: 64/4=16, Resulting Numbers: [17, 2, 16] Generated Node #0,2: 39:[17, 2, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[17, 2, 16], Operations: ['64/4=16'] Exploring Operation: 17-16=1, Resulting Numbers: [2, 1] Generated Node #0,2,0: 39:[2, 1] Operation: 17-16=1 Exploring Operation: 17-2=15, Resulting Numbers: [16, 15] Generated Node #0,2,1: 39:[16, 15] Operation: 17-2=15 Exploring Operation: 16-2=14, Resulting Numbers: [17, 14] Generated Node #0,2,2: 39:[17, 14] Operation: 16-2=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[2, 1], Operations: ['64/4=16', '17-16=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 39:[16, 15], Operations: ['64/4=16', '17-2=15'] Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,39 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[17, 14], Operations: ['64/4=16', '16-2=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,39 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[4, 2, 47], Operations: ['64-17=47'] Exploring Operation: 47-4=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 39:[2, 43] Operation: 47-4=43 Exploring Operation: 47-2=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 39:[4, 45] Operation: 47-2=45 Exploring Operation: 4-2=2, Resulting Numbers: [47, 2] Generated Node #0,0,2: 39:[47, 2] Operation: 4-2=2 Moving to Node #0,0,0 Current State: 39:[2, 43], Operations: ['64-17=47', '47-4=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,39 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[4, 45], Operations: ['64-17=47', '47-2=45'] Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,39 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[47, 2], Operations: ['64-17=47', '4-2=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[17, 4, 32], Operations: ['64/2=32'] Exploring Operation: 4+32=36, Resulting Numbers: [17, 36] Generated Node #0,1,0: 39:[17, 36] Operation: 4+32=36 Exploring Operation: 17-4=13, Resulting Numbers: [32, 13] Generated Node #0,1,1: 39:[32, 13] Operation: 17-4=13 Exploring Operation: 32-17=15, Resulting Numbers: [4, 15] Generated Node #0,1,2: 39:[4, 15] Operation: 32-17=15 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[4, 15], Operations: ['64/2=32', '32-17=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[17, 36], Operations: ['64/2=32', '4+32=36'] Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,39 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[32, 13], Operations: ['64/2=32', '17-4=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,39 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 4, 3, 35, 83 ]
48
[ "4-3=1", "83-35=48", "1*48=48" ]
Current State: 48:[4, 3, 35, 83], Operations: [] Exploring Operation: 4-3=1, Resulting Numbers: [35, 83, 1] Generated Node #2: [35, 83, 1] from Operation: 4-3=1 Current State: 48:[35, 83, 1], Operations: ['4-3=1'] Exploring Operation: 83-35=48, Resulting Numbers: [1, 48] Generated Node #3: [1, 48] from Operation: 83-35=48 Current State: 48:[1, 48], Operations: ['4-3=1', '83-35=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[4, 3, 35, 83], Operations: [] Exploring Operation: 83-4=79, Resulting Numbers: [3, 35, 79] Generated Node #0,0: 48:[3, 35, 79] Operation: 83-4=79 Exploring Operation: 35-3=32, Resulting Numbers: [4, 83, 32] Generated Node #0,1: 48:[4, 83, 32] Operation: 35-3=32 Exploring Operation: 83-35=48, Resulting Numbers: [4, 3, 48] Generated Node #0,2: 48:[4, 3, 48] Operation: 83-35=48 Exploring Operation: 35-4=31, Resulting Numbers: [3, 83, 31] Generated Node #0,3: 48:[3, 83, 31] Operation: 35-4=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[4, 3, 48], Operations: ['83-35=48'] Exploring Operation: 4+3=7, Resulting Numbers: [48, 7] Generated Node #0,2,0: 48:[48, 7] Operation: 4+3=7 Exploring Operation: 48/4=12, Resulting Numbers: [3, 12] Generated Node #0,2,1: 48:[3, 12] Operation: 48/4=12 Exploring Operation: 4*3=12, Resulting Numbers: [48, 12] Generated Node #0,2,2: 48:[48, 12] Operation: 4*3=12 Exploring Operation: 48/3=16, Resulting Numbers: [4, 16] Generated Node #0,2,3: 48:[4, 16] Operation: 48/3=16 Moving to Node #0,2,1 Current State: 48:[3, 12], Operations: ['83-35=48', '48/4=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[4, 16], Operations: ['83-35=48', '48/3=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[48, 12], Operations: ['83-35=48', '4*3=12'] Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,48 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[48, 7], Operations: ['83-35=48', '4+3=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,48 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[3, 35, 79], Operations: ['83-4=79'] Exploring Operation: 79-3=76, Resulting Numbers: [35, 76] Generated Node #0,0,0: 48:[35, 76] Operation: 79-3=76 Exploring Operation: 79-35=44, Resulting Numbers: [3, 44] Generated Node #0,0,1: 48:[3, 44] Operation: 79-35=44 Exploring Operation: 35-3=32, Resulting Numbers: [79, 32] Generated Node #0,0,2: 48:[79, 32] Operation: 35-3=32 Exploring Operation: 3+35=38, Resulting Numbers: [79, 38] Generated Node #0,0,3: 48:[79, 38] Operation: 3+35=38 Moving to Node #0,0,1 Current State: 48:[3, 44], Operations: ['83-4=79', '79-35=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[79, 32], Operations: ['83-4=79', '35-3=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[35, 76], Operations: ['83-4=79', '79-3=76'] Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,48 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[79, 38], Operations: ['83-4=79', '3+35=38'] Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,48 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,48 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[3, 83, 31], Operations: ['35-4=31'] Exploring Operation: 3+83=86, Resulting Numbers: [31, 86] Generated Node #0,3,0: 48:[31, 86] Operation: 3+83=86 Exploring Operation: 83-31=52, Resulting Numbers: [3, 52] Generated Node #0,3,1: 48:[3, 52] Operation: 83-31=52 Exploring Operation: 31-3=28, Resulting Numbers: [83, 28] Generated Node #0,3,2: 48:[83, 28] Operation: 31-3=28 Exploring Operation: 83-3=80, Resulting Numbers: [31, 80] Generated Node #0,3,3: 48:[31, 80] Operation: 83-3=80 Moving to Node #0,3,1 Current State: 48:[3, 52], Operations: ['35-4=31', '83-31=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,48 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[31, 80], Operations: ['35-4=31', '83-3=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[83, 28], Operations: ['35-4=31', '31-3=28'] Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,48 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[31, 86], Operations: ['35-4=31', '3+83=86'] Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 31+86=117, Resulting Numbers: [117] 117,48 unequal: No Solution Exploring Operation: 31*86=2666, Resulting Numbers: [2666] 2666,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,1 Current State: 48:[4, 83, 32], Operations: ['35-3=32'] Exploring Operation: 83-4=79, Resulting Numbers: [32, 79] Generated Node #0,1,0: 48:[32, 79] Operation: 83-4=79 Exploring Operation: 32/4=8, Resulting Numbers: [83, 8] Generated Node #0,1,1: 48:[83, 8] Operation: 32/4=8 Exploring Operation: 83-32=51, Resulting Numbers: [4, 51] Generated Node #0,1,2: 48:[4, 51] Operation: 83-32=51 Exploring Operation: 32-4=28, Resulting Numbers: [83, 28] Generated Node #0,1,3: 48:[83, 28] Operation: 32-4=28 Moving to Node #0,1,2 Current State: 48:[4, 51], Operations: ['35-3=32', '83-32=51'] Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,48 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[83, 8], Operations: ['35-3=32', '32/4=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,48 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[83, 28], Operations: ['35-3=32', '32-4=28'] Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,48 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[32, 79], Operations: ['35-3=32', '83-4=79'] Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,48 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,48 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
[ 1, 88, 45, 2 ]
87
[ "88-45=43", "2*43=86", "1+86=87" ]
Current State: 87:[1, 88, 45, 2], Operations: [] Exploring Operation: 88-45=43, Resulting Numbers: [1, 2, 43] Generated Node #2: [1, 2, 43] from Operation: 88-45=43 Current State: 87:[1, 2, 43], Operations: ['88-45=43'] Exploring Operation: 2*43=86, Resulting Numbers: [1, 86] Generated Node #3: [1, 86] from Operation: 2*43=86 Current State: 87:[1, 86], Operations: ['88-45=43', '2*43=86'] Exploring Operation: 1+86=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[1, 88, 45, 2], Operations: [] Exploring Operation: 45*2=90, Resulting Numbers: [1, 88, 90] Generated Node #0,0: 87:[1, 88, 90] Operation: 45*2=90 Exploring Operation: 88-1=87, Resulting Numbers: [45, 2, 87] Generated Node #0,1: 87:[45, 2, 87] Operation: 88-1=87 Exploring Operation: 45-1=44, Resulting Numbers: [88, 2, 44] Generated Node #0,2: 87:[88, 2, 44] Operation: 45-1=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[1, 88, 90], Operations: ['45*2=90'] Exploring Operation: 88-1=87, Resulting Numbers: [90, 87] Generated Node #0,0,0: 87:[90, 87] Operation: 88-1=87 Exploring Operation: 90-88=2, Resulting Numbers: [1, 2] Generated Node #0,0,1: 87:[1, 2] Operation: 90-88=2 Exploring Operation: 90-1=89, Resulting Numbers: [88, 89] Generated Node #0,0,2: 87:[88, 89] Operation: 90-1=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[90, 87], Operations: ['45*2=90', '88-1=87'] Exploring Operation: 90+87=177, Resulting Numbers: [177] 177,87 unequal: No Solution Exploring Operation: 90*87=7830, Resulting Numbers: [7830] 7830,87 unequal: No Solution Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,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:[1, 2], Operations: ['45*2=90', '90-88=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[88, 89], Operations: ['45*2=90', '90-1=89'] Exploring Operation: 88*89=7832, Resulting Numbers: [7832] 7832,87 unequal: No Solution Exploring Operation: 88+89=177, Resulting Numbers: [177] 177,87 unequal: No Solution Exploring Operation: 89-88=1, Resulting Numbers: [1] 1,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:[45, 2, 87], Operations: ['88-1=87'] Exploring Operation: 45*2=90, Resulting Numbers: [87, 90] Generated Node #0,1,0: 87:[87, 90] Operation: 45*2=90 Exploring Operation: 45-2=43, Resulting Numbers: [87, 43] Generated Node #0,1,1: 87:[87, 43] Operation: 45-2=43 Exploring Operation: 87-45=42, Resulting Numbers: [2, 42] Generated Node #0,1,2: 87:[2, 42] Operation: 87-45=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[87, 90], Operations: ['88-1=87', '45*2=90'] Exploring Operation: 87*90=7830, Resulting Numbers: [7830] 7830,87 unequal: No Solution Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 87+90=177, Resulting Numbers: [177] 177,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[87, 43], Operations: ['88-1=87', '45-2=43'] Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 87*43=3741, Resulting Numbers: [3741] 3741,87 unequal: No Solution Exploring Operation: 87+43=130, Resulting Numbers: [130] 130,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[2, 42], Operations: ['88-1=87', '87-45=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,87 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,87 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,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:[88, 2, 44], Operations: ['45-1=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88, 88] Generated Node #0,2,0: 87:[88, 88] Operation: 2*44=88 Exploring Operation: 44/2=22, Resulting Numbers: [88, 22] Generated Node #0,2,1: 87:[88, 22] Operation: 44/2=22 Exploring Operation: 88/44=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 87:[2, 2] Operation: 88/44=2 Moving to Node #0,2,0 Current State: 87:[88, 88], Operations: ['45-1=44', '2*44=88'] Exploring Operation: 88+88=176, Resulting Numbers: [176] 176,87 unequal: No Solution Exploring Operation: 88/88=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 88-88=0, Resulting Numbers: [0] 0,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[2, 2], Operations: ['45-1=44', '88/44=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=4, Resulting Numbers: [4] 4,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[88, 22], Operations: ['45-1=44', '44/2=22'] Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 88+22=110, Resulting Numbers: [110] 110,87 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
[ 26, 5, 44, 30 ]
24
[ "44-26=18", "30/5=6", "18+6=24" ]
Current State: 24:[26, 5, 44, 30], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [5, 30, 18] Generated Node #2: [5, 30, 18] from Operation: 44-26=18 Current State: 24:[5, 30, 18], Operations: ['44-26=18'] Exploring Operation: 30/5=6, Resulting Numbers: [18, 6] Generated Node #3: [18, 6] from Operation: 30/5=6 Current State: 24:[18, 6], Operations: ['44-26=18', '30/5=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[26, 5, 44, 30], Operations: [] Exploring Operation: 44-30=14, Resulting Numbers: [26, 5, 14] Generated Node #0,0: 24:[26, 5, 14] Operation: 44-30=14 Moving to Node #0,0 Current State: 24:[26, 5, 14], Operations: ['44-30=14'] Exploring Operation: 26-14=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 24:[5, 12] Operation: 26-14=12 Moving to Node #0,0,0 Current State: 24:[5, 12], Operations: ['44-30=14', '26-14=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,24 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 36, 93, 88, 42 ]
56
[ "36+88=124", "42*124=5208", "5208/93=56" ]
Current State: 56:[36, 93, 88, 42], Operations: [] Exploring Operation: 36+88=124, Resulting Numbers: [93, 42, 124] Generated Node #2: [93, 42, 124] from Operation: 36+88=124 Current State: 56:[93, 42, 124], Operations: ['36+88=124'] Exploring Operation: 42*124=5208, Resulting Numbers: [93, 5208] Generated Node #3: [93, 5208] from Operation: 42*124=5208 Current State: 56:[93, 5208], Operations: ['36+88=124', '42*124=5208'] Exploring Operation: 5208/93=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[36, 93, 88, 42], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [36, 42, 5] Generated Node #0,0: 56:[36, 42, 5] Operation: 93-88=5 Exploring Operation: 88-42=46, Resulting Numbers: [36, 93, 46] Generated Node #0,1: 56:[36, 93, 46] Operation: 88-42=46 Exploring Operation: 93-42=51, Resulting Numbers: [36, 88, 51] Generated Node #0,2: 56:[36, 88, 51] Operation: 93-42=51 Exploring Operation: 93-36=57, Resulting Numbers: [88, 42, 57] Generated Node #0,3: 56:[88, 42, 57] Operation: 93-36=57 Exploring Operation: 88-36=52, Resulting Numbers: [93, 42, 52] Generated Node #0,4: 56:[93, 42, 52] Operation: 88-36=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[36, 42, 5], Operations: ['93-88=5'] Exploring Operation: 36+42=78, Resulting Numbers: [5, 78] Generated Node #0,0,0: 56:[5, 78] Operation: 36+42=78 Exploring Operation: 42+5=47, Resulting Numbers: [36, 47] Generated Node #0,0,1: 56:[36, 47] Operation: 42+5=47 Exploring Operation: 42-5=37, Resulting Numbers: [36, 37] Generated Node #0,0,2: 56:[36, 37] Operation: 42-5=37 Exploring Operation: 36-5=31, Resulting Numbers: [42, 31] Generated Node #0,0,3: 56:[42, 31] Operation: 36-5=31 Exploring Operation: 42-36=6, Resulting Numbers: [5, 6] Generated Node #0,0,4: 56:[5, 6] Operation: 42-36=6 Moving to Node #0,0,4 Current State: 56:[5, 6], Operations: ['93-88=5', '42-36=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[36, 37], Operations: ['93-88=5', '42-5=37'] Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,56 unequal: No Solution Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[36, 47], Operations: ['93-88=5', '42+5=47'] Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[42, 31], Operations: ['93-88=5', '36-5=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[5, 78], Operations: ['93-88=5', '36+42=78'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 5+78=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 5*78=390, Resulting Numbers: [390] 390,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 Current State: 56:[36, 88, 51], Operations: ['93-42=51'] Exploring Operation: 36+51=87, Resulting Numbers: [88, 87] Generated Node #0,2,0: 56:[88, 87] Operation: 36+51=87 Exploring Operation: 88-36=52, Resulting Numbers: [51, 52] Generated Node #0,2,1: 56:[51, 52] Operation: 88-36=52 Exploring Operation: 88-51=37, Resulting Numbers: [36, 37] Generated Node #0,2,2: 56:[36, 37] Operation: 88-51=37 Exploring Operation: 51-36=15, Resulting Numbers: [88, 15] Generated Node #0,2,3: 56:[88, 15] Operation: 51-36=15 Exploring Operation: 36+88=124, Resulting Numbers: [51, 124] Generated Node #0,2,4: 56:[51, 124] Operation: 36+88=124 Moving to Node #0,2,1 Current State: 56:[51, 52], Operations: ['93-42=51', '88-36=52'] Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,56 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[36, 37], Operations: ['93-42=51', '88-51=37'] Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[88, 15], Operations: ['93-42=51', '51-36=15'] Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[88, 87], Operations: ['93-42=51', '36+51=87'] Exploring Operation: 88+87=175, Resulting Numbers: [175] 175,56 unequal: No Solution Exploring Operation: 88*87=7656, Resulting Numbers: [7656] 7656,56 unequal: No Solution Exploring Operation: 88-87=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[51, 124], Operations: ['93-42=51', '36+88=124'] Exploring Operation: 51*124=6324, Resulting Numbers: [6324] 6324,56 unequal: No Solution Exploring Operation: 124-51=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 51+124=175, Resulting Numbers: [175] 175,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 Current State: 56:[88, 42, 57], Operations: ['93-36=57'] Exploring Operation: 88-42=46, Resulting Numbers: [57, 46] Generated Node #0,3,0: 56:[57, 46] Operation: 88-42=46 Exploring Operation: 57-42=15, Resulting Numbers: [88, 15] Generated Node #0,3,1: 56:[88, 15] Operation: 57-42=15 Exploring Operation: 88+42=130, Resulting Numbers: [57, 130] Generated Node #0,3,2: 56:[57, 130] Operation: 88+42=130 Exploring Operation: 88-57=31, Resulting Numbers: [42, 31] Generated Node #0,3,3: 56:[42, 31] Operation: 88-57=31 Exploring Operation: 42+57=99, Resulting Numbers: [88, 99] Generated Node #0,3,4: 56:[88, 99] Operation: 42+57=99 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[57, 46], Operations: ['93-36=57', '88-42=46'] Exploring Operation: 57+46=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 57*46=2622, Resulting Numbers: [2622] 2622,56 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,56 unequal: No Solution No 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: 56:[42, 31], Operations: ['93-36=57', '88-57=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,56 unequal: No Solution No 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: 56:[88, 15], Operations: ['93-36=57', '57-42=15'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,56 unequal: No Solution No 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: 56:[57, 130], Operations: ['93-36=57', '88+42=130'] Exploring Operation: 130-57=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 57*130=7410, Resulting Numbers: [7410] 7410,56 unequal: No Solution Exploring Operation: 57+130=187, Resulting Numbers: [187] 187,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 56:[88, 99], Operations: ['93-36=57', '42+57=99'] Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 88*99=8712, Resulting Numbers: [8712] 8712,56 unequal: No Solution Exploring Operation: 88+99=187, Resulting Numbers: [187] 187,56 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: 56:[36, 93, 46], Operations: ['88-42=46'] Exploring Operation: 36+46=82, Resulting Numbers: [93, 82] Generated Node #0,1,0: 56:[93, 82] Operation: 36+46=82 Exploring Operation: 46-36=10, Resulting Numbers: [93, 10] Generated Node #0,1,1: 56:[93, 10] Operation: 46-36=10 Exploring Operation: 93-46=47, Resulting Numbers: [36, 47] Generated Node #0,1,2: 56:[36, 47] Operation: 93-46=47 Exploring Operation: 93-36=57, Resulting Numbers: [46, 57] Generated Node #0,1,3: 56:[46, 57] Operation: 93-36=57 Exploring Operation: 36+93=129, Resulting Numbers: [46, 129] Generated Node #0,1,4: 56:[46, 129] Operation: 36+93=129 Moving to Node #0,1,3 Current State: 56:[46, 57], Operations: ['88-42=46', '93-36=57'] Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,56 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[36, 47], Operations: ['88-42=46', '93-46=47'] Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,56 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[93, 10], Operations: ['88-42=46', '46-36=10'] Exploring Operation: 93*10=930, Resulting Numbers: [930] 930,56 unequal: No Solution Exploring Operation: 93+10=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[93, 82], Operations: ['88-42=46', '36+46=82'] Exploring Operation: 93+82=175, Resulting Numbers: [175] 175,56 unequal: No Solution Exploring Operation: 93-82=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 93*82=7626, Resulting Numbers: [7626] 7626,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[46, 129], Operations: ['88-42=46', '36+93=129'] Exploring Operation: 46+129=175, Resulting Numbers: [175] 175,56 unequal: No Solution Exploring Operation: 46*129=5934, Resulting Numbers: [5934] 5934,56 unequal: No Solution Exploring Operation: 129-46=83, Resulting Numbers: [83] 83,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,4 Current State: 56:[93, 42, 52], Operations: ['88-36=52'] Exploring Operation: 52-42=10, Resulting Numbers: [93, 10] Generated Node #0,4,0: 56:[93, 10] Operation: 52-42=10 Exploring Operation: 93-42=51, Resulting Numbers: [52, 51] Generated Node #0,4,1: 56:[52, 51] Operation: 93-42=51 Exploring Operation: 42+52=94, Resulting Numbers: [93, 94] Generated Node #0,4,2: 56:[93, 94] Operation: 42+52=94 Exploring Operation: 93-52=41, Resulting Numbers: [42, 41] Generated Node #0,4,3: 56:[42, 41] Operation: 93-52=41 Exploring Operation: 93+42=135, Resulting Numbers: [52, 135] Generated Node #0,4,4: 56:[52, 135] Operation: 93+42=135 Moving to Node #0,4,1 Current State: 56:[52, 51], Operations: ['88-36=52', '93-42=51'] Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,56 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[42, 41], Operations: ['88-36=52', '93-52=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,56 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,56 unequal: No Solution Moving to Node #0,4,0 Current State: 56:[93, 10], Operations: ['88-36=52', '52-42=10'] Exploring Operation: 93+10=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 93*10=930, Resulting Numbers: [930] 930,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[93, 94], Operations: ['88-36=52', '42+52=94'] Exploring Operation: 94-93=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 93*94=8742, Resulting Numbers: [8742] 8742,56 unequal: No Solution Exploring Operation: 93+94=187, Resulting Numbers: [187] 187,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[52, 135], Operations: ['88-36=52', '93+42=135'] Exploring Operation: 135-52=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 52*135=7020, Resulting Numbers: [7020] 7020,56 unequal: No Solution Exploring Operation: 52+135=187, Resulting Numbers: [187] 187,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 3, 8, 16, 40 ]
33
[ "40/8=5", "16-5=11", "3*11=33" ]
Current State: 33:[3, 8, 16, 40], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [3, 16, 5] Generated Node #2: [3, 16, 5] from Operation: 40/8=5 Current State: 33:[3, 16, 5], Operations: ['40/8=5'] Exploring Operation: 16-5=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 16-5=11 Current State: 33:[3, 11], Operations: ['40/8=5', '16-5=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[3, 8, 16, 40], Operations: [] Exploring Operation: 40-8=32, Resulting Numbers: [3, 16, 32] Generated Node #0,0: 33:[3, 16, 32] Operation: 40-8=32 Moving to Node #0,0 Current State: 33:[3, 16, 32], Operations: ['40-8=32'] Exploring Operation: 32/16=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 33:[3, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[3, 2], Operations: ['40-8=32', '32/16=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 38, 4, 65, 8 ]
95
[ "38*4=152", "65-8=57", "152-57=95" ]
Current State: 95:[38, 4, 65, 8], Operations: [] Exploring Operation: 38*4=152, Resulting Numbers: [65, 8, 152] Generated Node #2: [65, 8, 152] from Operation: 38*4=152 Current State: 95:[65, 8, 152], Operations: ['38*4=152'] Exploring Operation: 65-8=57, Resulting Numbers: [152, 57] Generated Node #3: [152, 57] from Operation: 65-8=57 Current State: 95:[152, 57], Operations: ['38*4=152', '65-8=57'] Exploring Operation: 152-57=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[38, 4, 65, 8], Operations: [] Exploring Operation: 38-8=30, Resulting Numbers: [4, 65, 30] Generated Node #0,0: 95:[4, 65, 30] Operation: 38-8=30 Exploring Operation: 65-38=27, Resulting Numbers: [4, 8, 27] Generated Node #0,1: 95:[4, 8, 27] Operation: 65-38=27 Exploring Operation: 38+65=103, Resulting Numbers: [4, 8, 103] Generated Node #0,2: 95:[4, 8, 103] Operation: 38+65=103 Moving to Node #0,1 Current State: 95:[4, 8, 27], Operations: ['65-38=27'] Exploring Operation: 8-4=4, Resulting Numbers: [27, 4] Generated Node #0,1,0: 95:[27, 4] Operation: 8-4=4 Exploring Operation: 27-4=23, Resulting Numbers: [8, 23] Generated Node #0,1,1: 95:[8, 23] Operation: 27-4=23 Exploring Operation: 27-8=19, Resulting Numbers: [4, 19] Generated Node #0,1,2: 95:[4, 19] Operation: 27-8=19 Moving to Node #0,2 Current State: 95:[4, 8, 103], Operations: ['38+65=103'] Exploring Operation: 103-8=95, Resulting Numbers: [4, 95] Generated Node #0,2,0: 95:[4, 95] Operation: 103-8=95 Exploring Operation: 103-4=99, Resulting Numbers: [8, 99] Generated Node #0,2,1: 95:[8, 99] Operation: 103-4=99 Exploring Operation: 8-4=4, Resulting Numbers: [103, 4] Generated Node #0,2,2: 95:[103, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[4, 95], Operations: ['38+65=103', '103-8=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,95 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[8, 99], Operations: ['38+65=103', '103-4=99'] Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 8+99=107, Resulting Numbers: [107] 107,95 unequal: No Solution Exploring Operation: 8*99=792, Resulting Numbers: [792] 792,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[103, 4], Operations: ['38+65=103', '8-4=4'] Exploring Operation: 103+4=107, Resulting Numbers: [107] 107,95 unequal: No Solution Exploring Operation: 103*4=412, Resulting Numbers: [412] 412,95 unequal: No Solution Exploring Operation: 103-4=99, Resulting Numbers: [99] 99,95 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: 95:[4, 65, 30], Operations: ['38-8=30'] Exploring Operation: 65+30=95, Resulting Numbers: [4, 95] Generated Node #0,0,0: 95:[4, 95] Operation: 65+30=95 Exploring Operation: 65-30=35, Resulting Numbers: [4, 35] Generated Node #0,0,1: 95:[4, 35] Operation: 65-30=35 Exploring Operation: 4+65=69, Resulting Numbers: [30, 69] Generated Node #0,0,2: 95:[30, 69] Operation: 4+65=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[4, 95], Operations: ['38-8=30', '65+30=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[4, 35], Operations: ['38-8=30', '65-30=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[30, 69], Operations: ['38-8=30', '4+65=69'] Exploring Operation: 30*69=2070, Resulting Numbers: [2070] 2070,95 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,95 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: 95:[4, 19], Operations: ['65-38=27', '27-8=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[8, 23], Operations: ['65-38=27', '27-4=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,95 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[27, 4], Operations: ['65-38=27', '8-4=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,95 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 9, 72, 49, 10 ]
24
[ "72-9=63", "49-10=39", "63-39=24" ]
Current State: 24:[9, 72, 49, 10], Operations: [] Exploring Operation: 72-9=63, Resulting Numbers: [49, 10, 63] Generated Node #2: [49, 10, 63] from Operation: 72-9=63 Current State: 24:[49, 10, 63], Operations: ['72-9=63'] Exploring Operation: 49-10=39, Resulting Numbers: [63, 39] Generated Node #3: [63, 39] from Operation: 49-10=39 Current State: 24:[63, 39], Operations: ['72-9=63', '49-10=39'] Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[9, 72, 49, 10], Operations: [] Exploring Operation: 72/9=8, Resulting Numbers: [49, 10, 8] Generated Node #0,0: 24:[49, 10, 8] Operation: 72/9=8 Exploring Operation: 72-49=23, Resulting Numbers: [9, 10, 23] Generated Node #0,1: 24:[9, 10, 23] Operation: 72-49=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[9, 10, 23], Operations: ['72-49=23'] Exploring Operation: 23-10=13, Resulting Numbers: [9, 13] Generated Node #0,1,0: 24:[9, 13] Operation: 23-10=13 Exploring Operation: 10-9=1, Resulting Numbers: [23, 1] Generated Node #0,1,1: 24:[23, 1] Operation: 10-9=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 24:[9, 13], Operations: ['72-49=23', '23-10=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,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,1,1 Current State: 24:[23, 1], Operations: ['72-49=23', '10-9=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[9, 72, 49, 10], Operations: [] Exploring Operation: 72-49=23, Resulting Numbers: [9, 10, 23] Generated Node #0,1: 24:[9, 10, 23] Operation: 72-49=23 Moving to Node #0,1 Current State: 24:[9, 10, 23], Operations: ['72-49=23'] Exploring Operation: 10-9=1, Resulting Numbers: [23, 1] Generated Node #0,1,1: 24:[23, 1] Operation: 10-9=1 Moving to Node #0,1,1 Current State: 24:[23, 1], Operations: ['72-49=23', '10-9=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 46, 18, 70, 64 ]
71
[ "46+18=64", "64/64=1", "70+1=71" ]
Current State: 71:[46, 18, 70, 64], Operations: [] Exploring Operation: 46+18=64, Resulting Numbers: [70, 64, 64] Generated Node #2: [70, 64, 64] from Operation: 46+18=64 Current State: 71:[70, 64, 64], Operations: ['46+18=64'] Exploring Operation: 64/64=1, Resulting Numbers: [70, 1] Generated Node #3: [70, 1] from Operation: 64/64=1 Current State: 71:[70, 1], Operations: ['46+18=64', '64/64=1'] Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[46, 18, 70, 64], Operations: [] Exploring Operation: 46+18=64, Resulting Numbers: [70, 64, 64] Generated Node #0,0: 71:[70, 64, 64] Operation: 46+18=64 Moving to Node #0,0 Current State: 71:[70, 64, 64], Operations: ['46+18=64'] Exploring Operation: 64+64=128, Resulting Numbers: [70, 128] Generated Node #0,0,0: 71:[70, 128] Operation: 64+64=128 Moving to Node #0,0,0 Current State: 71:[70, 128], Operations: ['46+18=64', '64+64=128'] Exploring Operation: 128-70=58, Resulting Numbers: [58] 58,71 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 47, 55, 24, 41 ]
92
[ "55*41=2255", "2255-47=2208", "2208/24=92" ]
Current State: 92:[47, 55, 24, 41], Operations: [] Exploring Operation: 55*41=2255, Resulting Numbers: [47, 24, 2255] Generated Node #2: [47, 24, 2255] from Operation: 55*41=2255 Current State: 92:[47, 24, 2255], Operations: ['55*41=2255'] Exploring Operation: 2255-47=2208, Resulting Numbers: [24, 2208] Generated Node #3: [24, 2208] from Operation: 2255-47=2208 Current State: 92:[24, 2208], Operations: ['55*41=2255', '2255-47=2208'] Exploring Operation: 2208/24=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[47, 55, 24, 41], Operations: [] Exploring Operation: 55+41=96, Resulting Numbers: [47, 24, 96] Generated Node #0,0: 92:[47, 24, 96] Operation: 55+41=96 Moving to Node #0,0 Current State: 92:[47, 24, 96], Operations: ['55+41=96'] Exploring Operation: 96/24=4, Resulting Numbers: [47, 4] Generated Node #0,0,0: 92:[47, 4] Operation: 96/24=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[47, 4], Operations: ['55+41=96', '96/24=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,92 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
[ 2, 31, 54, 96 ]
44
[ "54+96=150", "150/2=75", "75-31=44" ]
Current State: 44:[2, 31, 54, 96], Operations: [] Exploring Operation: 54+96=150, Resulting Numbers: [2, 31, 150] Generated Node #2: [2, 31, 150] from Operation: 54+96=150 Current State: 44:[2, 31, 150], Operations: ['54+96=150'] Exploring Operation: 150/2=75, Resulting Numbers: [31, 75] Generated Node #3: [31, 75] from Operation: 150/2=75 Current State: 44:[31, 75], Operations: ['54+96=150', '150/2=75'] Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[2, 31, 54, 96], Operations: [] Exploring Operation: 96-54=42, Resulting Numbers: [2, 31, 42] Generated Node #0,0: 44:[2, 31, 42] Operation: 96-54=42 Exploring Operation: 96/2=48, Resulting Numbers: [31, 54, 48] Generated Node #0,1: 44:[31, 54, 48] Operation: 96/2=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[2, 31, 42], Operations: ['96-54=42'] Exploring Operation: 31-2=29, Resulting Numbers: [42, 29] Generated Node #0,0,0: 44:[42, 29] Operation: 31-2=29 Exploring Operation: 42-31=11, Resulting Numbers: [2, 11] Generated Node #0,0,1: 44:[2, 11] Operation: 42-31=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[2, 11], Operations: ['96-54=42', '42-31=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[42, 29], Operations: ['96-54=42', '31-2=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[31, 54, 48], Operations: ['96/2=48'] Exploring Operation: 54-48=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 44:[31, 6] Operation: 54-48=6 Exploring Operation: 54-31=23, Resulting Numbers: [48, 23] Generated Node #0,1,1: 44:[48, 23] Operation: 54-31=23 Moving to Node #0,1,1 Current State: 44:[48, 23], Operations: ['96/2=48', '54-31=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[31, 6], Operations: ['96/2=48', '54-48=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 86, 22, 76, 2 ]
72
[ "86+2=88", "88/22=4", "76-4=72" ]
Current State: 72:[86, 22, 76, 2], Operations: [] Exploring Operation: 86+2=88, Resulting Numbers: [22, 76, 88] Generated Node #2: [22, 76, 88] from Operation: 86+2=88 Current State: 72:[22, 76, 88], Operations: ['86+2=88'] Exploring Operation: 88/22=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 88/22=4 Current State: 72:[76, 4], Operations: ['86+2=88', '88/22=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[86, 22, 76, 2], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [22, 76, 43] Generated Node #0,0: 72:[22, 76, 43] Operation: 86/2=43 Exploring Operation: 22+2=24, Resulting Numbers: [86, 76, 24] Generated Node #0,1: 72:[86, 76, 24] Operation: 22+2=24 Exploring Operation: 86-2=84, Resulting Numbers: [22, 76, 84] Generated Node #0,2: 72:[22, 76, 84] Operation: 86-2=84 Exploring Operation: 86-76=10, Resulting Numbers: [22, 2, 10] Generated Node #0,3: 72:[22, 2, 10] Operation: 86-76=10 Exploring Operation: 86-22=64, Resulting Numbers: [76, 2, 64] Generated Node #0,4: 72:[76, 2, 64] Operation: 86-22=64 Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[22, 2, 10], Operations: ['86-76=10'] Exploring Operation: 22+2=24, Resulting Numbers: [10, 24] Generated Node #0,3,0: 72:[10, 24] Operation: 22+2=24 Exploring Operation: 22/2=11, Resulting Numbers: [10, 11] Generated Node #0,3,1: 72:[10, 11] Operation: 22/2=11 Exploring Operation: 22-10=12, Resulting Numbers: [2, 12] Generated Node #0,3,2: 72:[2, 12] Operation: 22-10=12 Exploring Operation: 10-2=8, Resulting Numbers: [22, 8] Generated Node #0,3,3: 72:[22, 8] Operation: 10-2=8 Exploring Operation: 2+10=12, Resulting Numbers: [22, 12] Generated Node #0,3,4: 72:[22, 12] Operation: 2+10=12 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 72:[2, 12], Operations: ['86-76=10', '22-10=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,72 unequal: No Solution No 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: 72:[10, 24], Operations: ['86-76=10', '22+2=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,72 unequal: No Solution No 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: 72:[10, 11], Operations: ['86-76=10', '22/2=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,72 unequal: No Solution No 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: 72:[22, 8], Operations: ['86-76=10', '10-2=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,72 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 72:[22, 12], Operations: ['86-76=10', '2+10=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,72 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 72:[76, 2, 64], Operations: ['86-22=64'] Exploring Operation: 64/2=32, Resulting Numbers: [76, 32] Generated Node #0,4,0: 72:[76, 32] Operation: 64/2=32 Exploring Operation: 2+64=66, Resulting Numbers: [76, 66] Generated Node #0,4,1: 72:[76, 66] Operation: 2+64=66 Exploring Operation: 76-2=74, Resulting Numbers: [64, 74] Generated Node #0,4,2: 72:[64, 74] Operation: 76-2=74 Exploring Operation: 76-64=12, Resulting Numbers: [2, 12] Generated Node #0,4,3: 72:[2, 12] Operation: 76-64=12 Exploring Operation: 76/2=38, Resulting Numbers: [64, 38] Generated Node #0,4,4: 72:[64, 38] Operation: 76/2=38 Moving to Node #0,4,3 Current State: 72:[2, 12], Operations: ['86-22=64', '76-64=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[76, 32], Operations: ['86-22=64', '64/2=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,72 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,72 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,72 unequal: No Solution Moving to Node #0,4,1 Current State: 72:[76, 66], Operations: ['86-22=64', '2+64=66'] Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 76*66=5016, Resulting Numbers: [5016] 5016,72 unequal: No Solution Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[64, 74], Operations: ['86-22=64', '76-2=74'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,72 unequal: No Solution Exploring Operation: 64*74=4736, Resulting Numbers: [4736] 4736,72 unequal: No Solution Moving to Node #0,4,4 Current State: 72:[64, 38], Operations: ['86-22=64', '76/2=38'] Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,72 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[22, 76, 43], Operations: ['86/2=43'] Exploring Operation: 22+43=65, Resulting Numbers: [76, 65] Generated Node #0,0,0: 72:[76, 65] Operation: 22+43=65 Exploring Operation: 43-22=21, Resulting Numbers: [76, 21] Generated Node #0,0,1: 72:[76, 21] Operation: 43-22=21 Exploring Operation: 22+76=98, Resulting Numbers: [43, 98] Generated Node #0,0,2: 72:[43, 98] Operation: 22+76=98 Exploring Operation: 76-43=33, Resulting Numbers: [22, 33] Generated Node #0,0,3: 72:[22, 33] Operation: 76-43=33 Exploring Operation: 76-22=54, Resulting Numbers: [43, 54] Generated Node #0,0,4: 72:[43, 54] Operation: 76-22=54 Moving to Node #0,0,3 Current State: 72:[22, 33], Operations: ['86/2=43', '76-43=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[76, 21], Operations: ['86/2=43', '43-22=21'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 76*21=1596, Resulting Numbers: [1596] 1596,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[76, 65], Operations: ['86/2=43', '22+43=65'] Exploring Operation: 76+65=141, Resulting Numbers: [141] 141,72 unequal: No Solution Exploring Operation: 76-65=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 76*65=4940, Resulting Numbers: [4940] 4940,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[43, 54], Operations: ['86/2=43', '76-22=54'] Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,72 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[43, 98], Operations: ['86/2=43', '22+76=98'] Exploring Operation: 43+98=141, Resulting Numbers: [141] 141,72 unequal: No Solution Exploring Operation: 43*98=4214, Resulting Numbers: [4214] 4214,72 unequal: No Solution Exploring Operation: 98-43=55, Resulting Numbers: [55] 55,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[86, 76, 24], Operations: ['22+2=24'] Exploring Operation: 86-24=62, Resulting Numbers: [76, 62] Generated Node #0,1,0: 72:[76, 62] Operation: 86-24=62 Exploring Operation: 86-76=10, Resulting Numbers: [24, 10] Generated Node #0,1,1: 72:[24, 10] Operation: 86-76=10 Exploring Operation: 86+24=110, Resulting Numbers: [76, 110] Generated Node #0,1,2: 72:[76, 110] Operation: 86+24=110 Exploring Operation: 76-24=52, Resulting Numbers: [86, 52] Generated Node #0,1,3: 72:[86, 52] Operation: 76-24=52 Exploring Operation: 76+24=100, Resulting Numbers: [86, 100] Generated Node #0,1,4: 72:[86, 100] Operation: 76+24=100 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[24, 10], Operations: ['22+2=24', '86-76=10'] Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,72 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,72 unequal: No Solution No 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: 72:[76, 62], Operations: ['22+2=24', '86-24=62'] Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 76*62=4712, Resulting Numbers: [4712] 4712,72 unequal: No Solution Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,72 unequal: No Solution No 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: 72:[86, 52], Operations: ['22+2=24', '76-24=52'] Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,72 unequal: No Solution Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,72 unequal: No Solution No 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: 72:[76, 110], Operations: ['22+2=24', '86+24=110'] Exploring Operation: 110-76=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 76+110=186, Resulting Numbers: [186] 186,72 unequal: No Solution Exploring Operation: 76*110=8360, Resulting Numbers: [8360] 8360,72 unequal: No Solution No 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: 72:[86, 100], Operations: ['22+2=24', '76+24=100'] Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 86+100=186, Resulting Numbers: [186] 186,72 unequal: No Solution Exploring Operation: 86*100=8600, Resulting Numbers: [8600] 8600,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[22, 76, 84], Operations: ['86-2=84'] Exploring Operation: 76-22=54, Resulting Numbers: [84, 54] Generated Node #0,2,0: 72:[84, 54] Operation: 76-22=54 Exploring Operation: 84-22=62, Resulting Numbers: [76, 62] Generated Node #0,2,1: 72:[76, 62] Operation: 84-22=62 Exploring Operation: 22+84=106, Resulting Numbers: [76, 106] Generated Node #0,2,2: 72:[76, 106] Operation: 22+84=106 Exploring Operation: 84-76=8, Resulting Numbers: [22, 8] Generated Node #0,2,3: 72:[22, 8] Operation: 84-76=8 Exploring Operation: 22+76=98, Resulting Numbers: [84, 98] Generated Node #0,2,4: 72:[84, 98] Operation: 22+76=98 Moving to Node #0,2,3 Current State: 72:[22, 8], Operations: ['86-2=84', '84-76=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,72 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[76, 62], Operations: ['86-2=84', '84-22=62'] Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,72 unequal: No Solution Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 76*62=4712, Resulting Numbers: [4712] 4712,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[84, 54], Operations: ['86-2=84', '76-22=54'] Exploring Operation: 84+54=138, Resulting Numbers: [138] 138,72 unequal: No Solution Exploring Operation: 84-54=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 84*54=4536, Resulting Numbers: [4536] 4536,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[76, 106], Operations: ['86-2=84', '22+84=106'] Exploring Operation: 76*106=8056, Resulting Numbers: [8056] 8056,72 unequal: No Solution Exploring Operation: 106-76=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 76+106=182, Resulting Numbers: [182] 182,72 unequal: No Solution Moving to Node #0,2,4 Current State: 72:[84, 98], Operations: ['86-2=84', '22+76=98'] Exploring Operation: 84*98=8232, Resulting Numbers: [8232] 8232,72 unequal: No Solution Exploring Operation: 84+98=182, Resulting Numbers: [182] 182,72 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,72 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
[ 45, 46, 69, 26 ]
56
[ "45*46=2070", "2070/69=30", "26+30=56" ]
Current State: 56:[45, 46, 69, 26], Operations: [] Exploring Operation: 45*46=2070, Resulting Numbers: [69, 26, 2070] Generated Node #2: [69, 26, 2070] from Operation: 45*46=2070 Current State: 56:[69, 26, 2070], Operations: ['45*46=2070'] Exploring Operation: 2070/69=30, Resulting Numbers: [26, 30] Generated Node #3: [26, 30] from Operation: 2070/69=30 Current State: 56:[26, 30], Operations: ['45*46=2070', '2070/69=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[45, 46, 69, 26], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [45, 26, 23] Generated Node #0,0: 56:[45, 26, 23] Operation: 69-46=23 Exploring Operation: 69-45=24, Resulting Numbers: [46, 26, 24] Generated Node #0,1: 56:[46, 26, 24] Operation: 69-45=24 Exploring Operation: 46-45=1, Resulting Numbers: [69, 26, 1] Generated Node #0,2: 56:[69, 26, 1] Operation: 46-45=1 Moving to Node #0,1 Current State: 56:[46, 26, 24], Operations: ['69-45=24'] Exploring Operation: 46-24=22, Resulting Numbers: [26, 22] Generated Node #0,1,0: 56:[26, 22] Operation: 46-24=22 Exploring Operation: 46-26=20, Resulting Numbers: [24, 20] Generated Node #0,1,1: 56:[24, 20] Operation: 46-26=20 Exploring Operation: 26-24=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 56:[46, 2] Operation: 26-24=2 Moving to Node #0,2 Current State: 56:[69, 26, 1], Operations: ['46-45=1'] Exploring Operation: 69-1=68, Resulting Numbers: [26, 68] Generated Node #0,2,0: 56:[26, 68] Operation: 69-1=68 Exploring Operation: 69-26=43, Resulting Numbers: [1, 43] Generated Node #0,2,1: 56:[1, 43] Operation: 69-26=43 Exploring Operation: 26+1=27, Resulting Numbers: [69, 27] Generated Node #0,2,2: 56:[69, 27] Operation: 26+1=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[26, 68], Operations: ['46-45=1', '69-1=68'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,56 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,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:[1, 43], Operations: ['46-45=1', '69-26=43'] Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,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,2 Current State: 56:[69, 27], Operations: ['46-45=1', '26+1=27'] Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,56 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,56 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,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:[45, 26, 23], Operations: ['69-46=23'] Exploring Operation: 45-23=22, Resulting Numbers: [26, 22] Generated Node #0,0,0: 56:[26, 22] Operation: 45-23=22 Exploring Operation: 45-26=19, Resulting Numbers: [23, 19] Generated Node #0,0,1: 56:[23, 19] Operation: 45-26=19 Exploring Operation: 26-23=3, Resulting Numbers: [45, 3] Generated Node #0,0,2: 56:[45, 3] Operation: 26-23=3 Moving to Node #0,1,0 Current State: 56:[26, 22], Operations: ['69-45=24', '46-24=22'] Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,56 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[26, 22], Operations: ['69-46=23', '45-23=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[46, 2], Operations: ['69-45=24', '26-24=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[23, 19], Operations: ['69-46=23', '45-26=19'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[24, 20], Operations: ['69-45=24', '46-26=20'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[45, 3], Operations: ['69-46=23', '26-23=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,56 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 27, 47, 9, 35 ]
47
[ "27+9=36", "36-35=1", "47*1=47" ]
Current State: 47:[27, 47, 9, 35], Operations: [] Exploring Operation: 27+9=36, Resulting Numbers: [47, 35, 36] Generated Node #2: [47, 35, 36] from Operation: 27+9=36 Current State: 47:[47, 35, 36], Operations: ['27+9=36'] Exploring Operation: 36-35=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 36-35=1 Current State: 47:[47, 1], Operations: ['27+9=36', '36-35=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[27, 47, 9, 35], Operations: [] Exploring Operation: 27+9=36, Resulting Numbers: [47, 35, 36] Generated Node #0,0: 47:[47, 35, 36] Operation: 27+9=36 Exploring Operation: 9+35=44, Resulting Numbers: [27, 47, 44] Generated Node #0,1: 47:[27, 47, 44] Operation: 9+35=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[47, 35, 36], Operations: ['27+9=36'] Exploring Operation: 35+36=71, Resulting Numbers: [47, 71] Generated Node #0,0,0: 47:[47, 71] Operation: 35+36=71 Exploring Operation: 47+35=82, Resulting Numbers: [36, 82] Generated Node #0,0,1: 47:[36, 82] Operation: 47+35=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[47, 71], Operations: ['27+9=36', '35+36=71'] Exploring Operation: 47+71=118, Resulting Numbers: [118] 118,47 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,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:[36, 82], Operations: ['27+9=36', '47+35=82'] Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,47 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,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:[27, 47, 44], Operations: ['9+35=44'] Exploring Operation: 27+44=71, Resulting Numbers: [47, 71] Generated Node #0,1,0: 47:[47, 71] Operation: 27+44=71 Exploring Operation: 27+47=74, Resulting Numbers: [44, 74] Generated Node #0,1,1: 47:[44, 74] Operation: 27+47=74 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[47, 71], Operations: ['9+35=44', '27+44=71'] Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 47+71=118, Resulting Numbers: [118] 118,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[44, 74], Operations: ['9+35=44', '27+47=74'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 44+74=118, Resulting Numbers: [118] 118,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 11, 20, 6, 38 ]
71
[ "11+38=49", "20*6=120", "120-49=71" ]
Current State: 71:[11, 20, 6, 38], Operations: [] Exploring Operation: 11+38=49, Resulting Numbers: [20, 6, 49] Generated Node #2: [20, 6, 49] from Operation: 11+38=49 Current State: 71:[20, 6, 49], Operations: ['11+38=49'] Exploring Operation: 20*6=120, Resulting Numbers: [49, 120] Generated Node #3: [49, 120] from Operation: 20*6=120 Current State: 71:[49, 120], Operations: ['11+38=49', '20*6=120'] Exploring Operation: 120-49=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[11, 20, 6, 38], Operations: [] Exploring Operation: 11+20=31, Resulting Numbers: [6, 38, 31] Generated Node #0,0: 71:[6, 38, 31] Operation: 11+20=31 Exploring Operation: 11+6=17, Resulting Numbers: [20, 38, 17] Generated Node #0,1: 71:[20, 38, 17] Operation: 11+6=17 Exploring Operation: 11*6=66, Resulting Numbers: [20, 38, 66] Generated Node #0,2: 71:[20, 38, 66] Operation: 11*6=66 Moving to Node #0,2 Current State: 71:[20, 38, 66], Operations: ['11*6=66'] Exploring Operation: 38-20=18, Resulting Numbers: [66, 18] Generated Node #0,2,0: 71:[66, 18] Operation: 38-20=18 Exploring Operation: 20+38=58, Resulting Numbers: [66, 58] Generated Node #0,2,1: 71:[66, 58] Operation: 20+38=58 Exploring Operation: 20+66=86, Resulting Numbers: [38, 86] Generated Node #0,2,2: 71:[38, 86] Operation: 20+66=86 Moving to Node #0,0 Current State: 71:[6, 38, 31], Operations: ['11+20=31'] Exploring Operation: 38+31=69, Resulting Numbers: [6, 69] Generated Node #0,0,0: 71:[6, 69] Operation: 38+31=69 Exploring Operation: 6+38=44, Resulting Numbers: [31, 44] Generated Node #0,0,1: 71:[31, 44] Operation: 6+38=44 Exploring Operation: 6+31=37, Resulting Numbers: [38, 37] Generated Node #0,0,2: 71:[38, 37] Operation: 6+31=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[6, 69], Operations: ['11+20=31', '38+31=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[31, 44], Operations: ['11+20=31', '6+38=44'] Exploring Operation: 31*44=1364, Resulting Numbers: [1364] 1364,71 unequal: No Solution Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[38, 37], Operations: ['11+20=31', '6+31=37'] Exploring Operation: 38*37=1406, Resulting Numbers: [1406] 1406,71 unequal: No Solution Exploring Operation: 38+37=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,71 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: 71:[20, 38, 17], Operations: ['11+6=17'] Exploring Operation: 38+17=55, Resulting Numbers: [20, 55] Generated Node #0,1,0: 71:[20, 55] Operation: 38+17=55 Exploring Operation: 20+38=58, Resulting Numbers: [17, 58] Generated Node #0,1,1: 71:[17, 58] Operation: 20+38=58 Exploring Operation: 20+17=37, Resulting Numbers: [38, 37] Generated Node #0,1,2: 71:[38, 37] Operation: 20+17=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[20, 55], Operations: ['11+6=17', '38+17=55'] Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,71 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[17, 58], Operations: ['11+6=17', '20+38=58'] Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,71 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,71 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[38, 37], Operations: ['11+6=17', '20+17=37'] Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 38*37=1406, Resulting Numbers: [1406] 1406,71 unequal: No Solution Exploring Operation: 38+37=75, Resulting Numbers: [75] 75,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 71:[66, 58], Operations: ['11*6=66', '20+38=58'] Exploring Operation: 66*58=3828, Resulting Numbers: [3828] 3828,71 unequal: No Solution Exploring Operation: 66+58=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[38, 86], Operations: ['11*6=66', '20+66=86'] Exploring Operation: 38+86=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 38*86=3268, Resulting Numbers: [3268] 3268,71 unequal: No Solution Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[66, 18], Operations: ['11*6=66', '38-20=18'] Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,71 unequal: No Solution Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 89, 1, 97, 64 ]
73
[ "89-1=88", "97+64=161", "161-88=73" ]
Current State: 73:[89, 1, 97, 64], Operations: [] Exploring Operation: 89-1=88, Resulting Numbers: [97, 64, 88] Generated Node #2: [97, 64, 88] from Operation: 89-1=88 Current State: 73:[97, 64, 88], Operations: ['89-1=88'] Exploring Operation: 97+64=161, Resulting Numbers: [88, 161] Generated Node #3: [88, 161] from Operation: 97+64=161 Current State: 73:[88, 161], Operations: ['89-1=88', '97+64=161'] Exploring Operation: 161-88=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[89, 1, 97, 64], Operations: [] Exploring Operation: 1+64=65, Resulting Numbers: [89, 97, 65] Generated Node #0,0: 73:[89, 97, 65] Operation: 1+64=65 Exploring Operation: 89-1=88, Resulting Numbers: [97, 64, 88] Generated Node #0,1: 73:[97, 64, 88] Operation: 89-1=88 Exploring Operation: 97-1=96, Resulting Numbers: [89, 64, 96] Generated Node #0,2: 73:[89, 64, 96] Operation: 97-1=96 Exploring Operation: 89*1=89, Resulting Numbers: [97, 64, 89] Generated Node #0,3: 73:[97, 64, 89] Operation: 89*1=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[89, 97, 65], Operations: ['1+64=65'] Exploring Operation: 89+65=154, Resulting Numbers: [97, 154] Generated Node #0,0,0: 73:[97, 154] Operation: 89+65=154 Exploring Operation: 89-65=24, Resulting Numbers: [97, 24] Generated Node #0,0,1: 73:[97, 24] Operation: 89-65=24 Exploring Operation: 97-89=8, Resulting Numbers: [65, 8] Generated Node #0,0,2: 73:[65, 8] Operation: 97-89=8 Exploring Operation: 97-65=32, Resulting Numbers: [89, 32] Generated Node #0,0,3: 73:[89, 32] Operation: 97-65=32 Moving to Node #0,0,3 Current State: 73:[89, 32], Operations: ['1+64=65', '97-65=32'] Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,73 unequal: No Solution Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[65, 8], Operations: ['1+64=65', '97-89=8'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[89, 1, 97, 64], Operations: [] Exploring Operation: 1+64=65, Resulting Numbers: [89, 97, 65] Generated Node #0,0: 73:[89, 97, 65] Operation: 1+64=65 Moving to Node #0,0 Current State: 73:[89, 97, 65], Operations: ['1+64=65'] Exploring Operation: 97-89=8, Resulting Numbers: [65, 8] Generated Node #0,0,2: 73:[65, 8] Operation: 97-89=8 Moving to Node #0,0,2 Current State: 73:[65, 8], Operations: ['1+64=65', '97-89=8'] Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 13, 75, 2, 55 ]
41
[ "13+55=68", "68/2=34", "75-34=41" ]
Current State: 41:[13, 75, 2, 55], Operations: [] Exploring Operation: 13+55=68, Resulting Numbers: [75, 2, 68] Generated Node #2: [75, 2, 68] from Operation: 13+55=68 Current State: 41:[75, 2, 68], Operations: ['13+55=68'] Exploring Operation: 68/2=34, Resulting Numbers: [75, 34] Generated Node #3: [75, 34] from Operation: 68/2=34 Current State: 41:[75, 34], Operations: ['13+55=68', '68/2=34'] Exploring Operation: 75-34=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[13, 75, 2, 55], Operations: [] Exploring Operation: 13+2=15, Resulting Numbers: [75, 55, 15] Generated Node #0,0: 41:[75, 55, 15] Operation: 13+2=15 Exploring Operation: 75-13=62, Resulting Numbers: [2, 55, 62] Generated Node #0,1: 41:[2, 55, 62] Operation: 75-13=62 Exploring Operation: 13*2=26, Resulting Numbers: [75, 55, 26] Generated Node #0,2: 41:[75, 55, 26] Operation: 13*2=26 Moving to Node #0,2 Current State: 41:[75, 55, 26], Operations: ['13*2=26'] Exploring Operation: 55-26=29, Resulting Numbers: [75, 29] Generated Node #0,2,0: 41:[75, 29] Operation: 55-26=29 Exploring Operation: 75-26=49, Resulting Numbers: [55, 49] Generated Node #0,2,1: 41:[55, 49] Operation: 75-26=49 Exploring Operation: 75-55=20, Resulting Numbers: [26, 20] Generated Node #0,2,2: 41:[26, 20] Operation: 75-55=20 Moving to Node #0,0 Current State: 41:[75, 55, 15], Operations: ['13+2=15'] Exploring Operation: 55-15=40, Resulting Numbers: [75, 40] Generated Node #0,0,0: 41:[75, 40] Operation: 55-15=40 Exploring Operation: 75-55=20, Resulting Numbers: [15, 20] Generated Node #0,0,1: 41:[15, 20] Operation: 75-55=20 Exploring Operation: 75-15=60, Resulting Numbers: [55, 60] Generated Node #0,0,2: 41:[55, 60] Operation: 75-15=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[55, 60], Operations: ['13+2=15', '75-15=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,41 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,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:[75, 40], Operations: ['13+2=15', '55-15=40'] Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,41 unequal: No Solution Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,41 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,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,1 Current State: 41:[15, 20], Operations: ['13+2=15', '75-55=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,41 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,41 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: 41:[2, 55, 62], Operations: ['75-13=62'] Exploring Operation: 55-2=53, Resulting Numbers: [62, 53] Generated Node #0,1,0: 41:[62, 53] Operation: 55-2=53 Exploring Operation: 62-2=60, Resulting Numbers: [55, 60] Generated Node #0,1,1: 41:[55, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [55, 31] Generated Node #0,1,2: 41:[55, 31] Operation: 62/2=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[55, 31], Operations: ['75-13=62', '62/2=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,41 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,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,1,0 Current State: 41:[62, 53], Operations: ['75-13=62', '55-2=53'] Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 62*53=3286, Resulting Numbers: [3286] 3286,41 unequal: No Solution Exploring Operation: 62+53=115, Resulting Numbers: [115] 115,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,1,1 Current State: 41:[55, 60], Operations: ['75-13=62', '62-2=60'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,41 unequal: No Solution Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 41:[55, 49], Operations: ['13*2=26', '75-26=49'] Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,41 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[26, 20], Operations: ['13*2=26', '75-55=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,41 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[75, 29], Operations: ['13*2=26', '55-26=29'] Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,41 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 4, 31, 95, 16 ]
12
[ "95-31=64", "64-16=48", "48/4=12" ]
Current State: 12:[4, 31, 95, 16], Operations: [] Exploring Operation: 95-31=64, Resulting Numbers: [4, 16, 64] Generated Node #2: [4, 16, 64] from Operation: 95-31=64 Current State: 12:[4, 16, 64], Operations: ['95-31=64'] Exploring Operation: 64-16=48, Resulting Numbers: [4, 48] Generated Node #3: [4, 48] from Operation: 64-16=48 Current State: 12:[4, 48], Operations: ['95-31=64', '64-16=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[4, 31, 95, 16], Operations: [] Exploring Operation: 95-16=79, Resulting Numbers: [4, 31, 79] Generated Node #0,0: 12:[4, 31, 79] Operation: 95-16=79 Exploring Operation: 31-16=15, Resulting Numbers: [4, 95, 15] Generated Node #0,1: 12:[4, 95, 15] Operation: 31-16=15 Exploring Operation: 95-31=64, Resulting Numbers: [4, 16, 64] Generated Node #0,2: 12:[4, 16, 64] Operation: 95-31=64 Moving to Node #0,2 Current State: 12:[4, 16, 64], Operations: ['95-31=64'] Exploring Operation: 64/16=4, Resulting Numbers: [4, 4] Generated Node #0,2,0: 12:[4, 4] Operation: 64/16=4 Exploring Operation: 64-16=48, Resulting Numbers: [4, 48] Generated Node #0,2,1: 12:[4, 48] Operation: 64-16=48 Exploring Operation: 64/4=16, Resulting Numbers: [16, 16] Generated Node #0,2,2: 12:[16, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[4, 4], Operations: ['95-31=64', '64/16=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,12 unequal: No Solution No 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: 12:[16, 16], Operations: ['95-31=64', '64/4=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,12 unequal: No Solution No 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: 12:[4, 48], Operations: ['95-31=64', '64-16=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[4, 31, 95, 16], Operations: [] Exploring Operation: 95-31=64, Resulting Numbers: [4, 16, 64] Generated Node #0,2: 12:[4, 16, 64] Operation: 95-31=64 Moving to Node #0,2 Current State: 12:[4, 16, 64], Operations: ['95-31=64'] Exploring Operation: 64-16=48, Resulting Numbers: [4, 48] Generated Node #0,2,1: 12:[4, 48] Operation: 64-16=48 Moving to Node #0,2,1 Current State: 12:[4, 48], Operations: ['95-31=64', '64-16=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 7, 47, 94, 52 ]
12
[ "7+47=54", "94-52=42", "54-42=12" ]
Current State: 12:[7, 47, 94, 52], Operations: [] Exploring Operation: 7+47=54, Resulting Numbers: [94, 52, 54] Generated Node #2: [94, 52, 54] from Operation: 7+47=54 Current State: 12:[94, 52, 54], Operations: ['7+47=54'] Exploring Operation: 94-52=42, Resulting Numbers: [54, 42] Generated Node #3: [54, 42] from Operation: 94-52=42 Current State: 12:[54, 42], Operations: ['7+47=54', '94-52=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[7, 47, 94, 52], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [7, 52, 2] Generated Node #0,0: 12:[7, 52, 2] Operation: 94/47=2 Exploring Operation: 94-47=47, Resulting Numbers: [7, 52, 47] Generated Node #0,1: 12:[7, 52, 47] Operation: 94-47=47 Exploring Operation: 52-47=5, Resulting Numbers: [7, 94, 5] Generated Node #0,2: 12:[7, 94, 5] Operation: 52-47=5 Exploring Operation: 94-52=42, Resulting Numbers: [7, 47, 42] Generated Node #0,3: 12:[7, 47, 42] Operation: 94-52=42 Moving to Node #0,0 Current State: 12:[7, 52, 2], Operations: ['94/47=2'] Exploring Operation: 52-7=45, Resulting Numbers: [2, 45] Generated Node #0,0,0: 12:[2, 45] Operation: 52-7=45 Exploring Operation: 52-2=50, Resulting Numbers: [7, 50] Generated Node #0,0,1: 12:[7, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [7, 26] Generated Node #0,0,2: 12:[7, 26] Operation: 52/2=26 Exploring Operation: 7-2=5, Resulting Numbers: [52, 5] Generated Node #0,0,3: 12:[52, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[7, 26], Operations: ['94/47=2', '52/2=26'] Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,12 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,12 unequal: No Solution No 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: 12:[2, 45], Operations: ['94/47=2', '52-7=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,12 unequal: No Solution No 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: 12:[7, 50], Operations: ['94/47=2', '52-2=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,12 unequal: No Solution No 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: 12:[52, 5], Operations: ['94/47=2', '7-2=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,12 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: 12:[7, 47, 42], Operations: ['94-52=42'] Exploring Operation: 42-7=35, Resulting Numbers: [47, 35] Generated Node #0,3,0: 12:[47, 35] Operation: 42-7=35 Exploring Operation: 42/7=6, Resulting Numbers: [47, 6] Generated Node #0,3,1: 12:[47, 6] Operation: 42/7=6 Exploring Operation: 47-42=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 12:[7, 5] Operation: 47-42=5 Exploring Operation: 47-7=40, Resulting Numbers: [42, 40] Generated Node #0,3,3: 12:[42, 40] Operation: 47-7=40 Moving to Node #0,1 Current State: 12:[7, 52, 47], Operations: ['94-47=47'] Exploring Operation: 7+52=59, Resulting Numbers: [47, 59] Generated Node #0,1,0: 12:[47, 59] Operation: 7+52=59 Exploring Operation: 52-7=45, Resulting Numbers: [47, 45] Generated Node #0,1,1: 12:[47, 45] Operation: 52-7=45 Exploring Operation: 47-7=40, Resulting Numbers: [52, 40] Generated Node #0,1,2: 12:[52, 40] Operation: 47-7=40 Exploring Operation: 52-47=5, Resulting Numbers: [7, 5] Generated Node #0,1,3: 12:[7, 5] Operation: 52-47=5 Moving to Node #0,2 Current State: 12:[7, 94, 5], Operations: ['52-47=5'] Exploring Operation: 7+5=12, Resulting Numbers: [94, 12] Generated Node #0,2,0: 12:[94, 12] Operation: 7+5=12 Exploring Operation: 7-5=2, Resulting Numbers: [94, 2] Generated Node #0,2,1: 12:[94, 2] Operation: 7-5=2 Exploring Operation: 94-7=87, Resulting Numbers: [5, 87] Generated Node #0,2,2: 12:[5, 87] Operation: 94-7=87 Exploring Operation: 94-5=89, Resulting Numbers: [7, 89] Generated Node #0,2,3: 12:[7, 89] Operation: 94-5=89 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[5, 87], Operations: ['52-47=5', '94-7=87'] Exploring Operation: 5*87=435, Resulting Numbers: [435] 435,12 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,12 unequal: No Solution No 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: 12:[7, 89], Operations: ['52-47=5', '94-5=89'] Exploring Operation: 7+89=96, Resulting Numbers: [96] 96,12 unequal: No Solution Exploring Operation: 7*89=623, Resulting Numbers: [623] 623,12 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,12 unequal: No Solution No 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: 12:[94, 12], Operations: ['52-47=5', '7+5=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,12 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,12 unequal: No Solution No 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: 12:[94, 2], Operations: ['52-47=5', '7-5=2'] Exploring Operation: 94*2=188, Resulting Numbers: [188] 188,12 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,12 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 12:[7, 5], Operations: ['94-52=42', '47-42=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[7, 47, 94, 52], Operations: [] Exploring Operation: 94-52=42, Resulting Numbers: [7, 47, 42] Generated Node #0,3: 12:[7, 47, 42] Operation: 94-52=42 Moving to Node #0,3 Current State: 12:[7, 47, 42], Operations: ['94-52=42'] Exploring Operation: 47-42=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 12:[7, 5] Operation: 47-42=5 Moving to Node #0,3,2 Current State: 12:[7, 5], Operations: ['94-52=42', '47-42=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 44, 88, 6, 89 ]
87
[ "44*6=264", "88+89=177", "264-177=87" ]
Current State: 87:[44, 88, 6, 89], Operations: [] Exploring Operation: 44*6=264, Resulting Numbers: [88, 89, 264] Generated Node #2: [88, 89, 264] from Operation: 44*6=264 Current State: 87:[88, 89, 264], Operations: ['44*6=264'] Exploring Operation: 88+89=177, Resulting Numbers: [264, 177] Generated Node #3: [264, 177] from Operation: 88+89=177 Current State: 87:[264, 177], Operations: ['44*6=264', '88+89=177'] Exploring Operation: 264-177=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[44, 88, 6, 89], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [6, 89, 2] Generated Node #0,0: 87:[6, 89, 2] Operation: 88/44=2 Exploring Operation: 44-6=38, Resulting Numbers: [88, 89, 38] Generated Node #0,1: 87:[88, 89, 38] Operation: 44-6=38 Exploring Operation: 88-44=44, Resulting Numbers: [6, 89, 44] Generated Node #0,2: 87:[6, 89, 44] Operation: 88-44=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[6, 89, 2], Operations: ['88/44=2'] Exploring Operation: 6-2=4, Resulting Numbers: [89, 4] Generated Node #0,0,0: 87:[89, 4] Operation: 6-2=4 Exploring Operation: 89-2=87, Resulting Numbers: [6, 87] Generated Node #0,0,1: 87:[6, 87] Operation: 89-2=87 Exploring Operation: 6/2=3, Resulting Numbers: [89, 3] Generated Node #0,0,2: 87:[89, 3] Operation: 6/2=3 Moving to Node #0,0,2 Current State: 87:[89, 3], Operations: ['88/44=2', '6/2=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,87 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,87 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[89, 4], Operations: ['88/44=2', '6-2=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[6, 87], Operations: ['88/44=2', '89-2=87'] Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,87 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,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 Current State: 87:[88, 89, 38], Operations: ['44-6=38'] Exploring Operation: 88-38=50, Resulting Numbers: [89, 50] Generated Node #0,1,0: 87:[89, 50] Operation: 88-38=50 Exploring Operation: 89-88=1, Resulting Numbers: [38, 1] Generated Node #0,1,1: 87:[38, 1] Operation: 89-88=1 Exploring Operation: 89-38=51, Resulting Numbers: [88, 51] Generated Node #0,1,2: 87:[88, 51] Operation: 89-38=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[38, 1], Operations: ['44-6=38', '89-88=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[89, 50], Operations: ['44-6=38', '88-38=50'] Exploring Operation: 89+50=139, Resulting Numbers: [139] 139,87 unequal: No Solution Exploring Operation: 89*50=4450, Resulting Numbers: [4450] 4450,87 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[88, 51], Operations: ['44-6=38', '89-38=51'] Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,87 unequal: No Solution Exploring Operation: 88*51=4488, Resulting Numbers: [4488] 4488,87 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,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:[6, 89, 44], Operations: ['88-44=44'] Exploring Operation: 89-44=45, Resulting Numbers: [6, 45] Generated Node #0,2,0: 87:[6, 45] Operation: 89-44=45 Exploring Operation: 44-6=38, Resulting Numbers: [89, 38] Generated Node #0,2,1: 87:[89, 38] Operation: 44-6=38 Exploring Operation: 89-6=83, Resulting Numbers: [44, 83] Generated Node #0,2,2: 87:[44, 83] Operation: 89-6=83 Moving to Node #0,2,1 Current State: 87:[89, 38], Operations: ['88-44=44', '44-6=38'] Exploring Operation: 89*38=3382, Resulting Numbers: [3382] 3382,87 unequal: No Solution Exploring Operation: 89+38=127, Resulting Numbers: [127] 127,87 unequal: No Solution Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[6, 45], Operations: ['88-44=44', '89-44=45'] Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,87 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,87 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[44, 83], Operations: ['88-44=44', '89-6=83'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,87 unequal: No Solution Exploring Operation: 44+83=127, Resulting Numbers: [127] 127,87 unequal: No Solution Exploring Operation: 44*83=3652, Resulting Numbers: [3652] 3652,87 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
[ 86, 58, 9, 18 ]
90
[ "86-58=28", "28-18=10", "9*10=90" ]
Current State: 90:[86, 58, 9, 18], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [9, 18, 28] Generated Node #2: [9, 18, 28] from Operation: 86-58=28 Current State: 90:[9, 18, 28], Operations: ['86-58=28'] Exploring Operation: 28-18=10, Resulting Numbers: [9, 10] Generated Node #3: [9, 10] from Operation: 28-18=10 Current State: 90:[9, 10], Operations: ['86-58=28', '28-18=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[86, 58, 9, 18], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [86, 58, 2] Generated Node #0,0: 90:[86, 58, 2] Operation: 18/9=2 Exploring Operation: 58-18=40, Resulting Numbers: [86, 9, 40] Generated Node #0,1: 90:[86, 9, 40] Operation: 58-18=40 Exploring Operation: 58-9=49, Resulting Numbers: [86, 18, 49] Generated Node #0,2: 90:[86, 18, 49] Operation: 58-9=49 Exploring Operation: 86-58=28, Resulting Numbers: [9, 18, 28] Generated Node #0,3: 90:[9, 18, 28] Operation: 86-58=28 Exploring Operation: 18-9=9, Resulting Numbers: [86, 58, 9] Generated Node #0,4: 90:[86, 58, 9] Operation: 18-9=9 Moving to Node #0,3 Current State: 90:[9, 18, 28], Operations: ['86-58=28'] Exploring Operation: 18-9=9, Resulting Numbers: [28, 9] Generated Node #0,3,0: 90:[28, 9] Operation: 18-9=9 Exploring Operation: 18+28=46, Resulting Numbers: [9, 46] Generated Node #0,3,1: 90:[9, 46] Operation: 18+28=46 Exploring Operation: 28-9=19, Resulting Numbers: [18, 19] Generated Node #0,3,2: 90:[18, 19] Operation: 28-9=19 Exploring Operation: 18/9=2, Resulting Numbers: [28, 2] Generated Node #0,3,3: 90:[28, 2] Operation: 18/9=2 Exploring Operation: 28-18=10, Resulting Numbers: [9, 10] Generated Node #0,3,4: 90:[9, 10] Operation: 28-18=10 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 90:[9, 10], Operations: ['86-58=28', '28-18=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[86, 58, 9, 18], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [9, 18, 28] Generated Node #0,3: 90:[9, 18, 28] Operation: 86-58=28 Moving to Node #0,3 Current State: 90:[9, 18, 28], Operations: ['86-58=28'] Exploring Operation: 28-18=10, Resulting Numbers: [9, 10] Generated Node #0,3,4: 90:[9, 10] Operation: 28-18=10 Moving to Node #0,3,4 Current State: 90:[9, 10], Operations: ['86-58=28', '28-18=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 75, 75, 69, 73 ]
73
[ "75-75=0", "69*0=0", "73+0=73" ]
Current State: 73:[75, 75, 69, 73], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [69, 73, 0] Generated Node #2: [69, 73, 0] from Operation: 75-75=0 Current State: 73:[69, 73, 0], Operations: ['75-75=0'] Exploring Operation: 69*0=0, Resulting Numbers: [73, 0] Generated Node #3: [73, 0] from Operation: 69*0=0 Current State: 73:[73, 0], Operations: ['75-75=0', '69*0=0'] Exploring Operation: 73+0=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[75, 75, 69, 73], Operations: [] Exploring Operation: 75+69=144, Resulting Numbers: [75, 73, 144] Generated Node #0,0: 73:[75, 73, 144] Operation: 75+69=144 Exploring Operation: 75-69=6, Resulting Numbers: [75, 73, 6] Generated Node #0,1: 73:[75, 73, 6] Operation: 75-69=6 Exploring Operation: 75+69=144, Resulting Numbers: [75, 73, 144] Generated Node #0,2: 73:[75, 73, 144] Operation: 75+69=144 Exploring Operation: 75-69=6, Resulting Numbers: [75, 73, 6] Generated Node #0,3: 73:[75, 73, 6] Operation: 75-69=6 Exploring Operation: 69+73=142, Resulting Numbers: [75, 75, 142] Generated Node #0,4: 73:[75, 75, 142] Operation: 69+73=142 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[75, 73, 6], Operations: ['75-69=6'] Exploring Operation: 73-6=67, Resulting Numbers: [75, 67] Generated Node #0,1,0: 73:[75, 67] Operation: 73-6=67 Exploring Operation: 75+6=81, Resulting Numbers: [73, 81] Generated Node #0,1,1: 73:[73, 81] Operation: 75+6=81 Exploring Operation: 75-6=69, Resulting Numbers: [73, 69] Generated Node #0,1,2: 73:[73, 69] Operation: 75-6=69 Exploring Operation: 75-73=2, Resulting Numbers: [6, 2] Generated Node #0,1,3: 73:[6, 2] Operation: 75-73=2 Exploring Operation: 73+6=79, Resulting Numbers: [75, 79] Generated Node #0,1,4: 73:[75, 79] Operation: 73+6=79 Moving to Node #0,1,2 Current State: 73:[73, 69], Operations: ['75-69=6', '75-6=69'] Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,73 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[73, 81], Operations: ['75-69=6', '75+6=81'] Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,73 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[75, 67], Operations: ['75-69=6', '73-6=67'] Exploring Operation: 75+67=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 75*67=5025, Resulting Numbers: [5025] 5025,73 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[75, 79], Operations: ['75-69=6', '73+6=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[6, 2], Operations: ['75-69=6', '75-73=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[75, 73, 6], Operations: ['75-69=6'] Exploring Operation: 75+6=81, Resulting Numbers: [73, 81] Generated Node #0,3,0: 73:[73, 81] Operation: 75+6=81 Exploring Operation: 73+6=79, Resulting Numbers: [75, 79] Generated Node #0,3,1: 73:[75, 79] Operation: 73+6=79 Exploring Operation: 75-73=2, Resulting Numbers: [6, 2] Generated Node #0,3,2: 73:[6, 2] Operation: 75-73=2 Exploring Operation: 73-6=67, Resulting Numbers: [75, 67] Generated Node #0,3,3: 73:[75, 67] Operation: 73-6=67 Exploring Operation: 75-6=69, Resulting Numbers: [73, 69] Generated Node #0,3,4: 73:[73, 69] Operation: 75-6=69 Moving to Node #0,3,4 Current State: 73:[73, 69], Operations: ['75-69=6', '75-6=69'] Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[75, 79], Operations: ['75-69=6', '73+6=79'] Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,73 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[73, 81], Operations: ['75-69=6', '75+6=81'] Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,73 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[75, 67], Operations: ['75-69=6', '73-6=67'] Exploring Operation: 75+67=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 75*67=5025, Resulting Numbers: [5025] 5025,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[6, 2], Operations: ['75-69=6', '75-73=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[75, 73, 144], Operations: ['75+69=144'] Exploring Operation: 75+73=148, Resulting Numbers: [144, 148] Generated Node #0,0,0: 73:[144, 148] Operation: 75+73=148 Exploring Operation: 144-75=69, Resulting Numbers: [73, 69] Generated Node #0,0,1: 73:[73, 69] Operation: 144-75=69 Exploring Operation: 75+144=219, Resulting Numbers: [73, 219] Generated Node #0,0,2: 73:[73, 219] Operation: 75+144=219 Exploring Operation: 144-73=71, Resulting Numbers: [75, 71] Generated Node #0,0,3: 73:[75, 71] Operation: 144-73=71 Exploring Operation: 75-73=2, Resulting Numbers: [144, 2] Generated Node #0,0,4: 73:[144, 2] Operation: 75-73=2 Moving to Node #0,0,1 Current State: 73:[73, 69], Operations: ['75+69=144', '144-75=69'] Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[75, 71], Operations: ['75+69=144', '144-73=71'] Exploring Operation: 75+71=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 75*71=5325, Resulting Numbers: [5325] 5325,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[144, 2], Operations: ['75+69=144', '75-73=2'] Exploring Operation: 144*2=288, Resulting Numbers: [288] 288,73 unequal: No Solution Exploring Operation: 144+2=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 144/2=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 144-2=142, Resulting Numbers: [142] 142,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[144, 148], Operations: ['75+69=144', '75+73=148'] Exploring Operation: 148-144=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 144*148=21312, Resulting Numbers: [21312] 21312,73 unequal: No Solution Exploring Operation: 144+148=292, Resulting Numbers: [292] 292,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[73, 219], Operations: ['75+69=144', '75+144=219'] Exploring Operation: 219-73=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 73*219=15987, Resulting Numbers: [15987] 15987,73 unequal: No Solution Exploring Operation: 73+219=292, Resulting Numbers: [292] 292,73 unequal: No Solution Exploring Operation: 219/73=3, Resulting Numbers: [3] 3,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[75, 73, 144], Operations: ['75+69=144'] Exploring Operation: 75+144=219, Resulting Numbers: [73, 219] Generated Node #0,2,0: 73:[73, 219] Operation: 75+144=219 Exploring Operation: 75-73=2, Resulting Numbers: [144, 2] Generated Node #0,2,1: 73:[144, 2] Operation: 75-73=2 Exploring Operation: 144-75=69, Resulting Numbers: [73, 69] Generated Node #0,2,2: 73:[73, 69] Operation: 144-75=69 Exploring Operation: 75+73=148, Resulting Numbers: [144, 148] Generated Node #0,2,3: 73:[144, 148] Operation: 75+73=148 Exploring Operation: 144-73=71, Resulting Numbers: [75, 71] Generated Node #0,2,4: 73:[75, 71] Operation: 144-73=71 Moving to Node #0,2,2 Current State: 73:[73, 69], Operations: ['75+69=144', '144-75=69'] Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,73 unequal: No Solution Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[75, 71], Operations: ['75+69=144', '144-73=71'] Exploring Operation: 75*71=5325, Resulting Numbers: [5325] 5325,73 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 75+71=146, Resulting Numbers: [146] 146,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[144, 2], Operations: ['75+69=144', '75-73=2'] Exploring Operation: 144+2=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 144-2=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 144/2=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 144*2=288, Resulting Numbers: [288] 288,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[73, 219], Operations: ['75+69=144', '75+144=219'] Exploring Operation: 73+219=292, Resulting Numbers: [292] 292,73 unequal: No Solution Exploring Operation: 73*219=15987, Resulting Numbers: [15987] 15987,73 unequal: No Solution Exploring Operation: 219/73=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 219-73=146, Resulting Numbers: [146] 146,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[144, 148], Operations: ['75+69=144', '75+73=148'] Exploring Operation: 144*148=21312, Resulting Numbers: [21312] 21312,73 unequal: No Solution Exploring Operation: 148-144=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 144+148=292, Resulting Numbers: [292] 292,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[75, 75, 142], Operations: ['69+73=142'] Exploring Operation: 75+75=150, Resulting Numbers: [142, 150] Generated Node #0,4,0: 73:[142, 150] Operation: 75+75=150 Exploring Operation: 142-75=67, Resulting Numbers: [75, 67] Generated Node #0,4,1: 73:[75, 67] Operation: 142-75=67 Exploring Operation: 75-75=0, Resulting Numbers: [142, 0] Generated Node #0,4,2: 73:[142, 0] Operation: 75-75=0 Exploring Operation: 75/75=1, Resulting Numbers: [142, 1] Generated Node #0,4,3: 73:[142, 1] Operation: 75/75=1 Exploring Operation: 142-75=67, Resulting Numbers: [75, 67] Generated Node #0,4,4: 73:[75, 67] Operation: 142-75=67 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 73:[75, 67], Operations: ['69+73=142', '142-75=67'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 75+67=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 75*67=5025, Resulting Numbers: [5025] 5025,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 73:[75, 67], Operations: ['69+73=142', '142-75=67'] Exploring Operation: 75+67=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 75*67=5025, Resulting Numbers: [5025] 5025,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 73:[142, 1], Operations: ['69+73=142', '75/75=1'] Exploring Operation: 142*1=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 142-1=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 142+1=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 142/1=142, Resulting Numbers: [142] 142,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 73:[142, 0], Operations: ['69+73=142', '75-75=0'] Exploring Operation: 142+0=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 142-0=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 142*0=0, Resulting Numbers: [0] 0,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 73:[142, 150], Operations: ['69+73=142', '75+75=150'] Exploring Operation: 150-142=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 142*150=21300, Resulting Numbers: [21300] 21300,73 unequal: No Solution Exploring Operation: 142+150=292, Resulting Numbers: [292] 292,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 14, 38, 8, 19 ]
84
[ "38/19=2", "8-2=6", "14*6=84" ]
Current State: 84:[14, 38, 8, 19], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [14, 8, 2] Generated Node #2: [14, 8, 2] from Operation: 38/19=2 Current State: 84:[14, 8, 2], Operations: ['38/19=2'] Exploring Operation: 8-2=6, Resulting Numbers: [14, 6] Generated Node #3: [14, 6] from Operation: 8-2=6 Current State: 84:[14, 6], Operations: ['38/19=2', '8-2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[14, 38, 8, 19], Operations: [] Exploring Operation: 38-8=30, Resulting Numbers: [14, 19, 30] Generated Node #0,0: 84:[14, 19, 30] Operation: 38-8=30 Exploring Operation: 8+19=27, Resulting Numbers: [14, 38, 27] Generated Node #0,1: 84:[14, 38, 27] Operation: 8+19=27 Exploring Operation: 38/19=2, Resulting Numbers: [14, 8, 2] Generated Node #0,2: 84:[14, 8, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [14, 8, 19] Generated Node #0,3: 84:[14, 8, 19] Operation: 38-19=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[14, 8, 2], Operations: ['38/19=2'] Exploring Operation: 8/2=4, Resulting Numbers: [14, 4] Generated Node #0,2,0: 84:[14, 4] Operation: 8/2=4 Exploring Operation: 14-8=6, Resulting Numbers: [2, 6] Generated Node #0,2,1: 84:[2, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [2, 22] Generated Node #0,2,2: 84:[2, 22] Operation: 14+8=22 Exploring Operation: 8-2=6, Resulting Numbers: [14, 6] Generated Node #0,2,3: 84:[14, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[14, 4], Operations: ['38/19=2', '8/2=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[2, 6], Operations: ['38/19=2', '14-8=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[14, 6], Operations: ['38/19=2', '8-2=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[14, 38, 8, 19], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [14, 8, 2] Generated Node #0,2: 84:[14, 8, 2] Operation: 38/19=2 Moving to Node #0,2 Current State: 84:[14, 8, 2], Operations: ['38/19=2'] Exploring Operation: 8-2=6, Resulting Numbers: [14, 6] Generated Node #0,2,3: 84:[14, 6] Operation: 8-2=6 Moving to Node #0,2,3 Current State: 84:[14, 6], Operations: ['38/19=2', '8-2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 20, 98, 94, 3 ]
48
[ "98-20=78", "94-78=16", "3*16=48" ]
Current State: 48:[20, 98, 94, 3], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [94, 3, 78] Generated Node #2: [94, 3, 78] from Operation: 98-20=78 Current State: 48:[94, 3, 78], Operations: ['98-20=78'] Exploring Operation: 94-78=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 94-78=16 Current State: 48:[3, 16], Operations: ['98-20=78', '94-78=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[20, 98, 94, 3], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [94, 3, 78] Generated Node #0,0: 48:[94, 3, 78] Operation: 98-20=78 Exploring Operation: 94-20=74, Resulting Numbers: [98, 3, 74] Generated Node #0,1: 48:[98, 3, 74] Operation: 94-20=74 Exploring Operation: 20+3=23, Resulting Numbers: [98, 94, 23] Generated Node #0,2: 48:[98, 94, 23] Operation: 20+3=23 Exploring Operation: 98-94=4, Resulting Numbers: [20, 3, 4] Generated Node #0,3: 48:[20, 3, 4] Operation: 98-94=4 Exploring Operation: 20-3=17, Resulting Numbers: [98, 94, 17] Generated Node #0,4: 48:[98, 94, 17] Operation: 20-3=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[20, 3, 4], Operations: ['98-94=4'] Exploring Operation: 20/4=5, Resulting Numbers: [3, 5] Generated Node #0,3,0: 48:[3, 5] Operation: 20/4=5 Exploring Operation: 20+4=24, Resulting Numbers: [3, 24] Generated Node #0,3,1: 48:[3, 24] Operation: 20+4=24 Exploring Operation: 20-4=16, Resulting Numbers: [3, 16] Generated Node #0,3,2: 48:[3, 16] Operation: 20-4=16 Exploring Operation: 20-3=17, Resulting Numbers: [4, 17] Generated Node #0,3,3: 48:[4, 17] Operation: 20-3=17 Exploring Operation: 20+3=23, Resulting Numbers: [4, 23] Generated Node #0,3,4: 48:[4, 23] Operation: 20+3=23 Moving to Node #0,3,1 Current State: 48:[3, 24], Operations: ['98-94=4', '20+4=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[3, 16], Operations: ['98-94=4', '20-4=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[20, 98, 94, 3], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [20, 3, 4] Generated Node #0,3: 48:[20, 3, 4] Operation: 98-94=4 Moving to Node #0,3 Current State: 48:[20, 3, 4], Operations: ['98-94=4'] Exploring Operation: 20-4=16, Resulting Numbers: [3, 16] Generated Node #0,3,2: 48:[3, 16] Operation: 20-4=16 Moving to Node #0,3,2 Current State: 48:[3, 16], Operations: ['98-94=4', '20-4=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 18, 56, 26, 86 ]
22
[ "56-18=38", "86-26=60", "60-38=22" ]
Current State: 22:[18, 56, 26, 86], Operations: [] Exploring Operation: 56-18=38, Resulting Numbers: [26, 86, 38] Generated Node #2: [26, 86, 38] from Operation: 56-18=38 Current State: 22:[26, 86, 38], Operations: ['56-18=38'] Exploring Operation: 86-26=60, Resulting Numbers: [38, 60] Generated Node #3: [38, 60] from Operation: 86-26=60 Current State: 22:[38, 60], Operations: ['56-18=38', '86-26=60'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[18, 56, 26, 86], Operations: [] Exploring Operation: 56-18=38, Resulting Numbers: [26, 86, 38] Generated Node #0,0: 22:[26, 86, 38] Operation: 56-18=38 Exploring Operation: 86-26=60, Resulting Numbers: [18, 56, 60] Generated Node #0,1: 22:[18, 56, 60] Operation: 86-26=60 Exploring Operation: 56-26=30, Resulting Numbers: [18, 86, 30] Generated Node #0,2: 22:[18, 86, 30] Operation: 56-26=30 Exploring Operation: 86-56=30, Resulting Numbers: [18, 26, 30] Generated Node #0,3: 22:[18, 26, 30] Operation: 86-56=30 Moving to Node #0,3 Current State: 22:[18, 26, 30], Operations: ['86-56=30'] Exploring Operation: 18+26=44, Resulting Numbers: [30, 44] Generated Node #0,3,0: 22:[30, 44] Operation: 18+26=44 Exploring Operation: 30-26=4, Resulting Numbers: [18, 4] Generated Node #0,3,1: 22:[18, 4] Operation: 30-26=4 Exploring Operation: 26-18=8, Resulting Numbers: [30, 8] Generated Node #0,3,2: 22:[30, 8] Operation: 26-18=8 Exploring Operation: 30-18=12, Resulting Numbers: [26, 12] Generated Node #0,3,3: 22:[26, 12] Operation: 30-18=12 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[26, 12], Operations: ['86-56=30', '30-18=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,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,3,1 Current State: 22:[18, 4], Operations: ['86-56=30', '30-26=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[18, 56, 26, 86], Operations: [] Exploring Operation: 86-56=30, Resulting Numbers: [18, 26, 30] Generated Node #0,3: 22:[18, 26, 30] Operation: 86-56=30 Moving to Node #0,3 Current State: 22:[18, 26, 30], Operations: ['86-56=30'] Exploring Operation: 30-26=4, Resulting Numbers: [18, 4] Generated Node #0,3,1: 22:[18, 4] Operation: 30-26=4 Moving to Node #0,3,1 Current State: 22:[18, 4], Operations: ['86-56=30', '30-26=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 11, 65, 16, 16 ]
11
[ "16-16=0", "65*0=0", "11+0=11" ]
Current State: 11:[11, 65, 16, 16], Operations: [] Exploring Operation: 16-16=0, Resulting Numbers: [11, 65, 0] Generated Node #2: [11, 65, 0] from Operation: 16-16=0 Current State: 11:[11, 65, 0], Operations: ['16-16=0'] Exploring Operation: 65*0=0, Resulting Numbers: [11, 0] Generated Node #3: [11, 0] from Operation: 65*0=0 Current State: 11:[11, 0], Operations: ['16-16=0', '65*0=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[11, 65, 16, 16], Operations: [] Exploring Operation: 65-16=49, Resulting Numbers: [11, 16, 49] Generated Node #0,0: 11:[11, 16, 49] Operation: 65-16=49 Exploring Operation: 65-16=49, Resulting Numbers: [11, 16, 49] Generated Node #0,1: 11:[11, 16, 49] Operation: 65-16=49 Moving to Node #0,0 Current State: 11:[11, 16, 49], Operations: ['65-16=49'] Exploring Operation: 49-11=38, Resulting Numbers: [16, 38] Generated Node #0,0,0: 11:[16, 38] Operation: 49-11=38 Exploring Operation: 49-16=33, Resulting Numbers: [11, 33] Generated Node #0,0,1: 11:[11, 33] Operation: 49-16=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[11, 33], Operations: ['65-16=49', '49-16=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[16, 38], Operations: ['65-16=49', '49-11=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,11 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: 11:[11, 16, 49], Operations: ['65-16=49'] Exploring Operation: 49-16=33, Resulting Numbers: [11, 33] Generated Node #0,1,0: 11:[11, 33] Operation: 49-16=33 Exploring Operation: 49-11=38, Resulting Numbers: [16, 38] Generated Node #0,1,1: 11:[16, 38] Operation: 49-11=38 Moving to Node #0,1,0 Current State: 11:[11, 33], Operations: ['65-16=49', '49-16=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[16, 38], Operations: ['65-16=49', '49-11=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 32, 61, 40, 66 ]
67
[ "32+61=93", "66-40=26", "93-26=67" ]
Current State: 67:[32, 61, 40, 66], Operations: [] Exploring Operation: 32+61=93, Resulting Numbers: [40, 66, 93] Generated Node #2: [40, 66, 93] from Operation: 32+61=93 Current State: 67:[40, 66, 93], Operations: ['32+61=93'] Exploring Operation: 66-40=26, Resulting Numbers: [93, 26] Generated Node #3: [93, 26] from Operation: 66-40=26 Current State: 67:[93, 26], Operations: ['32+61=93', '66-40=26'] Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[32, 61, 40, 66], Operations: [] Exploring Operation: 32+40=72, Resulting Numbers: [61, 66, 72] Generated Node #0,0: 67:[61, 66, 72] Operation: 32+40=72 Moving to Node #0,0 Current State: 67:[61, 66, 72], Operations: ['32+40=72'] Exploring Operation: 72-61=11, Resulting Numbers: [66, 11] Generated Node #0,0,0: 67:[66, 11] Operation: 72-61=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[66, 11], Operations: ['32+40=72', '72-61=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 57, 75, 63, 1 ]
69
[ "57+75=132", "63*1=63", "132-63=69" ]
Current State: 69:[57, 75, 63, 1], Operations: [] Exploring Operation: 57+75=132, Resulting Numbers: [63, 1, 132] Generated Node #2: [63, 1, 132] from Operation: 57+75=132 Current State: 69:[63, 1, 132], Operations: ['57+75=132'] Exploring Operation: 63*1=63, Resulting Numbers: [132, 63] Generated Node #3: [132, 63] from Operation: 63*1=63 Current State: 69:[132, 63], Operations: ['57+75=132', '63*1=63'] Exploring Operation: 132-63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[57, 75, 63, 1], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [75, 1, 6] Generated Node #0,0: 69:[75, 1, 6] Operation: 63-57=6 Exploring Operation: 75-57=18, Resulting Numbers: [63, 1, 18] Generated Node #0,1: 69:[63, 1, 18] Operation: 75-57=18 Moving to Node #0,0 Current State: 69:[75, 1, 6], Operations: ['63-57=6'] Exploring Operation: 75-6=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 69:[1, 69] Operation: 75-6=69 Exploring Operation: 75-1=74, Resulting Numbers: [6, 74] Generated Node #0,0,1: 69:[6, 74] Operation: 75-1=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[1, 69], Operations: ['63-57=6', '75-6=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[57, 75, 63, 1], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [75, 1, 6] Generated Node #0,0: 69:[75, 1, 6] Operation: 63-57=6 Moving to Node #0,0 Current State: 69:[75, 1, 6], Operations: ['63-57=6'] Exploring Operation: 75-6=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 69:[1, 69] Operation: 75-6=69 Moving to Node #0,0,0 Current State: 69:[1, 69], Operations: ['63-57=6', '75-6=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 27, 24, 61, 37 ]
75
[ "27+24=51", "61-37=24", "51+24=75" ]
Current State: 75:[27, 24, 61, 37], Operations: [] Exploring Operation: 27+24=51, Resulting Numbers: [61, 37, 51] Generated Node #2: [61, 37, 51] from Operation: 27+24=51 Current State: 75:[61, 37, 51], Operations: ['27+24=51'] Exploring Operation: 61-37=24, Resulting Numbers: [51, 24] Generated Node #3: [51, 24] from Operation: 61-37=24 Current State: 75:[51, 24], Operations: ['27+24=51', '61-37=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[27, 24, 61, 37], Operations: [] Exploring Operation: 37-24=13, Resulting Numbers: [27, 61, 13] Generated Node #0,0: 75:[27, 61, 13] Operation: 37-24=13 Exploring Operation: 61-37=24, Resulting Numbers: [27, 24, 24] Generated Node #0,1: 75:[27, 24, 24] Operation: 61-37=24 Moving to Node #0,1 Current State: 75:[27, 24, 24], Operations: ['61-37=24'] Exploring Operation: 27-24=3, Resulting Numbers: [24, 3] Generated Node #0,1,0: 75:[24, 3] Operation: 27-24=3 Exploring Operation: 27-24=3, Resulting Numbers: [24, 3] Generated Node #0,1,1: 75:[24, 3] Operation: 27-24=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[24, 3], Operations: ['61-37=24', '27-24=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,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:[24, 3], Operations: ['61-37=24', '27-24=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,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:[27, 61, 13], Operations: ['37-24=13'] Exploring Operation: 61+13=74, Resulting Numbers: [27, 74] Generated Node #0,0,0: 75:[27, 74] Operation: 61+13=74 Exploring Operation: 61-27=34, Resulting Numbers: [13, 34] Generated Node #0,0,1: 75:[13, 34] Operation: 61-27=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[27, 74], Operations: ['37-24=13', '61+13=74'] Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,75 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,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:[13, 34], Operations: ['37-24=13', '61-27=34'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 88, 75, 61, 42 ]
91
[ "75-61=14", "42/14=3", "88+3=91" ]
Current State: 91:[88, 75, 61, 42], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [88, 42, 14] Generated Node #2: [88, 42, 14] from Operation: 75-61=14 Current State: 91:[88, 42, 14], Operations: ['75-61=14'] Exploring Operation: 42/14=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 42/14=3 Current State: 91:[88, 3], Operations: ['75-61=14', '42/14=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[88, 75, 61, 42], Operations: [] Exploring Operation: 61+42=103, Resulting Numbers: [88, 75, 103] Generated Node #0,0: 91:[88, 75, 103] Operation: 61+42=103 Exploring Operation: 61-42=19, Resulting Numbers: [88, 75, 19] Generated Node #0,1: 91:[88, 75, 19] Operation: 61-42=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[88, 75, 19], Operations: ['61-42=19'] Exploring Operation: 88-75=13, Resulting Numbers: [19, 13] Generated Node #0,1,0: 91:[19, 13] Operation: 88-75=13 Exploring Operation: 75+19=94, Resulting Numbers: [88, 94] Generated Node #0,1,1: 91:[88, 94] Operation: 75+19=94 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[19, 13], Operations: ['61-42=19', '88-75=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[88, 94], Operations: ['61-42=19', '75+19=94'] Exploring Operation: 88+94=182, Resulting Numbers: [182] 182,91 unequal: No Solution Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[88, 75, 103], Operations: ['61+42=103'] Exploring Operation: 103-88=15, Resulting Numbers: [75, 15] Generated Node #0,0,0: 91:[75, 15] Operation: 103-88=15 Exploring Operation: 88-75=13, Resulting Numbers: [103, 13] Generated Node #0,0,1: 91:[103, 13] Operation: 88-75=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[103, 13], Operations: ['61+42=103', '88-75=13'] Exploring Operation: 103-13=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 103+13=116, Resulting Numbers: [116] 116,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[75, 15], Operations: ['61+42=103', '103-88=15'] Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 45, 75, 3, 99 ]
39
[ "45*3=135", "75+99=174", "174-135=39" ]
Current State: 39:[45, 75, 3, 99], Operations: [] Exploring Operation: 45*3=135, Resulting Numbers: [75, 99, 135] Generated Node #2: [75, 99, 135] from Operation: 45*3=135 Current State: 39:[75, 99, 135], Operations: ['45*3=135'] Exploring Operation: 75+99=174, Resulting Numbers: [135, 174] Generated Node #3: [135, 174] from Operation: 75+99=174 Current State: 39:[135, 174], Operations: ['45*3=135', '75+99=174'] Exploring Operation: 174-135=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[45, 75, 3, 99], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [45, 3, 24] Generated Node #0,0: 39:[45, 3, 24] Operation: 99-75=24 Moving to Node #0,0 Current State: 39:[45, 3, 24], Operations: ['99-75=24'] Exploring Operation: 45-24=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 39:[3, 21] Operation: 45-24=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[3, 21], Operations: ['99-75=24', '45-24=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,39 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
[ 34, 10, 82, 40 ]
52
[ "82-34=48", "40/10=4", "48+4=52" ]
Current State: 52:[34, 10, 82, 40], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [10, 40, 48] Generated Node #2: [10, 40, 48] from Operation: 82-34=48 Current State: 52:[10, 40, 48], Operations: ['82-34=48'] Exploring Operation: 40/10=4, Resulting Numbers: [48, 4] Generated Node #3: [48, 4] from Operation: 40/10=4 Current State: 52:[48, 4], Operations: ['82-34=48', '40/10=4'] Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[34, 10, 82, 40], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [10, 82, 6] Generated Node #0,0: 52:[10, 82, 6] Operation: 40-34=6 Exploring Operation: 40/10=4, Resulting Numbers: [34, 82, 4] Generated Node #0,1: 52:[34, 82, 4] Operation: 40/10=4 Exploring Operation: 82-10=72, Resulting Numbers: [34, 40, 72] Generated Node #0,2: 52:[34, 40, 72] Operation: 82-10=72 Exploring Operation: 82-34=48, Resulting Numbers: [10, 40, 48] Generated Node #0,3: 52:[10, 40, 48] Operation: 82-34=48 Exploring Operation: 82-40=42, Resulting Numbers: [34, 10, 42] Generated Node #0,4: 52:[34, 10, 42] Operation: 82-40=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[10, 40, 48], Operations: ['82-34=48'] Exploring Operation: 40-10=30, Resulting Numbers: [48, 30] Generated Node #0,3,0: 52:[48, 30] Operation: 40-10=30 Exploring Operation: 10+48=58, Resulting Numbers: [40, 58] Generated Node #0,3,1: 52:[40, 58] Operation: 10+48=58 Exploring Operation: 10+40=50, Resulting Numbers: [48, 50] Generated Node #0,3,2: 52:[48, 50] Operation: 10+40=50 Exploring Operation: 40/10=4, Resulting Numbers: [48, 4] Generated Node #0,3,3: 52:[48, 4] Operation: 40/10=4 Exploring Operation: 48-40=8, Resulting Numbers: [10, 8] Generated Node #0,3,4: 52:[10, 8] Operation: 48-40=8 Moving to Node #0,3,3 Current State: 52:[48, 4], Operations: ['82-34=48', '40/10=4'] Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,52 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[34, 10, 82, 40], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [10, 40, 48] Generated Node #0,3: 52:[10, 40, 48] Operation: 82-34=48 Moving to Node #0,3 Current State: 52:[10, 40, 48], Operations: ['82-34=48'] Exploring Operation: 40/10=4, Resulting Numbers: [48, 4] Generated Node #0,3,3: 52:[48, 4] Operation: 40/10=4 Moving to Node #0,3,3 Current State: 52:[48, 4], Operations: ['82-34=48', '40/10=4'] Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 31, 2, 74, 63 ]
83
[ "74-31=43", "2*63=126", "126-43=83" ]
Current State: 83:[31, 2, 74, 63], Operations: [] Exploring Operation: 74-31=43, Resulting Numbers: [2, 63, 43] Generated Node #2: [2, 63, 43] from Operation: 74-31=43 Current State: 83:[2, 63, 43], Operations: ['74-31=43'] Exploring Operation: 2*63=126, Resulting Numbers: [43, 126] Generated Node #3: [43, 126] from Operation: 2*63=126 Current State: 83:[43, 126], Operations: ['74-31=43', '2*63=126'] Exploring Operation: 126-43=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[31, 2, 74, 63], Operations: [] Exploring Operation: 2+74=76, Resulting Numbers: [31, 63, 76] Generated Node #0,0: 83:[31, 63, 76] Operation: 2+74=76 Exploring Operation: 31*2=62, Resulting Numbers: [74, 63, 62] Generated Node #0,1: 83:[74, 63, 62] Operation: 31*2=62 Exploring Operation: 31+2=33, Resulting Numbers: [74, 63, 33] Generated Node #0,2: 83:[74, 63, 33] Operation: 31+2=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[74, 63, 62], Operations: ['31*2=62'] Exploring Operation: 74+63=137, Resulting Numbers: [62, 137] Generated Node #0,1,0: 83:[62, 137] Operation: 74+63=137 Exploring Operation: 63+62=125, Resulting Numbers: [74, 125] Generated Node #0,1,1: 83:[74, 125] Operation: 63+62=125 Exploring Operation: 74+62=136, Resulting Numbers: [63, 136] Generated Node #0,1,2: 83:[63, 136] Operation: 74+62=136 Moving to Node #0,1,1 Current State: 83:[74, 125], Operations: ['31*2=62', '63+62=125'] Exploring Operation: 125-74=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 74+125=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 74*125=9250, Resulting Numbers: [9250] 9250,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[63, 136], Operations: ['31*2=62', '74+62=136'] Exploring Operation: 136-63=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 63+136=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 63*136=8568, Resulting Numbers: [8568] 8568,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[62, 137], Operations: ['31*2=62', '74+63=137'] Exploring Operation: 137-62=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 62*137=8494, Resulting Numbers: [8494] 8494,83 unequal: No Solution Exploring Operation: 62+137=199, Resulting Numbers: [199] 199,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[31, 63, 76], Operations: ['2+74=76'] Exploring Operation: 31+63=94, Resulting Numbers: [76, 94] Generated Node #0,0,0: 83:[76, 94] Operation: 31+63=94 Exploring Operation: 31+76=107, Resulting Numbers: [63, 107] Generated Node #0,0,1: 83:[63, 107] Operation: 31+76=107 Exploring Operation: 63-31=32, Resulting Numbers: [76, 32] Generated Node #0,0,2: 83:[76, 32] Operation: 63-31=32 Moving to Node #0,0,0 Current State: 83:[76, 94], Operations: ['2+74=76', '31+63=94'] Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 76*94=7144, Resulting Numbers: [7144] 7144,83 unequal: No Solution Exploring Operation: 76+94=170, Resulting Numbers: [170] 170,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[63, 107], Operations: ['2+74=76', '31+76=107'] Exploring Operation: 63+107=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 107-63=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 63*107=6741, Resulting Numbers: [6741] 6741,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[76, 32], Operations: ['2+74=76', '63-31=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,83 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[74, 63, 33], Operations: ['31+2=33'] Exploring Operation: 74-33=41, Resulting Numbers: [63, 41] Generated Node #0,2,0: 83:[63, 41] Operation: 74-33=41 Exploring Operation: 74+33=107, Resulting Numbers: [63, 107] Generated Node #0,2,1: 83:[63, 107] Operation: 74+33=107 Exploring Operation: 63+33=96, Resulting Numbers: [74, 96] Generated Node #0,2,2: 83:[74, 96] Operation: 63+33=96 Moving to Node #0,2,2 Current State: 83:[74, 96], Operations: ['31+2=33', '63+33=96'] Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,83 unequal: No Solution Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[63, 107], Operations: ['31+2=33', '74+33=107'] Exploring Operation: 63*107=6741, Resulting Numbers: [6741] 6741,83 unequal: No Solution Exploring Operation: 63+107=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 107-63=44, Resulting Numbers: [44] 44,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[63, 41], Operations: ['31+2=33', '74-33=41'] Exploring Operation: 63+41=104, Resulting Numbers: [104] 104,83 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 63*41=2583, Resulting Numbers: [2583] 2583,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 8, 94, 25, 50 ]
27
[ "8+94=102", "25+50=75", "102-75=27" ]
Current State: 27:[8, 94, 25, 50], Operations: [] Exploring Operation: 8+94=102, Resulting Numbers: [25, 50, 102] Generated Node #2: [25, 50, 102] from Operation: 8+94=102 Current State: 27:[25, 50, 102], Operations: ['8+94=102'] Exploring Operation: 25+50=75, Resulting Numbers: [102, 75] Generated Node #3: [102, 75] from Operation: 25+50=75 Current State: 27:[102, 75], Operations: ['8+94=102', '25+50=75'] Exploring Operation: 102-75=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[8, 94, 25, 50], Operations: [] Exploring Operation: 94-25=69, Resulting Numbers: [8, 50, 69] Generated Node #0,0: 27:[8, 50, 69] Operation: 94-25=69 Exploring Operation: 50/25=2, Resulting Numbers: [8, 94, 2] Generated Node #0,1: 27:[8, 94, 2] Operation: 50/25=2 Exploring Operation: 50-25=25, Resulting Numbers: [8, 94, 25] Generated Node #0,2: 27:[8, 94, 25] Operation: 50-25=25 Exploring Operation: 94-50=44, Resulting Numbers: [8, 25, 44] Generated Node #0,3: 27:[8, 25, 44] Operation: 94-50=44 Moving to Node #0,3 Current State: 27:[8, 25, 44], Operations: ['94-50=44'] Exploring Operation: 25-8=17, Resulting Numbers: [44, 17] Generated Node #0,3,0: 27:[44, 17] Operation: 25-8=17 Exploring Operation: 8+25=33, Resulting Numbers: [44, 33] Generated Node #0,3,1: 27:[44, 33] Operation: 8+25=33 Exploring Operation: 44-8=36, Resulting Numbers: [25, 36] Generated Node #0,3,2: 27:[25, 36] Operation: 44-8=36 Exploring Operation: 44-25=19, Resulting Numbers: [8, 19] Generated Node #0,3,3: 27:[8, 19] Operation: 44-25=19 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[8, 19], Operations: ['94-50=44', '44-25=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[8, 94, 25, 50], Operations: [] Exploring Operation: 94-50=44, Resulting Numbers: [8, 25, 44] Generated Node #0,3: 27:[8, 25, 44] Operation: 94-50=44 Moving to Node #0,3 Current State: 27:[8, 25, 44], Operations: ['94-50=44'] Exploring Operation: 44-25=19, Resulting Numbers: [8, 19] Generated Node #0,3,3: 27:[8, 19] Operation: 44-25=19 Moving to Node #0,3,3 Current State: 27:[8, 19], Operations: ['94-50=44', '44-25=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 37, 12, 8, 11 ]
75
[ "37-12=25", "11-8=3", "25*3=75" ]
Current State: 75:[37, 12, 8, 11], Operations: [] Exploring Operation: 37-12=25, Resulting Numbers: [8, 11, 25] Generated Node #2: [8, 11, 25] from Operation: 37-12=25 Current State: 75:[8, 11, 25], Operations: ['37-12=25'] Exploring Operation: 11-8=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 11-8=3 Current State: 75:[25, 3], Operations: ['37-12=25', '11-8=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[37, 12, 8, 11], Operations: [] Exploring Operation: 37-12=25, Resulting Numbers: [8, 11, 25] Generated Node #0,0: 75:[8, 11, 25] Operation: 37-12=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[8, 11, 25], Operations: ['37-12=25'] Exploring Operation: 11-8=3, Resulting Numbers: [25, 3] Generated Node #0,0,0: 75:[25, 3] Operation: 11-8=3 Moving to Node #0,0,0 Current State: 75:[25, 3], Operations: ['37-12=25', '11-8=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[37, 12, 8, 11], Operations: [] Exploring Operation: 37-12=25, Resulting Numbers: [8, 11, 25] Generated Node #0,0: 75:[8, 11, 25] Operation: 37-12=25 Moving to Node #0,0 Current State: 75:[8, 11, 25], Operations: ['37-12=25'] Exploring Operation: 11-8=3, Resulting Numbers: [25, 3] Generated Node #0,0,0: 75:[25, 3] Operation: 11-8=3 Moving to Node #0,0,0 Current State: 75:[25, 3], Operations: ['37-12=25', '11-8=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 35, 43, 85, 90 ]
97
[ "35+43=78", "85+90=175", "175-78=97" ]
Current State: 97:[35, 43, 85, 90], Operations: [] Exploring Operation: 35+43=78, Resulting Numbers: [85, 90, 78] Generated Node #2: [85, 90, 78] from Operation: 35+43=78 Current State: 97:[85, 90, 78], Operations: ['35+43=78'] Exploring Operation: 85+90=175, Resulting Numbers: [78, 175] Generated Node #3: [78, 175] from Operation: 85+90=175 Current State: 97:[78, 175], Operations: ['35+43=78', '85+90=175'] Exploring Operation: 175-78=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[35, 43, 85, 90], Operations: [] Exploring Operation: 35+43=78, Resulting Numbers: [85, 90, 78] Generated Node #0,0: 97:[85, 90, 78] Operation: 35+43=78 Exploring Operation: 35+85=120, Resulting Numbers: [43, 90, 120] Generated Node #0,1: 97:[43, 90, 120] Operation: 35+85=120 Exploring Operation: 35+90=125, Resulting Numbers: [43, 85, 125] Generated Node #0,2: 97:[43, 85, 125] Operation: 35+90=125 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[85, 90, 78], Operations: ['35+43=78'] Exploring Operation: 85+78=163, Resulting Numbers: [90, 163] Generated Node #0,0,0: 97:[90, 163] Operation: 85+78=163 Exploring Operation: 85+90=175, Resulting Numbers: [78, 175] Generated Node #0,0,1: 97:[78, 175] Operation: 85+90=175 Exploring Operation: 90+78=168, Resulting Numbers: [85, 168] Generated Node #0,0,2: 97:[85, 168] Operation: 90+78=168 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[90, 163], Operations: ['35+43=78', '85+78=163'] Exploring Operation: 90+163=253, Resulting Numbers: [253] 253,97 unequal: No Solution Exploring Operation: 90*163=14670, Resulting Numbers: [14670] 14670,97 unequal: No Solution Exploring Operation: 163-90=73, Resulting Numbers: [73] 73,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[85, 168], Operations: ['35+43=78', '90+78=168'] Exploring Operation: 85+168=253, Resulting Numbers: [253] 253,97 unequal: No Solution Exploring Operation: 168-85=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 85*168=14280, Resulting Numbers: [14280] 14280,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[78, 175], Operations: ['35+43=78', '85+90=175'] Exploring Operation: 175-78=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[35, 43, 85, 90], Operations: [] Exploring Operation: 35+43=78, Resulting Numbers: [85, 90, 78] Generated Node #0,0: 97:[85, 90, 78] Operation: 35+43=78 Moving to Node #0,0 Current State: 97:[85, 90, 78], Operations: ['35+43=78'] Exploring Operation: 85+90=175, Resulting Numbers: [78, 175] Generated Node #0,0,1: 97:[78, 175] Operation: 85+90=175 Moving to Node #0,0,1 Current State: 97:[78, 175], Operations: ['35+43=78', '85+90=175'] Exploring Operation: 175-78=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 7, 5, 20, 15 ]
20
[ "15-7=8", "5*8=40", "40-20=20" ]
Current State: 20:[7, 5, 20, 15], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [5, 20, 8] Generated Node #2: [5, 20, 8] from Operation: 15-7=8 Current State: 20:[5, 20, 8], Operations: ['15-7=8'] Exploring Operation: 5*8=40, Resulting Numbers: [20, 40] Generated Node #3: [20, 40] from Operation: 5*8=40 Current State: 20:[20, 40], Operations: ['15-7=8', '5*8=40'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[7, 5, 20, 15], Operations: [] Exploring Operation: 7+15=22, Resulting Numbers: [5, 20, 22] Generated Node #0,0: 20:[5, 20, 22] Operation: 7+15=22 Exploring Operation: 15-7=8, Resulting Numbers: [5, 20, 8] Generated Node #0,1: 20:[5, 20, 8] Operation: 15-7=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[5, 20, 22], Operations: ['7+15=22'] Exploring Operation: 22-20=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 20:[5, 2] Operation: 22-20=2 Exploring Operation: 20/5=4, Resulting Numbers: [22, 4] Generated Node #0,0,1: 20:[22, 4] Operation: 20/5=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[5, 2], Operations: ['7+15=22', '22-20=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,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,0,1 Current State: 20:[22, 4], Operations: ['7+15=22', '20/5=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,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,1 Current State: 20:[5, 20, 8], Operations: ['15-7=8'] Exploring Operation: 20/5=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 20:[8, 4] Operation: 20/5=4 Exploring Operation: 8-5=3, Resulting Numbers: [20, 3] Generated Node #0,1,1: 20:[20, 3] Operation: 8-5=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[20, 3], Operations: ['15-7=8', '8-5=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,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,1,0 Current State: 20:[8, 4], Operations: ['15-7=8', '20/5=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,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 No solution found.
0
hs_2
sum_heuristic
[ 57, 14, 94, 46 ]
67
[ "94+46=140", "140/14=10", "57+10=67" ]
Current State: 67:[57, 14, 94, 46], Operations: [] Exploring Operation: 94+46=140, Resulting Numbers: [57, 14, 140] Generated Node #2: [57, 14, 140] from Operation: 94+46=140 Current State: 67:[57, 14, 140], Operations: ['94+46=140'] Exploring Operation: 140/14=10, Resulting Numbers: [57, 10] Generated Node #3: [57, 10] from Operation: 140/14=10 Current State: 67:[57, 10], Operations: ['94+46=140', '140/14=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[57, 14, 94, 46], Operations: [] Exploring Operation: 57+14=71, Resulting Numbers: [94, 46, 71] Generated Node #0,0: 67:[94, 46, 71] Operation: 57+14=71 Exploring Operation: 57-14=43, Resulting Numbers: [94, 46, 43] Generated Node #0,1: 67:[94, 46, 43] Operation: 57-14=43 Exploring Operation: 14+94=108, Resulting Numbers: [57, 46, 108] Generated Node #0,2: 67:[57, 46, 108] Operation: 14+94=108 Exploring Operation: 94-14=80, Resulting Numbers: [57, 46, 80] Generated Node #0,3: 67:[57, 46, 80] Operation: 94-14=80 Exploring Operation: 14+46=60, Resulting Numbers: [57, 94, 60] Generated Node #0,4: 67:[57, 94, 60] Operation: 14+46=60 Moving to Node #0,3 Current State: 67:[57, 46, 80], Operations: ['94-14=80'] Exploring Operation: 57-46=11, Resulting Numbers: [80, 11] Generated Node #0,3,0: 67:[80, 11] Operation: 57-46=11 Exploring Operation: 57+46=103, Resulting Numbers: [80, 103] Generated Node #0,3,1: 67:[80, 103] Operation: 57+46=103 Exploring Operation: 80-46=34, Resulting Numbers: [57, 34] Generated Node #0,3,2: 67:[57, 34] Operation: 80-46=34 Exploring Operation: 80-57=23, Resulting Numbers: [46, 23] Generated Node #0,3,3: 67:[46, 23] Operation: 80-57=23 Exploring Operation: 46+80=126, Resulting Numbers: [57, 126] Generated Node #0,3,4: 67:[57, 126] Operation: 46+80=126 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[57, 34], Operations: ['94-14=80', '80-46=34'] Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[80, 103], Operations: ['94-14=80', '57+46=103'] Exploring Operation: 80*103=8240, Resulting Numbers: [8240] 8240,67 unequal: No Solution Exploring Operation: 80+103=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[46, 23], Operations: ['94-14=80', '80-57=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 46*23=1058, Resulting Numbers: [1058] 1058,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[80, 11], Operations: ['94-14=80', '57-46=11'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,67 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 67:[57, 126], Operations: ['94-14=80', '46+80=126'] Exploring Operation: 126-57=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 57+126=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 57*126=7182, Resulting Numbers: [7182] 7182,67 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: 67:[57, 94, 60], Operations: ['14+46=60'] Exploring Operation: 57+60=117, Resulting Numbers: [94, 117] Generated Node #0,4,0: 67:[94, 117] Operation: 57+60=117 Exploring Operation: 60-57=3, Resulting Numbers: [94, 3] Generated Node #0,4,1: 67:[94, 3] Operation: 60-57=3 Exploring Operation: 57+94=151, Resulting Numbers: [60, 151] Generated Node #0,4,2: 67:[60, 151] Operation: 57+94=151 Exploring Operation: 94-57=37, Resulting Numbers: [60, 37] Generated Node #0,4,3: 67:[60, 37] Operation: 94-57=37 Exploring Operation: 94-60=34, Resulting Numbers: [57, 34] Generated Node #0,4,4: 67:[57, 34] Operation: 94-60=34 Moving to Node #0,0 Current State: 67:[94, 46, 71], Operations: ['57+14=71'] Exploring Operation: 71-46=25, Resulting Numbers: [94, 25] Generated Node #0,0,0: 67:[94, 25] Operation: 71-46=25 Exploring Operation: 46+71=117, Resulting Numbers: [94, 117] Generated Node #0,0,1: 67:[94, 117] Operation: 46+71=117 Exploring Operation: 94-46=48, Resulting Numbers: [71, 48] Generated Node #0,0,2: 67:[71, 48] Operation: 94-46=48 Exploring Operation: 94+46=140, Resulting Numbers: [71, 140] Generated Node #0,0,3: 67:[71, 140] Operation: 94+46=140 Exploring Operation: 94-71=23, Resulting Numbers: [46, 23] Generated Node #0,0,4: 67:[46, 23] Operation: 94-71=23 Moving to Node #0,1 Current State: 67:[94, 46, 43], Operations: ['57-14=43'] Exploring Operation: 94-46=48, Resulting Numbers: [43, 48] Generated Node #0,1,0: 67:[43, 48] Operation: 94-46=48 Exploring Operation: 94-43=51, Resulting Numbers: [46, 51] Generated Node #0,1,1: 67:[46, 51] Operation: 94-43=51 Exploring Operation: 46+43=89, Resulting Numbers: [94, 89] Generated Node #0,1,2: 67:[94, 89] Operation: 46+43=89 Exploring Operation: 94+43=137, Resulting Numbers: [46, 137] Generated Node #0,1,3: 67:[46, 137] Operation: 94+43=137 Exploring Operation: 46-43=3, Resulting Numbers: [94, 3] Generated Node #0,1,4: 67:[94, 3] Operation: 46-43=3 Moving to Node #0,2 Current State: 67:[57, 46, 108], Operations: ['14+94=108'] Exploring Operation: 57+46=103, Resulting Numbers: [108, 103] Generated Node #0,2,0: 67:[108, 103] Operation: 57+46=103 Exploring Operation: 108-57=51, Resulting Numbers: [46, 51] Generated Node #0,2,1: 67:[46, 51] Operation: 108-57=51 Exploring Operation: 108-46=62, Resulting Numbers: [57, 62] Generated Node #0,2,2: 67:[57, 62] Operation: 108-46=62 Exploring Operation: 46+108=154, Resulting Numbers: [57, 154] Generated Node #0,2,3: 67:[57, 154] Operation: 46+108=154 Exploring Operation: 57-46=11, Resulting Numbers: [108, 11] Generated Node #0,2,4: 67:[108, 11] Operation: 57-46=11 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[57, 62], Operations: ['14+94=108', '108-46=62'] Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[46, 51], Operations: ['14+94=108', '108-57=51'] Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,67 unequal: No Solution Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,67 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[108, 103], Operations: ['14+94=108', '57+46=103'] Exploring Operation: 108*103=11124, Resulting Numbers: [11124] 11124,67 unequal: No Solution Exploring Operation: 108-103=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 108+103=211, Resulting Numbers: [211] 211,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[57, 154], Operations: ['14+94=108', '46+108=154'] Exploring Operation: 154-57=97, Resulting Numbers: [97] 97,67 unequal: No Solution Exploring Operation: 57*154=8778, Resulting Numbers: [8778] 8778,67 unequal: No Solution Exploring Operation: 57+154=211, Resulting Numbers: [211] 211,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 67:[108, 11], Operations: ['14+94=108', '57-46=11'] Exploring Operation: 108*11=1188, Resulting Numbers: [1188] 1188,67 unequal: No Solution Exploring Operation: 108+11=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 108-11=97, Resulting Numbers: [97] 97,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 67:[71, 48], Operations: ['57+14=71', '94-46=48'] Exploring Operation: 71*48=3408, Resulting Numbers: [3408] 3408,67 unequal: No Solution Exploring Operation: 71+48=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[60, 37], Operations: ['14+46=60', '94-57=37'] Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 60*37=2220, Resulting Numbers: [2220] 2220,67 unequal: No Solution Exploring Operation: 60+37=97, Resulting Numbers: [97] 97,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[46, 51], Operations: ['57-14=43', '94-43=51'] Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,67 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[43, 48], Operations: ['57-14=43', '94-46=48'] Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 43*48=2064, Resulting Numbers: [2064] 2064,67 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[57, 34], Operations: ['14+46=60', '94-60=34'] Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[94, 89], Operations: ['57-14=43', '46+43=89'] Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 94*89=8366, Resulting Numbers: [8366] 8366,67 unequal: No Solution Exploring Operation: 94+89=183, Resulting Numbers: [183] 183,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[46, 23], Operations: ['57+14=71', '94-71=23'] Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 46*23=1058, Resulting Numbers: [1058] 1058,67 unequal: No Solution Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[94, 25], Operations: ['57+14=71', '71-46=25'] Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 94*25=2350, Resulting Numbers: [2350] 2350,67 unequal: No Solution Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[94, 117], Operations: ['14+46=60', '57+60=117'] Exploring Operation: 94*117=10998, Resulting Numbers: [10998] 10998,67 unequal: No Solution Exploring Operation: 117-94=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 94+117=211, Resulting Numbers: [211] 211,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[71, 140], Operations: ['57+14=71', '94+46=140'] Exploring Operation: 71*140=9940, Resulting Numbers: [9940] 9940,67 unequal: No Solution Exploring Operation: 140-71=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 71+140=211, Resulting Numbers: [211] 211,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[94, 117], Operations: ['57+14=71', '46+71=117'] Exploring Operation: 94+117=211, Resulting Numbers: [211] 211,67 unequal: No Solution Exploring Operation: 94*117=10998, Resulting Numbers: [10998] 10998,67 unequal: No Solution Exploring Operation: 117-94=23, Resulting Numbers: [23] 23,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[46, 137], Operations: ['57-14=43', '94+43=137'] Exploring Operation: 137-46=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 46*137=6302, Resulting Numbers: [6302] 6302,67 unequal: No Solution Exploring Operation: 46+137=183, Resulting Numbers: [183] 183,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[60, 151], Operations: ['14+46=60', '57+94=151'] Exploring Operation: 151-60=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 60+151=211, Resulting Numbers: [211] 211,67 unequal: No Solution Exploring Operation: 60*151=9060, Resulting Numbers: [9060] 9060,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[94, 3], Operations: ['57-14=43', '46-43=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,67 unequal: No Solution Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[94, 3], Operations: ['14+46=60', '60-57=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,67 unequal: No Solution Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 18, 2, 9, 1 ]
53
[ "18+9=27", "2*27=54", "54-1=53" ]
Current State: 53:[18, 2, 9, 1], Operations: [] Exploring Operation: 18+9=27, Resulting Numbers: [2, 1, 27] Generated Node #2: [2, 1, 27] from Operation: 18+9=27 Current State: 53:[2, 1, 27], Operations: ['18+9=27'] Exploring Operation: 2*27=54, Resulting Numbers: [1, 54] Generated Node #3: [1, 54] from Operation: 2*27=54 Current State: 53:[1, 54], Operations: ['18+9=27', '2*27=54'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[18, 2, 9, 1], Operations: [] Exploring Operation: 18+9=27, Resulting Numbers: [2, 1, 27] Generated Node #0,0: 53:[2, 1, 27] Operation: 18+9=27 Exploring Operation: 18+1=19, Resulting Numbers: [2, 9, 19] Generated Node #0,1: 53:[2, 9, 19] Operation: 18+1=19 Exploring Operation: 18*2=36, Resulting Numbers: [9, 1, 36] Generated Node #0,2: 53:[9, 1, 36] Operation: 18*2=36 Exploring Operation: 18+2=20, Resulting Numbers: [9, 1, 20] Generated Node #0,3: 53:[9, 1, 20] Operation: 18+2=20 Exploring Operation: 2*9=18, Resulting Numbers: [18, 1, 18] Generated Node #0,4: 53:[18, 1, 18] Operation: 2*9=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[9, 1, 36], Operations: ['18*2=36'] Exploring Operation: 9+36=45, Resulting Numbers: [1, 45] Generated Node #0,2,0: 53:[1, 45] Operation: 9+36=45 Exploring Operation: 9/1=9, Resulting Numbers: [36, 9] Generated Node #0,2,1: 53:[36, 9] Operation: 9/1=9 Exploring Operation: 9+1=10, Resulting Numbers: [36, 10] Generated Node #0,2,2: 53:[36, 10] Operation: 9+1=10 Exploring Operation: 9*1=9, Resulting Numbers: [36, 9] Generated Node #0,2,3: 53:[36, 9] Operation: 9*1=9 Exploring Operation: 1+36=37, Resulting Numbers: [9, 37] Generated Node #0,2,4: 53:[9, 37] Operation: 1+36=37 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[1, 45], Operations: ['18*2=36', '9+36=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,53 unequal: No Solution No 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: 53:[36, 10], Operations: ['18*2=36', '9+1=10'] Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,53 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,53 unequal: No Solution No 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: 53:[9, 37], Operations: ['18*2=36', '1+36=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,53 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,53 unequal: No Solution No 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: 53:[36, 9], Operations: ['18*2=36', '9/1=9'] Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,53 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,53 unequal: No Solution No 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: 53:[36, 9], Operations: ['18*2=36', '9*1=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,53 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,53 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: 53:[18, 1, 18], Operations: ['2*9=18'] Exploring Operation: 18+1=19, Resulting Numbers: [18, 19] Generated Node #0,4,0: 53:[18, 19] Operation: 18+1=19 Exploring Operation: 18+18=36, Resulting Numbers: [1, 36] Generated Node #0,4,1: 53:[1, 36] Operation: 18+18=36 Exploring Operation: 18/1=18, Resulting Numbers: [18, 18] Generated Node #0,4,2: 53:[18, 18] Operation: 18/1=18 Exploring Operation: 18*1=18, Resulting Numbers: [18, 18] Generated Node #0,4,3: 53:[18, 18] Operation: 18*1=18 Exploring Operation: 1+18=19, Resulting Numbers: [18, 19] Generated Node #0,4,4: 53:[18, 19] Operation: 1+18=19 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 53:[18, 19], Operations: ['2*9=18', '18+1=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,53 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 53:[1, 36], Operations: ['2*9=18', '18+18=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,53 unequal: No Solution No 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: 53:[18, 19], Operations: ['2*9=18', '1+18=19'] Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,53 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,53 unequal: No Solution No 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: 53:[18, 18], Operations: ['2*9=18', '18/1=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,53 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,53 unequal: No Solution No 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: 53:[18, 18], Operations: ['2*9=18', '18*1=18'] Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,53 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,53 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: 53:[2, 1, 27], Operations: ['18+9=27'] Exploring Operation: 2+1=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 53:[27, 3] Operation: 2+1=3 Exploring Operation: 2*1=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 53:[27, 2] Operation: 2*1=2 Exploring Operation: 1+27=28, Resulting Numbers: [2, 28] Generated Node #0,0,2: 53:[2, 28] Operation: 1+27=28 Exploring Operation: 2*27=54, Resulting Numbers: [1, 54] Generated Node #0,0,3: 53:[1, 54] Operation: 2*27=54 Exploring Operation: 2+27=29, Resulting Numbers: [1, 29] Generated Node #0,0,4: 53:[1, 29] Operation: 2+27=29 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[1, 54], Operations: ['18+9=27', '2*27=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[18, 2, 9, 1], Operations: [] Exploring Operation: 18+9=27, Resulting Numbers: [2, 1, 27] Generated Node #0,0: 53:[2, 1, 27] Operation: 18+9=27 Moving to Node #0,0 Current State: 53:[2, 1, 27], Operations: ['18+9=27'] Exploring Operation: 2*27=54, Resulting Numbers: [1, 54] Generated Node #0,0,3: 53:[1, 54] Operation: 2*27=54 Moving to Node #0,0,3 Current State: 53:[1, 54], Operations: ['18+9=27', '2*27=54'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_5
mult_heuristic
[ 54, 96, 78, 24 ]
21
[ "96-78=18", "54/18=3", "24-3=21" ]
Current State: 21:[54, 96, 78, 24], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [54, 24, 18] Generated Node #2: [54, 24, 18] from Operation: 96-78=18 Current State: 21:[54, 24, 18], Operations: ['96-78=18'] Exploring Operation: 54/18=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 54/18=3 Current State: 21:[24, 3], Operations: ['96-78=18', '54/18=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[54, 96, 78, 24], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [54, 78, 4] Generated Node #0,0: 21:[54, 78, 4] Operation: 96/24=4 Exploring Operation: 78-54=24, Resulting Numbers: [96, 24, 24] Generated Node #0,1: 21:[96, 24, 24] Operation: 78-54=24 Exploring Operation: 96-54=42, Resulting Numbers: [78, 24, 42] Generated Node #0,2: 21:[78, 24, 42] Operation: 96-54=42 Exploring Operation: 96-78=18, Resulting Numbers: [54, 24, 18] Generated Node #0,3: 21:[54, 24, 18] Operation: 96-78=18 Moving to Node #0,3 Current State: 21:[54, 24, 18], Operations: ['96-78=18'] Exploring Operation: 54-18=36, Resulting Numbers: [24, 36] Generated Node #0,3,0: 21:[24, 36] Operation: 54-18=36 Exploring Operation: 54-24=30, Resulting Numbers: [18, 30] Generated Node #0,3,1: 21:[18, 30] Operation: 54-24=30 Exploring Operation: 54/18=3, Resulting Numbers: [24, 3] Generated Node #0,3,2: 21:[24, 3] Operation: 54/18=3 Exploring Operation: 24-18=6, Resulting Numbers: [54, 6] Generated Node #0,3,3: 21:[54, 6] Operation: 24-18=6 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 21:[24, 3], Operations: ['96-78=18', '54/18=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[54, 96, 78, 24], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [54, 24, 18] Generated Node #0,3: 21:[54, 24, 18] Operation: 96-78=18 Moving to Node #0,3 Current State: 21:[54, 24, 18], Operations: ['96-78=18'] Exploring Operation: 54/18=3, Resulting Numbers: [24, 3] Generated Node #0,3,2: 21:[24, 3] Operation: 54/18=3 Moving to Node #0,3,2 Current State: 21:[24, 3], Operations: ['96-78=18', '54/18=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 68, 12, 86, 10 ]
60
[ "68+12=80", "86-80=6", "10*6=60" ]
Current State: 60:[68, 12, 86, 10], Operations: [] Exploring Operation: 68+12=80, Resulting Numbers: [86, 10, 80] Generated Node #2: [86, 10, 80] from Operation: 68+12=80 Current State: 60:[86, 10, 80], Operations: ['68+12=80'] Exploring Operation: 86-80=6, Resulting Numbers: [10, 6] Generated Node #3: [10, 6] from Operation: 86-80=6 Current State: 60:[10, 6], Operations: ['68+12=80', '86-80=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[68, 12, 86, 10], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [68, 12, 76] Generated Node #0,0: 60:[68, 12, 76] Operation: 86-10=76 Exploring Operation: 86-12=74, Resulting Numbers: [68, 10, 74] Generated Node #0,1: 60:[68, 10, 74] Operation: 86-12=74 Exploring Operation: 86-68=18, Resulting Numbers: [12, 10, 18] Generated Node #0,2: 60:[12, 10, 18] Operation: 86-68=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[12, 10, 18], Operations: ['86-68=18'] Exploring Operation: 12-10=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 60:[18, 2] Operation: 12-10=2 Exploring Operation: 18-12=6, Resulting Numbers: [10, 6] Generated Node #0,2,1: 60:[10, 6] Operation: 18-12=6 Exploring Operation: 12+18=30, Resulting Numbers: [10, 30] Generated Node #0,2,2: 60:[10, 30] Operation: 12+18=30 Moving to Node #0,2,1 Current State: 60:[10, 6], Operations: ['86-68=18', '18-12=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[68, 12, 86, 10], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [12, 10, 18] Generated Node #0,2: 60:[12, 10, 18] Operation: 86-68=18 Moving to Node #0,2 Current State: 60:[12, 10, 18], Operations: ['86-68=18'] Exploring Operation: 18-12=6, Resulting Numbers: [10, 6] Generated Node #0,2,1: 60:[10, 6] Operation: 18-12=6 Moving to Node #0,2,1 Current State: 60:[10, 6], Operations: ['86-68=18', '18-12=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 25, 7, 10, 28 ]
33
[ "25+10=35", "35/7=5", "28+5=33" ]
Current State: 33:[25, 7, 10, 28], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [7, 28, 35] Generated Node #2: [7, 28, 35] from Operation: 25+10=35 Current State: 33:[7, 28, 35], Operations: ['25+10=35'] Exploring Operation: 35/7=5, Resulting Numbers: [28, 5] Generated Node #3: [28, 5] from Operation: 35/7=5 Current State: 33:[28, 5], Operations: ['25+10=35', '35/7=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[25, 7, 10, 28], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [7, 28, 35] Generated Node #0,0: 33:[7, 28, 35] Operation: 25+10=35 Exploring Operation: 28/7=4, Resulting Numbers: [25, 10, 4] Generated Node #0,1: 33:[25, 10, 4] Operation: 28/7=4 Exploring Operation: 28-25=3, Resulting Numbers: [7, 10, 3] Generated Node #0,2: 33:[7, 10, 3] Operation: 28-25=3 Exploring Operation: 25+7=32, Resulting Numbers: [10, 28, 32] Generated Node #0,3: 33:[10, 28, 32] Operation: 25+7=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[7, 10, 3], Operations: ['28-25=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10, 10] Generated Node #0,2,0: 33:[10, 10] Operation: 7+3=10 Exploring Operation: 10-7=3, Resulting Numbers: [3, 3] Generated Node #0,2,1: 33:[3, 3] Operation: 10-7=3 Exploring Operation: 7-3=4, Resulting Numbers: [10, 4] Generated Node #0,2,2: 33:[10, 4] Operation: 7-3=4 Exploring Operation: 7+10=17, Resulting Numbers: [3, 17] Generated Node #0,2,3: 33:[3, 17] Operation: 7+10=17 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[3, 3], Operations: ['28-25=3', '10-7=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,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:[10, 10], Operations: ['28-25=3', '7+3=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,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:[10, 4], Operations: ['28-25=3', '7-3=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,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:[3, 17], Operations: ['28-25=3', '7+10=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[10, 28, 32], Operations: ['25+7=32'] Exploring Operation: 10+32=42, Resulting Numbers: [28, 42] Generated Node #0,3,0: 33:[28, 42] Operation: 10+32=42 Exploring Operation: 28-10=18, Resulting Numbers: [32, 18] Generated Node #0,3,1: 33:[32, 18] Operation: 28-10=18 Exploring Operation: 10+28=38, Resulting Numbers: [32, 38] Generated Node #0,3,2: 33:[32, 38] Operation: 10+28=38 Exploring Operation: 32-28=4, Resulting Numbers: [10, 4] Generated Node #0,3,3: 33:[10, 4] Operation: 32-28=4 Moving to Node #0,3,3 Current State: 33:[10, 4], Operations: ['25+7=32', '32-28=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[32, 38], Operations: ['25+7=32', '10+28=38'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[32, 18], Operations: ['25+7=32', '28-10=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,33 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[28, 42], Operations: ['25+7=32', '10+32=42'] Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,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:[25, 10, 4], Operations: ['28/7=4'] Exploring Operation: 25-10=15, Resulting Numbers: [4, 15] Generated Node #0,1,0: 33:[4, 15] Operation: 25-10=15 Exploring Operation: 25+4=29, Resulting Numbers: [10, 29] Generated Node #0,1,1: 33:[10, 29] Operation: 25+4=29 Exploring Operation: 25-4=21, Resulting Numbers: [10, 21] Generated Node #0,1,2: 33:[10, 21] Operation: 25-4=21 Exploring Operation: 25+10=35, Resulting Numbers: [4, 35] Generated Node #0,1,3: 33:[4, 35] Operation: 25+10=35 Moving to Node #0,1,3 Current State: 33:[4, 35], Operations: ['28/7=4', '25+10=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,33 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[10, 29], Operations: ['28/7=4', '25+4=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,33 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[4, 15], Operations: ['28/7=4', '25-10=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[10, 21], Operations: ['28/7=4', '25-4=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[7, 28, 35], Operations: ['25+10=35'] Exploring Operation: 35-28=7, Resulting Numbers: [7, 7] Generated Node #0,0,0: 33:[7, 7] Operation: 35-28=7 Exploring Operation: 35/7=5, Resulting Numbers: [28, 5] Generated Node #0,0,1: 33:[28, 5] Operation: 35/7=5 Exploring Operation: 7+28=35, Resulting Numbers: [35, 35] Generated Node #0,0,2: 33:[35, 35] Operation: 7+28=35 Exploring Operation: 28/7=4, Resulting Numbers: [35, 4] Generated Node #0,0,3: 33:[35, 4] Operation: 28/7=4 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[35, 4], Operations: ['25+10=35', '28/7=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,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:[35, 35], Operations: ['25+10=35', '7+28=35'] Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,33 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,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:[28, 5], Operations: ['25+10=35', '35/7=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[25, 7, 10, 28], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [7, 28, 35] Generated Node #0,0: 33:[7, 28, 35] Operation: 25+10=35 Moving to Node #0,0 Current State: 33:[7, 28, 35], Operations: ['25+10=35'] Exploring Operation: 35/7=5, Resulting Numbers: [28, 5] Generated Node #0,0,1: 33:[28, 5] Operation: 35/7=5 Moving to Node #0,0,1 Current State: 33:[28, 5], Operations: ['25+10=35', '35/7=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.938368
hs_4
sum_heuristic
[ 11, 93, 14, 1 ]
30
[ "14-11=3", "93/3=31", "31-1=30" ]
Current State: 30:[11, 93, 14, 1], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [93, 1, 3] Generated Node #2: [93, 1, 3] from Operation: 14-11=3 Current State: 30:[93, 1, 3], Operations: ['14-11=3'] Exploring Operation: 93/3=31, Resulting Numbers: [1, 31] Generated Node #3: [1, 31] from Operation: 93/3=31 Current State: 30:[1, 31], Operations: ['14-11=3', '93/3=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[11, 93, 14, 1], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [14, 1, 82] Generated Node #0,0: 30:[14, 1, 82] Operation: 93-11=82 Exploring Operation: 14-11=3, Resulting Numbers: [93, 1, 3] Generated Node #0,1: 30:[93, 1, 3] Operation: 14-11=3 Exploring Operation: 11-1=10, Resulting Numbers: [93, 14, 10] Generated Node #0,2: 30:[93, 14, 10] Operation: 11-1=10 Exploring Operation: 93-14=79, Resulting Numbers: [11, 1, 79] Generated Node #0,3: 30:[11, 1, 79] Operation: 93-14=79 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[11, 1, 79], Operations: ['93-14=79'] Exploring Operation: 11*1=11, Resulting Numbers: [79, 11] Generated Node #0,3,0: 30:[79, 11] Operation: 11*1=11 Exploring Operation: 79-1=78, Resulting Numbers: [11, 78] Generated Node #0,3,1: 30:[11, 78] Operation: 79-1=78 Exploring Operation: 11-1=10, Resulting Numbers: [79, 10] Generated Node #0,3,2: 30:[79, 10] Operation: 11-1=10 Exploring Operation: 79-11=68, Resulting Numbers: [1, 68] Generated Node #0,3,3: 30:[1, 68] Operation: 79-11=68 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 30:[1, 68], Operations: ['93-14=79', '79-11=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,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,3,1 Current State: 30:[11, 78], Operations: ['93-14=79', '79-1=78'] Exploring Operation: 11*78=858, Resulting Numbers: [858] 858,30 unequal: No Solution Exploring Operation: 11+78=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,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,3,2 Current State: 30:[79, 10], Operations: ['93-14=79', '11-1=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,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,3,0 Current State: 30:[79, 11], Operations: ['93-14=79', '11*1=11'] Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,30 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,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:[14, 1, 82], Operations: ['93-11=82'] Exploring Operation: 14*1=14, Resulting Numbers: [82, 14] Generated Node #0,0,0: 30:[82, 14] Operation: 14*1=14 Exploring Operation: 14+1=15, Resulting Numbers: [82, 15] Generated Node #0,0,1: 30:[82, 15] Operation: 14+1=15 Exploring Operation: 82-1=81, Resulting Numbers: [14, 81] Generated Node #0,0,2: 30:[14, 81] Operation: 82-1=81 Exploring Operation: 82-14=68, Resulting Numbers: [1, 68] Generated Node #0,0,3: 30:[1, 68] Operation: 82-14=68 Moving to Node #0,0,3 Current State: 30:[1, 68], Operations: ['93-11=82', '82-14=68'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[14, 81], Operations: ['93-11=82', '82-1=81'] Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,30 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[82, 15], Operations: ['93-11=82', '14+1=15'] Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,30 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[82, 14], Operations: ['93-11=82', '14*1=14'] Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,30 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,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,1 Current State: 30:[93, 1, 3], Operations: ['14-11=3'] Exploring Operation: 93*1=93, Resulting Numbers: [3, 93] Generated Node #0,1,0: 30:[3, 93] Operation: 93*1=93 Exploring Operation: 93-3=90, Resulting Numbers: [1, 90] Generated Node #0,1,1: 30:[1, 90] Operation: 93-3=90 Exploring Operation: 93/3=31, Resulting Numbers: [1, 31] Generated Node #0,1,2: 30:[1, 31] Operation: 93/3=31 Exploring Operation: 93-1=92, Resulting Numbers: [3, 92] Generated Node #0,1,3: 30:[3, 92] Operation: 93-1=92 Moving to Node #0,1,2 Current State: 30:[1, 31], Operations: ['14-11=3', '93/3=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[11, 93, 14, 1], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [93, 1, 3] Generated Node #0,1: 30:[93, 1, 3] Operation: 14-11=3 Moving to Node #0,1 Current State: 30:[93, 1, 3], Operations: ['14-11=3'] Exploring Operation: 93/3=31, Resulting Numbers: [1, 31] Generated Node #0,1,2: 30:[1, 31] Operation: 93/3=31 Moving to Node #0,1,2 Current State: 30:[1, 31], Operations: ['14-11=3', '93/3=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 7, 2, 5, 13 ]
79
[ "7*2=14", "5*13=65", "14+65=79" ]
Current State: 79:[7, 2, 5, 13], Operations: [] Exploring Operation: 7*2=14, Resulting Numbers: [5, 13, 14] Generated Node #2: [5, 13, 14] from Operation: 7*2=14 Current State: 79:[5, 13, 14], Operations: ['7*2=14'] Exploring Operation: 5*13=65, Resulting Numbers: [14, 65] Generated Node #3: [14, 65] from Operation: 5*13=65 Current State: 79:[14, 65], Operations: ['7*2=14', '5*13=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[7, 2, 5, 13], Operations: [] Exploring Operation: 7*13=91, Resulting Numbers: [2, 5, 91] Generated Node #0,0: 79:[2, 5, 91] Operation: 7*13=91 Exploring Operation: 5*13=65, Resulting Numbers: [7, 2, 65] Generated Node #0,1: 79:[7, 2, 65] Operation: 5*13=65 Exploring Operation: 7*5=35, Resulting Numbers: [2, 13, 35] Generated Node #0,2: 79:[2, 13, 35] Operation: 7*5=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[2, 5, 91], Operations: ['7*13=91'] Exploring Operation: 91-2=89, Resulting Numbers: [5, 89] Generated Node #0,0,0: 79:[5, 89] Operation: 91-2=89 Exploring Operation: 2+5=7, Resulting Numbers: [91, 7] Generated Node #0,0,1: 79:[91, 7] Operation: 2+5=7 Exploring Operation: 2*5=10, Resulting Numbers: [91, 10] Generated Node #0,0,2: 79:[91, 10] Operation: 2*5=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[91, 10], Operations: ['7*13=91', '2*5=10'] Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,79 unequal: No Solution Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[5, 89], Operations: ['7*13=91', '91-2=89'] Exploring Operation: 5*89=445, Resulting Numbers: [445] 445,79 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,79 unequal: No Solution Exploring Operation: 5+89=94, Resulting Numbers: [94] 94,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[91, 7], Operations: ['7*13=91', '2+5=7'] Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,79 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[7, 2, 65], Operations: ['5*13=65'] Exploring Operation: 7+2=9, Resulting Numbers: [65, 9] Generated Node #0,1,0: 79:[65, 9] Operation: 7+2=9 Exploring Operation: 7+65=72, Resulting Numbers: [2, 72] Generated Node #0,1,1: 79:[2, 72] Operation: 7+65=72 Exploring Operation: 7*2=14, Resulting Numbers: [65, 14] Generated Node #0,1,2: 79:[65, 14] Operation: 7*2=14 Moving to Node #0,1,2 Current State: 79:[65, 14], Operations: ['5*13=65', '7*2=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[7, 2, 5, 13], Operations: [] Exploring Operation: 5*13=65, Resulting Numbers: [7, 2, 65] Generated Node #0,1: 79:[7, 2, 65] Operation: 5*13=65 Moving to Node #0,1 Current State: 79:[7, 2, 65], Operations: ['5*13=65'] Exploring Operation: 7*2=14, Resulting Numbers: [65, 14] Generated Node #0,1,2: 79:[65, 14] Operation: 7*2=14 Moving to Node #0,1,2 Current State: 79:[65, 14], Operations: ['5*13=65', '7*2=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 70, 58, 44, 2 ]
86
[ "70+58=128", "44-2=42", "128-42=86" ]
Current State: 86:[70, 58, 44, 2], Operations: [] Exploring Operation: 70+58=128, Resulting Numbers: [44, 2, 128] Generated Node #2: [44, 2, 128] from Operation: 70+58=128 Current State: 86:[44, 2, 128], Operations: ['70+58=128'] Exploring Operation: 44-2=42, Resulting Numbers: [128, 42] Generated Node #3: [128, 42] from Operation: 44-2=42 Current State: 86:[128, 42], Operations: ['70+58=128', '44-2=42'] Exploring Operation: 128-42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[70, 58, 44, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [58, 44, 35] Generated Node #0,0: 86:[58, 44, 35] Operation: 70/2=35 Exploring Operation: 70-58=12, Resulting Numbers: [44, 2, 12] Generated Node #0,1: 86:[44, 2, 12] Operation: 70-58=12 Exploring Operation: 58-44=14, Resulting Numbers: [70, 2, 14] Generated Node #0,2: 86:[70, 2, 14] Operation: 58-44=14 Moving to Node #0,1 Current State: 86:[44, 2, 12], Operations: ['70-58=12'] Exploring Operation: 44-2=42, Resulting Numbers: [12, 42] Generated Node #0,1,0: 86:[12, 42] Operation: 44-2=42 Exploring Operation: 12/2=6, Resulting Numbers: [44, 6] Generated Node #0,1,1: 86:[44, 6] Operation: 12/2=6 Exploring Operation: 12-2=10, Resulting Numbers: [44, 10] Generated Node #0,1,2: 86:[44, 10] Operation: 12-2=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[44, 6], Operations: ['70-58=12', '12/2=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,86 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,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,2 Current State: 86:[44, 10], Operations: ['70-58=12', '12-2=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,86 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,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,0 Current State: 86:[12, 42], Operations: ['70-58=12', '44-2=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,86 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,86 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: 86:[58, 44, 35], Operations: ['70/2=35'] Exploring Operation: 58-35=23, Resulting Numbers: [44, 23] Generated Node #0,0,0: 86:[44, 23] Operation: 58-35=23 Exploring Operation: 58+35=93, Resulting Numbers: [44, 93] Generated Node #0,0,1: 86:[44, 93] Operation: 58+35=93 Exploring Operation: 58-44=14, Resulting Numbers: [35, 14] Generated Node #0,0,2: 86:[35, 14] Operation: 58-44=14 Moving to Node #0,2 Current State: 86:[70, 2, 14], Operations: ['58-44=14'] Exploring Operation: 70+14=84, Resulting Numbers: [2, 84] Generated Node #0,2,0: 86:[2, 84] Operation: 70+14=84 Exploring Operation: 70/14=5, Resulting Numbers: [2, 5] Generated Node #0,2,1: 86:[2, 5] Operation: 70/14=5 Exploring Operation: 70-14=56, Resulting Numbers: [2, 56] Generated Node #0,2,2: 86:[2, 56] Operation: 70-14=56 Moving to Node #0,2,0 Current State: 86:[2, 84], Operations: ['58-44=14', '70+14=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[70, 58, 44, 2], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [70, 2, 14] Generated Node #0,2: 86:[70, 2, 14] Operation: 58-44=14 Moving to Node #0,2 Current State: 86:[70, 2, 14], Operations: ['58-44=14'] Exploring Operation: 70+14=84, Resulting Numbers: [2, 84] Generated Node #0,2,0: 86:[2, 84] Operation: 70+14=84 Moving to Node #0,2,0 Current State: 86:[2, 84], Operations: ['58-44=14', '70+14=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 85, 28, 54, 83 ]
80
[ "85-28=57", "54+83=137", "137-57=80" ]
Current State: 80:[85, 28, 54, 83], Operations: [] Exploring Operation: 85-28=57, Resulting Numbers: [54, 83, 57] Generated Node #2: [54, 83, 57] from Operation: 85-28=57 Current State: 80:[54, 83, 57], Operations: ['85-28=57'] Exploring Operation: 54+83=137, Resulting Numbers: [57, 137] Generated Node #3: [57, 137] from Operation: 54+83=137 Current State: 80:[57, 137], Operations: ['85-28=57', '54+83=137'] Exploring Operation: 137-57=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[85, 28, 54, 83], Operations: [] Exploring Operation: 28+54=82, Resulting Numbers: [85, 83, 82] Generated Node #0,0: 80:[85, 83, 82] Operation: 28+54=82 Exploring Operation: 54-28=26, Resulting Numbers: [85, 83, 26] Generated Node #0,1: 80:[85, 83, 26] Operation: 54-28=26 Exploring Operation: 85-83=2, Resulting Numbers: [28, 54, 2] Generated Node #0,2: 80:[28, 54, 2] Operation: 85-83=2 Exploring Operation: 83-54=29, Resulting Numbers: [85, 28, 29] Generated Node #0,3: 80:[85, 28, 29] Operation: 83-54=29 Exploring Operation: 85-54=31, Resulting Numbers: [28, 83, 31] Generated Node #0,4: 80:[28, 83, 31] Operation: 85-54=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[85, 83, 82], Operations: ['28+54=82'] Exploring Operation: 83-82=1, Resulting Numbers: [85, 1] Generated Node #0,0,0: 80:[85, 1] Operation: 83-82=1 Exploring Operation: 85-83=2, Resulting Numbers: [82, 2] Generated Node #0,0,1: 80:[82, 2] Operation: 85-83=2 Exploring Operation: 85+82=167, Resulting Numbers: [83, 167] Generated Node #0,0,2: 80:[83, 167] Operation: 85+82=167 Exploring Operation: 85-82=3, Resulting Numbers: [83, 3] Generated Node #0,0,3: 80:[83, 3] Operation: 85-82=3 Exploring Operation: 85+83=168, Resulting Numbers: [82, 168] Generated Node #0,0,4: 80:[82, 168] Operation: 85+83=168 Moving to Node #0,0,1 Current State: 80:[82, 2], Operations: ['28+54=82', '85-83=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[85, 28, 54, 83], Operations: [] Exploring Operation: 28+54=82, Resulting Numbers: [85, 83, 82] Generated Node #0,0: 80:[85, 83, 82] Operation: 28+54=82 Moving to Node #0,0 Current State: 80:[85, 83, 82], Operations: ['28+54=82'] Exploring Operation: 85-83=2, Resulting Numbers: [82, 2] Generated Node #0,0,1: 80:[82, 2] Operation: 85-83=2 Moving to Node #0,0,1 Current State: 80:[82, 2], Operations: ['28+54=82', '85-83=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 39, 49, 61, 5 ]
11
[ "49-39=10", "5*10=50", "61-50=11" ]
Current State: 11:[39, 49, 61, 5], Operations: [] Exploring Operation: 49-39=10, Resulting Numbers: [61, 5, 10] Generated Node #2: [61, 5, 10] from Operation: 49-39=10 Current State: 11:[61, 5, 10], Operations: ['49-39=10'] Exploring Operation: 5*10=50, Resulting Numbers: [61, 50] Generated Node #3: [61, 50] from Operation: 5*10=50 Current State: 11:[61, 50], Operations: ['49-39=10', '5*10=50'] Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[39, 49, 61, 5], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [39, 5, 12] Generated Node #0,0: 11:[39, 5, 12] Operation: 61-49=12 Exploring Operation: 49-5=44, Resulting Numbers: [39, 61, 44] Generated Node #0,1: 11:[39, 61, 44] Operation: 49-5=44 Exploring Operation: 61-39=22, Resulting Numbers: [49, 5, 22] Generated Node #0,2: 11:[49, 5, 22] Operation: 61-39=22 Exploring Operation: 39-5=34, Resulting Numbers: [49, 61, 34] Generated Node #0,3: 11:[49, 61, 34] Operation: 39-5=34 Exploring Operation: 49-39=10, Resulting Numbers: [61, 5, 10] Generated Node #0,4: 11:[61, 5, 10] Operation: 49-39=10 Moving to Node #0,0 Current State: 11:[39, 5, 12], Operations: ['61-49=12'] Exploring Operation: 39-5=34, Resulting Numbers: [12, 34] Generated Node #0,0,0: 11:[12, 34] Operation: 39-5=34 Exploring Operation: 39-12=27, Resulting Numbers: [5, 27] Generated Node #0,0,1: 11:[5, 27] Operation: 39-12=27 Exploring Operation: 39+5=44, Resulting Numbers: [12, 44] Generated Node #0,0,2: 11:[12, 44] Operation: 39+5=44 Exploring Operation: 12-5=7, Resulting Numbers: [39, 7] Generated Node #0,0,3: 11:[39, 7] Operation: 12-5=7 Exploring Operation: 5+12=17, Resulting Numbers: [39, 17] Generated Node #0,0,4: 11:[39, 17] Operation: 5+12=17 Moving to Node #0,2 Current State: 11:[49, 5, 22], Operations: ['61-39=22'] Exploring Operation: 49-5=44, Resulting Numbers: [22, 44] Generated Node #0,2,0: 11:[22, 44] Operation: 49-5=44 Exploring Operation: 5+22=27, Resulting Numbers: [49, 27] Generated Node #0,2,1: 11:[49, 27] Operation: 5+22=27 Exploring Operation: 49-22=27, Resulting Numbers: [5, 27] Generated Node #0,2,2: 11:[5, 27] Operation: 49-22=27 Exploring Operation: 49+5=54, Resulting Numbers: [22, 54] Generated Node #0,2,3: 11:[22, 54] Operation: 49+5=54 Exploring Operation: 22-5=17, Resulting Numbers: [49, 17] Generated Node #0,2,4: 11:[49, 17] Operation: 22-5=17 Moving to Node #0,4 Current State: 11:[61, 5, 10], Operations: ['49-39=10'] Exploring Operation: 5+10=15, Resulting Numbers: [61, 15] Generated Node #0,4,0: 11:[61, 15] Operation: 5+10=15 Exploring Operation: 61-10=51, Resulting Numbers: [5, 51] Generated Node #0,4,1: 11:[5, 51] Operation: 61-10=51 Exploring Operation: 10-5=5, Resulting Numbers: [61, 5] Generated Node #0,4,2: 11:[61, 5] Operation: 10-5=5 Exploring Operation: 61-5=56, Resulting Numbers: [10, 56] Generated Node #0,4,3: 11:[10, 56] Operation: 61-5=56 Exploring Operation: 61+5=66, Resulting Numbers: [10, 66] Generated Node #0,4,4: 11:[10, 66] Operation: 61+5=66 Moving to Node #0,1 Current State: 11:[39, 61, 44], Operations: ['49-5=44'] Exploring Operation: 39+61=100, Resulting Numbers: [44, 100] Generated Node #0,1,0: 11:[44, 100] Operation: 39+61=100 Exploring Operation: 39+44=83, Resulting Numbers: [61, 83] Generated Node #0,1,1: 11:[61, 83] Operation: 39+44=83 Exploring Operation: 44-39=5, Resulting Numbers: [61, 5] Generated Node #0,1,2: 11:[61, 5] Operation: 44-39=5 Exploring Operation: 61-44=17, Resulting Numbers: [39, 17] Generated Node #0,1,3: 11:[39, 17] Operation: 61-44=17 Exploring Operation: 61-39=22, Resulting Numbers: [44, 22] Generated Node #0,1,4: 11:[44, 22] Operation: 61-39=22 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[39, 17], Operations: ['49-5=44', '61-44=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 11:[44, 22], Operations: ['49-5=44', '61-39=22'] Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[61, 5], Operations: ['49-5=44', '44-39=5'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,11 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[44, 100], Operations: ['49-5=44', '39+61=100'] Exploring Operation: 44+100=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 44*100=4400, Resulting Numbers: [4400] 4400,11 unequal: No Solution Exploring Operation: 100-44=56, Resulting Numbers: [56] 56,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[61, 83], Operations: ['49-5=44', '39+44=83'] Exploring Operation: 61*83=5063, Resulting Numbers: [5063] 5063,11 unequal: No Solution Exploring Operation: 61+83=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 83-61=22, Resulting Numbers: [22] 22,11 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: 11:[49, 61, 34], Operations: ['39-5=34'] Exploring Operation: 61-34=27, Resulting Numbers: [49, 27] Generated Node #0,3,0: 11:[49, 27] Operation: 61-34=27 Exploring Operation: 49+61=110, Resulting Numbers: [34, 110] Generated Node #0,3,1: 11:[34, 110] Operation: 49+61=110 Exploring Operation: 49-34=15, Resulting Numbers: [61, 15] Generated Node #0,3,2: 11:[61, 15] Operation: 49-34=15 Exploring Operation: 49+34=83, Resulting Numbers: [61, 83] Generated Node #0,3,3: 11:[61, 83] Operation: 49+34=83 Exploring Operation: 61-49=12, Resulting Numbers: [34, 12] Generated Node #0,3,4: 11:[34, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[34, 12], Operations: ['39-5=34', '61-49=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,11 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[49, 27], Operations: ['39-5=34', '61-34=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,11 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[61, 15], Operations: ['39-5=34', '49-34=15'] Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,11 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[34, 110], Operations: ['39-5=34', '49+61=110'] Exploring Operation: 34+110=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 110-34=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 34*110=3740, Resulting Numbers: [3740] 3740,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[61, 83], Operations: ['39-5=34', '49+34=83'] Exploring Operation: 61+83=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 61*83=5063, Resulting Numbers: [5063] 5063,11 unequal: No Solution Exploring Operation: 83-61=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 11:[5, 27], Operations: ['61-49=12', '39-12=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,11 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[5, 27], Operations: ['61-39=22', '49-22=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,11 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[12, 34], Operations: ['61-49=12', '39-5=34'] Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,11 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[39, 7], Operations: ['61-49=12', '12-5=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,11 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[39, 17], Operations: ['61-49=12', '5+12=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,11 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[12, 44], Operations: ['61-49=12', '39+5=44'] Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,11 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[22, 44], Operations: ['61-39=22', '49-5=44'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 22*44=968, Resulting Numbers: [968] 968,11 unequal: No Solution Moving to Node #0,2,4 Current State: 11:[49, 17], Operations: ['61-39=22', '22-5=17'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,11 unequal: No Solution Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[10, 56], Operations: ['49-39=10', '61-5=56'] Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,11 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,11 unequal: No Solution Moving to Node #0,4,1 Current State: 11:[5, 51], Operations: ['49-39=10', '61-10=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,11 unequal: No Solution Moving to Node #0,4,0 Current State: 11:[61, 15], Operations: ['49-39=10', '5+10=15'] Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[22, 54], Operations: ['61-39=22', '49+5=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,11 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[49, 27], Operations: ['61-39=22', '5+22=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,11 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,4,4 Current State: 11:[10, 66], Operations: ['49-39=10', '61+5=66'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,11 unequal: No Solution Moving to Node #0,4,2 Current State: 11:[61, 5], Operations: ['49-39=10', '10-5=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,11 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,11 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 68, 46, 56, 29 ]
87
[ "68+46=114", "56-29=27", "114-27=87" ]
Current State: 87:[68, 46, 56, 29], Operations: [] Exploring Operation: 68+46=114, Resulting Numbers: [56, 29, 114] Generated Node #2: [56, 29, 114] from Operation: 68+46=114 Current State: 87:[56, 29, 114], Operations: ['68+46=114'] Exploring Operation: 56-29=27, Resulting Numbers: [114, 27] Generated Node #3: [114, 27] from Operation: 56-29=27 Current State: 87:[114, 27], Operations: ['68+46=114', '56-29=27'] Exploring Operation: 114-27=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[68, 46, 56, 29], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [46, 29, 12] Generated Node #0,0: 87:[46, 29, 12] Operation: 68-56=12 Moving to Node #0,0 Current State: 87:[46, 29, 12], Operations: ['68-56=12'] Exploring Operation: 46-12=34, Resulting Numbers: [29, 34] Generated Node #0,0,0: 87:[29, 34] Operation: 46-12=34 Moving to Node #0,0,0 Current State: 87:[29, 34], Operations: ['68-56=12', '46-12=34'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 75, 48, 3, 69 ]
84
[ "75+48=123", "3*69=207", "207-123=84" ]
Current State: 84:[75, 48, 3, 69], Operations: [] Exploring Operation: 75+48=123, Resulting Numbers: [3, 69, 123] Generated Node #2: [3, 69, 123] from Operation: 75+48=123 Current State: 84:[3, 69, 123], Operations: ['75+48=123'] Exploring Operation: 3*69=207, Resulting Numbers: [123, 207] Generated Node #3: [123, 207] from Operation: 3*69=207 Current State: 84:[123, 207], Operations: ['75+48=123', '3*69=207'] Exploring Operation: 207-123=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[75, 48, 3, 69], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [75, 3, 21] Generated Node #0,0: 84:[75, 3, 21] Operation: 69-48=21 Exploring Operation: 75-69=6, Resulting Numbers: [48, 3, 6] Generated Node #0,1: 84:[48, 3, 6] Operation: 75-69=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[48, 3, 6], Operations: ['75-69=6'] Exploring Operation: 48/6=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 84:[3, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [3, 42] Generated Node #0,1,1: 84:[3, 42] Operation: 48-6=42 Moving to Node #0,1,1 Current State: 84:[3, 42], Operations: ['75-69=6', '48-6=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[3, 8], Operations: ['75-69=6', '48/6=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[75, 3, 21], Operations: ['69-48=21'] Exploring Operation: 75/3=25, Resulting Numbers: [21, 25] Generated Node #0,0,0: 84:[21, 25] Operation: 75/3=25 Exploring Operation: 75+3=78, Resulting Numbers: [21, 78] Generated Node #0,0,1: 84:[21, 78] Operation: 75+3=78 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[21, 25], Operations: ['69-48=21', '75/3=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[21, 78], Operations: ['69-48=21', '75+3=78'] Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 45, 79, 63, 8 ]
83
[ "79-63=16", "8*16=128", "128-45=83" ]
Current State: 83:[45, 79, 63, 8], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [45, 8, 16] Generated Node #2: [45, 8, 16] from Operation: 79-63=16 Current State: 83:[45, 8, 16], Operations: ['79-63=16'] Exploring Operation: 8*16=128, Resulting Numbers: [45, 128] Generated Node #3: [45, 128] from Operation: 8*16=128 Current State: 83:[45, 128], Operations: ['79-63=16', '8*16=128'] Exploring Operation: 128-45=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[45, 79, 63, 8], Operations: [] Exploring Operation: 63+8=71, Resulting Numbers: [45, 79, 71] Generated Node #0,0: 83:[45, 79, 71] Operation: 63+8=71 Exploring Operation: 45+8=53, Resulting Numbers: [79, 63, 53] Generated Node #0,1: 83:[79, 63, 53] Operation: 45+8=53 Exploring Operation: 45-8=37, Resulting Numbers: [79, 63, 37] Generated Node #0,2: 83:[79, 63, 37] Operation: 45-8=37 Exploring Operation: 79+8=87, Resulting Numbers: [45, 63, 87] Generated Node #0,3: 83:[45, 63, 87] Operation: 79+8=87 Exploring Operation: 79-8=71, Resulting Numbers: [45, 63, 71] Generated Node #0,4: 83:[45, 63, 71] Operation: 79-8=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[45, 79, 71], Operations: ['63+8=71'] Exploring Operation: 79+71=150, Resulting Numbers: [45, 150] Generated Node #0,0,0: 83:[45, 150] Operation: 79+71=150 Exploring Operation: 71-45=26, Resulting Numbers: [79, 26] Generated Node #0,0,1: 83:[79, 26] Operation: 71-45=26 Exploring Operation: 45+79=124, Resulting Numbers: [71, 124] Generated Node #0,0,2: 83:[71, 124] Operation: 45+79=124 Exploring Operation: 45+71=116, Resulting Numbers: [79, 116] Generated Node #0,0,3: 83:[79, 116] Operation: 45+71=116 Exploring Operation: 79-45=34, Resulting Numbers: [71, 34] Generated Node #0,0,4: 83:[71, 34] Operation: 79-45=34 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[79, 116], Operations: ['63+8=71', '45+71=116'] Exploring Operation: 116-79=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 79+116=195, Resulting Numbers: [195] 195,83 unequal: No Solution Exploring Operation: 79*116=9164, Resulting Numbers: [9164] 9164,83 unequal: No Solution No 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: 83:[71, 124], Operations: ['63+8=71', '45+79=124'] Exploring Operation: 124-71=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 71*124=8804, Resulting Numbers: [8804] 8804,83 unequal: No Solution Exploring Operation: 71+124=195, Resulting Numbers: [195] 195,83 unequal: No Solution No 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: 83:[79, 26], Operations: ['63+8=71', '71-45=26'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,83 unequal: No Solution Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,83 unequal: No Solution No 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: 83:[71, 34], Operations: ['63+8=71', '79-45=34'] Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,83 unequal: No Solution No 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: 83:[45, 150], Operations: ['63+8=71', '79+71=150'] Exploring Operation: 45*150=6750, Resulting Numbers: [6750] 6750,83 unequal: No Solution Exploring Operation: 45+150=195, Resulting Numbers: [195] 195,83 unequal: No Solution Exploring Operation: 150-45=105, Resulting Numbers: [105] 105,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[79, 63, 53], Operations: ['45+8=53'] Exploring Operation: 63-53=10, Resulting Numbers: [79, 10] Generated Node #0,1,0: 83:[79, 10] Operation: 63-53=10 Exploring Operation: 63+53=116, Resulting Numbers: [79, 116] Generated Node #0,1,1: 83:[79, 116] Operation: 63+53=116 Exploring Operation: 79-53=26, Resulting Numbers: [63, 26] Generated Node #0,1,2: 83:[63, 26] Operation: 79-53=26 Exploring Operation: 79+53=132, Resulting Numbers: [63, 132] Generated Node #0,1,3: 83:[63, 132] Operation: 79+53=132 Exploring Operation: 79+63=142, Resulting Numbers: [53, 142] Generated Node #0,1,4: 83:[53, 142] Operation: 79+63=142 Moving to Node #0,1,1 Current State: 83:[79, 116], Operations: ['45+8=53', '63+53=116'] Exploring Operation: 79+116=195, Resulting Numbers: [195] 195,83 unequal: No Solution Exploring Operation: 116-79=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 79*116=9164, Resulting Numbers: [9164] 9164,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[63, 132], Operations: ['45+8=53', '79+53=132'] Exploring Operation: 63*132=8316, Resulting Numbers: [8316] 8316,83 unequal: No Solution Exploring Operation: 132-63=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 63+132=195, Resulting Numbers: [195] 195,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[79, 10], Operations: ['45+8=53', '63-53=10'] Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,83 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[63, 26], Operations: ['45+8=53', '79-53=26'] Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[53, 142], Operations: ['45+8=53', '79+63=142'] Exploring Operation: 53*142=7526, Resulting Numbers: [7526] 7526,83 unequal: No Solution Exploring Operation: 142-53=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 53+142=195, Resulting Numbers: [195] 195,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[45, 63, 87], Operations: ['79+8=87'] Exploring Operation: 63-45=18, Resulting Numbers: [87, 18] Generated Node #0,3,0: 83:[87, 18] Operation: 63-45=18 Exploring Operation: 45+63=108, Resulting Numbers: [87, 108] Generated Node #0,3,1: 83:[87, 108] Operation: 45+63=108 Exploring Operation: 87-63=24, Resulting Numbers: [45, 24] Generated Node #0,3,2: 83:[45, 24] Operation: 87-63=24 Exploring Operation: 87-45=42, Resulting Numbers: [63, 42] Generated Node #0,3,3: 83:[63, 42] Operation: 87-45=42 Exploring Operation: 45+87=132, Resulting Numbers: [63, 132] Generated Node #0,3,4: 83:[63, 132] Operation: 45+87=132 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[87, 108], Operations: ['79+8=87', '45+63=108'] Exploring Operation: 87*108=9396, Resulting Numbers: [9396] 9396,83 unequal: No Solution Exploring Operation: 87+108=195, Resulting Numbers: [195] 195,83 unequal: No Solution Exploring Operation: 108-87=21, Resulting Numbers: [21] 21,83 unequal: No Solution No 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: 83:[63, 42], Operations: ['79+8=87', '87-45=42'] Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,83 unequal: No Solution Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,83 unequal: No Solution No 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: 83:[87, 18], Operations: ['79+8=87', '63-45=18'] Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,83 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 83:[63, 132], Operations: ['79+8=87', '45+87=132'] Exploring Operation: 63*132=8316, Resulting Numbers: [8316] 8316,83 unequal: No Solution Exploring Operation: 63+132=195, Resulting Numbers: [195] 195,83 unequal: No Solution Exploring Operation: 132-63=69, Resulting Numbers: [69] 69,83 unequal: No Solution No 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: 83:[45, 24], Operations: ['79+8=87', '87-63=24'] Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[79, 63, 37], Operations: ['45-8=37'] Exploring Operation: 63-37=26, Resulting Numbers: [79, 26] Generated Node #0,2,0: 83:[79, 26] Operation: 63-37=26 Exploring Operation: 79+37=116, Resulting Numbers: [63, 116] Generated Node #0,2,1: 83:[63, 116] Operation: 79+37=116 Exploring Operation: 79+63=142, Resulting Numbers: [37, 142] Generated Node #0,2,2: 83:[37, 142] Operation: 79+63=142 Exploring Operation: 63+37=100, Resulting Numbers: [79, 100] Generated Node #0,2,3: 83:[79, 100] Operation: 63+37=100 Exploring Operation: 79-37=42, Resulting Numbers: [63, 42] Generated Node #0,2,4: 83:[63, 42] Operation: 79-37=42 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[79, 100], Operations: ['45-8=37', '63+37=100'] Exploring Operation: 100-79=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 79*100=7900, Resulting Numbers: [7900] 7900,83 unequal: No Solution Exploring Operation: 79+100=179, Resulting Numbers: [179] 179,83 unequal: No Solution No 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: 83:[63, 116], Operations: ['45-8=37', '79+37=116'] Exploring Operation: 116-63=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 63+116=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 63*116=7308, Resulting Numbers: [7308] 7308,83 unequal: No Solution No 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: 83:[79, 26], Operations: ['45-8=37', '63-37=26'] Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,83 unequal: No Solution No 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: 83:[63, 42], Operations: ['45-8=37', '79-37=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 63*42=2646, Resulting Numbers: [2646] 2646,83 unequal: No Solution No 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: 83:[37, 142], Operations: ['45-8=37', '79+63=142'] Exploring Operation: 142-37=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 37*142=5254, Resulting Numbers: [5254] 5254,83 unequal: No Solution Exploring Operation: 37+142=179, Resulting Numbers: [179] 179,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[45, 63, 71], Operations: ['79-8=71'] Exploring Operation: 63-45=18, Resulting Numbers: [71, 18] Generated Node #0,4,0: 83:[71, 18] Operation: 63-45=18 Exploring Operation: 71-45=26, Resulting Numbers: [63, 26] Generated Node #0,4,1: 83:[63, 26] Operation: 71-45=26 Exploring Operation: 45+71=116, Resulting Numbers: [63, 116] Generated Node #0,4,2: 83:[63, 116] Operation: 45+71=116 Exploring Operation: 45+63=108, Resulting Numbers: [71, 108] Generated Node #0,4,3: 83:[71, 108] Operation: 45+63=108 Exploring Operation: 63+71=134, Resulting Numbers: [45, 134] Generated Node #0,4,4: 83:[45, 134] Operation: 63+71=134 Moving to Node #0,4,3 Current State: 83:[71, 108], Operations: ['79-8=71', '45+63=108'] Exploring Operation: 108-71=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 71*108=7668, Resulting Numbers: [7668] 7668,83 unequal: No Solution Exploring Operation: 71+108=179, Resulting Numbers: [179] 179,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[63, 116], Operations: ['79-8=71', '45+71=116'] Exploring Operation: 116-63=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 63+116=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 63*116=7308, Resulting Numbers: [7308] 7308,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[71, 18], Operations: ['79-8=71', '63-45=18'] Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,83 unequal: No Solution Exploring Operation: 71+18=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[63, 26], Operations: ['79-8=71', '71-45=26'] Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,83 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[45, 134], Operations: ['79-8=71', '63+71=134'] Exploring Operation: 45+134=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 134-45=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 45*134=6030, Resulting Numbers: [6030] 6030,83 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
[ 35, 21, 69, 29 ]
86
[ "35*69=2415", "2415/21=115", "115-29=86" ]
Current State: 86:[35, 21, 69, 29], Operations: [] Exploring Operation: 35*69=2415, Resulting Numbers: [21, 29, 2415] Generated Node #2: [21, 29, 2415] from Operation: 35*69=2415 Current State: 86:[21, 29, 2415], Operations: ['35*69=2415'] Exploring Operation: 2415/21=115, Resulting Numbers: [29, 115] Generated Node #3: [29, 115] from Operation: 2415/21=115 Current State: 86:[29, 115], Operations: ['35*69=2415', '2415/21=115'] Exploring Operation: 115-29=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[35, 21, 69, 29], Operations: [] Exploring Operation: 21+69=90, Resulting Numbers: [35, 29, 90] Generated Node #0,0: 86:[35, 29, 90] Operation: 21+69=90 Exploring Operation: 69-21=48, Resulting Numbers: [35, 29, 48] Generated Node #0,1: 86:[35, 29, 48] Operation: 69-21=48 Exploring Operation: 69-29=40, Resulting Numbers: [35, 21, 40] Generated Node #0,2: 86:[35, 21, 40] Operation: 69-29=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[35, 29, 90], Operations: ['21+69=90'] Exploring Operation: 35-29=6, Resulting Numbers: [90, 6] Generated Node #0,0,0: 86:[90, 6] Operation: 35-29=6 Exploring Operation: 90-35=55, Resulting Numbers: [29, 55] Generated Node #0,0,1: 86:[29, 55] Operation: 90-35=55 Exploring Operation: 35+29=64, Resulting Numbers: [90, 64] Generated Node #0,0,2: 86:[90, 64] Operation: 35+29=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[90, 6], Operations: ['21+69=90', '35-29=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,86 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[90, 64], Operations: ['21+69=90', '35+29=64'] Exploring Operation: 90-64=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 90*64=5760, Resulting Numbers: [5760] 5760,86 unequal: No Solution Exploring Operation: 90+64=154, Resulting Numbers: [154] 154,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[29, 55], Operations: ['21+69=90', '90-35=55'] Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,86 unequal: No Solution Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[35, 29, 48], Operations: ['69-21=48'] Exploring Operation: 29+48=77, Resulting Numbers: [35, 77] Generated Node #0,1,0: 86:[35, 77] Operation: 29+48=77 Exploring Operation: 35+48=83, Resulting Numbers: [29, 83] Generated Node #0,1,1: 86:[29, 83] Operation: 35+48=83 Exploring Operation: 35-29=6, Resulting Numbers: [48, 6] Generated Node #0,1,2: 86:[48, 6] Operation: 35-29=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[48, 6], Operations: ['69-21=48', '35-29=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[35, 77], Operations: ['69-21=48', '29+48=77'] Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,86 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[29, 83], Operations: ['69-21=48', '35+48=83'] Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,86 unequal: No Solution Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,86 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[35, 21, 40], Operations: ['69-29=40'] Exploring Operation: 40-35=5, Resulting Numbers: [21, 5] Generated Node #0,2,0: 86:[21, 5] Operation: 40-35=5 Exploring Operation: 35+21=56, Resulting Numbers: [40, 56] Generated Node #0,2,1: 86:[40, 56] Operation: 35+21=56 Exploring Operation: 35-21=14, Resulting Numbers: [40, 14] Generated Node #0,2,2: 86:[40, 14] Operation: 35-21=14 Moving to Node #0,2,2 Current State: 86:[40, 14], Operations: ['69-29=40', '35-21=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,86 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[40, 56], Operations: ['69-29=40', '35+21=56'] Exploring Operation: 40*56=2240, Resulting Numbers: [2240] 2240,86 unequal: No Solution Exploring Operation: 40+56=96, Resulting Numbers: [96] 96,86 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[21, 5], Operations: ['69-29=40', '40-35=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,86 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
[ 48, 91, 91, 55 ]
55
[ "91-91=0", "48*0=0", "55+0=55" ]
Current State: 55:[48, 91, 91, 55], Operations: [] Exploring Operation: 91-91=0, Resulting Numbers: [48, 55, 0] Generated Node #2: [48, 55, 0] from Operation: 91-91=0 Current State: 55:[48, 55, 0], Operations: ['91-91=0'] Exploring Operation: 48*0=0, Resulting Numbers: [55, 0] Generated Node #3: [55, 0] from Operation: 48*0=0 Current State: 55:[55, 0], Operations: ['91-91=0', '48*0=0'] Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[48, 91, 91, 55], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [48, 55, 1] Generated Node #0,0: 55:[48, 55, 1] Operation: 91/91=1 Exploring Operation: 91-48=43, Resulting Numbers: [91, 55, 43] Generated Node #0,1: 55:[91, 55, 43] Operation: 91-48=43 Exploring Operation: 91-48=43, Resulting Numbers: [91, 55, 43] Generated Node #0,2: 55:[91, 55, 43] Operation: 91-48=43 Exploring Operation: 91-91=0, Resulting Numbers: [48, 55, 0] Generated Node #0,3: 55:[48, 55, 0] Operation: 91-91=0 Exploring Operation: 91-55=36, Resulting Numbers: [48, 91, 36] Generated Node #0,4: 55:[48, 91, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[48, 55, 1], Operations: ['91/91=1'] Exploring Operation: 48+1=49, Resulting Numbers: [55, 49] Generated Node #0,0,0: 55:[55, 49] Operation: 48+1=49 Exploring Operation: 55-48=7, Resulting Numbers: [1, 7] Generated Node #0,0,1: 55:[1, 7] Operation: 55-48=7 Exploring Operation: 48/1=48, Resulting Numbers: [55, 48] Generated Node #0,0,2: 55:[55, 48] Operation: 48/1=48 Exploring Operation: 48*1=48, Resulting Numbers: [55, 48] Generated Node #0,0,3: 55:[55, 48] Operation: 48*1=48 Exploring Operation: 55*1=55, Resulting Numbers: [48, 55] Generated Node #0,0,4: 55:[48, 55] Operation: 55*1=55 Moving to Node #0,0,0 Current State: 55:[55, 49], Operations: ['91/91=1', '48+1=49'] Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,55 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[1, 7], Operations: ['91/91=1', '55-48=7'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[55, 48], Operations: ['91/91=1', '48/1=48'] Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,55 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[55, 48], Operations: ['91/91=1', '48*1=48'] Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,55 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,55 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[48, 55], Operations: ['91/91=1', '55*1=55'] Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,55 unequal: No Solution Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,55 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[48, 55, 0], Operations: ['91-91=0'] Exploring Operation: 55+0=55, Resulting Numbers: [48, 55] Generated Node #0,3,0: 55:[48, 55] Operation: 55+0=55 Exploring Operation: 48-0=48, Resulting Numbers: [55, 48] Generated Node #0,3,1: 55:[55, 48] Operation: 48-0=48 Exploring Operation: 48+0=48, Resulting Numbers: [55, 48] Generated Node #0,3,2: 55:[55, 48] Operation: 48+0=48 Exploring Operation: 55-48=7, Resulting Numbers: [0, 7] Generated Node #0,3,3: 55:[0, 7] Operation: 55-48=7 Exploring Operation: 48*0=0, Resulting Numbers: [55, 0] Generated Node #0,3,4: 55:[55, 0] Operation: 48*0=0 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 55:[55, 0], Operations: ['91-91=0', '48*0=0'] Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[48, 91, 91, 55], Operations: [] Exploring Operation: 91-91=0, Resulting Numbers: [48, 55, 0] Generated Node #0,3: 55:[48, 55, 0] Operation: 91-91=0 Moving to Node #0,3 Current State: 55:[48, 55, 0], Operations: ['91-91=0'] Exploring Operation: 48*0=0, Resulting Numbers: [55, 0] Generated Node #0,3,4: 55:[55, 0] Operation: 48*0=0 Moving to Node #0,3,4 Current State: 55:[55, 0], Operations: ['91-91=0', '48*0=0'] Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 92, 1, 10, 17 ]
85
[ "92*1=92", "17-10=7", "92-7=85" ]
Current State: 85:[92, 1, 10, 17], Operations: [] Exploring Operation: 92*1=92, Resulting Numbers: [10, 17, 92] Generated Node #2: [10, 17, 92] from Operation: 92*1=92 Current State: 85:[10, 17, 92], Operations: ['92*1=92'] Exploring Operation: 17-10=7, Resulting Numbers: [92, 7] Generated Node #3: [92, 7] from Operation: 17-10=7 Current State: 85:[92, 7], Operations: ['92*1=92', '17-10=7'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[92, 1, 10, 17], Operations: [] Exploring Operation: 10-1=9, Resulting Numbers: [92, 17, 9] Generated Node #0,0: 85:[92, 17, 9] Operation: 10-1=9 Exploring Operation: 92-10=82, Resulting Numbers: [1, 17, 82] Generated Node #0,1: 85:[1, 17, 82] Operation: 92-10=82 Exploring Operation: 92-1=91, Resulting Numbers: [10, 17, 91] Generated Node #0,2: 85:[10, 17, 91] Operation: 92-1=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[1, 17, 82], Operations: ['92-10=82'] Exploring Operation: 17/1=17, Resulting Numbers: [82, 17] Generated Node #0,1,0: 85:[82, 17] Operation: 17/1=17 Exploring Operation: 1*17=17, Resulting Numbers: [82, 17] Generated Node #0,1,1: 85:[82, 17] Operation: 1*17=17 Exploring Operation: 1+82=83, Resulting Numbers: [17, 83] Generated Node #0,1,2: 85:[17, 83] Operation: 1+82=83 Moving to Node #0,1,2 Current State: 85:[17, 83], Operations: ['92-10=82', '1+82=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,85 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[82, 17], Operations: ['92-10=82', '17/1=17'] Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,85 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[82, 17], Operations: ['92-10=82', '1*17=17'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,85 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[92, 17, 9], Operations: ['10-1=9'] Exploring Operation: 92-17=75, Resulting Numbers: [9, 75] Generated Node #0,0,0: 85:[9, 75] Operation: 92-17=75 Exploring Operation: 17-9=8, Resulting Numbers: [92, 8] Generated Node #0,0,1: 85:[92, 8] Operation: 17-9=8 Exploring Operation: 92-9=83, Resulting Numbers: [17, 83] Generated Node #0,0,2: 85:[17, 83] Operation: 92-9=83 Moving to Node #0,0,2 Current State: 85:[17, 83], Operations: ['10-1=9', '92-9=83'] Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,85 unequal: No Solution Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[92, 8], Operations: ['10-1=9', '17-9=8'] Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,85 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[9, 75], Operations: ['10-1=9', '92-17=75'] Exploring Operation: 9*75=675, Resulting Numbers: [675] 675,85 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,85 unequal: No Solution Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[10, 17, 91], Operations: ['92-1=91'] Exploring Operation: 91-10=81, Resulting Numbers: [17, 81] Generated Node #0,2,0: 85:[17, 81] Operation: 91-10=81 Exploring Operation: 17-10=7, Resulting Numbers: [91, 7] Generated Node #0,2,1: 85:[91, 7] Operation: 17-10=7 Exploring Operation: 10+17=27, Resulting Numbers: [91, 27] Generated Node #0,2,2: 85:[91, 27] Operation: 10+17=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[17, 81], Operations: ['92-1=91', '91-10=81'] Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,85 unequal: No Solution Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,85 unequal: No Solution Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[91, 7], Operations: ['92-1=91', '17-10=7'] Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,85 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[91, 27], Operations: ['92-1=91', '10+17=27'] Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,85 unequal: No Solution Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,85 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 85, 82, 74, 40 ]
80
[ "82-74=8", "40/8=5", "85-5=80" ]
Current State: 80:[85, 82, 74, 40], Operations: [] Exploring Operation: 82-74=8, Resulting Numbers: [85, 40, 8] Generated Node #2: [85, 40, 8] from Operation: 82-74=8 Current State: 80:[85, 40, 8], Operations: ['82-74=8'] Exploring Operation: 40/8=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 40/8=5 Current State: 80:[85, 5], Operations: ['82-74=8', '40/8=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[85, 82, 74, 40], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [82, 40, 11] Generated Node #0,0: 80:[82, 40, 11] Operation: 85-74=11 Exploring Operation: 82-74=8, Resulting Numbers: [85, 40, 8] Generated Node #0,1: 80:[85, 40, 8] Operation: 82-74=8 Exploring Operation: 85-82=3, Resulting Numbers: [74, 40, 3] Generated Node #0,2: 80:[74, 40, 3] Operation: 85-82=3 Moving to Node #0,0 Current State: 80:[82, 40, 11], Operations: ['85-74=11'] Exploring Operation: 82-40=42, Resulting Numbers: [11, 42] Generated Node #0,0,0: 80:[11, 42] Operation: 82-40=42 Exploring Operation: 82-11=71, Resulting Numbers: [40, 71] Generated Node #0,0,1: 80:[40, 71] Operation: 82-11=71 Exploring Operation: 40-11=29, Resulting Numbers: [82, 29] Generated Node #0,0,2: 80:[82, 29] Operation: 40-11=29 Moving to Node #0,1 Current State: 80:[85, 40, 8], Operations: ['82-74=8'] Exploring Operation: 85-8=77, Resulting Numbers: [40, 77] Generated Node #0,1,0: 80:[40, 77] Operation: 85-8=77 Exploring Operation: 40/8=5, Resulting Numbers: [85, 5] Generated Node #0,1,1: 80:[85, 5] Operation: 40/8=5 Exploring Operation: 85-40=45, Resulting Numbers: [8, 45] Generated Node #0,1,2: 80:[8, 45] Operation: 85-40=45 Moving to Node #0,2 Current State: 80:[74, 40, 3], Operations: ['85-82=3'] Exploring Operation: 74-40=34, Resulting Numbers: [3, 34] Generated Node #0,2,0: 80:[3, 34] Operation: 74-40=34 Exploring Operation: 74-3=71, Resulting Numbers: [40, 71] Generated Node #0,2,1: 80:[40, 71] Operation: 74-3=71 Exploring Operation: 74+3=77, Resulting Numbers: [40, 77] Generated Node #0,2,2: 80:[40, 77] Operation: 74+3=77 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[40, 77], Operations: ['85-82=3', '74+3=77'] Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,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,2,0 Current State: 80:[3, 34], Operations: ['85-82=3', '74-40=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,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,2,1 Current State: 80:[40, 71], Operations: ['85-82=3', '74-3=71'] Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,80 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,80 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: 80:[11, 42], Operations: ['85-74=11', '82-40=42'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,80 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[40, 77], Operations: ['82-74=8', '85-8=77'] Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,80 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[8, 45], Operations: ['82-74=8', '85-40=45'] Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,80 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[85, 5], Operations: ['82-74=8', '40/8=5'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[85, 82, 74, 40], Operations: [] Exploring Operation: 82-74=8, Resulting Numbers: [85, 40, 8] Generated Node #0,1: 80:[85, 40, 8] Operation: 82-74=8 Moving to Node #0,1 Current State: 80:[85, 40, 8], Operations: ['82-74=8'] Exploring Operation: 40/8=5, Resulting Numbers: [85, 5] Generated Node #0,1,1: 80:[85, 5] Operation: 40/8=5 Moving to Node #0,1,1 Current State: 80:[85, 5], Operations: ['82-74=8', '40/8=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 86, 50, 55, 70 ]
89
[ "86-50=36", "55+70=125", "125-36=89" ]
Current State: 89:[86, 50, 55, 70], Operations: [] Exploring Operation: 86-50=36, Resulting Numbers: [55, 70, 36] Generated Node #2: [55, 70, 36] from Operation: 86-50=36 Current State: 89:[55, 70, 36], Operations: ['86-50=36'] Exploring Operation: 55+70=125, Resulting Numbers: [36, 125] Generated Node #3: [36, 125] from Operation: 55+70=125 Current State: 89:[36, 125], Operations: ['86-50=36', '55+70=125'] Exploring Operation: 125-36=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[86, 50, 55, 70], Operations: [] Exploring Operation: 50+55=105, Resulting Numbers: [86, 70, 105] Generated Node #0,0: 89:[86, 70, 105] Operation: 50+55=105 Exploring Operation: 50+70=120, Resulting Numbers: [86, 55, 120] Generated Node #0,1: 89:[86, 55, 120] Operation: 50+70=120 Moving to Node #0,0 Current State: 89:[86, 70, 105], Operations: ['50+55=105'] Exploring Operation: 86+70=156, Resulting Numbers: [105, 156] Generated Node #0,0,0: 89:[105, 156] Operation: 86+70=156 Exploring Operation: 105-70=35, Resulting Numbers: [86, 35] Generated Node #0,0,1: 89:[86, 35] Operation: 105-70=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[86, 35], Operations: ['50+55=105', '105-70=35'] Exploring Operation: 86+35=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[105, 156], Operations: ['50+55=105', '86+70=156'] Exploring Operation: 105+156=261, Resulting Numbers: [261] 261,89 unequal: No Solution Exploring Operation: 156-105=51, Resulting Numbers: [51] 51,89 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: 89:[86, 55, 120], Operations: ['50+70=120'] Exploring Operation: 86+55=141, Resulting Numbers: [120, 141] Generated Node #0,1,0: 89:[120, 141] Operation: 86+55=141 Exploring Operation: 120-55=65, Resulting Numbers: [86, 65] Generated Node #0,1,1: 89:[86, 65] Operation: 120-55=65 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[86, 65], Operations: ['50+70=120', '120-55=65'] Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,89 unequal: No Solution Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[120, 141], Operations: ['50+70=120', '86+55=141'] Exploring Operation: 120+141=261, Resulting Numbers: [261] 261,89 unequal: No Solution Exploring Operation: 141-120=21, Resulting Numbers: [21] 21,89 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
[ 98, 44, 70, 68 ]
93
[ "70-68=2", "98/2=49", "44+49=93" ]
Current State: 93:[98, 44, 70, 68], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [98, 44, 2] Generated Node #2: [98, 44, 2] from Operation: 70-68=2 Current State: 93:[98, 44, 2], Operations: ['70-68=2'] Exploring Operation: 98/2=49, Resulting Numbers: [44, 49] Generated Node #3: [44, 49] from Operation: 98/2=49 Current State: 93:[44, 49], Operations: ['70-68=2', '98/2=49'] Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[98, 44, 70, 68], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [98, 70, 24] Generated Node #0,0: 93:[98, 70, 24] Operation: 68-44=24 Exploring Operation: 98-68=30, Resulting Numbers: [44, 70, 30] Generated Node #0,1: 93:[44, 70, 30] Operation: 98-68=30 Exploring Operation: 70-44=26, Resulting Numbers: [98, 68, 26] Generated Node #0,2: 93:[98, 68, 26] Operation: 70-44=26 Exploring Operation: 70-68=2, Resulting Numbers: [98, 44, 2] Generated Node #0,3: 93:[98, 44, 2] Operation: 70-68=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[98, 44, 2], Operations: ['70-68=2'] Exploring Operation: 98-2=96, Resulting Numbers: [44, 96] Generated Node #0,3,0: 93:[44, 96] Operation: 98-2=96 Exploring Operation: 44-2=42, Resulting Numbers: [98, 42] Generated Node #0,3,1: 93:[98, 42] Operation: 44-2=42 Exploring Operation: 44/2=22, Resulting Numbers: [98, 22] Generated Node #0,3,2: 93:[98, 22] Operation: 44/2=22 Exploring Operation: 44*2=88, Resulting Numbers: [98, 88] Generated Node #0,3,3: 93:[98, 88] Operation: 44*2=88 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[98, 88], Operations: ['70-68=2', '44*2=88'] Exploring Operation: 98*88=8624, Resulting Numbers: [8624] 8624,93 unequal: No Solution Exploring Operation: 98-88=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 98+88=186, Resulting Numbers: [186] 186,93 unequal: No Solution No 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: 93:[98, 22], Operations: ['70-68=2', '44/2=22'] Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 98+22=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 98*22=2156, Resulting Numbers: [2156] 2156,93 unequal: No Solution No 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: 93:[44, 96], Operations: ['70-68=2', '98-2=96'] Exploring Operation: 44+96=140, Resulting Numbers: [140] 140,93 unequal: No Solution Exploring Operation: 44*96=4224, Resulting Numbers: [4224] 4224,93 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,93 unequal: No Solution No 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: 93:[98, 42], Operations: ['70-68=2', '44-2=42'] Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,93 unequal: No Solution Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[98, 70, 24], Operations: ['68-44=24'] Exploring Operation: 70+24=94, Resulting Numbers: [98, 94] Generated Node #0,0,0: 93:[98, 94] Operation: 70+24=94 Exploring Operation: 98-24=74, Resulting Numbers: [70, 74] Generated Node #0,0,1: 93:[70, 74] Operation: 98-24=74 Exploring Operation: 70-24=46, Resulting Numbers: [98, 46] Generated Node #0,0,2: 93:[98, 46] Operation: 70-24=46 Exploring Operation: 98-70=28, Resulting Numbers: [24, 28] Generated Node #0,0,3: 93:[24, 28] Operation: 98-70=28 Moving to Node #0,0,0 Current State: 93:[98, 94], Operations: ['68-44=24', '70+24=94'] Exploring Operation: 98+94=192, Resulting Numbers: [192] 192,93 unequal: No Solution Exploring Operation: 98*94=9212, Resulting Numbers: [9212] 9212,93 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[24, 28], Operations: ['68-44=24', '98-70=28'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,93 unequal: No Solution Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[98, 46], Operations: ['68-44=24', '70-24=46'] Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,93 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[70, 74], Operations: ['68-44=24', '98-24=74'] Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 70+74=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 70*74=5180, Resulting Numbers: [5180] 5180,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[98, 68, 26], Operations: ['70-44=26'] Exploring Operation: 98-26=72, Resulting Numbers: [68, 72] Generated Node #0,2,0: 93:[68, 72] Operation: 98-26=72 Exploring Operation: 68+26=94, Resulting Numbers: [98, 94] Generated Node #0,2,1: 93:[98, 94] Operation: 68+26=94 Exploring Operation: 68-26=42, Resulting Numbers: [98, 42] Generated Node #0,2,2: 93:[98, 42] Operation: 68-26=42 Exploring Operation: 98-68=30, Resulting Numbers: [26, 30] Generated Node #0,2,3: 93:[26, 30] Operation: 98-68=30 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[98, 94], Operations: ['70-44=26', '68+26=94'] Exploring Operation: 98*94=9212, Resulting Numbers: [9212] 9212,93 unequal: No Solution Exploring Operation: 98+94=192, Resulting Numbers: [192] 192,93 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,93 unequal: No Solution No 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: 93:[26, 30], Operations: ['70-44=26', '98-68=30'] Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,93 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,93 unequal: No Solution No 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: 93:[98, 42], Operations: ['70-44=26', '68-26=42'] Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,93 unequal: No Solution Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,93 unequal: No Solution No 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: 93:[68, 72], Operations: ['70-44=26', '98-26=72'] Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 68*72=4896, Resulting Numbers: [4896] 4896,93 unequal: No Solution Exploring Operation: 68+72=140, Resulting Numbers: [140] 140,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[44, 70, 30], Operations: ['98-68=30'] Exploring Operation: 70+30=100, Resulting Numbers: [44, 100] Generated Node #0,1,0: 93:[44, 100] Operation: 70+30=100 Exploring Operation: 44+70=114, Resulting Numbers: [30, 114] Generated Node #0,1,1: 93:[30, 114] Operation: 44+70=114 Exploring Operation: 70-44=26, Resulting Numbers: [30, 26] Generated Node #0,1,2: 93:[30, 26] Operation: 70-44=26 Exploring Operation: 70-30=40, Resulting Numbers: [44, 40] Generated Node #0,1,3: 93:[44, 40] Operation: 70-30=40 Moving to Node #0,1,2 Current State: 93:[30, 26], Operations: ['98-68=30', '70-44=26'] Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[44, 100], Operations: ['98-68=30', '70+30=100'] Exploring Operation: 100-44=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 44+100=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 44*100=4400, Resulting Numbers: [4400] 4400,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[44, 40], Operations: ['98-68=30', '70-30=40'] Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,93 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[30, 114], Operations: ['98-68=30', '44+70=114'] Exploring Operation: 30+114=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 30*114=3420, Resulting Numbers: [3420] 3420,93 unequal: No Solution Exploring Operation: 114-30=84, Resulting Numbers: [84] 84,93 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
[ 97, 95, 84, 77 ]
90
[ "95-84=11", "77/11=7", "97-7=90" ]
Current State: 90:[97, 95, 84, 77], Operations: [] Exploring Operation: 95-84=11, Resulting Numbers: [97, 77, 11] Generated Node #2: [97, 77, 11] from Operation: 95-84=11 Current State: 90:[97, 77, 11], Operations: ['95-84=11'] Exploring Operation: 77/11=7, Resulting Numbers: [97, 7] Generated Node #3: [97, 7] from Operation: 77/11=7 Current State: 90:[97, 7], Operations: ['95-84=11', '77/11=7'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[97, 95, 84, 77], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [84, 77, 2] Generated Node #0,0: 90:[84, 77, 2] Operation: 97-95=2 Exploring Operation: 95-77=18, Resulting Numbers: [97, 84, 18] Generated Node #0,1: 90:[97, 84, 18] Operation: 95-77=18 Exploring Operation: 84-77=7, Resulting Numbers: [97, 95, 7] Generated Node #0,2: 90:[97, 95, 7] Operation: 84-77=7 Exploring Operation: 97-77=20, Resulting Numbers: [95, 84, 20] Generated Node #0,3: 90:[95, 84, 20] Operation: 97-77=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[97, 84, 18], Operations: ['95-77=18'] Exploring Operation: 97-18=79, Resulting Numbers: [84, 79] Generated Node #0,1,0: 90:[84, 79] Operation: 97-18=79 Exploring Operation: 84-18=66, Resulting Numbers: [97, 66] Generated Node #0,1,1: 90:[97, 66] Operation: 84-18=66 Exploring Operation: 97-84=13, Resulting Numbers: [18, 13] Generated Node #0,1,2: 90:[18, 13] Operation: 97-84=13 Exploring Operation: 84+18=102, Resulting Numbers: [97, 102] Generated Node #0,1,3: 90:[97, 102] Operation: 84+18=102 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[18, 13], Operations: ['95-77=18', '97-84=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[84, 79], Operations: ['95-77=18', '97-18=79'] Exploring Operation: 84*79=6636, Resulting Numbers: [6636] 6636,90 unequal: No Solution Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,90 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 90:[97, 102], Operations: ['95-77=18', '84+18=102'] Exploring Operation: 97*102=9894, Resulting Numbers: [9894] 9894,90 unequal: No Solution Exploring Operation: 102-97=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 97+102=199, Resulting Numbers: [199] 199,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[97, 66], Operations: ['95-77=18', '84-18=66'] Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 97+66=163, Resulting Numbers: [163] 163,90 unequal: No Solution Exploring Operation: 97*66=6402, Resulting Numbers: [6402] 6402,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[97, 95, 7], Operations: ['84-77=7'] Exploring Operation: 95-7=88, Resulting Numbers: [97, 88] Generated Node #0,2,0: 90:[97, 88] Operation: 95-7=88 Exploring Operation: 97-95=2, Resulting Numbers: [7, 2] Generated Node #0,2,1: 90:[7, 2] Operation: 97-95=2 Exploring Operation: 97-7=90, Resulting Numbers: [95, 90] Generated Node #0,2,2: 90:[95, 90] Operation: 97-7=90 Exploring Operation: 97+7=104, Resulting Numbers: [95, 104] Generated Node #0,2,3: 90:[95, 104] Operation: 97+7=104 Moving to Node #0,2,1 Current State: 90:[7, 2], Operations: ['84-77=7', '97-95=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[95, 90], Operations: ['84-77=7', '97-7=90'] Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,90 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[97, 88], Operations: ['84-77=7', '95-7=88'] Exploring Operation: 97*88=8536, Resulting Numbers: [8536] 8536,90 unequal: No Solution Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 97+88=185, Resulting Numbers: [185] 185,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[95, 104], Operations: ['84-77=7', '97+7=104'] Exploring Operation: 104-95=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 95+104=199, Resulting Numbers: [199] 199,90 unequal: No Solution Exploring Operation: 95*104=9880, Resulting Numbers: [9880] 9880,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[95, 84, 20], Operations: ['97-77=20'] Exploring Operation: 84-20=64, Resulting Numbers: [95, 64] Generated Node #0,3,0: 90:[95, 64] Operation: 84-20=64 Exploring Operation: 95-84=11, Resulting Numbers: [20, 11] Generated Node #0,3,1: 90:[20, 11] Operation: 95-84=11 Exploring Operation: 84+20=104, Resulting Numbers: [95, 104] Generated Node #0,3,2: 90:[95, 104] Operation: 84+20=104 Exploring Operation: 95-20=75, Resulting Numbers: [84, 75] Generated Node #0,3,3: 90:[84, 75] Operation: 95-20=75 Moving to Node #0,3,1 Current State: 90:[20, 11], Operations: ['97-77=20', '95-84=11'] Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,90 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[95, 104], Operations: ['97-77=20', '84+20=104'] Exploring Operation: 95+104=199, Resulting Numbers: [199] 199,90 unequal: No Solution Exploring Operation: 104-95=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 95*104=9880, Resulting Numbers: [9880] 9880,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[84, 75], Operations: ['97-77=20', '95-20=75'] Exploring Operation: 84+75=159, Resulting Numbers: [159] 159,90 unequal: No Solution Exploring Operation: 84*75=6300, Resulting Numbers: [6300] 6300,90 unequal: No Solution Exploring Operation: 84-75=9, Resulting Numbers: [9] 9,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[95, 64], Operations: ['97-77=20', '84-20=64'] Exploring Operation: 95+64=159, Resulting Numbers: [159] 159,90 unequal: No Solution Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 95*64=6080, Resulting Numbers: [6080] 6080,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[84, 77, 2], Operations: ['97-95=2'] Exploring Operation: 84-77=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 90:[2, 7] Operation: 84-77=7 Exploring Operation: 84+2=86, Resulting Numbers: [77, 86] Generated Node #0,0,1: 90:[77, 86] Operation: 84+2=86 Exploring Operation: 77+2=79, Resulting Numbers: [84, 79] Generated Node #0,0,2: 90:[84, 79] Operation: 77+2=79 Exploring Operation: 84/2=42, Resulting Numbers: [77, 42] Generated Node #0,0,3: 90:[77, 42] Operation: 84/2=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[2, 7], Operations: ['97-95=2', '84-77=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[77, 42], Operations: ['97-95=2', '84/2=42'] Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 77*42=3234, Resulting Numbers: [3234] 3234,90 unequal: No Solution Exploring Operation: 77+42=119, Resulting Numbers: [119] 119,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[77, 86], Operations: ['97-95=2', '84+2=86'] Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,90 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[84, 79], Operations: ['97-95=2', '77+2=79'] Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,90 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 84*79=6636, Resulting Numbers: [6636] 6636,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 5, 65, 59, 77 ]
78
[ "65-5=60", "77-59=18", "60+18=78" ]
Current State: 78:[5, 65, 59, 77], Operations: [] Exploring Operation: 65-5=60, Resulting Numbers: [59, 77, 60] Generated Node #2: [59, 77, 60] from Operation: 65-5=60 Current State: 78:[59, 77, 60], Operations: ['65-5=60'] Exploring Operation: 77-59=18, Resulting Numbers: [60, 18] Generated Node #3: [60, 18] from Operation: 77-59=18 Current State: 78:[60, 18], Operations: ['65-5=60', '77-59=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[5, 65, 59, 77], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [5, 77, 6] Generated Node #0,0: 78:[5, 77, 6] Operation: 65-59=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[5, 77, 6], Operations: ['65-59=6'] Exploring Operation: 6-5=1, Resulting Numbers: [77, 1] Generated Node #0,0,0: 78:[77, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 78:[77, 1], Operations: ['65-59=6', '6-5=1'] Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[5, 65, 59, 77], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [5, 77, 6] Generated Node #0,0: 78:[5, 77, 6] Operation: 65-59=6 Moving to Node #0,0 Current State: 78:[5, 77, 6], Operations: ['65-59=6'] Exploring Operation: 6-5=1, Resulting Numbers: [77, 1] Generated Node #0,0,0: 78:[77, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 78:[77, 1], Operations: ['65-59=6', '6-5=1'] Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 86, 29, 80, 38 ]
15
[ "86-29=57", "80-38=42", "57-42=15" ]
Current State: 15:[86, 29, 80, 38], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [80, 38, 57] Generated Node #2: [80, 38, 57] from Operation: 86-29=57 Current State: 15:[80, 38, 57], Operations: ['86-29=57'] Exploring Operation: 80-38=42, Resulting Numbers: [57, 42] Generated Node #3: [57, 42] from Operation: 80-38=42 Current State: 15:[57, 42], Operations: ['86-29=57', '80-38=42'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[86, 29, 80, 38], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [86, 38, 51] Generated Node #0,0: 15:[86, 38, 51] Operation: 80-29=51 Exploring Operation: 86-29=57, Resulting Numbers: [80, 38, 57] Generated Node #0,1: 15:[80, 38, 57] Operation: 86-29=57 Exploring Operation: 86-80=6, Resulting Numbers: [29, 38, 6] Generated Node #0,2: 15:[29, 38, 6] Operation: 86-80=6 Exploring Operation: 80-38=42, Resulting Numbers: [86, 29, 42] Generated Node #0,3: 15:[86, 29, 42] Operation: 80-38=42 Exploring Operation: 86-38=48, Resulting Numbers: [29, 80, 48] Generated Node #0,4: 15:[29, 80, 48] Operation: 86-38=48 Moving to Node #0,2 Current State: 15:[29, 38, 6], Operations: ['86-80=6'] Exploring Operation: 38-29=9, Resulting Numbers: [6, 9] Generated Node #0,2,0: 15:[6, 9] Operation: 38-29=9 Exploring Operation: 38-6=32, Resulting Numbers: [29, 32] Generated Node #0,2,1: 15:[29, 32] Operation: 38-6=32 Exploring Operation: 38+6=44, Resulting Numbers: [29, 44] Generated Node #0,2,2: 15:[29, 44] Operation: 38+6=44 Exploring Operation: 29+6=35, Resulting Numbers: [38, 35] Generated Node #0,2,3: 15:[38, 35] Operation: 29+6=35 Exploring Operation: 29-6=23, Resulting Numbers: [38, 23] Generated Node #0,2,4: 15:[38, 23] Operation: 29-6=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[6, 9], Operations: ['86-80=6', '38-29=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[86, 29, 80, 38], Operations: [] Exploring Operation: 86-80=6, Resulting Numbers: [29, 38, 6] Generated Node #0,2: 15:[29, 38, 6] Operation: 86-80=6 Moving to Node #0,2 Current State: 15:[29, 38, 6], Operations: ['86-80=6'] Exploring Operation: 38-29=9, Resulting Numbers: [6, 9] Generated Node #0,2,0: 15:[6, 9] Operation: 38-29=9 Moving to Node #0,2,0 Current State: 15:[6, 9], Operations: ['86-80=6', '38-29=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 95, 38, 8, 62 ]
79
[ "95+38=133", "62-8=54", "133-54=79" ]
Current State: 79:[95, 38, 8, 62], Operations: [] Exploring Operation: 95+38=133, Resulting Numbers: [8, 62, 133] Generated Node #2: [8, 62, 133] from Operation: 95+38=133 Current State: 79:[8, 62, 133], Operations: ['95+38=133'] Exploring Operation: 62-8=54, Resulting Numbers: [133, 54] Generated Node #3: [133, 54] from Operation: 62-8=54 Current State: 79:[133, 54], Operations: ['95+38=133', '62-8=54'] Exploring Operation: 133-54=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[95, 38, 8, 62], Operations: [] Exploring Operation: 95-8=87, Resulting Numbers: [38, 62, 87] Generated Node #0,0: 79:[38, 62, 87] Operation: 95-8=87 Exploring Operation: 8+62=70, Resulting Numbers: [95, 38, 70] Generated Node #0,1: 79:[95, 38, 70] Operation: 8+62=70 Exploring Operation: 38+8=46, Resulting Numbers: [95, 62, 46] Generated Node #0,2: 79:[95, 62, 46] Operation: 38+8=46 Moving to Node #0,0 Current State: 79:[38, 62, 87], Operations: ['95-8=87'] Exploring Operation: 62-38=24, Resulting Numbers: [87, 24] Generated Node #0,0,0: 79:[87, 24] Operation: 62-38=24 Exploring Operation: 38+62=100, Resulting Numbers: [87, 100] Generated Node #0,0,1: 79:[87, 100] Operation: 38+62=100 Exploring Operation: 87-38=49, Resulting Numbers: [62, 49] Generated Node #0,0,2: 79:[62, 49] Operation: 87-38=49 Moving to Node #0,1 Current State: 79:[95, 38, 70], Operations: ['8+62=70'] Exploring Operation: 95-38=57, Resulting Numbers: [70, 57] Generated Node #0,1,0: 79:[70, 57] Operation: 95-38=57 Exploring Operation: 95+38=133, Resulting Numbers: [70, 133] Generated Node #0,1,1: 79:[70, 133] Operation: 95+38=133 Exploring Operation: 38+70=108, Resulting Numbers: [95, 108] Generated Node #0,1,2: 79:[95, 108] Operation: 38+70=108 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[70, 57], Operations: ['8+62=70', '95-38=57'] Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 70*57=3990, Resulting Numbers: [3990] 3990,79 unequal: No Solution Exploring Operation: 70+57=127, Resulting Numbers: [127] 127,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,2 Current State: 79:[95, 108], Operations: ['8+62=70', '38+70=108'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 95+108=203, Resulting Numbers: [203] 203,79 unequal: No Solution Exploring Operation: 95*108=10260, Resulting Numbers: [10260] 10260,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,1 Current State: 79:[70, 133], Operations: ['8+62=70', '95+38=133'] Exploring Operation: 70*133=9310, Resulting Numbers: [9310] 9310,79 unequal: No Solution Exploring Operation: 70+133=203, Resulting Numbers: [203] 203,79 unequal: No Solution Exploring Operation: 133-70=63, Resulting Numbers: [63] 63,79 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: 79:[95, 62, 46], Operations: ['38+8=46'] Exploring Operation: 62+46=108, Resulting Numbers: [95, 108] Generated Node #0,2,0: 79:[95, 108] Operation: 62+46=108 Exploring Operation: 95-46=49, Resulting Numbers: [62, 49] Generated Node #0,2,1: 79:[62, 49] Operation: 95-46=49 Exploring Operation: 95-62=33, Resulting Numbers: [46, 33] Generated Node #0,2,2: 79:[46, 33] Operation: 95-62=33 Moving to Node #0,0,1 Current State: 79:[87, 100], Operations: ['95-8=87', '38+62=100'] Exploring Operation: 100-87=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 87*100=8700, Resulting Numbers: [8700] 8700,79 unequal: No Solution Exploring Operation: 87+100=187, Resulting Numbers: [187] 187,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[95, 108], Operations: ['38+8=46', '62+46=108'] Exploring Operation: 95*108=10260, Resulting Numbers: [10260] 10260,79 unequal: No Solution Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 95+108=203, Resulting Numbers: [203] 203,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[62, 49], Operations: ['38+8=46', '95-46=49'] Exploring Operation: 62+49=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 62*49=3038, Resulting Numbers: [3038] 3038,79 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[62, 49], Operations: ['95-8=87', '87-38=49'] Exploring Operation: 62+49=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 62*49=3038, Resulting Numbers: [3038] 3038,79 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[87, 24], Operations: ['95-8=87', '62-38=24'] Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[46, 33], Operations: ['38+8=46', '95-62=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[95, 38, 8, 62], Operations: [] Exploring Operation: 38+8=46, Resulting Numbers: [95, 62, 46] Generated Node #0,2: 79:[95, 62, 46] Operation: 38+8=46 Moving to Node #0,2 Current State: 79:[95, 62, 46], Operations: ['38+8=46'] Exploring Operation: 95-62=33, Resulting Numbers: [46, 33] Generated Node #0,2,2: 79:[46, 33] Operation: 95-62=33 Moving to Node #0,2,2 Current State: 79:[46, 33], Operations: ['38+8=46', '95-62=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 48, 63, 51, 81 ]
54
[ "51-48=3", "81-63=18", "3*18=54" ]
Current State: 54:[48, 63, 51, 81], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [63, 81, 3] Generated Node #2: [63, 81, 3] from Operation: 51-48=3 Current State: 54:[63, 81, 3], Operations: ['51-48=3'] Exploring Operation: 81-63=18, Resulting Numbers: [3, 18] Generated Node #3: [3, 18] from Operation: 81-63=18 Current State: 54:[3, 18], Operations: ['51-48=3', '81-63=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[48, 63, 51, 81], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [63, 51, 33] Generated Node #0,0: 54:[63, 51, 33] Operation: 81-48=33 Exploring Operation: 81-63=18, Resulting Numbers: [48, 51, 18] Generated Node #0,1: 54:[48, 51, 18] Operation: 81-63=18 Moving to Node #0,1 Current State: 54:[48, 51, 18], Operations: ['81-63=18'] Exploring Operation: 48-18=30, Resulting Numbers: [51, 30] Generated Node #0,1,0: 54:[51, 30] Operation: 48-18=30 Exploring Operation: 51-48=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 54:[18, 3] Operation: 51-48=3 Moving to Node #0,0 Current State: 54:[63, 51, 33], Operations: ['81-48=33'] Exploring Operation: 63-33=30, Resulting Numbers: [51, 30] Generated Node #0,0,0: 54:[51, 30] Operation: 63-33=30 Exploring Operation: 63-51=12, Resulting Numbers: [33, 12] Generated Node #0,0,1: 54:[33, 12] Operation: 63-51=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[51, 30], Operations: ['81-48=33', '63-33=30'] Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,54 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[33, 12], Operations: ['81-48=33', '63-51=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,54 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: 54:[18, 3], Operations: ['81-63=18', '51-48=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[48, 63, 51, 81], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [48, 51, 18] Generated Node #0,1: 54:[48, 51, 18] Operation: 81-63=18 Moving to Node #0,1 Current State: 54:[48, 51, 18], Operations: ['81-63=18'] Exploring Operation: 51-48=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 54:[18, 3] Operation: 51-48=3 Moving to Node #0,1,1 Current State: 54:[18, 3], Operations: ['81-63=18', '51-48=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 69, 18, 92, 59 ]
64
[ "69+18=87", "92+59=151", "151-87=64" ]
Current State: 64:[69, 18, 92, 59], Operations: [] Exploring Operation: 69+18=87, Resulting Numbers: [92, 59, 87] Generated Node #2: [92, 59, 87] from Operation: 69+18=87 Current State: 64:[92, 59, 87], Operations: ['69+18=87'] Exploring Operation: 92+59=151, Resulting Numbers: [87, 151] Generated Node #3: [87, 151] from Operation: 92+59=151 Current State: 64:[87, 151], Operations: ['69+18=87', '92+59=151'] Exploring Operation: 151-87=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[69, 18, 92, 59], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [18, 59, 23] Generated Node #0,0: 64:[18, 59, 23] Operation: 92-69=23 Exploring Operation: 92-59=33, Resulting Numbers: [69, 18, 33] Generated Node #0,1: 64:[69, 18, 33] Operation: 92-59=33 Moving to Node #0,1 Current State: 64:[69, 18, 33], Operations: ['92-59=33'] Exploring Operation: 33-18=15, Resulting Numbers: [69, 15] Generated Node #0,1,0: 64:[69, 15] Operation: 33-18=15 Exploring Operation: 69-33=36, Resulting Numbers: [18, 36] Generated Node #0,1,1: 64:[18, 36] Operation: 69-33=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[69, 15], Operations: ['92-59=33', '33-18=15'] Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 69+15=84, Resulting Numbers: [84] 84,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[18, 36], Operations: ['92-59=33', '69-33=36'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 64:[18, 59, 23], Operations: ['92-69=23'] Exploring Operation: 23-18=5, Resulting Numbers: [59, 5] Generated Node #0,0,0: 64:[59, 5] Operation: 23-18=5 Exploring Operation: 59-23=36, Resulting Numbers: [18, 36] Generated Node #0,0,1: 64:[18, 36] Operation: 59-23=36 Moving to Node #0,0,0 Current State: 64:[59, 5], Operations: ['92-69=23', '23-18=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[69, 18, 92, 59], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [18, 59, 23] Generated Node #0,0: 64:[18, 59, 23] Operation: 92-69=23 Moving to Node #0,0 Current State: 64:[18, 59, 23], Operations: ['92-69=23'] Exploring Operation: 23-18=5, Resulting Numbers: [59, 5] Generated Node #0,0,0: 64:[59, 5] Operation: 23-18=5 Moving to Node #0,0,0 Current State: 64:[59, 5], Operations: ['92-69=23', '23-18=5'] Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 89, 13, 75, 70 ]
69
[ "89-13=76", "75+70=145", "145-76=69" ]
Current State: 69:[89, 13, 75, 70], Operations: [] Exploring Operation: 89-13=76, Resulting Numbers: [75, 70, 76] Generated Node #2: [75, 70, 76] from Operation: 89-13=76 Current State: 69:[75, 70, 76], Operations: ['89-13=76'] Exploring Operation: 75+70=145, Resulting Numbers: [76, 145] Generated Node #3: [76, 145] from Operation: 75+70=145 Current State: 69:[76, 145], Operations: ['89-13=76', '75+70=145'] Exploring Operation: 145-76=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[89, 13, 75, 70], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [13, 75, 19] Generated Node #0,0: 69:[13, 75, 19] Operation: 89-70=19 Exploring Operation: 89-13=76, Resulting Numbers: [75, 70, 76] Generated Node #0,1: 69:[75, 70, 76] Operation: 89-13=76 Exploring Operation: 89-75=14, Resulting Numbers: [13, 70, 14] Generated Node #0,2: 69:[13, 70, 14] Operation: 89-75=14 Moving to Node #0,1 Current State: 69:[75, 70, 76], Operations: ['89-13=76'] Exploring Operation: 76-75=1, Resulting Numbers: [70, 1] Generated Node #0,1,0: 69:[70, 1] Operation: 76-75=1 Exploring Operation: 76-70=6, Resulting Numbers: [75, 6] Generated Node #0,1,1: 69:[75, 6] Operation: 76-70=6 Exploring Operation: 75-70=5, Resulting Numbers: [76, 5] Generated Node #0,1,2: 69:[76, 5] Operation: 75-70=5 Moving to Node #0,0 Current State: 69:[13, 75, 19], Operations: ['89-70=19'] Exploring Operation: 19-13=6, Resulting Numbers: [75, 6] Generated Node #0,0,0: 69:[75, 6] Operation: 19-13=6 Exploring Operation: 75-13=62, Resulting Numbers: [19, 62] Generated Node #0,0,1: 69:[19, 62] Operation: 75-13=62 Exploring Operation: 13+19=32, Resulting Numbers: [75, 32] Generated Node #0,0,2: 69:[75, 32] Operation: 13+19=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[75, 6], Operations: ['89-70=19', '19-13=6'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[89, 13, 75, 70], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [13, 75, 19] Generated Node #0,0: 69:[13, 75, 19] Operation: 89-70=19 Moving to Node #0,0 Current State: 69:[13, 75, 19], Operations: ['89-70=19'] Exploring Operation: 19-13=6, Resulting Numbers: [75, 6] Generated Node #0,0,0: 69:[75, 6] Operation: 19-13=6 Moving to Node #0,0,0 Current State: 69:[75, 6], Operations: ['89-70=19', '19-13=6'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 65, 47, 62, 47 ]
62
[ "47-47=0", "65*0=0", "62+0=62" ]
Current State: 62:[65, 47, 62, 47], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [65, 62, 0] Generated Node #2: [65, 62, 0] from Operation: 47-47=0 Current State: 62:[65, 62, 0], Operations: ['47-47=0'] Exploring Operation: 65*0=0, Resulting Numbers: [62, 0] Generated Node #3: [62, 0] from Operation: 65*0=0 Current State: 62:[62, 0], Operations: ['47-47=0', '65*0=0'] Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[65, 47, 62, 47], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [47, 47, 3] Generated Node #0,0: 62:[47, 47, 3] Operation: 65-62=3 Exploring Operation: 47/47=1, Resulting Numbers: [65, 62, 1] Generated Node #0,1: 62:[65, 62, 1] Operation: 47/47=1 Exploring Operation: 65-47=18, Resulting Numbers: [62, 47, 18] Generated Node #0,2: 62:[62, 47, 18] Operation: 65-47=18 Exploring Operation: 65-47=18, Resulting Numbers: [47, 62, 18] Generated Node #0,3: 62:[47, 62, 18] Operation: 65-47=18 Exploring Operation: 47-47=0, Resulting Numbers: [65, 62, 0] Generated Node #0,4: 62:[65, 62, 0] Operation: 47-47=0 Moving to Node #0,1 Current State: 62:[65, 62, 1], Operations: ['47/47=1'] Exploring Operation: 65*1=65, Resulting Numbers: [62, 65] Generated Node #0,1,0: 62:[62, 65] Operation: 65*1=65 Exploring Operation: 65-1=64, Resulting Numbers: [62, 64] Generated Node #0,1,1: 62:[62, 64] Operation: 65-1=64 Exploring Operation: 65/1=65, Resulting Numbers: [62, 65] Generated Node #0,1,2: 62:[62, 65] Operation: 65/1=65 Exploring Operation: 62*1=62, Resulting Numbers: [65, 62] Generated Node #0,1,3: 62:[65, 62] Operation: 62*1=62 Exploring Operation: 65-62=3, Resulting Numbers: [1, 3] Generated Node #0,1,4: 62:[1, 3] Operation: 65-62=3 Moving to Node #0,4 Current State: 62:[65, 62, 0], Operations: ['47-47=0'] Exploring Operation: 62+0=62, Resulting Numbers: [65, 62] Generated Node #0,4,0: 62:[65, 62] Operation: 62+0=62 Exploring Operation: 65-62=3, Resulting Numbers: [0, 3] Generated Node #0,4,1: 62:[0, 3] Operation: 65-62=3 Exploring Operation: 65+0=65, Resulting Numbers: [62, 65] Generated Node #0,4,2: 62:[62, 65] Operation: 65+0=65 Exploring Operation: 65*0=0, Resulting Numbers: [62, 0] Generated Node #0,4,3: 62:[62, 0] Operation: 65*0=0 Exploring Operation: 65-0=65, Resulting Numbers: [62, 65] Generated Node #0,4,4: 62:[62, 65] Operation: 65-0=65 Moving to Node #0,2 Current State: 62:[62, 47, 18], Operations: ['65-47=18'] Exploring Operation: 62-18=44, Resulting Numbers: [47, 44] Generated Node #0,2,0: 62:[47, 44] Operation: 62-18=44 Exploring Operation: 62-47=15, Resulting Numbers: [18, 15] Generated Node #0,2,1: 62:[18, 15] Operation: 62-47=15 Exploring Operation: 47+18=65, Resulting Numbers: [62, 65] Generated Node #0,2,2: 62:[62, 65] Operation: 47+18=65 Exploring Operation: 47-18=29, Resulting Numbers: [62, 29] Generated Node #0,2,3: 62:[62, 29] Operation: 47-18=29 Exploring Operation: 62+18=80, Resulting Numbers: [47, 80] Generated Node #0,2,4: 62:[47, 80] Operation: 62+18=80 Moving to Node #0,3 Current State: 62:[47, 62, 18], Operations: ['65-47=18'] Exploring Operation: 62+18=80, Resulting Numbers: [47, 80] Generated Node #0,3,0: 62:[47, 80] Operation: 62+18=80 Exploring Operation: 62-18=44, Resulting Numbers: [47, 44] Generated Node #0,3,1: 62:[47, 44] Operation: 62-18=44 Exploring Operation: 47+18=65, Resulting Numbers: [62, 65] Generated Node #0,3,2: 62:[62, 65] Operation: 47+18=65 Exploring Operation: 47-18=29, Resulting Numbers: [62, 29] Generated Node #0,3,3: 62:[62, 29] Operation: 47-18=29 Exploring Operation: 62-47=15, Resulting Numbers: [18, 15] Generated Node #0,3,4: 62:[18, 15] Operation: 62-47=15 Moving to Node #0,0 Current State: 62:[47, 47, 3], Operations: ['65-62=3'] Exploring Operation: 47+3=50, Resulting Numbers: [47, 50] Generated Node #0,0,0: 62:[47, 50] Operation: 47+3=50 Exploring Operation: 47/47=1, Resulting Numbers: [3, 1] Generated Node #0,0,1: 62:[3, 1] Operation: 47/47=1 Exploring Operation: 47+3=50, Resulting Numbers: [47, 50] Generated Node #0,0,2: 62:[47, 50] Operation: 47+3=50 Exploring Operation: 47-47=0, Resulting Numbers: [3, 0] Generated Node #0,0,3: 62:[3, 0] Operation: 47-47=0 Exploring Operation: 47-3=44, Resulting Numbers: [47, 44] Generated Node #0,0,4: 62:[47, 44] Operation: 47-3=44 Moving to Node #0,1,1 Current State: 62:[62, 64], Operations: ['47/47=1', '65-1=64'] Exploring Operation: 62*64=3968, Resulting Numbers: [3968] 3968,62 unequal: No Solution Exploring Operation: 62+64=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[62, 0], Operations: ['47-47=0', '65*0=0'] Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[65, 47, 62, 47], Operations: [] Exploring Operation: 47-47=0, Resulting Numbers: [65, 62, 0] Generated Node #0,4: 62:[65, 62, 0] Operation: 47-47=0 Moving to Node #0,4 Current State: 62:[65, 62, 0], Operations: ['47-47=0'] Exploring Operation: 65*0=0, Resulting Numbers: [62, 0] Generated Node #0,4,3: 62:[62, 0] Operation: 65*0=0 Moving to Node #0,4,3 Current State: 62:[62, 0], Operations: ['47-47=0', '65*0=0'] Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.967014
hs_5
mult_heuristic
[ 38, 67, 38, 22 ]
89
[ "38+67=105", "38-22=16", "105-16=89" ]
Current State: 89:[38, 67, 38, 22], Operations: [] Exploring Operation: 38+67=105, Resulting Numbers: [22, 105] Generated Node #2: [22, 105] from Operation: 38+67=105 Current State: 89:[22, 105], Operations: ['38+67=105'] Exploring Operation: 38-22=16, Resulting Numbers: [105, 16] Generated Node #3: [105, 16] from Operation: 38-22=16 Current State: 89:[105, 16], Operations: ['38+67=105', '38-22=16'] Exploring Operation: 105-16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[38, 67, 38, 22], Operations: [] Exploring Operation: 38+22=60, Resulting Numbers: [67, 38, 60] Generated Node #0,0: 89:[67, 38, 60] Operation: 38+22=60 Exploring Operation: 38+38=76, Resulting Numbers: [67, 22, 76] Generated Node #0,1: 89:[67, 22, 76] Operation: 38+38=76 Exploring Operation: 67+22=89, Resulting Numbers: [38, 38, 89] Generated Node #0,2: 89:[38, 38, 89] Operation: 67+22=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[67, 38, 60], Operations: ['38+22=60'] Exploring Operation: 67-38=29, Resulting Numbers: [60, 29] Generated Node #0,0,0: 89:[60, 29] Operation: 67-38=29 Exploring Operation: 67+38=105, Resulting Numbers: [60, 105] Generated Node #0,0,1: 89:[60, 105] Operation: 67+38=105 Exploring Operation: 38+60=98, Resulting Numbers: [67, 98] Generated Node #0,0,2: 89:[67, 98] Operation: 38+60=98 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[67, 98], Operations: ['38+22=60', '38+60=98'] Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,89 unequal: No Solution No 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: 89:[60, 105], Operations: ['38+22=60', '67+38=105'] Exploring Operation: 60*105=6300, Resulting Numbers: [6300] 6300,89 unequal: No Solution Exploring Operation: 60+105=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 105-60=45, Resulting Numbers: [45] 45,89 unequal: No Solution No 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: 89:[60, 29], Operations: ['38+22=60', '67-38=29'] Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,89 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[38, 67, 38, 22], Operations: [] Exploring Operation: 38+22=60, Resulting Numbers: [67, 38, 60] Generated Node #0,0: 89:[67, 38, 60] Operation: 38+22=60 Moving to Node #0,0 Current State: 89:[67, 38, 60], Operations: ['38+22=60'] Exploring Operation: 67-38=29, Resulting Numbers: [60, 29] Generated Node #0,0,0: 89:[60, 29] Operation: 67-38=29 Moving to Node #0,0,0 Current State: 89:[60, 29], Operations: ['38+22=60', '67-38=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 1, 58, 11, 49 ]
97
[ "1+58=59", "49-11=38", "59+38=97" ]
Current State: 97:[1, 58, 11, 49], Operations: [] Exploring Operation: 1+58=59, Resulting Numbers: [11, 49, 59] Generated Node #2: [11, 49, 59] from Operation: 1+58=59 Current State: 97:[11, 49, 59], Operations: ['1+58=59'] Exploring Operation: 49-11=38, Resulting Numbers: [59, 38] Generated Node #3: [59, 38] from Operation: 49-11=38 Current State: 97:[59, 38], Operations: ['1+58=59', '49-11=38'] Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[1, 58, 11, 49], Operations: [] Exploring Operation: 1+11=12, Resulting Numbers: [58, 49, 12] Generated Node #0,0: 97:[58, 49, 12] Operation: 1+11=12 Exploring Operation: 1+58=59, Resulting Numbers: [11, 49, 59] Generated Node #0,1: 97:[11, 49, 59] Operation: 1+58=59 Moving to Node #0,0 Current State: 97:[58, 49, 12], Operations: ['1+11=12'] Exploring Operation: 49+12=61, Resulting Numbers: [58, 61] Generated Node #0,0,0: 97:[58, 61] Operation: 49+12=61 Exploring Operation: 58+12=70, Resulting Numbers: [49, 70] Generated Node #0,0,1: 97:[49, 70] Operation: 58+12=70 Moving to Node #0,1 Current State: 97:[11, 49, 59], Operations: ['1+58=59'] Exploring Operation: 11+59=70, Resulting Numbers: [49, 70] Generated Node #0,1,0: 97:[49, 70] Operation: 11+59=70 Exploring Operation: 11+49=60, Resulting Numbers: [59, 60] Generated Node #0,1,1: 97:[59, 60] Operation: 11+49=60 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[49, 70], Operations: ['1+58=59', '11+59=70'] Exploring Operation: 49+70=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,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,1,1 Current State: 97:[59, 60], Operations: ['1+58=59', '11+49=60'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,97 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: 97:[58, 61], Operations: ['1+11=12', '49+12=61'] Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[49, 70], Operations: ['1+11=12', '58+12=70'] Exploring Operation: 49+70=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,97 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 49, 88, 16, 78 ]
18
[ "88-49=39", "78/39=2", "16+2=18" ]
Current State: 18:[49, 88, 16, 78], Operations: [] Exploring Operation: 88-49=39, Resulting Numbers: [16, 78, 39] Generated Node #2: [16, 78, 39] from Operation: 88-49=39 Current State: 18:[16, 78, 39], Operations: ['88-49=39'] Exploring Operation: 78/39=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 78/39=2 Current State: 18:[16, 2], Operations: ['88-49=39', '78/39=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[49, 88, 16, 78], Operations: [] Exploring Operation: 88-49=39, Resulting Numbers: [16, 78, 39] Generated Node #0,0: 18:[16, 78, 39] Operation: 88-49=39 Exploring Operation: 88-78=10, Resulting Numbers: [49, 16, 10] Generated Node #0,1: 18:[49, 16, 10] Operation: 88-78=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[49, 16, 10], Operations: ['88-78=10'] Exploring Operation: 49-16=33, Resulting Numbers: [10, 33] Generated Node #0,1,0: 18:[10, 33] Operation: 49-16=33 Exploring Operation: 49-10=39, Resulting Numbers: [16, 39] Generated Node #0,1,1: 18:[16, 39] Operation: 49-10=39 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 18:[10, 33], Operations: ['88-78=10', '49-16=33'] Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,18 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 18:[16, 39], Operations: ['88-78=10', '49-10=39'] Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,18 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[16, 78, 39], Operations: ['88-49=39'] Exploring Operation: 78/39=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 18:[16, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [16, 39] Generated Node #0,0,1: 18:[16, 39] Operation: 78-39=39 Moving to Node #0,0,0 Current State: 18:[16, 2], Operations: ['88-49=39', '78/39=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[49, 88, 16, 78], Operations: [] Exploring Operation: 88-49=39, Resulting Numbers: [16, 78, 39] Generated Node #0,0: 18:[16, 78, 39] Operation: 88-49=39 Moving to Node #0,0 Current State: 18:[16, 78, 39], Operations: ['88-49=39'] Exploring Operation: 78/39=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 18:[16, 2] Operation: 78/39=2 Moving to Node #0,0,0 Current State: 18:[16, 2], Operations: ['88-49=39', '78/39=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 87, 21, 79, 83 ]
54
[ "87+21=108", "79+83=162", "162-108=54" ]
Current State: 54:[87, 21, 79, 83], Operations: [] Exploring Operation: 87+21=108, Resulting Numbers: [79, 83, 108] Generated Node #2: [79, 83, 108] from Operation: 87+21=108 Current State: 54:[79, 83, 108], Operations: ['87+21=108'] Exploring Operation: 79+83=162, Resulting Numbers: [108, 162] Generated Node #3: [108, 162] from Operation: 79+83=162 Current State: 54:[108, 162], Operations: ['87+21=108', '79+83=162'] Exploring Operation: 162-108=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[87, 21, 79, 83], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [21, 83, 8] Generated Node #0,0: 54:[21, 83, 8] Operation: 87-79=8 Exploring Operation: 87-83=4, Resulting Numbers: [21, 79, 4] Generated Node #0,1: 54:[21, 79, 4] Operation: 87-83=4 Exploring Operation: 83-79=4, Resulting Numbers: [87, 21, 4] Generated Node #0,2: 54:[87, 21, 4] Operation: 83-79=4 Exploring Operation: 87-21=66, Resulting Numbers: [79, 83, 66] Generated Node #0,3: 54:[79, 83, 66] Operation: 87-21=66 Moving to Node #0,1 Current State: 54:[21, 79, 4], Operations: ['87-83=4'] Exploring Operation: 21+4=25, Resulting Numbers: [79, 25] Generated Node #0,1,0: 54:[79, 25] Operation: 21+4=25 Exploring Operation: 79-4=75, Resulting Numbers: [21, 75] Generated Node #0,1,1: 54:[21, 75] Operation: 79-4=75 Exploring Operation: 21-4=17, Resulting Numbers: [79, 17] Generated Node #0,1,2: 54:[79, 17] Operation: 21-4=17 Exploring Operation: 79-21=58, Resulting Numbers: [4, 58] Generated Node #0,1,3: 54:[4, 58] Operation: 79-21=58 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 54:[4, 58], Operations: ['87-83=4', '79-21=58'] Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,54 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,54 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[87, 21, 79, 83], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [21, 79, 4] Generated Node #0,1: 54:[21, 79, 4] Operation: 87-83=4 Moving to Node #0,1 Current State: 54:[21, 79, 4], Operations: ['87-83=4'] Exploring Operation: 79-21=58, Resulting Numbers: [4, 58] Generated Node #0,1,3: 54:[4, 58] Operation: 79-21=58 Moving to Node #0,1,3 Current State: 54:[4, 58], Operations: ['87-83=4', '79-21=58'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 31, 80, 18, 73 ]
95
[ "80-73=7", "18*7=126", "126-31=95" ]
Current State: 95:[31, 80, 18, 73], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [31, 18, 7] Generated Node #2: [31, 18, 7] from Operation: 80-73=7 Current State: 95:[31, 18, 7], Operations: ['80-73=7'] Exploring Operation: 18*7=126, Resulting Numbers: [31, 126] Generated Node #3: [31, 126] from Operation: 18*7=126 Current State: 95:[31, 126], Operations: ['80-73=7', '18*7=126'] Exploring Operation: 126-31=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[31, 80, 18, 73], Operations: [] Exploring Operation: 80+18=98, Resulting Numbers: [31, 73, 98] Generated Node #0,0: 95:[31, 73, 98] Operation: 80+18=98 Exploring Operation: 31+73=104, Resulting Numbers: [80, 18, 104] Generated Node #0,1: 95:[80, 18, 104] Operation: 31+73=104 Exploring Operation: 18+73=91, Resulting Numbers: [31, 80, 91] Generated Node #0,2: 95:[31, 80, 91] Operation: 18+73=91 Exploring Operation: 31+80=111, Resulting Numbers: [18, 73, 111] Generated Node #0,3: 95:[18, 73, 111] Operation: 31+80=111 Exploring Operation: 80-73=7, Resulting Numbers: [31, 18, 7] Generated Node #0,4: 95:[31, 18, 7] Operation: 80-73=7 Moving to Node #0,4 Current State: 95:[31, 18, 7], Operations: ['80-73=7'] Exploring Operation: 31-7=24, Resulting Numbers: [18, 24] Generated Node #0,4,0: 95:[18, 24] Operation: 31-7=24 Exploring Operation: 18+7=25, Resulting Numbers: [31, 25] Generated Node #0,4,1: 95:[31, 25] Operation: 18+7=25 Exploring Operation: 18-7=11, Resulting Numbers: [31, 11] Generated Node #0,4,2: 95:[31, 11] Operation: 18-7=11 Exploring Operation: 31-18=13, Resulting Numbers: [7, 13] Generated Node #0,4,3: 95:[7, 13] Operation: 31-18=13 Exploring Operation: 31+7=38, Resulting Numbers: [18, 38] Generated Node #0,4,4: 95:[18, 38] Operation: 31+7=38 Moving to Node #0,1 Current State: 95:[80, 18, 104], Operations: ['31+73=104'] Exploring Operation: 104-18=86, Resulting Numbers: [80, 86] Generated Node #0,1,0: 95:[80, 86] Operation: 104-18=86 Exploring Operation: 80-18=62, Resulting Numbers: [104, 62] Generated Node #0,1,1: 95:[104, 62] Operation: 80-18=62 Exploring Operation: 18+104=122, Resulting Numbers: [80, 122] Generated Node #0,1,2: 95:[80, 122] Operation: 18+104=122 Exploring Operation: 80+18=98, Resulting Numbers: [104, 98] Generated Node #0,1,3: 95:[104, 98] Operation: 80+18=98 Exploring Operation: 104-80=24, Resulting Numbers: [18, 24] Generated Node #0,1,4: 95:[18, 24] Operation: 104-80=24 Moving to Node #0,2 Current State: 95:[31, 80, 91], Operations: ['18+73=91'] Exploring Operation: 31+80=111, Resulting Numbers: [91, 111] Generated Node #0,2,0: 95:[91, 111] Operation: 31+80=111 Exploring Operation: 31+91=122, Resulting Numbers: [80, 122] Generated Node #0,2,1: 95:[80, 122] Operation: 31+91=122 Exploring Operation: 91-80=11, Resulting Numbers: [31, 11] Generated Node #0,2,2: 95:[31, 11] Operation: 91-80=11 Exploring Operation: 91-31=60, Resulting Numbers: [80, 60] Generated Node #0,2,3: 95:[80, 60] Operation: 91-31=60 Exploring Operation: 80-31=49, Resulting Numbers: [91, 49] Generated Node #0,2,4: 95:[91, 49] Operation: 80-31=49 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[31, 11], Operations: ['18+73=91', '91-80=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,95 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[91, 111], Operations: ['18+73=91', '31+80=111'] Exploring Operation: 91*111=10101, Resulting Numbers: [10101] 10101,95 unequal: No Solution Exploring Operation: 91+111=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 111-91=20, Resulting Numbers: [20] 20,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 95:[91, 49], Operations: ['18+73=91', '80-31=49'] Exploring Operation: 91*49=4459, Resulting Numbers: [4459] 4459,95 unequal: No Solution Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,95 unequal: No Solution Exploring Operation: 91+49=140, Resulting Numbers: [140] 140,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[80, 122], Operations: ['18+73=91', '31+91=122'] Exploring Operation: 80+122=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 80*122=9760, Resulting Numbers: [9760] 9760,95 unequal: No Solution Exploring Operation: 122-80=42, Resulting Numbers: [42] 42,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[80, 60], Operations: ['18+73=91', '91-31=60'] Exploring Operation: 80+60=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 80*60=4800, Resulting Numbers: [4800] 4800,95 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,95 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: 95:[31, 73, 98], Operations: ['80+18=98'] Exploring Operation: 31+98=129, Resulting Numbers: [73, 129] Generated Node #0,0,0: 95:[73, 129] Operation: 31+98=129 Exploring Operation: 98-31=67, Resulting Numbers: [73, 67] Generated Node #0,0,1: 95:[73, 67] Operation: 98-31=67 Exploring Operation: 98-73=25, Resulting Numbers: [31, 25] Generated Node #0,0,2: 95:[31, 25] Operation: 98-73=25 Exploring Operation: 31+73=104, Resulting Numbers: [98, 104] Generated Node #0,0,3: 95:[98, 104] Operation: 31+73=104 Exploring Operation: 73-31=42, Resulting Numbers: [98, 42] Generated Node #0,0,4: 95:[98, 42] Operation: 73-31=42 Moving to Node #0,3 Current State: 95:[18, 73, 111], Operations: ['31+80=111'] Exploring Operation: 73-18=55, Resulting Numbers: [111, 55] Generated Node #0,3,0: 95:[111, 55] Operation: 73-18=55 Exploring Operation: 18+73=91, Resulting Numbers: [111, 91] Generated Node #0,3,1: 95:[111, 91] Operation: 18+73=91 Exploring Operation: 111-73=38, Resulting Numbers: [18, 38] Generated Node #0,3,2: 95:[18, 38] Operation: 111-73=38 Exploring Operation: 111-18=93, Resulting Numbers: [73, 93] Generated Node #0,3,3: 95:[73, 93] Operation: 111-18=93 Exploring Operation: 18+111=129, Resulting Numbers: [73, 129] Generated Node #0,3,4: 95:[73, 129] Operation: 18+111=129 Moving to Node #0,4,0 Current State: 95:[18, 24], Operations: ['80-73=7', '31-7=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,95 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,95 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[18, 24], Operations: ['31+73=104', '104-80=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,95 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[7, 13], Operations: ['80-73=7', '31-18=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[104, 98], Operations: ['31+73=104', '80+18=98'] Exploring Operation: 104-98=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 104+98=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 104*98=10192, Resulting Numbers: [10192] 10192,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[98, 104], Operations: ['80+18=98', '31+73=104'] Exploring Operation: 104-98=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 98+104=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 98*104=10192, Resulting Numbers: [10192] 10192,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[31, 25], Operations: ['80-73=7', '18+7=25'] Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,95 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[31, 25], Operations: ['80+18=98', '98-73=25'] Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,95 unequal: No Solution Moving to Node #0,4,2 Current State: 95:[31, 11], Operations: ['80-73=7', '18-7=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,95 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,95 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[18, 38], Operations: ['80-73=7', '31+7=38'] Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[111, 91], Operations: ['31+80=111', '18+73=91'] Exploring Operation: 111*91=10101, Resulting Numbers: [10101] 10101,95 unequal: No Solution Exploring Operation: 111-91=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 111+91=202, Resulting Numbers: [202] 202,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[18, 38], Operations: ['31+80=111', '111-73=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,95 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[80, 86], Operations: ['31+73=104', '104-18=86'] Exploring Operation: 80+86=166, Resulting Numbers: [166] 166,95 unequal: No Solution Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 80*86=6880, Resulting Numbers: [6880] 6880,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[73, 93], Operations: ['31+80=111', '111-18=93'] Exploring Operation: 73+93=166, Resulting Numbers: [166] 166,95 unequal: No Solution Exploring Operation: 93-73=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 73*93=6789, Resulting Numbers: [6789] 6789,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[98, 42], Operations: ['80+18=98', '73-31=42'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[80, 122], Operations: ['31+73=104', '18+104=122'] Exploring Operation: 80+122=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 122-80=42, Resulting Numbers: [42] 42,95 unequal: No Solution Exploring Operation: 80*122=9760, Resulting Numbers: [9760] 9760,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[104, 62], Operations: ['31+73=104', '80-18=62'] Exploring Operation: 104+62=166, Resulting Numbers: [166] 166,95 unequal: No Solution Exploring Operation: 104*62=6448, Resulting Numbers: [6448] 6448,95 unequal: No Solution Exploring Operation: 104-62=42, Resulting Numbers: [42] 42,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[73, 67], Operations: ['80+18=98', '98-31=67'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 73+67=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 73*67=4891, Resulting Numbers: [4891] 4891,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[111, 55], Operations: ['31+80=111', '73-18=55'] Exploring Operation: 111+55=166, Resulting Numbers: [166] 166,95 unequal: No Solution Exploring Operation: 111*55=6105, Resulting Numbers: [6105] 6105,95 unequal: No Solution Exploring Operation: 111-55=56, Resulting Numbers: [56] 56,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[73, 129], Operations: ['80+18=98', '31+98=129'] Exploring Operation: 73*129=9417, Resulting Numbers: [9417] 9417,95 unequal: No Solution Exploring Operation: 73+129=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 129-73=56, Resulting Numbers: [56] 56,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[73, 129], Operations: ['31+80=111', '18+111=129'] Exploring Operation: 73+129=202, Resulting Numbers: [202] 202,95 unequal: No Solution Exploring Operation: 129-73=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 73*129=9417, Resulting Numbers: [9417] 9417,95 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 32, 74, 73, 43 ]
11
[ "43-32=11", "74-73=1", "11*1=11" ]
Current State: 11:[32, 74, 73, 43], Operations: [] Exploring Operation: 43-32=11, Resulting Numbers: [74, 73, 11] Generated Node #2: [74, 73, 11] from Operation: 43-32=11 Current State: 11:[74, 73, 11], Operations: ['43-32=11'] Exploring Operation: 74-73=1, Resulting Numbers: [11, 1] Generated Node #3: [11, 1] from Operation: 74-73=1 Current State: 11:[11, 1], Operations: ['43-32=11', '74-73=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[32, 74, 73, 43], Operations: [] Exploring Operation: 73-32=41, Resulting Numbers: [74, 43, 41] Generated Node #0,0: 11:[74, 43, 41] Operation: 73-32=41 Exploring Operation: 74-32=42, Resulting Numbers: [73, 43, 42] Generated Node #0,1: 11:[73, 43, 42] Operation: 74-32=42 Exploring Operation: 74-73=1, Resulting Numbers: [32, 43, 1] Generated Node #0,2: 11:[32, 43, 1] Operation: 74-73=1 Exploring Operation: 73-43=30, Resulting Numbers: [32, 74, 30] Generated Node #0,3: 11:[32, 74, 30] Operation: 73-43=30 Exploring Operation: 74-43=31, Resulting Numbers: [32, 73, 31] Generated Node #0,4: 11:[32, 73, 31] Operation: 74-43=31 Moving to Node #0,2 Current State: 11:[32, 43, 1], Operations: ['74-73=1'] Exploring Operation: 43-1=42, Resulting Numbers: [32, 42] Generated Node #0,2,0: 11:[32, 42] Operation: 43-1=42 Exploring Operation: 32*1=32, Resulting Numbers: [43, 32] Generated Node #0,2,1: 11:[43, 32] Operation: 32*1=32 Exploring Operation: 32-1=31, Resulting Numbers: [43, 31] Generated Node #0,2,2: 11:[43, 31] Operation: 32-1=31 Exploring Operation: 43-32=11, Resulting Numbers: [1, 11] Generated Node #0,2,3: 11:[1, 11] Operation: 43-32=11 Exploring Operation: 32/1=32, Resulting Numbers: [43, 32] Generated Node #0,2,4: 11:[43, 32] Operation: 32/1=32 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[1, 11], Operations: ['74-73=1', '43-32=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[32, 74, 73, 43], Operations: [] Exploring Operation: 74-73=1, Resulting Numbers: [32, 43, 1] Generated Node #0,2: 11:[32, 43, 1] Operation: 74-73=1 Moving to Node #0,2 Current State: 11:[32, 43, 1], Operations: ['74-73=1'] Exploring Operation: 43-32=11, Resulting Numbers: [1, 11] Generated Node #0,2,3: 11:[1, 11] Operation: 43-32=11 Moving to Node #0,2,3 Current State: 11:[1, 11], Operations: ['74-73=1', '43-32=11'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 78, 64, 98, 77 ]
11
[ "78-64=14", "98/14=7", "77/7=11" ]
Current State: 11:[78, 64, 98, 77], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [98, 77, 14] Generated Node #2: [98, 77, 14] from Operation: 78-64=14 Current State: 11:[98, 77, 14], Operations: ['78-64=14'] Exploring Operation: 98/14=7, Resulting Numbers: [77, 7] Generated Node #3: [77, 7] from Operation: 98/14=7 Current State: 11:[77, 7], Operations: ['78-64=14', '98/14=7'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[78, 64, 98, 77], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [64, 77, 20] Generated Node #0,0: 11:[64, 77, 20] Operation: 98-78=20 Exploring Operation: 78-64=14, Resulting Numbers: [98, 77, 14] Generated Node #0,1: 11:[98, 77, 14] Operation: 78-64=14 Exploring Operation: 78-77=1, Resulting Numbers: [64, 98, 1] Generated Node #0,2: 11:[64, 98, 1] Operation: 78-77=1 Exploring Operation: 98-64=34, Resulting Numbers: [78, 77, 34] Generated Node #0,3: 11:[78, 77, 34] Operation: 98-64=34 Exploring Operation: 98-77=21, Resulting Numbers: [78, 64, 21] Generated Node #0,4: 11:[78, 64, 21] Operation: 98-77=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[64, 77, 20], Operations: ['98-78=20'] Exploring Operation: 64-20=44, Resulting Numbers: [77, 44] Generated Node #0,0,0: 11:[77, 44] Operation: 64-20=44 Exploring Operation: 64+77=141, Resulting Numbers: [20, 141] Generated Node #0,0,1: 11:[20, 141] Operation: 64+77=141 Exploring Operation: 64+20=84, Resulting Numbers: [77, 84] Generated Node #0,0,2: 11:[77, 84] Operation: 64+20=84 Exploring Operation: 77-20=57, Resulting Numbers: [64, 57] Generated Node #0,0,3: 11:[64, 57] Operation: 77-20=57 Exploring Operation: 77-64=13, Resulting Numbers: [20, 13] Generated Node #0,0,4: 11:[20, 13] Operation: 77-64=13 Moving to Node #0,0,4 Current State: 11:[20, 13], Operations: ['98-78=20', '77-64=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[64, 57], Operations: ['98-78=20', '77-20=57'] Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,11 unequal: No Solution Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,11 unequal: No Solution Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[77, 44], Operations: ['98-78=20', '64-20=44'] Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,11 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[20, 141], Operations: ['98-78=20', '64+77=141'] Exploring Operation: 141-20=121, Resulting Numbers: [121] 121,11 unequal: No Solution Exploring Operation: 20+141=161, Resulting Numbers: [161] 161,11 unequal: No Solution Exploring Operation: 20*141=2820, Resulting Numbers: [2820] 2820,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[77, 84], Operations: ['98-78=20', '64+20=84'] Exploring Operation: 77+84=161, Resulting Numbers: [161] 161,11 unequal: No Solution Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 77*84=6468, Resulting Numbers: [6468] 6468,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 11:[78, 64, 21], Operations: ['98-77=21'] Exploring Operation: 78-64=14, Resulting Numbers: [21, 14] Generated Node #0,4,0: 11:[21, 14] Operation: 78-64=14 Exploring Operation: 64-21=43, Resulting Numbers: [78, 43] Generated Node #0,4,1: 11:[78, 43] Operation: 64-21=43 Exploring Operation: 78+64=142, Resulting Numbers: [21, 142] Generated Node #0,4,2: 11:[21, 142] Operation: 78+64=142 Exploring Operation: 78-21=57, Resulting Numbers: [64, 57] Generated Node #0,4,3: 11:[64, 57] Operation: 78-21=57 Exploring Operation: 78+21=99, Resulting Numbers: [64, 99] Generated Node #0,4,4: 11:[64, 99] Operation: 78+21=99 Moving to Node #0,4,0 Current State: 11:[21, 14], Operations: ['98-77=21', '78-64=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,11 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[64, 57], Operations: ['98-77=21', '78-21=57'] Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,11 unequal: No Solution Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,11 unequal: No Solution Moving to Node #0,4,1 Current State: 11:[78, 43], Operations: ['98-77=21', '64-21=43'] Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,11 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,11 unequal: No Solution Moving to Node #0,4,2 Current State: 11:[21, 142], Operations: ['98-77=21', '78+64=142'] Exploring Operation: 21+142=163, Resulting Numbers: [163] 163,11 unequal: No Solution Exploring Operation: 21*142=2982, Resulting Numbers: [2982] 2982,11 unequal: No Solution Exploring Operation: 142-21=121, Resulting Numbers: [121] 121,11 unequal: No Solution Moving to Node #0,4,4 Current State: 11:[64, 99], Operations: ['98-77=21', '78+21=99'] Exploring Operation: 64*99=6336, Resulting Numbers: [6336] 6336,11 unequal: No Solution Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 64+99=163, Resulting Numbers: [163] 163,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[64, 98, 1], Operations: ['78-77=1'] Exploring Operation: 64/1=64, Resulting Numbers: [98, 64] Generated Node #0,2,0: 11:[98, 64] Operation: 64/1=64 Exploring Operation: 64-1=63, Resulting Numbers: [98, 63] Generated Node #0,2,1: 11:[98, 63] Operation: 64-1=63 Exploring Operation: 98-1=97, Resulting Numbers: [64, 97] Generated Node #0,2,2: 11:[64, 97] Operation: 98-1=97 Exploring Operation: 98-64=34, Resulting Numbers: [1, 34] Generated Node #0,2,3: 11:[1, 34] Operation: 98-64=34 Exploring Operation: 64*1=64, Resulting Numbers: [98, 64] Generated Node #0,2,4: 11:[98, 64] Operation: 64*1=64 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 11:[1, 34], Operations: ['78-77=1', '98-64=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,11 unequal: No Solution No 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: 11:[98, 63], Operations: ['78-77=1', '64-1=63'] Exploring Operation: 98*63=6174, Resulting Numbers: [6174] 6174,11 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 98+63=161, Resulting Numbers: [161] 161,11 unequal: No Solution No 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: 11:[64, 97], Operations: ['78-77=1', '98-1=97'] Exploring Operation: 64+97=161, Resulting Numbers: [161] 161,11 unequal: No Solution Exploring Operation: 64*97=6208, Resulting Numbers: [6208] 6208,11 unequal: No Solution Exploring Operation: 97-64=33, Resulting Numbers: [33] 33,11 unequal: No Solution No 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: 11:[98, 64], Operations: ['78-77=1', '64/1=64'] Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,11 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,11 unequal: No Solution No 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: 11:[98, 64], Operations: ['78-77=1', '64*1=64'] Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,11 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,11 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: 11:[98, 77, 14], Operations: ['78-64=14'] Exploring Operation: 98-77=21, Resulting Numbers: [14, 21] Generated Node #0,1,0: 11:[14, 21] Operation: 98-77=21 Exploring Operation: 98+77=175, Resulting Numbers: [14, 175] Generated Node #0,1,1: 11:[14, 175] Operation: 98+77=175 Exploring Operation: 98/14=7, Resulting Numbers: [77, 7] Generated Node #0,1,2: 11:[77, 7] Operation: 98/14=7 Exploring Operation: 77-14=63, Resulting Numbers: [98, 63] Generated Node #0,1,3: 11:[98, 63] Operation: 77-14=63 Exploring Operation: 98-14=84, Resulting Numbers: [77, 84] Generated Node #0,1,4: 11:[77, 84] Operation: 98-14=84 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[14, 21], Operations: ['78-64=14', '98-77=21'] Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,11 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,11 unequal: No Solution No 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: 11:[77, 7], Operations: ['78-64=14', '98/14=7'] Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,11 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[78, 64, 98, 77], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [98, 77, 14] Generated Node #0,1: 11:[98, 77, 14] Operation: 78-64=14 Moving to Node #0,1 Current State: 11:[98, 77, 14], Operations: ['78-64=14'] Exploring Operation: 98/14=7, Resulting Numbers: [77, 7] Generated Node #0,1,2: 11:[77, 7] Operation: 98/14=7 Moving to Node #0,1,2 Current State: 11:[77, 7], Operations: ['78-64=14', '98/14=7'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.930556
hs_5
mult_heuristic
[ 16, 47, 81, 80 ]
72
[ "47+81=128", "128/16=8", "80-8=72" ]
Current State: 72:[16, 47, 81, 80], Operations: [] Exploring Operation: 47+81=128, Resulting Numbers: [16, 80, 128] Generated Node #2: [16, 80, 128] from Operation: 47+81=128 Current State: 72:[16, 80, 128], Operations: ['47+81=128'] Exploring Operation: 128/16=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 128/16=8 Current State: 72:[80, 8], Operations: ['47+81=128', '128/16=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[16, 47, 81, 80], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [16, 47, 1] Generated Node #0,0: 72:[16, 47, 1] Operation: 81-80=1 Exploring Operation: 47-16=31, Resulting Numbers: [81, 80, 31] Generated Node #0,1: 72:[81, 80, 31] Operation: 47-16=31 Exploring Operation: 81-47=34, Resulting Numbers: [16, 80, 34] Generated Node #0,2: 72:[16, 80, 34] Operation: 81-47=34 Exploring Operation: 80-47=33, Resulting Numbers: [16, 81, 33] Generated Node #0,3: 72:[16, 81, 33] Operation: 80-47=33 Exploring Operation: 80/16=5, Resulting Numbers: [47, 81, 5] Generated Node #0,4: 72:[47, 81, 5] Operation: 80/16=5 Moving to Node #0,2 Current State: 72:[16, 80, 34], Operations: ['81-47=34'] Exploring Operation: 80-34=46, Resulting Numbers: [16, 46] Generated Node #0,2,0: 72:[16, 46] Operation: 80-34=46 Exploring Operation: 80/16=5, Resulting Numbers: [34, 5] Generated Node #0,2,1: 72:[34, 5] Operation: 80/16=5 Exploring Operation: 16+34=50, Resulting Numbers: [80, 50] Generated Node #0,2,2: 72:[80, 50] Operation: 16+34=50 Exploring Operation: 34-16=18, Resulting Numbers: [80, 18] Generated Node #0,2,3: 72:[80, 18] Operation: 34-16=18 Exploring Operation: 80-16=64, Resulting Numbers: [34, 64] Generated Node #0,2,4: 72:[34, 64] Operation: 80-16=64 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[34, 5], Operations: ['81-47=34', '80/16=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,72 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[80, 18], Operations: ['81-47=34', '34-16=18'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,72 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[34, 64], Operations: ['81-47=34', '80-16=64'] Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,72 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[16, 46], Operations: ['81-47=34', '80-34=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,72 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[80, 50], Operations: ['81-47=34', '16+34=50'] Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,72 unequal: No Solution Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 72:[16, 81, 33], Operations: ['80-47=33'] Exploring Operation: 16+33=49, Resulting Numbers: [81, 49] Generated Node #0,3,0: 72:[81, 49] Operation: 16+33=49 Exploring Operation: 81-16=65, Resulting Numbers: [33, 65] Generated Node #0,3,1: 72:[33, 65] Operation: 81-16=65 Exploring Operation: 81-33=48, Resulting Numbers: [16, 48] Generated Node #0,3,2: 72:[16, 48] Operation: 81-33=48 Exploring Operation: 33-16=17, Resulting Numbers: [81, 17] Generated Node #0,3,3: 72:[81, 17] Operation: 33-16=17 Exploring Operation: 16+81=97, Resulting Numbers: [33, 97] Generated Node #0,3,4: 72:[33, 97] Operation: 16+81=97 Moving to Node #0,0 Current State: 72:[16, 47, 1], Operations: ['81-80=1'] Exploring Operation: 16*1=16, Resulting Numbers: [47, 16] Generated Node #0,0,0: 72:[47, 16] Operation: 16*1=16 Exploring Operation: 47-16=31, Resulting Numbers: [1, 31] Generated Node #0,0,1: 72:[1, 31] Operation: 47-16=31 Exploring Operation: 47-1=46, Resulting Numbers: [16, 46] Generated Node #0,0,2: 72:[16, 46] Operation: 47-1=46 Exploring Operation: 16+47=63, Resulting Numbers: [1, 63] Generated Node #0,0,3: 72:[1, 63] Operation: 16+47=63 Exploring Operation: 16+1=17, Resulting Numbers: [47, 17] Generated Node #0,0,4: 72:[47, 17] Operation: 16+1=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[1, 31], Operations: ['81-80=1', '47-16=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[1, 63], Operations: ['81-80=1', '16+47=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,72 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,72 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[16, 46], Operations: ['81-80=1', '47-1=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 72:[47, 17], Operations: ['81-80=1', '16+1=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[47, 16], Operations: ['81-80=1', '16*1=16'] Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,72 unequal: No Solution Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,72 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 72:[47, 81, 5], Operations: ['80/16=5'] Exploring Operation: 81+5=86, Resulting Numbers: [47, 86] Generated Node #0,4,0: 72:[47, 86] Operation: 81+5=86 Exploring Operation: 47-5=42, Resulting Numbers: [81, 42] Generated Node #0,4,1: 72:[81, 42] Operation: 47-5=42 Exploring Operation: 81-5=76, Resulting Numbers: [47, 76] Generated Node #0,4,2: 72:[47, 76] Operation: 81-5=76 Exploring Operation: 81-47=34, Resulting Numbers: [5, 34] Generated Node #0,4,3: 72:[5, 34] Operation: 81-47=34 Exploring Operation: 47+5=52, Resulting Numbers: [81, 52] Generated Node #0,4,4: 72:[81, 52] Operation: 47+5=52 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 72:[5, 34], Operations: ['80/16=5', '81-47=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,72 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 72:[81, 42], Operations: ['80/16=5', '47-5=42'] Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,72 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,72 unequal: No Solution Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 72:[47, 76], Operations: ['80/16=5', '81-5=76'] Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 47*76=3572, Resulting Numbers: [3572] 3572,72 unequal: No Solution Exploring Operation: 47+76=123, Resulting Numbers: [123] 123,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 72:[47, 86], Operations: ['80/16=5', '81+5=86'] Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 47+86=133, Resulting Numbers: [133] 133,72 unequal: No Solution Exploring Operation: 47*86=4042, Resulting Numbers: [4042] 4042,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 72:[81, 52], Operations: ['80/16=5', '47+5=52'] Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,72 unequal: No Solution Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,72 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 72:[81, 80, 31], Operations: ['47-16=31'] Exploring Operation: 80+31=111, Resulting Numbers: [81, 111] Generated Node #0,1,0: 72:[81, 111] Operation: 80+31=111 Exploring Operation: 80-31=49, Resulting Numbers: [81, 49] Generated Node #0,1,1: 72:[81, 49] Operation: 80-31=49 Exploring Operation: 81+31=112, Resulting Numbers: [80, 112] Generated Node #0,1,2: 72:[80, 112] Operation: 81+31=112 Exploring Operation: 81-80=1, Resulting Numbers: [31, 1] Generated Node #0,1,3: 72:[31, 1] Operation: 81-80=1 Exploring Operation: 81-31=50, Resulting Numbers: [80, 50] Generated Node #0,1,4: 72:[80, 50] Operation: 81-31=50 Moving to Node #0,1,3 Current State: 72:[31, 1], Operations: ['47-16=31', '81-80=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[33, 65], Operations: ['80-47=33', '81-16=65'] Exploring Operation: 33+65=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 33*65=2145, Resulting Numbers: [2145] 2145,72 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[81, 17], Operations: ['80-47=33', '33-16=17'] Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[16, 48], Operations: ['80-47=33', '81-33=48'] Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,72 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[81, 49], Operations: ['47-16=31', '80-31=49'] Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,72 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,72 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[81, 49], Operations: ['80-47=33', '16+33=49'] Exploring Operation: 81+49=130, Resulting Numbers: [130] 130,72 unequal: No Solution Exploring Operation: 81*49=3969, Resulting Numbers: [3969] 3969,72 unequal: No Solution Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,72 unequal: No Solution Moving to Node #0,1,4 Current State: 72:[80, 50], Operations: ['47-16=31', '81-31=50'] Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,72 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,72 unequal: No Solution Moving to Node #0,3,4 Current State: 72:[33, 97], Operations: ['80-47=33', '16+81=97'] Exploring Operation: 33*97=3201, Resulting Numbers: [3201] 3201,72 unequal: No Solution Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 33+97=130, Resulting Numbers: [130] 130,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[81, 111], Operations: ['47-16=31', '80+31=111'] Exploring Operation: 81+111=192, Resulting Numbers: [192] 192,72 unequal: No Solution Exploring Operation: 81*111=8991, Resulting Numbers: [8991] 8991,72 unequal: No Solution Exploring Operation: 111-81=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[80, 112], Operations: ['47-16=31', '81+31=112'] Exploring Operation: 80+112=192, Resulting Numbers: [192] 192,72 unequal: No Solution Exploring Operation: 112-80=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 80*112=8960, Resulting Numbers: [8960] 8960,72 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 99, 54, 21, 24 ]
27
[ "54-21=33", "99/33=3", "24+3=27" ]
Current State: 27:[99, 54, 21, 24], Operations: [] Exploring Operation: 54-21=33, Resulting Numbers: [99, 24, 33] Generated Node #2: [99, 24, 33] from Operation: 54-21=33 Current State: 27:[99, 24, 33], Operations: ['54-21=33'] Exploring Operation: 99/33=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 99/33=3 Current State: 27:[24, 3], Operations: ['54-21=33', '99/33=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[99, 54, 21, 24], Operations: [] Exploring Operation: 99-24=75, Resulting Numbers: [54, 21, 75] Generated Node #0,0: 27:[54, 21, 75] Operation: 99-24=75 Exploring Operation: 99-54=45, Resulting Numbers: [21, 24, 45] Generated Node #0,1: 27:[21, 24, 45] Operation: 99-54=45 Exploring Operation: 54-21=33, Resulting Numbers: [99, 24, 33] Generated Node #0,2: 27:[99, 24, 33] Operation: 54-21=33 Exploring Operation: 54-24=30, Resulting Numbers: [99, 21, 30] Generated Node #0,3: 27:[99, 21, 30] Operation: 54-24=30 Exploring Operation: 99-21=78, Resulting Numbers: [54, 24, 78] Generated Node #0,4: 27:[54, 24, 78] Operation: 99-21=78 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[21, 24, 45], Operations: ['99-54=45'] Exploring Operation: 45-21=24, Resulting Numbers: [24, 24] Generated Node #0,1,0: 27:[24, 24] Operation: 45-21=24 Exploring Operation: 45-24=21, Resulting Numbers: [21, 21] Generated Node #0,1,1: 27:[21, 21] Operation: 45-24=21 Exploring Operation: 24-21=3, Resulting Numbers: [45, 3] Generated Node #0,1,2: 27:[45, 3] Operation: 24-21=3 Exploring Operation: 21+45=66, Resulting Numbers: [24, 66] Generated Node #0,1,3: 27:[24, 66] Operation: 21+45=66 Exploring Operation: 21+24=45, Resulting Numbers: [45, 45] Generated Node #0,1,4: 27:[45, 45] Operation: 21+24=45 Moving to Node #0,1,0 Current State: 27:[24, 24], Operations: ['99-54=45', '45-21=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[21, 21], Operations: ['99-54=45', '45-24=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[45, 3], Operations: ['99-54=45', '24-21=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[45, 45], Operations: ['99-54=45', '21+24=45'] Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,27 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,27 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[24, 66], Operations: ['99-54=45', '21+45=66'] Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,27 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[54, 21, 75], Operations: ['99-24=75'] Exploring Operation: 21+75=96, Resulting Numbers: [54, 96] Generated Node #0,0,0: 27:[54, 96] Operation: 21+75=96 Exploring Operation: 54-21=33, Resulting Numbers: [75, 33] Generated Node #0,0,1: 27:[75, 33] Operation: 54-21=33 Exploring Operation: 54+21=75, Resulting Numbers: [75, 75] Generated Node #0,0,2: 27:[75, 75] Operation: 54+21=75 Exploring Operation: 75-54=21, Resulting Numbers: [21, 21] Generated Node #0,0,3: 27:[21, 21] Operation: 75-54=21 Exploring Operation: 75-21=54, Resulting Numbers: [54, 54] Generated Node #0,0,4: 27:[54, 54] Operation: 75-21=54 Moving to Node #0,0,3 Current State: 27:[21, 21], Operations: ['99-24=75', '75-54=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,27 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[54, 54], Operations: ['99-24=75', '75-21=54'] Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,27 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[75, 33], Operations: ['99-24=75', '54-21=33'] Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,27 unequal: No Solution Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[54, 96], Operations: ['99-24=75', '21+75=96'] Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,27 unequal: No Solution Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,27 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[75, 75], Operations: ['99-24=75', '54+21=75'] Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,27 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,27 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[99, 24, 33], Operations: ['54-21=33'] Exploring Operation: 99/33=3, Resulting Numbers: [24, 3] Generated Node #0,2,0: 27:[24, 3] Operation: 99/33=3 Exploring Operation: 99-24=75, Resulting Numbers: [33, 75] Generated Node #0,2,1: 27:[33, 75] Operation: 99-24=75 Exploring Operation: 99-33=66, Resulting Numbers: [24, 66] Generated Node #0,2,2: 27:[24, 66] Operation: 99-33=66 Exploring Operation: 99+24=123, Resulting Numbers: [33, 123] Generated Node #0,2,3: 27:[33, 123] Operation: 99+24=123 Exploring Operation: 33-24=9, Resulting Numbers: [99, 9] Generated Node #0,2,4: 27:[99, 9] Operation: 33-24=9 Moving to Node #0,2,0 Current State: 27:[24, 3], Operations: ['54-21=33', '99/33=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[99, 54, 21, 24], Operations: [] Exploring Operation: 54-21=33, Resulting Numbers: [99, 24, 33] Generated Node #0,2: 27:[99, 24, 33] Operation: 54-21=33 Moving to Node #0,2 Current State: 27:[99, 24, 33], Operations: ['54-21=33'] Exploring Operation: 99/33=3, Resulting Numbers: [24, 3] Generated Node #0,2,0: 27:[24, 3] Operation: 99/33=3 Moving to Node #0,2,0 Current State: 27:[24, 3], Operations: ['54-21=33', '99/33=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_5
mult_heuristic
[ 6, 96, 35, 24 ]
83
[ "6*24=144", "96-35=61", "144-61=83" ]
Current State: 83:[6, 96, 35, 24], Operations: [] Exploring Operation: 6*24=144, Resulting Numbers: [96, 35, 144] Generated Node #2: [96, 35, 144] from Operation: 6*24=144 Current State: 83:[96, 35, 144], Operations: ['6*24=144'] Exploring Operation: 96-35=61, Resulting Numbers: [144, 61] Generated Node #3: [144, 61] from Operation: 96-35=61 Current State: 83:[144, 61], Operations: ['6*24=144', '96-35=61'] Exploring Operation: 144-61=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[6, 96, 35, 24], Operations: [] Exploring Operation: 96-6=90, Resulting Numbers: [35, 24, 90] Generated Node #0,0: 83:[35, 24, 90] Operation: 96-6=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[35, 24, 90], Operations: ['96-6=90'] Exploring Operation: 35+24=59, Resulting Numbers: [90, 59] Generated Node #0,0,0: 83:[90, 59] Operation: 35+24=59 Moving to Node #0,0,0 Current State: 83:[90, 59], Operations: ['96-6=90', '35+24=59'] Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,83 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
[ 7, 16, 55, 4 ]
63
[ "16*4=64", "64-55=9", "7*9=63" ]
Current State: 63:[7, 16, 55, 4], Operations: [] Exploring Operation: 16*4=64, Resulting Numbers: [7, 55, 64] Generated Node #2: [7, 55, 64] from Operation: 16*4=64 Current State: 63:[7, 55, 64], Operations: ['16*4=64'] Exploring Operation: 64-55=9, Resulting Numbers: [7, 9] Generated Node #3: [7, 9] from Operation: 64-55=9 Current State: 63:[7, 9], Operations: ['16*4=64', '64-55=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[7, 16, 55, 4], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [55, 4, 9] Generated Node #0,0: 63:[55, 4, 9] Operation: 16-7=9 Exploring Operation: 7+55=62, Resulting Numbers: [16, 4, 62] Generated Node #0,1: 63:[16, 4, 62] Operation: 7+55=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[16, 4, 62], Operations: ['7+55=62'] Exploring Operation: 16+4=20, Resulting Numbers: [62, 20] Generated Node #0,1,0: 63:[62, 20] Operation: 16+4=20 Exploring Operation: 16*4=64, Resulting Numbers: [62, 64] Generated Node #0,1,1: 63:[62, 64] Operation: 16*4=64 Moving to Node #0,1,0 Current State: 63:[62, 20], Operations: ['7+55=62', '16+4=20'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[62, 64], Operations: ['7+55=62', '16*4=64'] Exploring Operation: 62+64=126, Resulting Numbers: [126] 126,63 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[55, 4, 9], Operations: ['16-7=9'] Exploring Operation: 55+4=59, Resulting Numbers: [9, 59] Generated Node #0,0,0: 63:[9, 59] Operation: 55+4=59 Exploring Operation: 55+9=64, Resulting Numbers: [4, 64] Generated Node #0,0,1: 63:[4, 64] Operation: 55+9=64 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[4, 64], Operations: ['16-7=9', '55+9=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,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,0 Current State: 63:[9, 59], Operations: ['16-7=9', '55+4=59'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,63 unequal: No Solution Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,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_2
mult_heuristic
[ 20, 3, 20, 4 ]
52
[ "20+20=40", "3*4=12", "40+12=52" ]
Current State: 52:[20, 3, 20, 4], Operations: [] Exploring Operation: 20+20=40, Resulting Numbers: [3, 4, 40] Generated Node #2: [3, 4, 40] from Operation: 20+20=40 Current State: 52:[3, 4, 40], Operations: ['20+20=40'] Exploring Operation: 3*4=12, Resulting Numbers: [40, 12] Generated Node #3: [40, 12] from Operation: 3*4=12 Current State: 52:[40, 12], Operations: ['20+20=40', '3*4=12'] Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[20, 3, 20, 4], Operations: [] Exploring Operation: 20-20=0, Resulting Numbers: [3, 4, 0] Generated Node #0,0: 52:[3, 4, 0] Operation: 20-20=0 Exploring Operation: 20/20=1, Resulting Numbers: [3, 4, 1] Generated Node #0,1: 52:[3, 4, 1] Operation: 20/20=1 Moving to Node #0,1 Current State: 52:[3, 4, 1], Operations: ['20/20=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 52:[4, 4] Operation: 3+1=4 Exploring Operation: 3-1=2, Resulting Numbers: [4, 2] Generated Node #0,1,1: 52:[4, 2] Operation: 3-1=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[4, 4], Operations: ['20/20=1', '3+1=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,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,1 Current State: 52:[4, 2], Operations: ['20/20=1', '3-1=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 52:[3, 4, 0], Operations: ['20-20=0'] Exploring Operation: 3+0=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 52:[4, 3] Operation: 3+0=3 Exploring Operation: 3-0=3, Resulting Numbers: [4, 3] Generated Node #0,0,1: 52:[4, 3] Operation: 3-0=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 3], Operations: ['20-20=0', '3+0=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[4, 3], Operations: ['20-20=0', '3-0=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,52 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
[ 49, 13, 48, 76 ]
90
[ "49+13=62", "76-48=28", "62+28=90" ]
Current State: 90:[49, 13, 48, 76], Operations: [] Exploring Operation: 49+13=62, Resulting Numbers: [48, 76, 62] Generated Node #2: [48, 76, 62] from Operation: 49+13=62 Current State: 90:[48, 76, 62], Operations: ['49+13=62'] Exploring Operation: 76-48=28, Resulting Numbers: [62, 28] Generated Node #3: [62, 28] from Operation: 76-48=28 Current State: 90:[62, 28], Operations: ['49+13=62', '76-48=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[49, 13, 48, 76], Operations: [] Exploring Operation: 76-49=27, Resulting Numbers: [13, 48, 27] Generated Node #0,0: 90:[13, 48, 27] Operation: 76-49=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[13, 48, 27], Operations: ['76-49=27'] Exploring Operation: 27-13=14, Resulting Numbers: [48, 14] Generated Node #0,0,0: 90:[48, 14] Operation: 27-13=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[48, 14], Operations: ['76-49=27', '27-13=14'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 49, 11, 41, 75 ]
72
[ "49-11=38", "75-41=34", "38+34=72" ]
Current State: 72:[49, 11, 41, 75], Operations: [] Exploring Operation: 49-11=38, Resulting Numbers: [41, 75, 38] Generated Node #2: [41, 75, 38] from Operation: 49-11=38 Current State: 72:[41, 75, 38], Operations: ['49-11=38'] Exploring Operation: 75-41=34, Resulting Numbers: [38, 34] Generated Node #3: [38, 34] from Operation: 75-41=34 Current State: 72:[38, 34], Operations: ['49-11=38', '75-41=34'] Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[49, 11, 41, 75], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [11, 75, 8] Generated Node #0,0: 72:[11, 75, 8] Operation: 49-41=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[11, 75, 8], Operations: ['49-41=8'] Exploring Operation: 11-8=3, Resulting Numbers: [75, 3] Generated Node #0,0,0: 72:[75, 3] Operation: 11-8=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[75, 3], Operations: ['49-41=8', '11-8=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[49, 11, 41, 75], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [11, 75, 8] Generated Node #0,0: 72:[11, 75, 8] Operation: 49-41=8 Moving to Node #0,0 Current State: 72:[11, 75, 8], Operations: ['49-41=8'] Exploring Operation: 11-8=3, Resulting Numbers: [75, 3] Generated Node #0,0,0: 72:[75, 3] Operation: 11-8=3 Moving to Node #0,0,0 Current State: 72:[75, 3], Operations: ['49-41=8', '11-8=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 74, 71, 79, 35 ]
64
[ "79-74=5", "35/5=7", "71-7=64" ]
Current State: 64:[74, 71, 79, 35], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [71, 35, 5] Generated Node #2: [71, 35, 5] from Operation: 79-74=5 Current State: 64:[71, 35, 5], Operations: ['79-74=5'] Exploring Operation: 35/5=7, Resulting Numbers: [71, 7] Generated Node #3: [71, 7] from Operation: 35/5=7 Current State: 64:[71, 7], Operations: ['79-74=5', '35/5=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[74, 71, 79, 35], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [71, 79, 39] Generated Node #0,0: 64:[71, 79, 39] Operation: 74-35=39 Exploring Operation: 79-71=8, Resulting Numbers: [74, 35, 8] Generated Node #0,1: 64:[74, 35, 8] Operation: 79-71=8 Exploring Operation: 74-71=3, Resulting Numbers: [79, 35, 3] Generated Node #0,2: 64:[79, 35, 3] Operation: 74-71=3 Exploring Operation: 79-74=5, Resulting Numbers: [71, 35, 5] Generated Node #0,3: 64:[71, 35, 5] Operation: 79-74=5 Moving to Node #0,3 Current State: 64:[71, 35, 5], Operations: ['79-74=5'] Exploring Operation: 71-35=36, Resulting Numbers: [5, 36] Generated Node #0,3,0: 64:[5, 36] Operation: 71-35=36 Exploring Operation: 35/5=7, Resulting Numbers: [71, 7] Generated Node #0,3,1: 64:[71, 7] Operation: 35/5=7 Exploring Operation: 71-5=66, Resulting Numbers: [35, 66] Generated Node #0,3,2: 64:[35, 66] Operation: 71-5=66 Exploring Operation: 35-5=30, Resulting Numbers: [71, 30] Generated Node #0,3,3: 64:[71, 30] Operation: 35-5=30 Moving to Node #0,1 Current State: 64:[74, 35, 8], Operations: ['79-71=8'] Exploring Operation: 35-8=27, Resulting Numbers: [74, 27] Generated Node #0,1,0: 64:[74, 27] Operation: 35-8=27 Exploring Operation: 74-35=39, Resulting Numbers: [8, 39] Generated Node #0,1,1: 64:[8, 39] Operation: 74-35=39 Exploring Operation: 74+8=82, Resulting Numbers: [35, 82] Generated Node #0,1,2: 64:[35, 82] Operation: 74+8=82 Exploring Operation: 74-8=66, Resulting Numbers: [35, 66] Generated Node #0,1,3: 64:[35, 66] Operation: 74-8=66 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[35, 66], Operations: ['79-71=8', '74-8=66'] Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,64 unequal: No Solution Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,64 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[8, 39], Operations: ['79-71=8', '74-35=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,64 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[74, 27], Operations: ['79-71=8', '35-8=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,64 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,64 unequal: No Solution Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[35, 82], Operations: ['79-71=8', '74+8=82'] Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,64 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,64 unequal: No Solution Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[79, 35, 3], Operations: ['74-71=3'] Exploring Operation: 79+3=82, Resulting Numbers: [35, 82] Generated Node #0,2,0: 64:[35, 82] Operation: 79+3=82 Exploring Operation: 79-3=76, Resulting Numbers: [35, 76] Generated Node #0,2,1: 64:[35, 76] Operation: 79-3=76 Exploring Operation: 35-3=32, Resulting Numbers: [79, 32] Generated Node #0,2,2: 64:[79, 32] Operation: 35-3=32 Exploring Operation: 79-35=44, Resulting Numbers: [3, 44] Generated Node #0,2,3: 64:[3, 44] Operation: 79-35=44 Moving to Node #0,0 Current State: 64:[71, 79, 39], Operations: ['74-35=39'] Exploring Operation: 79-71=8, Resulting Numbers: [39, 8] Generated Node #0,0,0: 64:[39, 8] Operation: 79-71=8 Exploring Operation: 71-39=32, Resulting Numbers: [79, 32] Generated Node #0,0,1: 64:[79, 32] Operation: 71-39=32 Exploring Operation: 71+39=110, Resulting Numbers: [79, 110] Generated Node #0,0,2: 64:[79, 110] Operation: 71+39=110 Exploring Operation: 79-39=40, Resulting Numbers: [71, 40] Generated Node #0,0,3: 64:[71, 40] Operation: 79-39=40 Moving to Node #0,3,0 Current State: 64:[5, 36], Operations: ['79-74=5', '71-35=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[35, 66], Operations: ['79-74=5', '71-5=66'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,64 unequal: No Solution Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[39, 8], Operations: ['74-35=39', '79-71=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,64 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[71, 7], Operations: ['79-74=5', '35/5=7'] Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 71*7=497, Resulting Numbers: [497] 497,64 unequal: No Solution Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[74, 71, 79, 35], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [71, 35, 5] Generated Node #0,3: 64:[71, 35, 5] Operation: 79-74=5 Moving to Node #0,3 Current State: 64:[71, 35, 5], Operations: ['79-74=5'] Exploring Operation: 35/5=7, Resulting Numbers: [71, 7] Generated Node #0,3,1: 64:[71, 7] Operation: 35/5=7 Moving to Node #0,3,1 Current State: 64:[71, 7], Operations: ['79-74=5', '35/5=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.958333
hs_4
mult_heuristic
[ 25, 91, 2, 28 ]
47
[ "91-25=66", "28+66=94", "94/2=47" ]
Current State: 47:[25, 91, 2, 28], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [2, 28, 66] Generated Node #2: [2, 28, 66] from Operation: 91-25=66 Current State: 47:[2, 28, 66], Operations: ['91-25=66'] Exploring Operation: 28+66=94, Resulting Numbers: [2, 94] Generated Node #3: [2, 94] from Operation: 28+66=94 Current State: 47:[2, 94], Operations: ['91-25=66', '28+66=94'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[25, 91, 2, 28], Operations: [] Exploring Operation: 25*2=50, Resulting Numbers: [91, 28, 50] Generated Node #0,0: 47:[91, 28, 50] Operation: 25*2=50 Exploring Operation: 2*28=56, Resulting Numbers: [25, 91, 56] Generated Node #0,1: 47:[25, 91, 56] Operation: 2*28=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[91, 28, 50], Operations: ['25*2=50'] Exploring Operation: 91-50=41, Resulting Numbers: [28, 41] Generated Node #0,0,0: 47:[28, 41] Operation: 91-50=41 Exploring Operation: 91-28=63, Resulting Numbers: [50, 63] Generated Node #0,0,1: 47:[50, 63] Operation: 91-28=63 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[50, 63], Operations: ['25*2=50', '91-28=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,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:[28, 41], Operations: ['25*2=50', '91-50=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,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:[25, 91, 56], Operations: ['2*28=56'] Exploring Operation: 91-56=35, Resulting Numbers: [25, 35] Generated Node #0,1,0: 47:[25, 35] Operation: 91-56=35 Exploring Operation: 91-25=66, Resulting Numbers: [56, 66] Generated Node #0,1,1: 47:[56, 66] Operation: 91-25=66 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[56, 66], Operations: ['2*28=56', '91-25=66'] Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[25, 35], Operations: ['2*28=56', '91-56=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 87, 48, 16, 4 ]
19
[ "87-48=39", "16+4=20", "39-20=19" ]
Current State: 19:[87, 48, 16, 4], Operations: [] Exploring Operation: 87-48=39, Resulting Numbers: [16, 4, 39] Generated Node #2: [16, 4, 39] from Operation: 87-48=39 Current State: 19:[16, 4, 39], Operations: ['87-48=39'] Exploring Operation: 16+4=20, Resulting Numbers: [39, 20] Generated Node #3: [39, 20] from Operation: 16+4=20 Current State: 19:[39, 20], Operations: ['87-48=39', '16+4=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[87, 48, 16, 4], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [87, 4, 32] Generated Node #0,0: 19:[87, 4, 32] Operation: 48-16=32 Exploring Operation: 87-48=39, Resulting Numbers: [16, 4, 39] Generated Node #0,1: 19:[16, 4, 39] Operation: 87-48=39 Exploring Operation: 48/4=12, Resulting Numbers: [87, 16, 12] Generated Node #0,2: 19:[87, 16, 12] Operation: 48/4=12 Exploring Operation: 87-16=71, Resulting Numbers: [48, 4, 71] Generated Node #0,3: 19:[48, 4, 71] Operation: 87-16=71 Exploring Operation: 87-4=83, Resulting Numbers: [48, 16, 83] Generated Node #0,4: 19:[48, 16, 83] Operation: 87-4=83 Moving to Node #0,1 Current State: 19:[16, 4, 39], Operations: ['87-48=39'] Exploring Operation: 39-4=35, Resulting Numbers: [16, 35] Generated Node #0,1,0: 19:[16, 35] Operation: 39-4=35 Exploring Operation: 4+39=43, Resulting Numbers: [16, 43] Generated Node #0,1,1: 19:[16, 43] Operation: 4+39=43 Exploring Operation: 16-4=12, Resulting Numbers: [39, 12] Generated Node #0,1,2: 19:[39, 12] Operation: 16-4=12 Exploring Operation: 39-16=23, Resulting Numbers: [4, 23] Generated Node #0,1,3: 19:[4, 23] Operation: 39-16=23 Exploring Operation: 16+4=20, Resulting Numbers: [39, 20] Generated Node #0,1,4: 19:[39, 20] Operation: 16+4=20 Moving to Node #0,2 Current State: 19:[87, 16, 12], Operations: ['48/4=12'] Exploring Operation: 87-12=75, Resulting Numbers: [16, 75] Generated Node #0,2,0: 19:[16, 75] Operation: 87-12=75 Exploring Operation: 16+12=28, Resulting Numbers: [87, 28] Generated Node #0,2,1: 19:[87, 28] Operation: 16+12=28 Exploring Operation: 87+12=99, Resulting Numbers: [16, 99] Generated Node #0,2,2: 19:[16, 99] Operation: 87+12=99 Exploring Operation: 16-12=4, Resulting Numbers: [87, 4] Generated Node #0,2,3: 19:[87, 4] Operation: 16-12=4 Exploring Operation: 87-16=71, Resulting Numbers: [12, 71] Generated Node #0,2,4: 19:[12, 71] Operation: 87-16=71 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[16, 75], Operations: ['48/4=12', '87-12=75'] Exploring Operation: 16+75=91, Resulting Numbers: [91] 91,19 unequal: No Solution Exploring Operation: 16*75=1200, Resulting Numbers: [1200] 1200,19 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 19:[12, 71], Operations: ['48/4=12', '87-16=71'] Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,19 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 12*71=852, Resulting Numbers: [852] 852,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[87, 28], Operations: ['48/4=12', '16+12=28'] Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,19 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,19 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[16, 99], Operations: ['48/4=12', '87+12=99'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,19 unequal: No Solution Exploring Operation: 16*99=1584, Resulting Numbers: [1584] 1584,19 unequal: No Solution Exploring Operation: 16+99=115, Resulting Numbers: [115] 115,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 19:[87, 4], Operations: ['48/4=12', '16-12=4'] Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,19 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,19 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 19:[87, 4, 32], Operations: ['48-16=32'] Exploring Operation: 87+4=91, Resulting Numbers: [32, 91] Generated Node #0,0,0: 19:[32, 91] Operation: 87+4=91 Exploring Operation: 32-4=28, Resulting Numbers: [87, 28] Generated Node #0,0,1: 19:[87, 28] Operation: 32-4=28 Exploring Operation: 87-32=55, Resulting Numbers: [4, 55] Generated Node #0,0,2: 19:[4, 55] Operation: 87-32=55 Exploring Operation: 87-4=83, Resulting Numbers: [32, 83] Generated Node #0,0,3: 19:[32, 83] Operation: 87-4=83 Exploring Operation: 32/4=8, Resulting Numbers: [87, 8] Generated Node #0,0,4: 19:[87, 8] Operation: 32/4=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[4, 55], Operations: ['48-16=32', '87-32=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,19 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[87, 28], Operations: ['48-16=32', '32-4=28'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,19 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 19:[32, 83], Operations: ['48-16=32', '87-4=83'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 32+83=115, Resulting Numbers: [115] 115,19 unequal: No Solution Exploring Operation: 32*83=2656, Resulting Numbers: [2656] 2656,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 19:[87, 8], Operations: ['48-16=32', '32/4=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,19 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,19 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[32, 91], Operations: ['48-16=32', '87+4=91'] Exploring Operation: 32*91=2912, Resulting Numbers: [2912] 2912,19 unequal: No Solution Exploring Operation: 32+91=123, Resulting Numbers: [123] 123,19 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,19 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: 19:[48, 4, 71], Operations: ['87-16=71'] Exploring Operation: 48+4=52, Resulting Numbers: [71, 52] Generated Node #0,3,0: 19:[71, 52] Operation: 48+4=52 Exploring Operation: 48-4=44, Resulting Numbers: [71, 44] Generated Node #0,3,1: 19:[71, 44] Operation: 48-4=44 Exploring Operation: 71-48=23, Resulting Numbers: [4, 23] Generated Node #0,3,2: 19:[4, 23] Operation: 71-48=23 Exploring Operation: 48/4=12, Resulting Numbers: [71, 12] Generated Node #0,3,3: 19:[71, 12] Operation: 48/4=12 Exploring Operation: 71-4=67, Resulting Numbers: [48, 67] Generated Node #0,3,4: 19:[48, 67] Operation: 71-4=67 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 19:[4, 23], Operations: ['87-16=71', '71-48=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[87, 48, 16, 4], Operations: [] Exploring Operation: 87-16=71, Resulting Numbers: [48, 4, 71] Generated Node #0,3: 19:[48, 4, 71] Operation: 87-16=71 Moving to Node #0,3 Current State: 19:[48, 4, 71], Operations: ['87-16=71'] Exploring Operation: 71-48=23, Resulting Numbers: [4, 23] Generated Node #0,3,2: 19:[4, 23] Operation: 71-48=23 Moving to Node #0,3,2 Current State: 19:[4, 23], Operations: ['87-16=71', '71-48=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
sum_heuristic
[ 3, 52, 14, 27 ]
14
[ "3+52=55", "14+27=41", "55-41=14" ]
Current State: 14:[3, 52, 14, 27], Operations: [] Exploring Operation: 3+52=55, Resulting Numbers: [14, 27, 55] Generated Node #2: [14, 27, 55] from Operation: 3+52=55 Current State: 14:[14, 27, 55], Operations: ['3+52=55'] Exploring Operation: 14+27=41, Resulting Numbers: [55, 41] Generated Node #3: [55, 41] from Operation: 14+27=41 Current State: 14:[55, 41], Operations: ['3+52=55', '14+27=41'] Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[3, 52, 14, 27], Operations: [] Exploring Operation: 52-27=25, Resulting Numbers: [3, 14, 25] Generated Node #0,0: 14:[3, 14, 25] Operation: 52-27=25 Exploring Operation: 52-14=38, Resulting Numbers: [3, 27, 38] Generated Node #0,1: 14:[3, 27, 38] Operation: 52-14=38 Moving to Node #0,0 Current State: 14:[3, 14, 25], Operations: ['52-27=25'] Exploring Operation: 25-14=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 14:[3, 11] Operation: 25-14=11 Exploring Operation: 25-3=22, Resulting Numbers: [14, 22] Generated Node #0,0,1: 14:[14, 22] Operation: 25-3=22 Moving to Node #0,1 Current State: 14:[3, 27, 38], Operations: ['52-14=38'] Exploring Operation: 38-27=11, Resulting Numbers: [3, 11] Generated Node #0,1,0: 14:[3, 11] Operation: 38-27=11 Exploring Operation: 27/3=9, Resulting Numbers: [38, 9] Generated Node #0,1,1: 14:[38, 9] Operation: 27/3=9 Moving to Node #0,0,0 Current State: 14:[3, 11], Operations: ['52-27=25', '25-14=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[3, 52, 14, 27], Operations: [] Exploring Operation: 52-27=25, Resulting Numbers: [3, 14, 25] Generated Node #0,0: 14:[3, 14, 25] Operation: 52-27=25 Moving to Node #0,0 Current State: 14:[3, 14, 25], Operations: ['52-27=25'] Exploring Operation: 25-14=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 14:[3, 11] Operation: 25-14=11 Moving to Node #0,0,0 Current State: 14:[3, 11], Operations: ['52-27=25', '25-14=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 55, 51, 81, 3 ]
79
[ "55+51=106", "81/3=27", "106-27=79" ]
Current State: 79:[55, 51, 81, 3], Operations: [] Exploring Operation: 55+51=106, Resulting Numbers: [81, 3, 106] Generated Node #2: [81, 3, 106] from Operation: 55+51=106 Current State: 79:[81, 3, 106], Operations: ['55+51=106'] Exploring Operation: 81/3=27, Resulting Numbers: [106, 27] Generated Node #3: [106, 27] from Operation: 81/3=27 Current State: 79:[106, 27], Operations: ['55+51=106', '81/3=27'] Exploring Operation: 106-27=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[55, 51, 81, 3], Operations: [] Exploring Operation: 55-3=52, Resulting Numbers: [51, 81, 52] Generated Node #0,0: 79:[51, 81, 52] Operation: 55-3=52 Exploring Operation: 51+3=54, Resulting Numbers: [55, 81, 54] Generated Node #0,1: 79:[55, 81, 54] Operation: 51+3=54 Exploring Operation: 55+3=58, Resulting Numbers: [51, 81, 58] Generated Node #0,2: 79:[51, 81, 58] Operation: 55+3=58 Exploring Operation: 81-3=78, Resulting Numbers: [55, 51, 78] Generated Node #0,3: 79:[55, 51, 78] Operation: 81-3=78 Moving to Node #0,1 Current State: 79:[55, 81, 54], Operations: ['51+3=54'] Exploring Operation: 81-54=27, Resulting Numbers: [55, 27] Generated Node #0,1,0: 79:[55, 27] Operation: 81-54=27 Exploring Operation: 55+54=109, Resulting Numbers: [81, 109] Generated Node #0,1,1: 79:[81, 109] Operation: 55+54=109 Exploring Operation: 55-54=1, Resulting Numbers: [81, 1] Generated Node #0,1,2: 79:[81, 1] Operation: 55-54=1 Exploring Operation: 81-55=26, Resulting Numbers: [54, 26] Generated Node #0,1,3: 79:[54, 26] Operation: 81-55=26 Moving to Node #0,2 Current State: 79:[51, 81, 58], Operations: ['55+3=58'] Exploring Operation: 81-51=30, Resulting Numbers: [58, 30] Generated Node #0,2,0: 79:[58, 30] Operation: 81-51=30 Exploring Operation: 51+81=132, Resulting Numbers: [58, 132] Generated Node #0,2,1: 79:[58, 132] Operation: 51+81=132 Exploring Operation: 51+58=109, Resulting Numbers: [81, 109] Generated Node #0,2,2: 79:[81, 109] Operation: 51+58=109 Exploring Operation: 58-51=7, Resulting Numbers: [81, 7] Generated Node #0,2,3: 79:[81, 7] Operation: 58-51=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[81, 109], Operations: ['55+3=58', '51+58=109'] Exploring Operation: 81*109=8829, Resulting Numbers: [8829] 8829,79 unequal: No Solution Exploring Operation: 81+109=190, Resulting Numbers: [190] 190,79 unequal: No Solution Exploring Operation: 109-81=28, Resulting Numbers: [28] 28,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,2,0 Current State: 79:[58, 30], Operations: ['55+3=58', '81-51=30'] Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,79 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,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,2,1 Current State: 79:[58, 132], Operations: ['55+3=58', '51+81=132'] Exploring Operation: 132-58=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 58+132=190, Resulting Numbers: [190] 190,79 unequal: No Solution Exploring Operation: 58*132=7656, Resulting Numbers: [7656] 7656,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,2,3 Current State: 79:[81, 7], Operations: ['55+3=58', '58-51=7'] Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,79 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,79 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: 79:[55, 51, 78], Operations: ['81-3=78'] Exploring Operation: 51+78=129, Resulting Numbers: [55, 129] Generated Node #0,3,0: 79:[55, 129] Operation: 51+78=129 Exploring Operation: 55-51=4, Resulting Numbers: [78, 4] Generated Node #0,3,1: 79:[78, 4] Operation: 55-51=4 Exploring Operation: 78-51=27, Resulting Numbers: [55, 27] Generated Node #0,3,2: 79:[55, 27] Operation: 78-51=27 Exploring Operation: 55+51=106, Resulting Numbers: [78, 106] Generated Node #0,3,3: 79:[78, 106] Operation: 55+51=106 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[78, 106], Operations: ['81-3=78', '55+51=106'] Exploring Operation: 78*106=8268, Resulting Numbers: [8268] 8268,79 unequal: No Solution Exploring Operation: 78+106=184, Resulting Numbers: [184] 184,79 unequal: No Solution Exploring Operation: 106-78=28, Resulting Numbers: [28] 28,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,3,0 Current State: 79:[55, 129], Operations: ['81-3=78', '51+78=129'] Exploring Operation: 129-55=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 55+129=184, Resulting Numbers: [184] 184,79 unequal: No Solution Exploring Operation: 55*129=7095, Resulting Numbers: [7095] 7095,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,3,1 Current State: 79:[78, 4], Operations: ['81-3=78', '55-51=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,79 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,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,3,2 Current State: 79:[55, 27], Operations: ['81-3=78', '78-51=27'] Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,79 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,79 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,79 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: 79:[51, 81, 52], Operations: ['55-3=52'] Exploring Operation: 81-52=29, Resulting Numbers: [51, 29] Generated Node #0,0,0: 79:[51, 29] Operation: 81-52=29 Exploring Operation: 51+52=103, Resulting Numbers: [81, 103] Generated Node #0,0,1: 79:[81, 103] Operation: 51+52=103 Exploring Operation: 81-51=30, Resulting Numbers: [52, 30] Generated Node #0,0,2: 79:[52, 30] Operation: 81-51=30 Exploring Operation: 51+81=132, Resulting Numbers: [52, 132] Generated Node #0,0,3: 79:[52, 132] Operation: 51+81=132 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[81, 103], Operations: ['55-3=52', '51+52=103'] Exploring Operation: 81+103=184, Resulting Numbers: [184] 184,79 unequal: No Solution Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 81*103=8343, Resulting Numbers: [8343] 8343,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[52, 30], Operations: ['55-3=52', '81-51=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,79 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[51, 29], Operations: ['55-3=52', '81-52=29'] Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[52, 132], Operations: ['55-3=52', '51+81=132'] Exploring Operation: 52+132=184, Resulting Numbers: [184] 184,79 unequal: No Solution Exploring Operation: 132-52=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 52*132=6864, Resulting Numbers: [6864] 6864,79 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: 79:[81, 109], Operations: ['51+3=54', '55+54=109'] Exploring Operation: 81+109=190, Resulting Numbers: [190] 190,79 unequal: No Solution Exploring Operation: 81*109=8829, Resulting Numbers: [8829] 8829,79 unequal: No Solution Exploring Operation: 109-81=28, Resulting Numbers: [28] 28,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[55, 27], Operations: ['51+3=54', '81-54=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,79 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[54, 26], Operations: ['51+3=54', '81-55=26'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[81, 1], Operations: ['51+3=54', '55-54=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,79 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,79 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 26, 21, 66, 25 ]
46
[ "26-21=5", "66-25=41", "5+41=46" ]
Current State: 46:[26, 21, 66, 25], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [66, 25, 5] Generated Node #2: [66, 25, 5] from Operation: 26-21=5 Current State: 46:[66, 25, 5], Operations: ['26-21=5'] Exploring Operation: 66-25=41, Resulting Numbers: [5, 41] Generated Node #3: [5, 41] from Operation: 66-25=41 Current State: 46:[5, 41], Operations: ['26-21=5', '66-25=41'] Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[26, 21, 66, 25], Operations: [] Exploring Operation: 66-26=40, Resulting Numbers: [21, 25, 40] Generated Node #0,0: 46:[21, 25, 40] Operation: 66-26=40 Exploring Operation: 26-25=1, Resulting Numbers: [21, 66, 1] Generated Node #0,1: 46:[21, 66, 1] Operation: 26-25=1 Exploring Operation: 66-25=41, Resulting Numbers: [26, 21, 41] Generated Node #0,2: 46:[26, 21, 41] Operation: 66-25=41 Exploring Operation: 66-21=45, Resulting Numbers: [26, 25, 45] Generated Node #0,3: 46:[26, 25, 45] Operation: 66-21=45 Exploring Operation: 26+21=47, Resulting Numbers: [66, 25, 47] Generated Node #0,4: 46:[66, 25, 47] Operation: 26+21=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[26, 25, 45], Operations: ['66-21=45'] Exploring Operation: 26-25=1, Resulting Numbers: [45, 1] Generated Node #0,3,0: 46:[45, 1] Operation: 26-25=1 Exploring Operation: 45-25=20, Resulting Numbers: [26, 20] Generated Node #0,3,1: 46:[26, 20] Operation: 45-25=20 Exploring Operation: 26+45=71, Resulting Numbers: [25, 71] Generated Node #0,3,2: 46:[25, 71] Operation: 26+45=71 Exploring Operation: 26+25=51, Resulting Numbers: [45, 51] Generated Node #0,3,3: 46:[45, 51] Operation: 26+25=51 Exploring Operation: 45-26=19, Resulting Numbers: [25, 19] Generated Node #0,3,4: 46:[25, 19] Operation: 45-26=19 Moving to Node #0,3,0 Current State: 46:[45, 1], Operations: ['66-21=45', '26-25=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[26, 21, 66, 25], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [26, 25, 45] Generated Node #0,3: 46:[26, 25, 45] Operation: 66-21=45 Moving to Node #0,3 Current State: 46:[26, 25, 45], Operations: ['66-21=45'] Exploring Operation: 26-25=1, Resulting Numbers: [45, 1] Generated Node #0,3,0: 46:[45, 1] Operation: 26-25=1 Moving to Node #0,3,0 Current State: 46:[45, 1], Operations: ['66-21=45', '26-25=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 44, 97, 9, 54 ]
47
[ "97-44=53", "54/9=6", "53-6=47" ]
Current State: 47:[44, 97, 9, 54], Operations: [] Exploring Operation: 97-44=53, Resulting Numbers: [9, 54, 53] Generated Node #2: [9, 54, 53] from Operation: 97-44=53 Current State: 47:[9, 54, 53], Operations: ['97-44=53'] Exploring Operation: 54/9=6, Resulting Numbers: [53, 6] Generated Node #3: [53, 6] from Operation: 54/9=6 Current State: 47:[53, 6], Operations: ['97-44=53', '54/9=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[44, 97, 9, 54], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [44, 9, 43] Generated Node #0,0: 47:[44, 9, 43] Operation: 97-54=43 Exploring Operation: 97-44=53, Resulting Numbers: [9, 54, 53] Generated Node #0,1: 47:[9, 54, 53] Operation: 97-44=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[44, 9, 43], Operations: ['97-54=43'] Exploring Operation: 44+9=53, Resulting Numbers: [43, 53] Generated Node #0,0,0: 47:[43, 53] Operation: 44+9=53 Exploring Operation: 9+43=52, Resulting Numbers: [44, 52] Generated Node #0,0,1: 47:[44, 52] Operation: 9+43=52 Moving to Node #0,0,1 Current State: 47:[44, 52], Operations: ['97-54=43', '9+43=52'] Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[43, 53], Operations: ['97-54=43', '44+9=53'] Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[9, 54, 53], Operations: ['97-44=53'] Exploring Operation: 53-9=44, Resulting Numbers: [54, 44] Generated Node #0,1,0: 47:[54, 44] Operation: 53-9=44 Exploring Operation: 54-9=45, Resulting Numbers: [53, 45] Generated Node #0,1,1: 47:[53, 45] Operation: 54-9=45 Moving to Node #0,1,1 Current State: 47:[53, 45], Operations: ['97-44=53', '54-9=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[54, 44], Operations: ['97-44=53', '53-9=44'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 25, 61, 14, 88 ]
69
[ "25-14=11", "88/11=8", "61+8=69" ]
Current State: 69:[25, 61, 14, 88], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [61, 88, 11] Generated Node #2: [61, 88, 11] from Operation: 25-14=11 Current State: 69:[61, 88, 11], Operations: ['25-14=11'] Exploring Operation: 88/11=8, Resulting Numbers: [61, 8] Generated Node #3: [61, 8] from Operation: 88/11=8 Current State: 69:[61, 8], Operations: ['25-14=11', '88/11=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[25, 61, 14, 88], Operations: [] Exploring Operation: 88-14=74, Resulting Numbers: [25, 61, 74] Generated Node #0,0: 69:[25, 61, 74] Operation: 88-14=74 Exploring Operation: 88-25=63, Resulting Numbers: [61, 14, 63] Generated Node #0,1: 69:[61, 14, 63] Operation: 88-25=63 Exploring Operation: 88-61=27, Resulting Numbers: [25, 14, 27] Generated Node #0,2: 69:[25, 14, 27] Operation: 88-61=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[25, 61, 74], Operations: ['88-14=74'] Exploring Operation: 25+61=86, Resulting Numbers: [74, 86] Generated Node #0,0,0: 69:[74, 86] Operation: 25+61=86 Exploring Operation: 61-25=36, Resulting Numbers: [74, 36] Generated Node #0,0,1: 69:[74, 36] Operation: 61-25=36 Exploring Operation: 74-61=13, Resulting Numbers: [25, 13] Generated Node #0,0,2: 69:[25, 13] Operation: 74-61=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[25, 13], Operations: ['88-14=74', '74-61=13'] Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,69 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[74, 36], Operations: ['88-14=74', '61-25=36'] Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,69 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[74, 86], Operations: ['88-14=74', '25+61=86'] Exploring Operation: 74+86=160, Resulting Numbers: [160] 160,69 unequal: No Solution Exploring Operation: 74*86=6364, Resulting Numbers: [6364] 6364,69 unequal: No Solution Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[25, 14, 27], Operations: ['88-61=27'] Exploring Operation: 27-14=13, Resulting Numbers: [25, 13] Generated Node #0,2,0: 69:[25, 13] Operation: 27-14=13 Exploring Operation: 27-25=2, Resulting Numbers: [14, 2] Generated Node #0,2,1: 69:[14, 2] Operation: 27-25=2 Exploring Operation: 25-14=11, Resulting Numbers: [27, 11] Generated Node #0,2,2: 69:[27, 11] Operation: 25-14=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[14, 2], Operations: ['88-61=27', '27-25=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[25, 13], Operations: ['88-61=27', '27-14=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,69 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[27, 11], Operations: ['88-61=27', '25-14=11'] Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,69 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[61, 14, 63], Operations: ['88-25=63'] Exploring Operation: 14+63=77, Resulting Numbers: [61, 77] Generated Node #0,1,0: 69:[61, 77] Operation: 14+63=77 Exploring Operation: 61+14=75, Resulting Numbers: [63, 75] Generated Node #0,1,1: 69:[63, 75] Operation: 61+14=75 Exploring Operation: 63-61=2, Resulting Numbers: [14, 2] Generated Node #0,1,2: 69:[14, 2] Operation: 63-61=2 Moving to Node #0,1,2 Current State: 69:[14, 2], Operations: ['88-25=63', '63-61=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[63, 75], Operations: ['88-25=63', '61+14=75'] Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,69 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,69 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[61, 77], Operations: ['88-25=63', '14+63=77'] Exploring Operation: 61+77=138, Resulting Numbers: [138] 138,69 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 61*77=4697, Resulting Numbers: [4697] 4697,69 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
[ 14, 95, 93, 54 ]
38
[ "14+95=109", "93+54=147", "147-109=38" ]
Current State: 38:[14, 95, 93, 54], Operations: [] Exploring Operation: 14+95=109, Resulting Numbers: [93, 54, 109] Generated Node #2: [93, 54, 109] from Operation: 14+95=109 Current State: 38:[93, 54, 109], Operations: ['14+95=109'] Exploring Operation: 93+54=147, Resulting Numbers: [109, 147] Generated Node #3: [109, 147] from Operation: 93+54=147 Current State: 38:[109, 147], Operations: ['14+95=109', '93+54=147'] Exploring Operation: 147-109=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[14, 95, 93, 54], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [14, 54, 2] Generated Node #0,0: 38:[14, 54, 2] Operation: 95-93=2 Exploring Operation: 93-54=39, Resulting Numbers: [14, 95, 39] Generated Node #0,1: 38:[14, 95, 39] Operation: 93-54=39 Exploring Operation: 95-54=41, Resulting Numbers: [14, 93, 41] Generated Node #0,2: 38:[14, 93, 41] Operation: 95-54=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[14, 54, 2], Operations: ['95-93=2'] Exploring Operation: 54-14=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 38:[2, 40] Operation: 54-14=40 Exploring Operation: 54/2=27, Resulting Numbers: [14, 27] Generated Node #0,0,1: 38:[14, 27] Operation: 54/2=27 Exploring Operation: 14+2=16, Resulting Numbers: [54, 16] Generated Node #0,0,2: 38:[54, 16] Operation: 14+2=16 Moving to Node #0,0,0 Current State: 38:[2, 40], Operations: ['95-93=2', '54-14=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[14, 95, 93, 54], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [14, 54, 2] Generated Node #0,0: 38:[14, 54, 2] Operation: 95-93=2 Moving to Node #0,0 Current State: 38:[14, 54, 2], Operations: ['95-93=2'] Exploring Operation: 54-14=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 38:[2, 40] Operation: 54-14=40 Moving to Node #0,0,0 Current State: 38:[2, 40], Operations: ['95-93=2', '54-14=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 4, 96, 45, 61 ]
32
[ "61-45=16", "4*16=64", "96-64=32" ]
Current State: 32:[4, 96, 45, 61], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [4, 96, 16] Generated Node #2: [4, 96, 16] from Operation: 61-45=16 Current State: 32:[4, 96, 16], Operations: ['61-45=16'] Exploring Operation: 4*16=64, Resulting Numbers: [96, 64] Generated Node #3: [96, 64] from Operation: 4*16=64 Current State: 32:[96, 64], Operations: ['61-45=16', '4*16=64'] Exploring Operation: 96-64=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[4, 96, 45, 61], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [4, 96, 16] Generated Node #0,0: 32:[4, 96, 16] Operation: 61-45=16 Exploring Operation: 96-45=51, Resulting Numbers: [4, 61, 51] Generated Node #0,1: 32:[4, 61, 51] Operation: 96-45=51 Exploring Operation: 96-4=92, Resulting Numbers: [45, 61, 92] Generated Node #0,2: 32:[45, 61, 92] Operation: 96-4=92 Exploring Operation: 96-61=35, Resulting Numbers: [4, 45, 35] Generated Node #0,3: 32:[4, 45, 35] Operation: 96-61=35 Exploring Operation: 96/4=24, Resulting Numbers: [45, 61, 24] Generated Node #0,4: 32:[45, 61, 24] Operation: 96/4=24 Moving to Node #0,3 Current State: 32:[4, 45, 35], Operations: ['96-61=35'] Exploring Operation: 45-4=41, Resulting Numbers: [35, 41] Generated Node #0,3,0: 32:[35, 41] Operation: 45-4=41 Exploring Operation: 4+45=49, Resulting Numbers: [35, 49] Generated Node #0,3,1: 32:[35, 49] Operation: 4+45=49 Exploring Operation: 4+35=39, Resulting Numbers: [45, 39] Generated Node #0,3,2: 32:[45, 39] Operation: 4+35=39 Exploring Operation: 35-4=31, Resulting Numbers: [45, 31] Generated Node #0,3,3: 32:[45, 31] Operation: 35-4=31 Exploring Operation: 45-35=10, Resulting Numbers: [4, 10] Generated Node #0,3,4: 32:[4, 10] Operation: 45-35=10 Moving to Node #0,1 Current State: 32:[4, 61, 51], Operations: ['96-45=51'] Exploring Operation: 61-51=10, Resulting Numbers: [4, 10] Generated Node #0,1,0: 32:[4, 10] Operation: 61-51=10 Exploring Operation: 4+61=65, Resulting Numbers: [51, 65] Generated Node #0,1,1: 32:[51, 65] Operation: 4+61=65 Exploring Operation: 51-4=47, Resulting Numbers: [61, 47] Generated Node #0,1,2: 32:[61, 47] Operation: 51-4=47 Exploring Operation: 4+51=55, Resulting Numbers: [61, 55] Generated Node #0,1,3: 32:[61, 55] Operation: 4+51=55 Exploring Operation: 61-4=57, Resulting Numbers: [51, 57] Generated Node #0,1,4: 32:[51, 57] Operation: 61-4=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[4, 10], Operations: ['96-45=51', '61-51=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,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,1,2 Current State: 32:[61, 47], Operations: ['96-45=51', '51-4=47'] Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,32 unequal: No Solution Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,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,1,4 Current State: 32:[51, 57], Operations: ['96-45=51', '61-4=57'] Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,32 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,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,1,1 Current State: 32:[51, 65], Operations: ['96-45=51', '4+61=65'] Exploring Operation: 51+65=116, Resulting Numbers: [116] 116,32 unequal: No Solution Exploring Operation: 51*65=3315, Resulting Numbers: [3315] 3315,32 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,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,1,3 Current State: 32:[61, 55], Operations: ['96-45=51', '4+51=55'] Exploring Operation: 61*55=3355, Resulting Numbers: [3355] 3355,32 unequal: No Solution Exploring Operation: 61+55=116, Resulting Numbers: [116] 116,32 unequal: No Solution Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,32 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: 32:[45, 61, 24], Operations: ['96/4=24'] Exploring Operation: 61-24=37, Resulting Numbers: [45, 37] Generated Node #0,4,0: 32:[45, 37] Operation: 61-24=37 Exploring Operation: 61-45=16, Resulting Numbers: [24, 16] Generated Node #0,4,1: 32:[24, 16] Operation: 61-45=16 Exploring Operation: 45-24=21, Resulting Numbers: [61, 21] Generated Node #0,4,2: 32:[61, 21] Operation: 45-24=21 Exploring Operation: 45+24=69, Resulting Numbers: [61, 69] Generated Node #0,4,3: 32:[61, 69] Operation: 45+24=69 Exploring Operation: 61+24=85, Resulting Numbers: [45, 85] Generated Node #0,4,4: 32:[45, 85] Operation: 61+24=85 Moving to Node #0,0 Current State: 32:[4, 96, 16], Operations: ['61-45=16'] Exploring Operation: 96/16=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 32:[4, 6] Operation: 96/16=6 Exploring Operation: 96-4=92, Resulting Numbers: [16, 92] Generated Node #0,0,1: 32:[16, 92] Operation: 96-4=92 Exploring Operation: 96/4=24, Resulting Numbers: [16, 24] Generated Node #0,0,2: 32:[16, 24] Operation: 96/4=24 Exploring Operation: 96-16=80, Resulting Numbers: [4, 80] Generated Node #0,0,3: 32:[4, 80] Operation: 96-16=80 Exploring Operation: 16/4=4, Resulting Numbers: [96, 4] Generated Node #0,0,4: 32:[96, 4] Operation: 16/4=4 Moving to Node #0,2 Current State: 32:[45, 61, 92], Operations: ['96-4=92'] Exploring Operation: 61-45=16, Resulting Numbers: [92, 16] Generated Node #0,2,0: 32:[92, 16] Operation: 61-45=16 Exploring Operation: 92-61=31, Resulting Numbers: [45, 31] Generated Node #0,2,1: 32:[45, 31] Operation: 92-61=31 Exploring Operation: 45+61=106, Resulting Numbers: [92, 106] Generated Node #0,2,2: 32:[92, 106] Operation: 45+61=106 Exploring Operation: 92-45=47, Resulting Numbers: [61, 47] Generated Node #0,2,3: 32:[61, 47] Operation: 92-45=47 Exploring Operation: 45+92=137, Resulting Numbers: [61, 137] Generated Node #0,2,4: 32:[61, 137] Operation: 45+92=137 Moving to Node #0,3,4 Current State: 32:[4, 10], Operations: ['96-61=35', '45-35=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[4, 6], Operations: ['61-45=16', '96/16=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[24, 16], Operations: ['96/4=24', '61-45=16'] Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,32 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[16, 24], Operations: ['61-45=16', '96/4=24'] Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[35, 41], Operations: ['96-61=35', '45-4=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[45, 31], Operations: ['96-61=35', '35-4=31'] Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,32 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[45, 31], Operations: ['96-4=92', '92-61=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,32 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[45, 37], Operations: ['96/4=24', '61-24=37'] Exploring Operation: 45*37=1665, Resulting Numbers: [1665] 1665,32 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[45, 39], Operations: ['96-61=35', '4+35=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,32 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[35, 49], Operations: ['96-61=35', '4+45=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,32 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[61, 21], Operations: ['96/4=24', '45-24=21'] Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,32 unequal: No Solution Exploring Operation: 61*21=1281, Resulting Numbers: [1281] 1281,32 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[61, 47], Operations: ['96-4=92', '92-45=47'] Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,32 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[4, 80], Operations: ['61-45=16', '96-16=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,32 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[16, 92], Operations: ['61-45=16', '96-4=92'] Exploring Operation: 16+92=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 16*92=1472, Resulting Numbers: [1472] 1472,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[92, 16], Operations: ['96-4=92', '61-45=16'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 92+16=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 92*16=1472, Resulting Numbers: [1472] 1472,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[96, 4], Operations: ['61-45=16', '16/4=4'] Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,32 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,32 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,32 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[45, 85], Operations: ['96/4=24', '61+24=85'] Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,32 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[61, 69], Operations: ['96/4=24', '45+24=69'] Exploring Operation: 61*69=4209, Resulting Numbers: [4209] 4209,32 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 61+69=130, Resulting Numbers: [130] 130,32 unequal: No Solution Moving to Node #0,2,4 Current State: 32:[61, 137], Operations: ['96-4=92', '45+92=137'] Exploring Operation: 61*137=8357, Resulting Numbers: [8357] 8357,32 unequal: No Solution Exploring Operation: 61+137=198, Resulting Numbers: [198] 198,32 unequal: No Solution Exploring Operation: 137-61=76, Resulting Numbers: [76] 76,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[92, 106], Operations: ['96-4=92', '45+61=106'] Exploring Operation: 106-92=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 92+106=198, Resulting Numbers: [198] 198,32 unequal: No Solution Exploring Operation: 92*106=9752, Resulting Numbers: [9752] 9752,32 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 66, 29, 44, 84 ]
27
[ "44*84=3696", "3696/66=56", "56-29=27" ]
Current State: 27:[66, 29, 44, 84], Operations: [] Exploring Operation: 44*84=3696, Resulting Numbers: [66, 29, 3696] Generated Node #2: [66, 29, 3696] from Operation: 44*84=3696 Current State: 27:[66, 29, 3696], Operations: ['44*84=3696'] Exploring Operation: 3696/66=56, Resulting Numbers: [29, 56] Generated Node #3: [29, 56] from Operation: 3696/66=56 Current State: 27:[29, 56], Operations: ['44*84=3696', '3696/66=56'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[66, 29, 44, 84], Operations: [] Exploring Operation: 84-66=18, Resulting Numbers: [29, 44, 18] Generated Node #0,0: 27:[29, 44, 18] Operation: 84-66=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[29, 44, 18], Operations: ['84-66=18'] Exploring Operation: 44-18=26, Resulting Numbers: [29, 26] Generated Node #0,0,0: 27:[29, 26] Operation: 44-18=26 Moving to Node #0,0,0 Current State: 27:[29, 26], Operations: ['84-66=18', '44-18=26'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,27 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
[ 32, 92, 67, 65 ]
30
[ "92-32=60", "67-65=2", "60/2=30" ]
Current State: 30:[32, 92, 67, 65], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [67, 65, 60] Generated Node #2: [67, 65, 60] from Operation: 92-32=60 Current State: 30:[67, 65, 60], Operations: ['92-32=60'] Exploring Operation: 67-65=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 67-65=2 Current State: 30:[60, 2], Operations: ['92-32=60', '67-65=2'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[32, 92, 67, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [32, 92, 2] Generated Node #0,0: 30:[32, 92, 2] Operation: 67-65=2 Exploring Operation: 92-65=27, Resulting Numbers: [32, 67, 27] Generated Node #0,1: 30:[32, 67, 27] Operation: 92-65=27 Exploring Operation: 92-67=25, Resulting Numbers: [32, 65, 25] Generated Node #0,2: 30:[32, 65, 25] Operation: 92-67=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[32, 67, 27], Operations: ['92-65=27'] Exploring Operation: 67-32=35, Resulting Numbers: [27, 35] Generated Node #0,1,0: 30:[27, 35] Operation: 67-32=35 Exploring Operation: 32-27=5, Resulting Numbers: [67, 5] Generated Node #0,1,1: 30:[67, 5] Operation: 32-27=5 Exploring Operation: 67-27=40, Resulting Numbers: [32, 40] Generated Node #0,1,2: 30:[32, 40] Operation: 67-27=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[27, 35], Operations: ['92-65=27', '67-32=35'] Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,30 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,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,1,2 Current State: 30:[32, 40], Operations: ['92-65=27', '67-27=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,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,1,1 Current State: 30:[67, 5], Operations: ['92-65=27', '32-27=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[32, 65, 25], Operations: ['92-67=25'] Exploring Operation: 65-25=40, Resulting Numbers: [32, 40] Generated Node #0,2,0: 30:[32, 40] Operation: 65-25=40 Exploring Operation: 65-32=33, Resulting Numbers: [25, 33] Generated Node #0,2,1: 30:[25, 33] Operation: 65-32=33 Exploring Operation: 32-25=7, Resulting Numbers: [65, 7] Generated Node #0,2,2: 30:[65, 7] Operation: 32-25=7 Moving to Node #0,2,1 Current State: 30:[25, 33], Operations: ['92-67=25', '65-32=33'] Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,30 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[32, 40], Operations: ['92-67=25', '65-25=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[65, 7], Operations: ['92-67=25', '32-25=7'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,30 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,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,0 Current State: 30:[32, 92, 2], Operations: ['67-65=2'] Exploring Operation: 32-2=30, Resulting Numbers: [92, 30] Generated Node #0,0,0: 30:[92, 30] Operation: 32-2=30 Exploring Operation: 92/2=46, Resulting Numbers: [32, 46] Generated Node #0,0,1: 30:[32, 46] Operation: 92/2=46 Exploring Operation: 92-32=60, Resulting Numbers: [2, 60] Generated Node #0,0,2: 30:[2, 60] Operation: 92-32=60 Moving to Node #0,0,1 Current State: 30:[32, 46], Operations: ['67-65=2', '92/2=46'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,30 unequal: No Solution Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[2, 60], Operations: ['67-65=2', '92-32=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[32, 92, 67, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [32, 92, 2] Generated Node #0,0: 30:[32, 92, 2] Operation: 67-65=2 Moving to Node #0,0 Current State: 30:[32, 92, 2], Operations: ['67-65=2'] Exploring Operation: 92-32=60, Resulting Numbers: [2, 60] Generated Node #0,0,2: 30:[2, 60] Operation: 92-32=60 Moving to Node #0,0,2 Current State: 30:[2, 60], Operations: ['67-65=2', '92-32=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_3
mult_heuristic
[ 73, 25, 40, 28 ]
72
[ "73-28=45", "40*45=1800", "1800/25=72" ]
Current State: 72:[73, 25, 40, 28], Operations: [] Exploring Operation: 73-28=45, Resulting Numbers: [25, 40, 45] Generated Node #2: [25, 40, 45] from Operation: 73-28=45 Current State: 72:[25, 40, 45], Operations: ['73-28=45'] Exploring Operation: 40*45=1800, Resulting Numbers: [25, 1800] Generated Node #3: [25, 1800] from Operation: 40*45=1800 Current State: 72:[25, 1800], Operations: ['73-28=45', '40*45=1800'] Exploring Operation: 1800/25=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[73, 25, 40, 28], Operations: [] Exploring Operation: 28-25=3, Resulting Numbers: [73, 40, 3] Generated Node #0,0: 72:[73, 40, 3] Operation: 28-25=3 Exploring Operation: 40-28=12, Resulting Numbers: [73, 25, 12] Generated Node #0,1: 72:[73, 25, 12] Operation: 40-28=12 Exploring Operation: 73-40=33, Resulting Numbers: [25, 28, 33] Generated Node #0,2: 72:[25, 28, 33] Operation: 73-40=33 Exploring Operation: 40+28=68, Resulting Numbers: [73, 25, 68] Generated Node #0,3: 72:[73, 25, 68] Operation: 40+28=68 Moving to Node #0,1 Current State: 72:[73, 25, 12], Operations: ['40-28=12'] Exploring Operation: 25-12=13, Resulting Numbers: [73, 13] Generated Node #0,1,0: 72:[73, 13] Operation: 25-12=13 Exploring Operation: 25+12=37, Resulting Numbers: [73, 37] Generated Node #0,1,1: 72:[73, 37] Operation: 25+12=37 Exploring Operation: 73-25=48, Resulting Numbers: [12, 48] Generated Node #0,1,2: 72:[12, 48] Operation: 73-25=48 Exploring Operation: 73-12=61, Resulting Numbers: [25, 61] Generated Node #0,1,3: 72:[25, 61] Operation: 73-12=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[73, 13], Operations: ['40-28=12', '25-12=13'] Exploring Operation: 73*13=949, Resulting Numbers: [949] 949,72 unequal: No Solution Exploring Operation: 73+13=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[73, 37], Operations: ['40-28=12', '25+12=37'] Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,72 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[12, 48], Operations: ['40-28=12', '73-25=48'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,72 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 12*48=576, Resulting Numbers: [576] 576,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[25, 61], Operations: ['40-28=12', '73-12=61'] Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,72 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,72 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: 72:[73, 40, 3], Operations: ['28-25=3'] Exploring Operation: 73-40=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 72:[3, 33] Operation: 73-40=33 Exploring Operation: 73+3=76, Resulting Numbers: [40, 76] Generated Node #0,0,1: 72:[40, 76] Operation: 73+3=76 Exploring Operation: 40-3=37, Resulting Numbers: [73, 37] Generated Node #0,0,2: 72:[73, 37] Operation: 40-3=37 Exploring Operation: 73-3=70, Resulting Numbers: [40, 70] Generated Node #0,0,3: 72:[40, 70] Operation: 73-3=70 Moving to Node #0,3 Current State: 72:[73, 25, 68], Operations: ['40+28=68'] Exploring Operation: 73-25=48, Resulting Numbers: [68, 48] Generated Node #0,3,0: 72:[68, 48] Operation: 73-25=48 Exploring Operation: 25+68=93, Resulting Numbers: [73, 93] Generated Node #0,3,1: 72:[73, 93] Operation: 25+68=93 Exploring Operation: 73-68=5, Resulting Numbers: [25, 5] Generated Node #0,3,2: 72:[25, 5] Operation: 73-68=5 Exploring Operation: 68-25=43, Resulting Numbers: [73, 43] Generated Node #0,3,3: 72:[73, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[25, 5], Operations: ['40+28=68', '73-68=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[73, 43], Operations: ['40+28=68', '68-25=43'] Exploring Operation: 73+43=116, Resulting Numbers: [116] 116,72 unequal: No Solution Exploring Operation: 73*43=3139, Resulting Numbers: [3139] 3139,72 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[68, 48], Operations: ['40+28=68', '73-25=48'] Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,72 unequal: No Solution Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[73, 93], Operations: ['40+28=68', '25+68=93'] Exploring Operation: 73*93=6789, Resulting Numbers: [6789] 6789,72 unequal: No Solution Exploring Operation: 93-73=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 73+93=166, Resulting Numbers: [166] 166,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 72:[25, 28, 33], Operations: ['73-40=33'] Exploring Operation: 33-25=8, Resulting Numbers: [28, 8] Generated Node #0,2,0: 72:[28, 8] Operation: 33-25=8 Exploring Operation: 33-28=5, Resulting Numbers: [25, 5] Generated Node #0,2,1: 72:[25, 5] Operation: 33-28=5 Exploring Operation: 28+33=61, Resulting Numbers: [25, 61] Generated Node #0,2,2: 72:[25, 61] Operation: 28+33=61 Exploring Operation: 28-25=3, Resulting Numbers: [33, 3] Generated Node #0,2,3: 72:[33, 3] Operation: 28-25=3 Moving to Node #0,0,2 Current State: 72:[73, 37], Operations: ['28-25=3', '40-3=37'] Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,72 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[25, 5], Operations: ['73-40=33', '33-28=5'] Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[33, 3], Operations: ['73-40=33', '28-25=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[3, 33], Operations: ['28-25=3', '73-40=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[28, 8], Operations: ['73-40=33', '33-25=8'] Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,72 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[40, 70], Operations: ['28-25=3', '73-3=70'] Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,72 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[40, 76], Operations: ['28-25=3', '73+3=76'] Exploring Operation: 40*76=3040, Resulting Numbers: [3040] 3040,72 unequal: No Solution Exploring Operation: 40+76=116, Resulting Numbers: [116] 116,72 unequal: No Solution Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[25, 61], Operations: ['73-40=33', '28+33=61'] Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,72 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 63, 56, 2, 45 ]
97
[ "63-56=7", "2*45=90", "7+90=97" ]
Current State: 97:[63, 56, 2, 45], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [2, 45, 7] Generated Node #2: [2, 45, 7] from Operation: 63-56=7 Current State: 97:[2, 45, 7], Operations: ['63-56=7'] Exploring Operation: 2*45=90, Resulting Numbers: [7, 90] Generated Node #3: [7, 90] from Operation: 2*45=90 Current State: 97:[7, 90], Operations: ['63-56=7', '2*45=90'] Exploring Operation: 7+90=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[63, 56, 2, 45], Operations: [] Exploring Operation: 2*45=90, Resulting Numbers: [63, 56, 90] Generated Node #0,0: 97:[63, 56, 90] Operation: 2*45=90 Exploring Operation: 63*2=126, Resulting Numbers: [56, 45, 126] Generated Node #0,1: 97:[56, 45, 126] Operation: 63*2=126 Exploring Operation: 56*2=112, Resulting Numbers: [63, 45, 112] Generated Node #0,2: 97:[63, 45, 112] Operation: 56*2=112 Exploring Operation: 63+2=65, Resulting Numbers: [56, 45, 65] Generated Node #0,3: 97:[56, 45, 65] Operation: 63+2=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[63, 56, 90], Operations: ['2*45=90'] Exploring Operation: 63+90=153, Resulting Numbers: [56, 153] Generated Node #0,0,0: 97:[56, 153] Operation: 63+90=153 Exploring Operation: 56+90=146, Resulting Numbers: [63, 146] Generated Node #0,0,1: 97:[63, 146] Operation: 56+90=146 Exploring Operation: 63+56=119, Resulting Numbers: [90, 119] Generated Node #0,0,2: 97:[90, 119] Operation: 63+56=119 Exploring Operation: 63-56=7, Resulting Numbers: [90, 7] Generated Node #0,0,3: 97:[90, 7] Operation: 63-56=7 Moving to Node #0,0,2 Current State: 97:[90, 119], Operations: ['2*45=90', '63+56=119'] Exploring Operation: 90*119=10710, Resulting Numbers: [10710] 10710,97 unequal: No Solution Exploring Operation: 119-90=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 90+119=209, Resulting Numbers: [209] 209,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[63, 146], Operations: ['2*45=90', '56+90=146'] Exploring Operation: 146-63=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 63*146=9198, Resulting Numbers: [9198] 9198,97 unequal: No Solution Exploring Operation: 63+146=209, Resulting Numbers: [209] 209,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[90, 7], Operations: ['2*45=90', '63-56=7'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,97 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[63, 56, 2, 45], Operations: [] Exploring Operation: 2*45=90, Resulting Numbers: [63, 56, 90] Generated Node #0,0: 97:[63, 56, 90] Operation: 2*45=90 Moving to Node #0,0 Current State: 97:[63, 56, 90], Operations: ['2*45=90'] Exploring Operation: 63-56=7, Resulting Numbers: [90, 7] Generated Node #0,0,3: 97:[90, 7] Operation: 63-56=7 Moving to Node #0,0,3 Current State: 97:[90, 7], Operations: ['2*45=90', '63-56=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 33, 46, 55, 52 ]
57
[ "55-52=3", "33/3=11", "46+11=57" ]
Current State: 57:[33, 46, 55, 52], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [33, 46, 3] Generated Node #2: [33, 46, 3] from Operation: 55-52=3 Current State: 57:[33, 46, 3], Operations: ['55-52=3'] Exploring Operation: 33/3=11, Resulting Numbers: [46, 11] Generated Node #3: [46, 11] from Operation: 33/3=11 Current State: 57:[46, 11], Operations: ['55-52=3', '33/3=11'] Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[33, 46, 55, 52], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [46, 55, 19] Generated Node #0,0: 57:[46, 55, 19] Operation: 52-33=19 Exploring Operation: 46-33=13, Resulting Numbers: [55, 52, 13] Generated Node #0,1: 57:[55, 52, 13] Operation: 46-33=13 Exploring Operation: 55-33=22, Resulting Numbers: [46, 52, 22] Generated Node #0,2: 57:[46, 52, 22] Operation: 55-33=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[46, 55, 19], Operations: ['52-33=19'] Exploring Operation: 46-19=27, Resulting Numbers: [55, 27] Generated Node #0,0,0: 57:[55, 27] Operation: 46-19=27 Exploring Operation: 55-46=9, Resulting Numbers: [19, 9] Generated Node #0,0,1: 57:[19, 9] Operation: 55-46=9 Exploring Operation: 46+19=65, Resulting Numbers: [55, 65] Generated Node #0,0,2: 57:[55, 65] Operation: 46+19=65 Moving to Node #0,0,1 Current State: 57:[19, 9], Operations: ['52-33=19', '55-46=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[55, 27], Operations: ['52-33=19', '46-19=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,57 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[55, 65], Operations: ['52-33=19', '46+19=65'] Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,57 unequal: No Solution Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,57 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,57 unequal: No Solution No 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: 57:[55, 52, 13], Operations: ['46-33=13'] Exploring Operation: 52/13=4, Resulting Numbers: [55, 4] Generated Node #0,1,0: 57:[55, 4] Operation: 52/13=4 Exploring Operation: 52+13=65, Resulting Numbers: [55, 65] Generated Node #0,1,1: 57:[55, 65] Operation: 52+13=65 Exploring Operation: 55-52=3, Resulting Numbers: [13, 3] Generated Node #0,1,2: 57:[13, 3] Operation: 55-52=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[55, 4], Operations: ['46-33=13', '52/13=4'] Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,57 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,57 unequal: No Solution No 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: 57:[13, 3], Operations: ['46-33=13', '55-52=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,57 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,57 unequal: No Solution No 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: 57:[55, 65], Operations: ['46-33=13', '52+13=65'] Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,57 unequal: No Solution Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,57 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: 57:[46, 52, 22], Operations: ['55-33=22'] Exploring Operation: 46-22=24, Resulting Numbers: [52, 24] Generated Node #0,2,0: 57:[52, 24] Operation: 46-22=24 Exploring Operation: 52-46=6, Resulting Numbers: [22, 6] Generated Node #0,2,1: 57:[22, 6] Operation: 52-46=6 Exploring Operation: 46+22=68, Resulting Numbers: [52, 68] Generated Node #0,2,2: 57:[52, 68] Operation: 46+22=68 Moving to Node #0,2,1 Current State: 57:[22, 6], Operations: ['55-33=22', '52-46=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[52, 24], Operations: ['55-33=22', '46-22=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,57 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[52, 68], Operations: ['55-33=22', '46+22=68'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,57 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,57 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
[ 38, 70, 63, 58 ]
13
[ "38+70=108", "63+58=121", "121-108=13" ]
Current State: 13:[38, 70, 63, 58], Operations: [] Exploring Operation: 38+70=108, Resulting Numbers: [63, 58, 108] Generated Node #2: [63, 58, 108] from Operation: 38+70=108 Current State: 13:[63, 58, 108], Operations: ['38+70=108'] Exploring Operation: 63+58=121, Resulting Numbers: [108, 121] Generated Node #3: [108, 121] from Operation: 63+58=121 Current State: 13:[108, 121], Operations: ['38+70=108', '63+58=121'] Exploring Operation: 121-108=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[38, 70, 63, 58], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [38, 63, 12] Generated Node #0,0: 13:[38, 63, 12] Operation: 70-58=12 Exploring Operation: 70-63=7, Resulting Numbers: [38, 58, 7] Generated Node #0,1: 13:[38, 58, 7] Operation: 70-63=7 Moving to Node #0,0 Current State: 13:[38, 63, 12], Operations: ['70-58=12'] Exploring Operation: 63-38=25, Resulting Numbers: [12, 25] Generated Node #0,0,0: 13:[12, 25] Operation: 63-38=25 Exploring Operation: 38-12=26, Resulting Numbers: [63, 26] Generated Node #0,0,1: 13:[63, 26] Operation: 38-12=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[12, 25], Operations: ['70-58=12', '63-38=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[38, 70, 63, 58], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [38, 63, 12] Generated Node #0,0: 13:[38, 63, 12] Operation: 70-58=12 Moving to Node #0,0 Current State: 13:[38, 63, 12], Operations: ['70-58=12'] Exploring Operation: 63-38=25, Resulting Numbers: [12, 25] Generated Node #0,0,0: 13:[12, 25] Operation: 63-38=25 Moving to Node #0,0,0 Current State: 13:[12, 25], Operations: ['70-58=12', '63-38=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 50, 95, 23, 65 ]
45
[ "95*23=2185", "65+2185=2250", "2250/50=45" ]
Current State: 45:[50, 95, 23, 65], Operations: [] Exploring Operation: 95*23=2185, Resulting Numbers: [50, 65, 2185] Generated Node #2: [50, 65, 2185] from Operation: 95*23=2185 Current State: 45:[50, 65, 2185], Operations: ['95*23=2185'] Exploring Operation: 65+2185=2250, Resulting Numbers: [50, 2250] Generated Node #3: [50, 2250] from Operation: 65+2185=2250 Current State: 45:[50, 2250], Operations: ['95*23=2185', '65+2185=2250'] Exploring Operation: 2250/50=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[50, 95, 23, 65], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [50, 23, 30] Generated Node #0,0: 45:[50, 23, 30] Operation: 95-65=30 Exploring Operation: 95-50=45, Resulting Numbers: [23, 65, 45] Generated Node #0,1: 45:[23, 65, 45] Operation: 95-50=45 Exploring Operation: 95-23=72, Resulting Numbers: [50, 65, 72] Generated Node #0,2: 45:[50, 65, 72] Operation: 95-23=72 Moving to Node #0,0 Current State: 45:[50, 23, 30], Operations: ['95-65=30'] Exploring Operation: 50-30=20, Resulting Numbers: [23, 20] Generated Node #0,0,0: 45:[23, 20] Operation: 50-30=20 Exploring Operation: 23+30=53, Resulting Numbers: [50, 53] Generated Node #0,0,1: 45:[50, 53] Operation: 23+30=53 Exploring Operation: 30-23=7, Resulting Numbers: [50, 7] Generated Node #0,0,2: 45:[50, 7] Operation: 30-23=7 Moving to Node #0,1 Current State: 45:[23, 65, 45], Operations: ['95-50=45'] Exploring Operation: 45-23=22, Resulting Numbers: [65, 22] Generated Node #0,1,0: 45:[65, 22] Operation: 45-23=22 Exploring Operation: 65-23=42, Resulting Numbers: [45, 42] Generated Node #0,1,1: 45:[45, 42] Operation: 65-23=42 Exploring Operation: 65-45=20, Resulting Numbers: [23, 20] Generated Node #0,1,2: 45:[23, 20] Operation: 65-45=20 Moving to Node #0,2 Current State: 45:[50, 65, 72], Operations: ['95-23=72'] Exploring Operation: 72-65=7, Resulting Numbers: [50, 7] Generated Node #0,2,0: 45:[50, 7] Operation: 72-65=7 Exploring Operation: 65-50=15, Resulting Numbers: [72, 15] Generated Node #0,2,1: 45:[72, 15] Operation: 65-50=15 Exploring Operation: 72-50=22, Resulting Numbers: [65, 22] Generated Node #0,2,2: 45:[65, 22] Operation: 72-50=22 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[50, 7], Operations: ['95-23=72', '72-65=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,45 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[72, 15], Operations: ['95-23=72', '65-50=15'] Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,45 unequal: No Solution Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,45 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[65, 22], Operations: ['95-23=72', '72-50=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,45 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,45 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,45 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: 45:[45, 42], Operations: ['95-50=45', '65-23=42'] Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,45 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,45 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[50, 7], Operations: ['95-65=30', '30-23=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,45 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[50, 53], Operations: ['95-65=30', '23+30=53'] Exploring Operation: 50+53=103, Resulting Numbers: [103] 103,45 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 50*53=2650, Resulting Numbers: [2650] 2650,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[23, 20], Operations: ['95-50=45', '65-45=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,45 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[23, 20], Operations: ['95-65=30', '50-30=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,45 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[65, 22], Operations: ['95-50=45', '45-23=22'] Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,45 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,45 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,45 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 71, 4, 64, 96 ]
77
[ "64/4=16", "96/16=6", "71+6=77" ]
Current State: 77:[71, 4, 64, 96], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [71, 96, 16] Generated Node #2: [71, 96, 16] from Operation: 64/4=16 Current State: 77:[71, 96, 16], Operations: ['64/4=16'] Exploring Operation: 96/16=6, Resulting Numbers: [71, 6] Generated Node #3: [71, 6] from Operation: 96/16=6 Current State: 77:[71, 6], Operations: ['64/4=16', '96/16=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[71, 4, 64, 96], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [4, 96, 7] Generated Node #0,0: 77:[4, 96, 7] Operation: 71-64=7 Exploring Operation: 96-71=25, Resulting Numbers: [4, 64, 25] Generated Node #0,1: 77:[4, 64, 25] Operation: 96-71=25 Exploring Operation: 96-64=32, Resulting Numbers: [71, 4, 32] Generated Node #0,2: 77:[71, 4, 32] Operation: 96-64=32 Exploring Operation: 64/4=16, Resulting Numbers: [71, 96, 16] Generated Node #0,3: 77:[71, 96, 16] Operation: 64/4=16 Exploring Operation: 96/4=24, Resulting Numbers: [71, 64, 24] Generated Node #0,4: 77:[71, 64, 24] Operation: 96/4=24 Moving to Node #0,0 Current State: 77:[4, 96, 7], Operations: ['71-64=7'] Exploring Operation: 4+7=11, Resulting Numbers: [96, 11] Generated Node #0,0,0: 77:[96, 11] Operation: 4+7=11 Exploring Operation: 96-4=92, Resulting Numbers: [7, 92] Generated Node #0,0,1: 77:[7, 92] Operation: 96-4=92 Exploring Operation: 4+96=100, Resulting Numbers: [7, 100] Generated Node #0,0,2: 77:[7, 100] Operation: 4+96=100 Exploring Operation: 96-7=89, Resulting Numbers: [4, 89] Generated Node #0,0,3: 77:[4, 89] Operation: 96-7=89 Exploring Operation: 96/4=24, Resulting Numbers: [7, 24] Generated Node #0,0,4: 77:[7, 24] Operation: 96/4=24 Moving to Node #0,2 Current State: 77:[71, 4, 32], Operations: ['96-64=32'] Exploring Operation: 71+32=103, Resulting Numbers: [4, 103] Generated Node #0,2,0: 77:[4, 103] Operation: 71+32=103 Exploring Operation: 32-4=28, Resulting Numbers: [71, 28] Generated Node #0,2,1: 77:[71, 28] Operation: 32-4=28 Exploring Operation: 71+4=75, Resulting Numbers: [32, 75] Generated Node #0,2,2: 77:[32, 75] Operation: 71+4=75 Exploring Operation: 71-4=67, Resulting Numbers: [32, 67] Generated Node #0,2,3: 77:[32, 67] Operation: 71-4=67 Exploring Operation: 32/4=8, Resulting Numbers: [71, 8] Generated Node #0,2,4: 77:[71, 8] Operation: 32/4=8 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 77:[71, 8], Operations: ['96-64=32', '32/4=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,77 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,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:[71, 28], Operations: ['96-64=32', '32-4=28'] Exploring Operation: 71+28=99, Resulting Numbers: [99] 99,77 unequal: No Solution Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 71*28=1988, Resulting Numbers: [1988] 1988,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:[32, 75], Operations: ['96-64=32', '71+4=75'] Exploring Operation: 32+75=107, Resulting Numbers: [107] 107,77 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 32*75=2400, Resulting Numbers: [2400] 2400,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,0 Current State: 77:[4, 103], Operations: ['96-64=32', '71+32=103'] Exploring Operation: 4*103=412, Resulting Numbers: [412] 412,77 unequal: No Solution Exploring Operation: 103-4=99, Resulting Numbers: [99] 99,77 unequal: No Solution Exploring Operation: 4+103=107, Resulting Numbers: [107] 107,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,3 Current State: 77:[32, 67], Operations: ['96-64=32', '71-4=67'] Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 32*67=2144, Resulting Numbers: [2144] 2144,77 unequal: No Solution Exploring Operation: 32+67=99, Resulting Numbers: [99] 99,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:[4, 64, 25], Operations: ['96-71=25'] Exploring Operation: 25-4=21, Resulting Numbers: [64, 21] Generated Node #0,1,0: 77:[64, 21] Operation: 25-4=21 Exploring Operation: 4+64=68, Resulting Numbers: [25, 68] Generated Node #0,1,1: 77:[25, 68] Operation: 4+64=68 Exploring Operation: 64+25=89, Resulting Numbers: [4, 89] Generated Node #0,1,2: 77:[4, 89] Operation: 64+25=89 Exploring Operation: 64/4=16, Resulting Numbers: [25, 16] Generated Node #0,1,3: 77:[25, 16] Operation: 64/4=16 Exploring Operation: 64-4=60, Resulting Numbers: [25, 60] Generated Node #0,1,4: 77:[25, 60] Operation: 64-4=60 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[4, 89], Operations: ['96-71=25', '64+25=89'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,77 unequal: No Solution Exploring Operation: 4*89=356, Resulting Numbers: [356] 356,77 unequal: No Solution Exploring Operation: 4+89=93, Resulting Numbers: [93] 93,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,3 Current State: 77:[25, 16], Operations: ['96-71=25', '64/4=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,77 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,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:[64, 21], Operations: ['96-71=25', '25-4=21'] Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,77 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,77 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,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,1 Current State: 77:[25, 68], Operations: ['96-71=25', '4+64=68'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,77 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,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,4 Current State: 77:[25, 60], Operations: ['96-71=25', '64-4=60'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,77 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,77 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: 77:[71, 96, 16], Operations: ['64/4=16'] Exploring Operation: 96/16=6, Resulting Numbers: [71, 6] Generated Node #0,3,0: 77:[71, 6] Operation: 96/16=6 Exploring Operation: 96-71=25, Resulting Numbers: [16, 25] Generated Node #0,3,1: 77:[16, 25] Operation: 96-71=25 Exploring Operation: 71-16=55, Resulting Numbers: [96, 55] Generated Node #0,3,2: 77:[96, 55] Operation: 71-16=55 Exploring Operation: 71+16=87, Resulting Numbers: [96, 87] Generated Node #0,3,3: 77:[96, 87] Operation: 71+16=87 Exploring Operation: 96-16=80, Resulting Numbers: [71, 80] Generated Node #0,3,4: 77:[71, 80] Operation: 96-16=80 Moving to Node #0,4 Current State: 77:[71, 64, 24], Operations: ['96/4=24'] Exploring Operation: 71-64=7, Resulting Numbers: [24, 7] Generated Node #0,4,0: 77:[24, 7] Operation: 71-64=7 Exploring Operation: 64+24=88, Resulting Numbers: [71, 88] Generated Node #0,4,1: 77:[71, 88] Operation: 64+24=88 Exploring Operation: 64-24=40, Resulting Numbers: [71, 40] Generated Node #0,4,2: 77:[71, 40] Operation: 64-24=40 Exploring Operation: 71-24=47, Resulting Numbers: [64, 47] Generated Node #0,4,3: 77:[64, 47] Operation: 71-24=47 Exploring Operation: 71+24=95, Resulting Numbers: [64, 95] Generated Node #0,4,4: 77:[64, 95] Operation: 71+24=95 Moving to Node #0,3,0 Current State: 77:[71, 6], Operations: ['64/4=16', '96/16=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[71, 4, 64, 96], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [71, 96, 16] Generated Node #0,3: 77:[71, 96, 16] Operation: 64/4=16 Moving to Node #0,3 Current State: 77:[71, 96, 16], Operations: ['64/4=16'] Exploring Operation: 96/16=6, Resulting Numbers: [71, 6] Generated Node #0,3,0: 77:[71, 6] Operation: 96/16=6 Moving to Node #0,3,0 Current State: 77:[71, 6], Operations: ['64/4=16', '96/16=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.943576
hs_5
mult_heuristic